1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 /* for raw pointers */
989 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
990 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
991 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
992 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
993 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
994 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
995 #define swig_owntype int
997 /* for raw packed data */
998 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
999 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1001 /* for class or struct pointers */
1002 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1003 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1005 /* for C or C++ function pointers */
1006 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1007 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1009 /* for C++ member pointers, ie, member methods */
1010 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1011 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1017 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1018 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1020 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1021 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1022 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1023 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1024 #define SWIG_fail goto fail
1027 /* Runtime API implementation */
1029 /* Error manipulation */
1032 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1033 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1034 PyErr_SetObject(errtype
, obj
);
1036 SWIG_PYTHON_THREAD_END_BLOCK
;
1040 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1041 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1042 PyErr_SetString(errtype
, (char *) msg
);
1043 SWIG_PYTHON_THREAD_END_BLOCK
;
1046 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1048 /* Set a constant value */
1051 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1052 PyDict_SetItemString(d
, (char*) name
, obj
);
1056 /* Append a value to the result obj */
1058 SWIGINTERN PyObject
*
1059 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1060 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1063 } else if (result
== Py_None
) {
1067 if (!PyList_Check(result
)) {
1068 PyObject
*o2
= result
;
1069 result
= PyList_New(1);
1070 PyList_SetItem(result
, 0, o2
);
1072 PyList_Append(result
,obj
);
1081 } else if (result
== Py_None
) {
1085 if (!PyTuple_Check(result
)) {
1087 result
= PyTuple_New(1);
1088 PyTuple_SET_ITEM(result
, 0, o2
);
1090 o3
= PyTuple_New(1);
1091 PyTuple_SET_ITEM(o3
, 0, obj
);
1093 result
= PySequence_Concat(o2
, o3
);
1101 /* Unpack the argument tuple */
1104 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1110 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1111 name
, (min
== max
? "" : "at least "), min
);
1115 if (!PyTuple_Check(args
)) {
1116 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1119 register int l
= PyTuple_GET_SIZE(args
);
1121 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1122 name
, (min
== max
? "" : "at least "), min
, l
);
1124 } else if (l
> max
) {
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at most "), max
, l
);
1130 for (i
= 0; i
< l
; ++i
) {
1131 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1133 for (; l
< max
; ++l
) {
1141 /* A functor is a function object with one single object argument */
1142 #if PY_VERSION_HEX >= 0x02020000
1143 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1145 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1149 Helper for static pointer initialization for both C and C++ code, for example
1150 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1153 #define SWIG_STATIC_POINTER(var) var
1155 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1158 /* -----------------------------------------------------------------------------
1159 * Pointer declarations
1160 * ----------------------------------------------------------------------------- */
1162 /* Flags for new pointer objects */
1163 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1164 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1166 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1175 /* How to access Py_None */
1176 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1177 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1178 # ifndef SWIG_PYTHON_BUILD_NONE
1179 # define SWIG_PYTHON_BUILD_NONE
1184 #ifdef SWIG_PYTHON_BUILD_NONE
1187 # define Py_None SWIG_Py_None()
1189 SWIGRUNTIMEINLINE PyObject
*
1192 PyObject
*none
= Py_BuildValue("");
1196 SWIGRUNTIME PyObject
*
1199 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1204 /* The python void return value */
1206 SWIGRUNTIMEINLINE PyObject
*
1209 PyObject
*none
= Py_None
;
1214 /* PySwigClientData */
1225 SWIGRUNTIMEINLINE
int
1226 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1228 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1229 return data
? data
->implicitconv
: 0;
1232 SWIGRUNTIMEINLINE PyObject
*
1233 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1234 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1235 PyObject
*klass
= data
? data
->klass
: 0;
1236 return (klass
? klass
: PyExc_RuntimeError
);
1240 SWIGRUNTIME PySwigClientData
*
1241 PySwigClientData_New(PyObject
* obj
)
1246 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1247 /* the klass element */
1249 Py_INCREF(data
->klass
);
1250 /* the newraw method and newargs arguments used to create a new raw instance */
1251 if (PyClass_Check(obj
)) {
1253 data
->newargs
= obj
;
1256 #if (PY_VERSION_HEX < 0x02020000)
1259 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1262 Py_INCREF(data
->newraw
);
1263 data
->newargs
= PyTuple_New(1);
1264 PyTuple_SetItem(data
->newargs
, 0, obj
);
1266 data
->newargs
= obj
;
1268 Py_INCREF(data
->newargs
);
1270 /* the destroy method, aka as the C++ delete method */
1271 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1272 if (PyErr_Occurred()) {
1276 if (data
->destroy
) {
1278 Py_INCREF(data
->destroy
);
1279 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1281 data
->delargs
= !(flags
& (METH_O
));
1288 data
->implicitconv
= 0;
1294 PySwigClientData_Del(PySwigClientData
* data
)
1296 Py_XDECREF(data
->newraw
);
1297 Py_XDECREF(data
->newargs
);
1298 Py_XDECREF(data
->destroy
);
1301 /* =============== PySwigObject =====================*/
1311 SWIGRUNTIME PyObject
*
1312 PySwigObject_long(PySwigObject
*v
)
1314 return PyLong_FromVoidPtr(v
->ptr
);
1317 SWIGRUNTIME PyObject
*
1318 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1320 PyObject
*res
= NULL
;
1321 PyObject
*args
= PyTuple_New(1);
1323 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1324 PyObject
*ofmt
= PyString_FromString(fmt
);
1326 res
= PyString_Format(ofmt
,args
);
1335 SWIGRUNTIME PyObject
*
1336 PySwigObject_oct(PySwigObject
*v
)
1338 return PySwigObject_format("%o",v
);
1341 SWIGRUNTIME PyObject
*
1342 PySwigObject_hex(PySwigObject
*v
)
1344 return PySwigObject_format("%x",v
);
1347 SWIGRUNTIME PyObject
*
1349 PySwigObject_repr(PySwigObject
*v
)
1351 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1354 const char *name
= SWIG_TypePrettyName(v
->ty
);
1355 PyObject
*hex
= PySwigObject_hex(v
);
1356 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1360 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1362 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1364 PyString_ConcatAndDel(&repr
,nrep
);
1370 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1373 PyObject
*repr
= PySwigObject_repr(v
);
1375 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1378 fputs(PyString_AsString(repr
), fp
);
1386 SWIGRUNTIME PyObject
*
1387 PySwigObject_str(PySwigObject
*v
)
1389 char result
[SWIG_BUFFER_SIZE
];
1390 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1391 PyString_FromString(result
) : 0;
1395 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1399 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1402 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1404 SWIGRUNTIME PyTypeObject
*
1405 PySwigObject_type(void) {
1406 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1410 SWIGRUNTIMEINLINE
int
1411 PySwigObject_Check(PyObject
*op
) {
1412 return ((op
)->ob_type
== PySwigObject_type())
1413 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1416 SWIGRUNTIME PyObject
*
1417 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1420 PySwigObject_dealloc(PyObject
*v
)
1422 PySwigObject
*sobj
= (PySwigObject
*) v
;
1423 PyObject
*next
= sobj
->next
;
1425 swig_type_info
*ty
= sobj
->ty
;
1426 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1427 PyObject
*destroy
= data
? data
->destroy
: 0;
1429 /* destroy is always a VARARGS method */
1431 if (data
->delargs
) {
1432 /* we need to create a temporal object to carry the destroy operation */
1433 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1434 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1437 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1438 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1439 res
= ((*meth
)(mself
, v
));
1443 const char *name
= SWIG_TypePrettyName(ty
);
1444 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1445 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1453 SWIGRUNTIME PyObject
*
1454 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1456 PySwigObject
*sobj
= (PySwigObject
*) v
;
1459 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1462 if (!PySwigObject_Check(next
)) {
1467 return SWIG_Py_Void();
1470 SWIGRUNTIME PyObject
*
1472 PySwigObject_next(PyObject
* v
)
1474 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1477 PySwigObject
*sobj
= (PySwigObject
*) v
;
1479 Py_INCREF(sobj
->next
);
1482 return SWIG_Py_Void();
1486 SWIGINTERN PyObject
*
1488 PySwigObject_disown(PyObject
*v
)
1490 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1493 PySwigObject
*sobj
= (PySwigObject
*)v
;
1495 return SWIG_Py_Void();
1498 SWIGINTERN PyObject
*
1500 PySwigObject_acquire(PyObject
*v
)
1502 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1505 PySwigObject
*sobj
= (PySwigObject
*)v
;
1506 sobj
->own
= SWIG_POINTER_OWN
;
1507 return SWIG_Py_Void();
1510 SWIGINTERN PyObject
*
1511 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1514 #if (PY_VERSION_HEX < 0x02020000)
1515 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1517 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1524 PySwigObject
*sobj
= (PySwigObject
*)v
;
1525 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1528 if (PyObject_IsTrue(val
)) {
1529 PySwigObject_acquire(v
);
1531 PySwigObject_disown(v
);
1534 if (PyObject_IsTrue(val
)) {
1535 PySwigObject_acquire(v
,args
);
1537 PySwigObject_disown(v
,args
);
1547 swigobject_methods
[] = {
1548 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1549 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1550 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1551 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1552 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1553 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1558 swigobject_methods
[] = {
1559 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1560 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1561 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1562 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1563 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1564 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1569 #if PY_VERSION_HEX < 0x02020000
1570 SWIGINTERN PyObject
*
1571 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1573 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1577 SWIGRUNTIME PyTypeObject
*
1578 _PySwigObject_type(void) {
1579 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1581 static PyNumberMethods PySwigObject_as_number
= {
1582 (binaryfunc
)0, /*nb_add*/
1583 (binaryfunc
)0, /*nb_subtract*/
1584 (binaryfunc
)0, /*nb_multiply*/
1585 (binaryfunc
)0, /*nb_divide*/
1586 (binaryfunc
)0, /*nb_remainder*/
1587 (binaryfunc
)0, /*nb_divmod*/
1588 (ternaryfunc
)0,/*nb_power*/
1589 (unaryfunc
)0, /*nb_negative*/
1590 (unaryfunc
)0, /*nb_positive*/
1591 (unaryfunc
)0, /*nb_absolute*/
1592 (inquiry
)0, /*nb_nonzero*/
1599 (coercion
)0, /*nb_coerce*/
1600 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1601 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1602 (unaryfunc
)0, /*nb_float*/
1603 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1604 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1605 #if PY_VERSION_HEX >= 0x02020000
1606 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1607 #elif PY_VERSION_HEX >= 0x02000000
1608 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1612 static PyTypeObject pyswigobject_type
;
1613 static int type_init
= 0;
1615 const PyTypeObject tmp
1617 PyObject_HEAD_INIT(NULL
)
1619 (char *)"PySwigObject", /* tp_name */
1620 sizeof(PySwigObject
), /* tp_basicsize */
1621 0, /* tp_itemsize */
1622 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1623 (printfunc
)PySwigObject_print
, /* tp_print */
1624 #if PY_VERSION_HEX < 0x02020000
1625 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1627 (getattrfunc
)0, /* tp_getattr */
1629 (setattrfunc
)0, /* tp_setattr */
1630 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1631 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1632 &PySwigObject_as_number
, /* tp_as_number */
1633 0, /* tp_as_sequence */
1634 0, /* tp_as_mapping */
1635 (hashfunc
)0, /* tp_hash */
1636 (ternaryfunc
)0, /* tp_call */
1637 (reprfunc
)PySwigObject_str
, /* tp_str */
1638 PyObject_GenericGetAttr
, /* tp_getattro */
1639 0, /* tp_setattro */
1640 0, /* tp_as_buffer */
1641 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1642 swigobject_doc
, /* tp_doc */
1643 0, /* tp_traverse */
1645 0, /* tp_richcompare */
1646 0, /* tp_weaklistoffset */
1647 #if PY_VERSION_HEX >= 0x02020000
1649 0, /* tp_iternext */
1650 swigobject_methods
, /* tp_methods */
1655 0, /* tp_descr_get */
1656 0, /* tp_descr_set */
1657 0, /* tp_dictoffset */
1666 0, /* tp_subclasses */
1667 0, /* tp_weaklist */
1669 #if PY_VERSION_HEX >= 0x02030000
1673 0,0,0,0 /* tp_alloc -> tp_next */
1676 pyswigobject_type
= tmp
;
1677 pyswigobject_type
.ob_type
= &PyType_Type
;
1680 return &pyswigobject_type
;
1683 SWIGRUNTIME PyObject
*
1684 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1686 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1693 return (PyObject
*)sobj
;
1696 /* -----------------------------------------------------------------------------
1697 * Implements a simple Swig Packed type, and use it instead of string
1698 * ----------------------------------------------------------------------------- */
1708 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1710 char result
[SWIG_BUFFER_SIZE
];
1711 fputs("<Swig Packed ", fp
);
1712 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1716 fputs(v
->ty
->name
,fp
);
1721 SWIGRUNTIME PyObject
*
1722 PySwigPacked_repr(PySwigPacked
*v
)
1724 char result
[SWIG_BUFFER_SIZE
];
1725 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1726 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1728 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1732 SWIGRUNTIME PyObject
*
1733 PySwigPacked_str(PySwigPacked
*v
)
1735 char result
[SWIG_BUFFER_SIZE
];
1736 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1737 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1739 return PyString_FromString(v
->ty
->name
);
1744 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1748 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1749 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1752 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1754 SWIGRUNTIME PyTypeObject
*
1755 PySwigPacked_type(void) {
1756 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1760 SWIGRUNTIMEINLINE
int
1761 PySwigPacked_Check(PyObject
*op
) {
1762 return ((op
)->ob_type
== _PySwigPacked_type())
1763 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1767 PySwigPacked_dealloc(PyObject
*v
)
1769 if (PySwigPacked_Check(v
)) {
1770 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1776 SWIGRUNTIME PyTypeObject
*
1777 _PySwigPacked_type(void) {
1778 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1779 static PyTypeObject pyswigpacked_type
;
1780 static int type_init
= 0;
1782 const PyTypeObject tmp
1784 PyObject_HEAD_INIT(NULL
)
1786 (char *)"PySwigPacked", /* tp_name */
1787 sizeof(PySwigPacked
), /* tp_basicsize */
1788 0, /* tp_itemsize */
1789 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1790 (printfunc
)PySwigPacked_print
, /* tp_print */
1791 (getattrfunc
)0, /* tp_getattr */
1792 (setattrfunc
)0, /* tp_setattr */
1793 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1794 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1795 0, /* tp_as_number */
1796 0, /* tp_as_sequence */
1797 0, /* tp_as_mapping */
1798 (hashfunc
)0, /* tp_hash */
1799 (ternaryfunc
)0, /* tp_call */
1800 (reprfunc
)PySwigPacked_str
, /* tp_str */
1801 PyObject_GenericGetAttr
, /* tp_getattro */
1802 0, /* tp_setattro */
1803 0, /* tp_as_buffer */
1804 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1805 swigpacked_doc
, /* tp_doc */
1806 0, /* tp_traverse */
1808 0, /* tp_richcompare */
1809 0, /* tp_weaklistoffset */
1810 #if PY_VERSION_HEX >= 0x02020000
1812 0, /* tp_iternext */
1818 0, /* tp_descr_get */
1819 0, /* tp_descr_set */
1820 0, /* tp_dictoffset */
1829 0, /* tp_subclasses */
1830 0, /* tp_weaklist */
1832 #if PY_VERSION_HEX >= 0x02030000
1836 0,0,0,0 /* tp_alloc -> tp_next */
1839 pyswigpacked_type
= tmp
;
1840 pyswigpacked_type
.ob_type
= &PyType_Type
;
1843 return &pyswigpacked_type
;
1846 SWIGRUNTIME PyObject
*
1847 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1849 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1851 void *pack
= malloc(size
);
1853 memcpy(pack
, ptr
, size
);
1858 PyObject_DEL((PyObject
*) sobj
);
1862 return (PyObject
*) sobj
;
1865 SWIGRUNTIME swig_type_info
*
1866 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1868 if (PySwigPacked_Check(obj
)) {
1869 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1870 if (sobj
->size
!= size
) return 0;
1871 memcpy(ptr
, sobj
->pack
, size
);
1878 /* -----------------------------------------------------------------------------
1879 * pointers/data manipulation
1880 * ----------------------------------------------------------------------------- */
1882 SWIGRUNTIMEINLINE PyObject
*
1885 return PyString_FromString("this");
1888 SWIGRUNTIME PyObject
*
1891 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1895 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1897 SWIGRUNTIME PySwigObject
*
1898 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1900 if (PySwigObject_Check(pyobj
)) {
1901 return (PySwigObject
*) pyobj
;
1904 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1905 if (PyInstance_Check(pyobj
)) {
1906 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1908 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1909 if (dictptr
!= NULL
) {
1910 PyObject
*dict
= *dictptr
;
1911 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1913 #ifdef PyWeakref_CheckProxy
1914 if (PyWeakref_CheckProxy(pyobj
)) {
1915 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1916 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1919 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1923 if (PyErr_Occurred()) PyErr_Clear();
1929 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1933 if (PyErr_Occurred()) PyErr_Clear();
1937 if (obj
&& !PySwigObject_Check(obj
)) {
1938 /* a PyObject is called 'this', try to get the 'real this'
1939 PySwigObject from it */
1940 return SWIG_Python_GetSwigThis(obj
);
1942 return (PySwigObject
*)obj
;
1946 /* Acquire a pointer value */
1949 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1951 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1953 int oldown
= sobj
->own
;
1961 /* Convert a pointer value */
1964 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1965 if (!obj
) return SWIG_ERROR
;
1966 if (obj
== Py_None
) {
1970 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1972 void *vptr
= sobj
->ptr
;
1974 swig_type_info
*to
= sobj
->ty
;
1976 /* no type cast needed */
1977 if (ptr
) *ptr
= vptr
;
1980 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1982 sobj
= (PySwigObject
*)sobj
->next
;
1984 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1989 if (ptr
) *ptr
= vptr
;
1994 if (own
) *own
= sobj
->own
;
1995 if (flags
& SWIG_POINTER_DISOWN
) {
2000 int res
= SWIG_ERROR
;
2001 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2002 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2003 if (data
&& !data
->implicitconv
) {
2004 PyObject
*klass
= data
->klass
;
2007 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2008 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2009 data
->implicitconv
= 0;
2010 if (PyErr_Occurred()) {
2015 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2018 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2019 if (SWIG_IsOK(res
)) {
2022 /* transfer the ownership to 'ptr' */
2024 res
= SWIG_AddCast(res
);
2025 res
= SWIG_AddNewMask(res
);
2027 res
= SWIG_AddCast(res
);
2041 /* Convert a function ptr value */
2044 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2045 if (!PyCFunction_Check(obj
)) {
2046 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2050 /* here we get the method pointer for callbacks */
2051 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2052 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2054 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2055 if (!desc
) return SWIG_ERROR
;
2058 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2059 if (!tc
) return SWIG_ERROR
;
2060 *ptr
= SWIG_TypeCast(tc
,vptr
);
2068 /* Convert a packed value value */
2071 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2072 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2073 if (!to
) return SWIG_ERROR
;
2076 /* check type cast? */
2077 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2078 if (!tc
) return SWIG_ERROR
;
2084 /* -----------------------------------------------------------------------------
2085 * Create a new pointer object
2086 * ----------------------------------------------------------------------------- */
2089 Create a new instance object, whitout calling __init__, and set the
2093 SWIGRUNTIME PyObject
*
2094 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2096 #if (PY_VERSION_HEX >= 0x02020000)
2098 PyObject
*newraw
= data
->newraw
;
2100 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2102 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2103 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2104 if (dictptr
!= NULL
) {
2105 PyObject
*dict
= *dictptr
;
2107 dict
= PyDict_New();
2109 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2113 PyObject
*key
= SWIG_This();
2114 PyObject_SetAttr(inst
, key
, swig_this
);
2118 PyObject
*dict
= PyDict_New();
2119 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2120 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2125 #if (PY_VERSION_HEX >= 0x02010000)
2127 PyObject
*dict
= PyDict_New();
2128 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2129 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2131 return (PyObject
*) inst
;
2133 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2137 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2138 Py_INCREF(inst
->in_class
);
2139 inst
->in_dict
= PyDict_New();
2140 if (inst
->in_dict
== NULL
) {
2144 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2145 inst
->in_weakreflist
= NULL
;
2147 #ifdef Py_TPFLAGS_GC
2148 PyObject_GC_Init(inst
);
2150 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2151 return (PyObject
*) inst
;
2157 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2160 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2161 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2162 if (dictptr
!= NULL
) {
2165 dict
= PyDict_New();
2168 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2172 dict
= PyObject_GetAttrString(inst
, "__dict__");
2173 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2178 SWIGINTERN PyObject
*
2179 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2181 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2184 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2186 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2188 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2190 return SWIG_Py_Void();
2194 /* Create a new pointer object */
2196 SWIGRUNTIME PyObject
*
2197 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2199 return SWIG_Py_Void();
2201 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2202 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2203 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2204 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2205 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2215 /* Create a new packed object */
2217 SWIGRUNTIMEINLINE PyObject
*
2218 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2219 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2222 /* -----------------------------------------------------------------------------*
2224 * -----------------------------------------------------------------------------*/
2226 #ifdef SWIG_LINK_RUNTIME
2227 void *SWIG_ReturnGlobalTypeList(void *);
2230 SWIGRUNTIME swig_module_info
*
2231 SWIG_Python_GetModule(void) {
2232 static void *type_pointer
= (void *)0;
2233 /* first check if module already created */
2234 if (!type_pointer
) {
2235 #ifdef SWIG_LINK_RUNTIME
2236 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2238 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2239 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2240 if (PyErr_Occurred()) {
2242 type_pointer
= (void *)0;
2246 return (swig_module_info
*) type_pointer
;
2249 #if PY_MAJOR_VERSION < 2
2250 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2251 is copied out of Python/modsupport.c in python version 2.3.4 */
2253 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2256 if (!PyModule_Check(m
)) {
2257 PyErr_SetString(PyExc_TypeError
,
2258 "PyModule_AddObject() needs module as first arg");
2262 PyErr_SetString(PyExc_TypeError
,
2263 "PyModule_AddObject() needs non-NULL value");
2267 dict
= PyModule_GetDict(m
);
2269 /* Internal error -- modules must have a dict! */
2270 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2271 PyModule_GetName(m
));
2274 if (PyDict_SetItemString(dict
, name
, o
))
2282 SWIG_Python_DestroyModule(void *vptr
)
2284 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2285 swig_type_info
**types
= swig_module
->types
;
2287 for (i
=0; i
< swig_module
->size
; ++i
) {
2288 swig_type_info
*ty
= types
[i
];
2290 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2291 if (data
) PySwigClientData_Del(data
);
2294 Py_DECREF(SWIG_This());
2298 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2299 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2301 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2302 swig_empty_runtime_method_table
);
2303 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2304 if (pointer
&& module) {
2305 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2307 Py_XDECREF(pointer
);
2311 /* The python cached type query */
2312 SWIGRUNTIME PyObject
*
2313 SWIG_Python_TypeCache() {
2314 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2318 SWIGRUNTIME swig_type_info
*
2319 SWIG_Python_TypeQuery(const char *type
)
2321 PyObject
*cache
= SWIG_Python_TypeCache();
2322 PyObject
*key
= PyString_FromString(type
);
2323 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2324 swig_type_info
*descriptor
;
2326 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2328 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2329 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2331 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2332 PyDict_SetItem(cache
, key
, obj
);
2341 For backward compatibility only
2343 #define SWIG_POINTER_EXCEPTION 0
2344 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2345 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2348 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2350 if (PyErr_Occurred()) {
2352 PyObject
*value
= 0;
2353 PyObject
*traceback
= 0;
2354 PyErr_Fetch(&type
, &value
, &traceback
);
2356 PyObject
*old_str
= PyObject_Str(value
);
2360 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2362 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2373 SWIG_Python_ArgFail(int argnum
)
2375 if (PyErr_Occurred()) {
2376 /* add information about failing argument */
2378 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2379 return SWIG_Python_AddErrMesg(mesg
, 1);
2385 SWIGRUNTIMEINLINE
const char *
2386 PySwigObject_GetDesc(PyObject
*self
)
2388 PySwigObject
*v
= (PySwigObject
*)self
;
2389 swig_type_info
*ty
= v
? v
->ty
: 0;
2390 return ty
? ty
->str
: (char*)"";
2394 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2397 #if defined(SWIG_COBJECT_TYPES)
2398 if (obj
&& PySwigObject_Check(obj
)) {
2399 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2401 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2408 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2410 PyObject
*str
= PyObject_Str(obj
);
2411 const char *cstr
= str
? PyString_AsString(str
) : 0;
2413 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2416 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2423 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2425 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2430 /* Convert a pointer value, signal an exception on a type mismatch */
2432 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2434 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2436 if (flags
& SWIG_POINTER_EXCEPTION
) {
2437 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2438 SWIG_Python_ArgFail(argnum
);
2454 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2456 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2460 /* -------- TYPES TABLE (BEGIN) -------- */
2462 #define SWIGTYPE_p_bool swig_types[0]
2463 #define SWIGTYPE_p_char swig_types[1]
2464 #define SWIGTYPE_p_form_ops_t swig_types[2]
2465 #define SWIGTYPE_p_int swig_types[3]
2466 #define SWIGTYPE_p_long swig_types[4]
2467 #define SWIGTYPE_p_unsigned_char swig_types[5]
2468 #define SWIGTYPE_p_unsigned_int swig_types[6]
2469 #define SWIGTYPE_p_unsigned_long swig_types[7]
2470 #define SWIGTYPE_p_void swig_types[8]
2471 #define SWIGTYPE_p_wxANIHandler swig_types[9]
2472 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2473 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2474 #define SWIGTYPE_p_wxArrayInt swig_types[12]
2475 #define SWIGTYPE_p_wxArrayString swig_types[13]
2476 #define SWIGTYPE_p_wxBMPHandler swig_types[14]
2477 #define SWIGTYPE_p_wxBitmap swig_types[15]
2478 #define SWIGTYPE_p_wxBitmapButton swig_types[16]
2479 #define SWIGTYPE_p_wxBookCtrlBase swig_types[17]
2480 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[18]
2481 #define SWIGTYPE_p_wxBoxSizer swig_types[19]
2482 #define SWIGTYPE_p_wxButton swig_types[20]
2483 #define SWIGTYPE_p_wxCURHandler swig_types[21]
2484 #define SWIGTYPE_p_wxCheckBox swig_types[22]
2485 #define SWIGTYPE_p_wxCheckListBox swig_types[23]
2486 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2487 #define SWIGTYPE_p_wxChoice swig_types[25]
2488 #define SWIGTYPE_p_wxChoicebook swig_types[26]
2489 #define SWIGTYPE_p_wxChoicebookEvent swig_types[27]
2490 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[28]
2491 #define SWIGTYPE_p_wxCloseEvent swig_types[29]
2492 #define SWIGTYPE_p_wxColour swig_types[30]
2493 #define SWIGTYPE_p_wxColourPickerCtrl swig_types[31]
2494 #define SWIGTYPE_p_wxColourPickerEvent swig_types[32]
2495 #define SWIGTYPE_p_wxComboBox swig_types[33]
2496 #define SWIGTYPE_p_wxCommandEvent swig_types[34]
2497 #define SWIGTYPE_p_wxContextHelp swig_types[35]
2498 #define SWIGTYPE_p_wxContextHelpButton swig_types[36]
2499 #define SWIGTYPE_p_wxContextMenuEvent swig_types[37]
2500 #define SWIGTYPE_p_wxControl swig_types[38]
2501 #define SWIGTYPE_p_wxControlWithItems swig_types[39]
2502 #define SWIGTYPE_p_wxCursor swig_types[40]
2503 #define SWIGTYPE_p_wxDC swig_types[41]
2504 #define SWIGTYPE_p_wxDateEvent swig_types[42]
2505 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[43]
2506 #define SWIGTYPE_p_wxDateTime swig_types[44]
2507 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[45]
2508 #define SWIGTYPE_p_wxDirPickerCtrl swig_types[46]
2509 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[47]
2510 #define SWIGTYPE_p_wxDropFilesEvent swig_types[48]
2511 #define SWIGTYPE_p_wxDuplexMode swig_types[49]
2512 #define SWIGTYPE_p_wxEraseEvent swig_types[50]
2513 #define SWIGTYPE_p_wxEvent swig_types[51]
2514 #define SWIGTYPE_p_wxEvtHandler swig_types[52]
2515 #define SWIGTYPE_p_wxFSFile swig_types[53]
2516 #define SWIGTYPE_p_wxFileDirPickerEvent swig_types[54]
2517 #define SWIGTYPE_p_wxFilePickerCtrl swig_types[55]
2518 #define SWIGTYPE_p_wxFileSystem swig_types[56]
2519 #define SWIGTYPE_p_wxFlexGridSizer swig_types[57]
2520 #define SWIGTYPE_p_wxFocusEvent swig_types[58]
2521 #define SWIGTYPE_p_wxFont swig_types[59]
2522 #define SWIGTYPE_p_wxFontPickerCtrl swig_types[60]
2523 #define SWIGTYPE_p_wxFontPickerEvent swig_types[61]
2524 #define SWIGTYPE_p_wxGBSizerItem swig_types[62]
2525 #define SWIGTYPE_p_wxGIFHandler swig_types[63]
2526 #define SWIGTYPE_p_wxGauge swig_types[64]
2527 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[65]
2528 #define SWIGTYPE_p_wxGenericDragImage swig_types[66]
2529 #define SWIGTYPE_p_wxGridBagSizer swig_types[67]
2530 #define SWIGTYPE_p_wxGridSizer swig_types[68]
2531 #define SWIGTYPE_p_wxHelpEvent swig_types[69]
2532 #define SWIGTYPE_p_wxHelpProvider swig_types[70]
2533 #define SWIGTYPE_p_wxHyperlinkCtrl swig_types[71]
2534 #define SWIGTYPE_p_wxHyperlinkEvent swig_types[72]
2535 #define SWIGTYPE_p_wxICOHandler swig_types[73]
2536 #define SWIGTYPE_p_wxIcon swig_types[74]
2537 #define SWIGTYPE_p_wxIconizeEvent swig_types[75]
2538 #define SWIGTYPE_p_wxIdleEvent swig_types[76]
2539 #define SWIGTYPE_p_wxImage swig_types[77]
2540 #define SWIGTYPE_p_wxImageHandler swig_types[78]
2541 #define SWIGTYPE_p_wxImageList swig_types[79]
2542 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[80]
2543 #define SWIGTYPE_p_wxInitDialogEvent swig_types[81]
2544 #define SWIGTYPE_p_wxItemContainer swig_types[82]
2545 #define SWIGTYPE_p_wxJPEGHandler swig_types[83]
2546 #define SWIGTYPE_p_wxKeyEvent swig_types[84]
2547 #define SWIGTYPE_p_wxLayoutConstraints swig_types[85]
2548 #define SWIGTYPE_p_wxListBox swig_types[86]
2549 #define SWIGTYPE_p_wxListEvent swig_types[87]
2550 #define SWIGTYPE_p_wxListItem swig_types[88]
2551 #define SWIGTYPE_p_wxListItemAttr swig_types[89]
2552 #define SWIGTYPE_p_wxListView swig_types[90]
2553 #define SWIGTYPE_p_wxListbook swig_types[91]
2554 #define SWIGTYPE_p_wxListbookEvent swig_types[92]
2555 #define SWIGTYPE_p_wxMaximizeEvent swig_types[93]
2556 #define SWIGTYPE_p_wxMemoryDC swig_types[94]
2557 #define SWIGTYPE_p_wxMenu swig_types[95]
2558 #define SWIGTYPE_p_wxMenuBar swig_types[96]
2559 #define SWIGTYPE_p_wxMenuEvent swig_types[97]
2560 #define SWIGTYPE_p_wxMenuItem swig_types[98]
2561 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[99]
2562 #define SWIGTYPE_p_wxMouseEvent swig_types[100]
2563 #define SWIGTYPE_p_wxMoveEvent swig_types[101]
2564 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[102]
2565 #define SWIGTYPE_p_wxNcPaintEvent swig_types[103]
2566 #define SWIGTYPE_p_wxNotebook swig_types[104]
2567 #define SWIGTYPE_p_wxNotebookEvent swig_types[105]
2568 #define SWIGTYPE_p_wxNotifyEvent swig_types[106]
2569 #define SWIGTYPE_p_wxObject swig_types[107]
2570 #define SWIGTYPE_p_wxPCXHandler swig_types[108]
2571 #define SWIGTYPE_p_wxPNGHandler swig_types[109]
2572 #define SWIGTYPE_p_wxPNMHandler swig_types[110]
2573 #define SWIGTYPE_p_wxPaintEvent swig_types[111]
2574 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[112]
2575 #define SWIGTYPE_p_wxPaperSize swig_types[113]
2576 #define SWIGTYPE_p_wxPickerBase swig_types[114]
2577 #define SWIGTYPE_p_wxPoint swig_types[115]
2578 #define SWIGTYPE_p_wxPyApp swig_types[116]
2579 #define SWIGTYPE_p_wxPyCommandEvent swig_types[117]
2580 #define SWIGTYPE_p_wxPyControl swig_types[118]
2581 #define SWIGTYPE_p_wxPyEvent swig_types[119]
2582 #define SWIGTYPE_p_wxPyImageHandler swig_types[120]
2583 #define SWIGTYPE_p_wxPyListCtrl swig_types[121]
2584 #define SWIGTYPE_p_wxPySizer swig_types[122]
2585 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[123]
2586 #define SWIGTYPE_p_wxPyTreeItemData swig_types[124]
2587 #define SWIGTYPE_p_wxPyValidator swig_types[125]
2588 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[126]
2589 #define SWIGTYPE_p_wxRadioBox swig_types[127]
2590 #define SWIGTYPE_p_wxRadioButton swig_types[128]
2591 #define SWIGTYPE_p_wxRect swig_types[129]
2592 #define SWIGTYPE_p_wxScrollBar swig_types[130]
2593 #define SWIGTYPE_p_wxScrollEvent swig_types[131]
2594 #define SWIGTYPE_p_wxScrollWinEvent swig_types[132]
2595 #define SWIGTYPE_p_wxSetCursorEvent swig_types[133]
2596 #define SWIGTYPE_p_wxShowEvent swig_types[134]
2597 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[135]
2598 #define SWIGTYPE_p_wxSize swig_types[136]
2599 #define SWIGTYPE_p_wxSizeEvent swig_types[137]
2600 #define SWIGTYPE_p_wxSizer swig_types[138]
2601 #define SWIGTYPE_p_wxSizerItem swig_types[139]
2602 #define SWIGTYPE_p_wxSlider swig_types[140]
2603 #define SWIGTYPE_p_wxSpinButton swig_types[141]
2604 #define SWIGTYPE_p_wxSpinCtrl swig_types[142]
2605 #define SWIGTYPE_p_wxSpinEvent swig_types[143]
2606 #define SWIGTYPE_p_wxStaticBitmap swig_types[144]
2607 #define SWIGTYPE_p_wxStaticBox swig_types[145]
2608 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[146]
2609 #define SWIGTYPE_p_wxStaticLine swig_types[147]
2610 #define SWIGTYPE_p_wxStaticText swig_types[148]
2611 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[149]
2612 #define SWIGTYPE_p_wxString swig_types[150]
2613 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[151]
2614 #define SWIGTYPE_p_wxTIFFHandler swig_types[152]
2615 #define SWIGTYPE_p_wxTextAttr swig_types[153]
2616 #define SWIGTYPE_p_wxTextCtrl swig_types[154]
2617 #define SWIGTYPE_p_wxTextUrlEvent swig_types[155]
2618 #define SWIGTYPE_p_wxToggleButton swig_types[156]
2619 #define SWIGTYPE_p_wxToolBar swig_types[157]
2620 #define SWIGTYPE_p_wxToolBarBase swig_types[158]
2621 #define SWIGTYPE_p_wxToolBarToolBase swig_types[159]
2622 #define SWIGTYPE_p_wxToolbook swig_types[160]
2623 #define SWIGTYPE_p_wxToolbookEvent swig_types[161]
2624 #define SWIGTYPE_p_wxTreeCtrl swig_types[162]
2625 #define SWIGTYPE_p_wxTreeEvent swig_types[163]
2626 #define SWIGTYPE_p_wxTreeItemId swig_types[164]
2627 #define SWIGTYPE_p_wxTreebook swig_types[165]
2628 #define SWIGTYPE_p_wxTreebookEvent swig_types[166]
2629 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[167]
2630 #define SWIGTYPE_p_wxValidator swig_types[168]
2631 #define SWIGTYPE_p_wxVisualAttributes swig_types[169]
2632 #define SWIGTYPE_p_wxWindow swig_types[170]
2633 #define SWIGTYPE_p_wxWindowBase swig_types[171]
2634 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[172]
2635 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[173]
2636 #define SWIGTYPE_p_wxXPMHandler swig_types[174]
2637 static swig_type_info
*swig_types
[176];
2638 static swig_module_info swig_module
= {swig_types
, 175, 0, 0, 0, 0};
2639 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2640 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2642 /* -------- TYPES TABLE (END) -------- */
2644 #if (PY_VERSION_HEX <= 0x02000000)
2645 # if !defined(SWIG_PYTHON_CLASSIC)
2646 # error "This python version requires to use swig with the '-classic' option"
2649 #if (PY_VERSION_HEX <= 0x02020000)
2650 # error "This python version requires to use swig with the '-nomodern' option"
2652 #if (PY_VERSION_HEX <= 0x02020000)
2653 # error "This python version requires to use swig with the '-nomodernargs' option"
2656 # error "This python version requires to use swig with the '-nofastunpack' option"
2659 /*-----------------------------------------------
2660 @(target):= _controls_.so
2661 ------------------------------------------------*/
2662 #define SWIG_init init_controls_
2664 #define SWIG_name "_controls_"
2666 #define SWIGVERSION 0x010329
2669 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2670 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2673 #include <stdexcept>
2677 class PyObject_ptr
{
2682 PyObject_ptr() :_obj(0)
2686 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2691 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2693 if (initial_ref
) Py_XINCREF(_obj
);
2696 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2698 Py_XINCREF(item
._obj
);
2709 operator PyObject
*() const
2714 PyObject
*operator->() const
2723 struct PyObject_var
: PyObject_ptr
{
2724 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2726 PyObject_var
& operator = (PyObject
* obj
)
2736 #include "wx/wxPython/wxPython.h"
2737 #include "wx/wxPython/pyclasses.h"
2739 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2740 static const wxString
wxPyEmptyString(wxEmptyString
);
2741 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2743 const wxArrayString wxPyEmptyStringArray
;
2745 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
2747 #define SWIG_From_long PyInt_FromLong
2750 SWIGINTERNINLINE PyObject
*
2751 SWIG_From_int (int value
)
2753 return SWIG_From_long (value
);
2759 # define LLONG_MIN LONG_LONG_MIN
2762 # define LLONG_MAX LONG_LONG_MAX
2765 # define ULLONG_MAX ULONG_LONG_MAX
2770 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2772 if (PyNumber_Check(obj
)) {
2773 if (val
) *val
= PyInt_AsLong(obj
);
2776 return SWIG_TypeError
;
2781 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2784 int res
= SWIG_AsVal_long (obj
, &v
);
2785 if (SWIG_IsOK(res
)) {
2786 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2787 return SWIG_OverflowError
;
2789 if (val
) *val
= static_cast< int >(v
);
2795 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
2798 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2800 if (obj
== Py_True
) {
2801 if (val
) *val
= true;
2803 } else if (obj
== Py_False
) {
2804 if (val
) *val
= false;
2808 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2809 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2814 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
2815 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
2816 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
2817 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
2818 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
2819 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
2821 #include <wx/checklst.h>
2823 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
2824 SWIGINTERN
void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2827 wxPyClientData
* data
= new wxPyClientData(clientData
);
2828 self
->Insert(item
, pos
, data
);
2831 self
->Insert(item
, pos
);
2835 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2838 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2839 return SWIG_TypeError
;
2842 *val
= (unsigned long)v
;
2848 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
2851 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2852 if (SWIG_IsOK(res
)) {
2853 if ((v
> UINT_MAX
)) {
2854 return SWIG_OverflowError
;
2856 if (val
) *val
= static_cast< unsigned int >(v
);
2862 SWIGINTERN PyObject
*wxListBox_GetSelections(wxListBox
*self
){
2863 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2865 self
->GetSelections(lst
);
2866 PyObject
*tup
= PyTuple_New(lst
.GetCount());
2867 for (size_t i
=0; i
<lst
.GetCount(); i
++)
2869 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
2871 wxPyEndBlockThreads(blocked
);
2874 SWIGINTERN
void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2876 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2877 self
->GetItem(item
)->SetTextColour(c
);
2880 SWIGINTERN
void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2882 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2883 self
->GetItem(item
)->SetBackgroundColour(c
);
2886 SWIGINTERN
void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
2888 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2889 self
->GetItem(item
)->SetFont(f
);
2892 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
2893 SWIGINTERN
void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
2894 self
->AppendText(text
);
2896 SWIGINTERN wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
2897 return self
->GetValue().Mid(from
, to
- from
);
2899 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
2900 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
2901 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
2902 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
2903 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
2905 SWIGINTERNINLINE PyObject
*
2906 SWIG_From_unsigned_SS_long (unsigned long value
)
2908 return (value
> LONG_MAX
) ?
2909 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2913 SWIGINTERNINLINE PyObject
*
2914 SWIG_From_size_t (size_t value
)
2916 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2920 SWIGINTERNINLINE PyObject
*
2921 SWIG_From_unsigned_SS_int (unsigned int value
)
2923 return SWIG_From_unsigned_SS_long (value
);
2927 #include <wx/slider.h>
2930 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
2931 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
2933 #if !wxUSE_TOGGLEBTN
2934 // implement dummy items for platforms that don't have this class
2936 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
2938 class wxToggleButton
: public wxControl
2941 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
2942 const wxPoint
&, const wxSize
&, long,
2943 const wxValidator
&, const wxString
&)
2944 { wxPyRaiseNotImplemented(); }
2947 { wxPyRaiseNotImplemented(); }
2951 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
2953 SWIGINTERNINLINE
int
2954 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2957 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2958 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2962 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2963 SWIGINTERN PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
2964 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
2966 Py_INCREF(udata
->m_obj
);
2967 return udata
->m_obj
;
2973 SWIGINTERN
void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
2974 self
->SetClientData(new wxPyUserData(clientData
));
2976 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
){
2977 wxPyUserData
* udata
= NULL
;
2978 if (clientData
&& clientData
!= Py_None
)
2979 udata
= new wxPyUserData(clientData
);
2980 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
2981 shortHelp
, longHelp
, udata
);
2983 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
){
2984 wxPyUserData
* udata
= NULL
;
2985 if (clientData
&& clientData
!= Py_None
)
2986 udata
= new wxPyUserData(clientData
);
2987 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
2988 shortHelp
, longHelp
, udata
);
2990 SWIGINTERN PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
2991 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
2993 Py_INCREF(udata
->m_obj
);
2994 return udata
->m_obj
;
3000 SWIGINTERN
void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
3001 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
3004 #include <wx/listctrl.h>
3006 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
3007 SWIGINTERN
void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
3008 // Python aware sorting function for wxPyListCtrl
3009 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
3011 PyObject
* func
= (PyObject
*)funcPtr
;
3012 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3014 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
3015 PyObject
* result
= PyEval_CallObject(func
, args
);
3018 retval
= PyInt_AsLong(result
);
3022 wxPyEndBlockThreads(blocked
);
3026 // C++ Version of a Python aware class
3027 class wxPyListCtrl
: public wxListCtrl
{
3028 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
)
3030 wxPyListCtrl() : wxListCtrl() {}
3031 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
3035 const wxValidator
& validator
,
3036 const wxString
& name
) :
3037 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3039 bool Create(wxWindow
* parent
, wxWindowID id
,
3043 const wxValidator
& validator
,
3044 const wxString
& name
) {
3045 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3048 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
3049 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
3051 // use the virtual version to avoid a confusing assert in the base class
3052 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
3053 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage
);
3058 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
3060 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
3061 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
3062 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
3063 IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemColumnImage
);
3066 SWIGINTERN wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
3068 item
.SetMask( wxLIST_MASK_STATE
|
3076 if (self
->GetColumn(col
, item
))
3077 return new wxListItem(item
);
3081 SWIGINTERN wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
3082 wxListItem
* info
= new wxListItem
;
3083 info
->m_itemId
= itemId
;
3085 info
->m_mask
= 0xFFFF;
3086 self
->GetItem(*info
);
3089 SWIGINTERN wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
3091 self
->GetItemPosition(item
, pos
);
3094 SWIGINTERN wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
3096 self
->GetItemRect(item
, rect
, code
);
3099 SWIGINTERN
bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
3100 if (!PyCallable_Check(func
))
3102 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
3104 SWIGINTERN wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
3112 #include <wx/treectrl.h>
3113 #include "wx/wxPython/pytree.h"
3115 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
3116 SWIGINTERN
bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
3117 SWIGINTERN
bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
3118 SWIGINTERN
void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
3120 static wxTreeItemId wxNullTreeItemId
;
3122 // C++ version of Python aware wxTreeCtrl
3123 class wxPyTreeCtrl
: public wxTreeCtrl
{
3124 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
)
3126 wxPyTreeCtrl() : wxTreeCtrl() {}
3127 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
3131 const wxValidator
& validator
,
3132 const wxString
& name
) :
3133 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3135 bool Create(wxWindow
*parent
, wxWindowID id
,
3139 const wxValidator
& validator
,
3140 const wxString
& name
) {
3141 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3145 int OnCompareItems(const wxTreeItemId
& item1
,
3146 const wxTreeItemId
& item2
) {
3149 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3150 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
3151 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
3152 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
3153 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
3157 wxPyEndBlockThreads(blocked
);
3159 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
3165 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
3168 SWIGINTERN wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3169 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3171 data
= new wxPyTreeItemData();
3172 data
->SetId(item
); // set the id
3173 self
->SetItemData(item
, data
);
3177 SWIGINTERN PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3178 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3180 data
= new wxPyTreeItemData();
3181 data
->SetId(item
); // set the id
3182 self
->SetItemData(item
, data
);
3184 return data
->GetData();
3186 SWIGINTERN
void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
3187 data
->SetId(item
); // set the id
3188 self
->SetItemData(item
, data
);
3190 SWIGINTERN
void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
3191 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3193 data
= new wxPyTreeItemData(obj
);
3194 data
->SetId(item
); // set the id
3195 self
->SetItemData(item
, data
);
3199 SWIGINTERN PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
3200 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3201 PyObject
* rval
= PyList_New(0);
3202 wxArrayTreeItemIds array
;
3204 num
= self
->GetSelections(array
);
3205 for (x
=0; x
< num
; x
++) {
3206 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
3207 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
3208 PyList_Append(rval
, item
);
3211 wxPyEndBlockThreads(blocked
);
3214 SWIGINTERN PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3216 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
3217 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3218 PyObject
* tup
= PyTuple_New(2);
3219 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3220 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3221 wxPyEndBlockThreads(blocked
);
3224 SWIGINTERN PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
3225 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
3226 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3227 PyObject
* tup
= PyTuple_New(2);
3228 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3229 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3230 wxPyEndBlockThreads(blocked
);
3233 SWIGINTERN PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
3235 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
3236 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3237 wxRect
* r
= new wxRect(rect
);
3238 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
3239 wxPyEndBlockThreads(blocked
);
3245 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
3247 SWIGINTERNINLINE PyObject
*
3248 SWIG_From_bool (bool value
)
3250 return PyBool_FromLong(value
? 1 : 0);
3253 // C++ version of Python aware wxControl
3254 class wxPyControl
: public wxControl
3256 DECLARE_DYNAMIC_CLASS(wxPyControl
)
3258 wxPyControl() : wxControl() {}
3259 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
3260 const wxPoint
& pos
= wxDefaultPosition
,
3261 const wxSize
& size
= wxDefaultSize
,
3263 const wxValidator
& validator
=wxDefaultValidator
,
3264 const wxString
& name
= wxPyControlNameStr
)
3265 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3267 void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); }
3269 bool DoEraseBackground(wxDC
* dc
) {
3271 return wxWindow::DoEraseBackground(dc
->GetHDC());
3273 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3279 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3280 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3281 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3282 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3284 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3285 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3286 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3288 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3289 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3291 DEC_PYCALLBACK__(InitDialog
);
3292 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3293 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3294 DEC_PYCALLBACK_BOOL_(Validate
);
3296 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3297 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3298 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3300 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3301 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3303 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3304 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3306 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3308 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3313 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
3315 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
3316 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
3317 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
3318 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
3320 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
3321 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
3322 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
3324 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
3325 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
3327 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
3328 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
3329 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
3330 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
3332 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
3333 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
3334 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
3336 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
3337 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
3339 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
3340 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
3342 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
3344 IMP_PYCALLBACK_VOID_(wxPyControl
, wxControl
, OnInternalIdle
);
3348 SWIGINTERN
void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
3350 #include <wx/generic/dragimgg.h>
3352 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
3353 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
3355 self
->GetRange(&rv
, NULL
);
3358 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
3360 self
->GetRange(NULL
, &rv
);
3363 static const wxString
wxPyHyperlinkCtrlNameStr(wxHyperlinkCtrlNameStr
);
3364 static const wxString
wxPyColourPickerCtrlNameStr(wxColourPickerCtrlNameStr
);
3365 static const wxString
wxPyFilePickerCtrlNameStr(wxFilePickerCtrlNameStr
);
3366 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3367 static const wxString
wxPyDirPickerCtrlNameStr(wxDirPickerCtrlNameStr
);
3368 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3369 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3370 static const wxString
wxPyFontPickerCtrlNameStr(wxFontPickerCtrlNameStr
);
3374 SWIGINTERN
int ButtonNameStr_set(PyObject
*) {
3375 SWIG_Error(SWIG_AttributeError
,"Variable ButtonNameStr is read-only.");
3380 SWIGINTERN PyObject
*ButtonNameStr_get(void) {
3381 PyObject
*pyobj
= 0;
3385 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3387 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3394 SWIGINTERN PyObject
*_wrap_new_Button(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3395 PyObject
*resultobj
= 0;
3396 wxWindow
*arg1
= (wxWindow
*) 0 ;
3397 int arg2
= (int) -1 ;
3398 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3399 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3400 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3401 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3402 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3403 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3404 long arg6
= (long) 0 ;
3405 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3406 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3407 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3408 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3409 wxButton
*result
= 0 ;
3414 bool temp3
= false ;
3421 bool temp8
= false ;
3422 PyObject
* obj0
= 0 ;
3423 PyObject
* obj1
= 0 ;
3424 PyObject
* obj2
= 0 ;
3425 PyObject
* obj3
= 0 ;
3426 PyObject
* obj4
= 0 ;
3427 PyObject
* obj5
= 0 ;
3428 PyObject
* obj6
= 0 ;
3429 PyObject
* obj7
= 0 ;
3430 char * kwnames
[] = {
3431 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3436 if (!SWIG_IsOK(res1
)) {
3437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Button" "', expected argument " "1"" of type '" "wxWindow *""'");
3439 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3441 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3442 if (!SWIG_IsOK(ecode2
)) {
3443 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Button" "', expected argument " "2"" of type '" "int""'");
3445 arg2
= static_cast< int >(val2
);
3449 arg3
= wxString_in_helper(obj2
);
3450 if (arg3
== NULL
) SWIG_fail
;
3457 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3463 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3467 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3468 if (!SWIG_IsOK(ecode6
)) {
3469 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Button" "', expected argument " "6"" of type '" "long""'");
3471 arg6
= static_cast< long >(val6
);
3474 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3475 if (!SWIG_IsOK(res7
)) {
3476 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3479 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3481 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3485 arg8
= wxString_in_helper(obj7
);
3486 if (arg8
== NULL
) SWIG_fail
;
3491 if (!wxPyCheckForApp()) SWIG_fail
;
3492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3493 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3494 wxPyEndAllowThreads(__tstate
);
3495 if (PyErr_Occurred()) SWIG_fail
;
3497 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_NEW
| 0 );
3520 SWIGINTERN PyObject
*_wrap_new_PreButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3521 PyObject
*resultobj
= 0;
3522 wxButton
*result
= 0 ;
3524 if (!SWIG_Python_UnpackTuple(args
,"new_PreButton",0,0,0)) SWIG_fail
;
3526 if (!wxPyCheckForApp()) SWIG_fail
;
3527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3528 result
= (wxButton
*)new wxButton();
3529 wxPyEndAllowThreads(__tstate
);
3530 if (PyErr_Occurred()) SWIG_fail
;
3532 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_OWN
| 0 );
3539 SWIGINTERN PyObject
*_wrap_Button_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3540 PyObject
*resultobj
= 0;
3541 wxButton
*arg1
= (wxButton
*) 0 ;
3542 wxWindow
*arg2
= (wxWindow
*) 0 ;
3543 int arg3
= (int) -1 ;
3544 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3545 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3546 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3547 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3548 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3549 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3550 long arg7
= (long) 0 ;
3551 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3552 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3553 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3554 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3562 bool temp4
= false ;
3569 bool temp9
= false ;
3570 PyObject
* obj0
= 0 ;
3571 PyObject
* obj1
= 0 ;
3572 PyObject
* obj2
= 0 ;
3573 PyObject
* obj3
= 0 ;
3574 PyObject
* obj4
= 0 ;
3575 PyObject
* obj5
= 0 ;
3576 PyObject
* obj6
= 0 ;
3577 PyObject
* obj7
= 0 ;
3578 PyObject
* obj8
= 0 ;
3579 char * kwnames
[] = {
3580 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3585 if (!SWIG_IsOK(res1
)) {
3586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_Create" "', expected argument " "1"" of type '" "wxButton *""'");
3588 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3589 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3590 if (!SWIG_IsOK(res2
)) {
3591 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Button_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3593 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3595 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3596 if (!SWIG_IsOK(ecode3
)) {
3597 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Button_Create" "', expected argument " "3"" of type '" "int""'");
3599 arg3
= static_cast< int >(val3
);
3603 arg4
= wxString_in_helper(obj3
);
3604 if (arg4
== NULL
) SWIG_fail
;
3611 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3617 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3621 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3622 if (!SWIG_IsOK(ecode7
)) {
3623 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Button_Create" "', expected argument " "7"" of type '" "long""'");
3625 arg7
= static_cast< long >(val7
);
3628 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
3629 if (!SWIG_IsOK(res8
)) {
3630 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3633 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3635 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
3639 arg9
= wxString_in_helper(obj8
);
3640 if (arg9
== NULL
) SWIG_fail
;
3645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3646 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3647 wxPyEndAllowThreads(__tstate
);
3648 if (PyErr_Occurred()) SWIG_fail
;
3651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3675 SWIGINTERN PyObject
*_wrap_Button_SetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3676 PyObject
*resultobj
= 0;
3677 wxButton
*arg1
= (wxButton
*) 0 ;
3680 PyObject
*swig_obj
[1] ;
3682 if (!args
) SWIG_fail
;
3684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3685 if (!SWIG_IsOK(res1
)) {
3686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_SetDefault" "', expected argument " "1"" of type '" "wxButton *""'");
3688 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3691 (arg1
)->SetDefault();
3692 wxPyEndAllowThreads(__tstate
);
3693 if (PyErr_Occurred()) SWIG_fail
;
3695 resultobj
= SWIG_Py_Void();
3702 SWIGINTERN PyObject
*_wrap_Button_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3703 PyObject
*resultobj
= 0;
3706 if (!SWIG_Python_UnpackTuple(args
,"Button_GetDefaultSize",0,0,0)) SWIG_fail
;
3708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3709 result
= wxButton::GetDefaultSize();
3710 wxPyEndAllowThreads(__tstate
);
3711 if (PyErr_Occurred()) SWIG_fail
;
3713 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
3720 SWIGINTERN PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3721 PyObject
*resultobj
= 0;
3722 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3723 SwigValueWrapper
<wxVisualAttributes
> result
;
3726 PyObject
* obj0
= 0 ;
3727 char * kwnames
[] = {
3728 (char *) "variant", NULL
3731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
3733 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3734 if (!SWIG_IsOK(ecode1
)) {
3735 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Button_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3737 arg1
= static_cast< wxWindowVariant
>(val1
);
3740 if (!wxPyCheckForApp()) SWIG_fail
;
3741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3742 result
= wxButton::GetClassDefaultAttributes(arg1
);
3743 wxPyEndAllowThreads(__tstate
);
3744 if (PyErr_Occurred()) SWIG_fail
;
3746 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
3753 SWIGINTERN PyObject
*Button_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3755 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3756 SWIG_TypeNewClientData(SWIGTYPE_p_wxButton
, SWIG_NewClientData(obj
));
3757 return SWIG_Py_Void();
3760 SWIGINTERN PyObject
*Button_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3761 return SWIG_Python_InitShadowInstance(args
);
3764 SWIGINTERN PyObject
*_wrap_new_BitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3765 PyObject
*resultobj
= 0;
3766 wxWindow
*arg1
= (wxWindow
*) 0 ;
3767 int arg2
= (int) -1 ;
3768 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
3769 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
3770 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3771 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3772 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3773 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3774 long arg6
= (long) wxBU_AUTODRAW
;
3775 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3776 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3777 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3778 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3779 wxBitmapButton
*result
= 0 ;
3792 bool temp8
= false ;
3793 PyObject
* obj0
= 0 ;
3794 PyObject
* obj1
= 0 ;
3795 PyObject
* obj2
= 0 ;
3796 PyObject
* obj3
= 0 ;
3797 PyObject
* obj4
= 0 ;
3798 PyObject
* obj5
= 0 ;
3799 PyObject
* obj6
= 0 ;
3800 PyObject
* obj7
= 0 ;
3801 char * kwnames
[] = {
3802 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3807 if (!SWIG_IsOK(res1
)) {
3808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapButton" "', expected argument " "1"" of type '" "wxWindow *""'");
3810 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3812 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3813 if (!SWIG_IsOK(ecode2
)) {
3814 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapButton" "', expected argument " "2"" of type '" "int""'");
3816 arg2
= static_cast< int >(val2
);
3819 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3820 if (!SWIG_IsOK(res3
)) {
3821 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3824 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3826 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
3831 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3837 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3841 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3842 if (!SWIG_IsOK(ecode6
)) {
3843 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_BitmapButton" "', expected argument " "6"" of type '" "long""'");
3845 arg6
= static_cast< long >(val6
);
3848 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3849 if (!SWIG_IsOK(res7
)) {
3850 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3853 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3855 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3859 arg8
= wxString_in_helper(obj7
);
3860 if (arg8
== NULL
) SWIG_fail
;
3865 if (!wxPyCheckForApp()) SWIG_fail
;
3866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3867 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3868 wxPyEndAllowThreads(__tstate
);
3869 if (PyErr_Occurred()) SWIG_fail
;
3871 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_NEW
| 0 );
3886 SWIGINTERN PyObject
*_wrap_new_PreBitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3887 PyObject
*resultobj
= 0;
3888 wxBitmapButton
*result
= 0 ;
3890 if (!SWIG_Python_UnpackTuple(args
,"new_PreBitmapButton",0,0,0)) SWIG_fail
;
3892 if (!wxPyCheckForApp()) SWIG_fail
;
3893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3894 result
= (wxBitmapButton
*)new wxBitmapButton();
3895 wxPyEndAllowThreads(__tstate
);
3896 if (PyErr_Occurred()) SWIG_fail
;
3898 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_OWN
| 0 );
3905 SWIGINTERN PyObject
*_wrap_BitmapButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3906 PyObject
*resultobj
= 0;
3907 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3908 wxWindow
*arg2
= (wxWindow
*) 0 ;
3909 int arg3
= (int) -1 ;
3910 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
3911 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
3912 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3913 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3914 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3915 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3916 long arg7
= (long) wxBU_AUTODRAW
;
3917 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3918 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3919 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3920 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3936 bool temp9
= false ;
3937 PyObject
* obj0
= 0 ;
3938 PyObject
* obj1
= 0 ;
3939 PyObject
* obj2
= 0 ;
3940 PyObject
* obj3
= 0 ;
3941 PyObject
* obj4
= 0 ;
3942 PyObject
* obj5
= 0 ;
3943 PyObject
* obj6
= 0 ;
3944 PyObject
* obj7
= 0 ;
3945 PyObject
* obj8
= 0 ;
3946 char * kwnames
[] = {
3947 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
3952 if (!SWIG_IsOK(res1
)) {
3953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_Create" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
3955 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
3956 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3957 if (!SWIG_IsOK(res2
)) {
3958 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3960 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3962 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3963 if (!SWIG_IsOK(ecode3
)) {
3964 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_Create" "', expected argument " "3"" of type '" "int""'");
3966 arg3
= static_cast< int >(val3
);
3969 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3970 if (!SWIG_IsOK(res4
)) {
3971 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3974 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3976 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
3981 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3987 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3991 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3992 if (!SWIG_IsOK(ecode7
)) {
3993 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "BitmapButton_Create" "', expected argument " "7"" of type '" "long""'");
3995 arg7
= static_cast< long >(val7
);
3998 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
3999 if (!SWIG_IsOK(res8
)) {
4000 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4003 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4005 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4009 arg9
= wxString_in_helper(obj8
);
4010 if (arg9
== NULL
) SWIG_fail
;
4015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4016 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4017 wxPyEndAllowThreads(__tstate
);
4018 if (PyErr_Occurred()) SWIG_fail
;
4021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4037 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4038 PyObject
*resultobj
= 0;
4039 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4043 PyObject
*swig_obj
[1] ;
4045 if (!args
) SWIG_fail
;
4047 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4048 if (!SWIG_IsOK(res1
)) {
4049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4051 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4054 result
= (arg1
)->GetBitmapLabel();
4055 wxPyEndAllowThreads(__tstate
);
4056 if (PyErr_Occurred()) SWIG_fail
;
4058 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4065 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4066 PyObject
*resultobj
= 0;
4067 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4071 PyObject
*swig_obj
[1] ;
4073 if (!args
) SWIG_fail
;
4075 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4076 if (!SWIG_IsOK(res1
)) {
4077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4079 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4082 result
= (arg1
)->GetBitmapDisabled();
4083 wxPyEndAllowThreads(__tstate
);
4084 if (PyErr_Occurred()) SWIG_fail
;
4086 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4093 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4094 PyObject
*resultobj
= 0;
4095 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4099 PyObject
*swig_obj
[1] ;
4101 if (!args
) SWIG_fail
;
4103 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4104 if (!SWIG_IsOK(res1
)) {
4105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4107 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4110 result
= (arg1
)->GetBitmapFocus();
4111 wxPyEndAllowThreads(__tstate
);
4112 if (PyErr_Occurred()) SWIG_fail
;
4114 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4121 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4122 PyObject
*resultobj
= 0;
4123 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4127 PyObject
*swig_obj
[1] ;
4129 if (!args
) SWIG_fail
;
4131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4132 if (!SWIG_IsOK(res1
)) {
4133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4135 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4138 result
= (arg1
)->GetBitmapSelected();
4139 wxPyEndAllowThreads(__tstate
);
4140 if (PyErr_Occurred()) SWIG_fail
;
4142 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4149 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4150 PyObject
*resultobj
= 0;
4151 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4155 PyObject
*swig_obj
[1] ;
4157 if (!args
) SWIG_fail
;
4159 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4160 if (!SWIG_IsOK(res1
)) {
4161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4163 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4166 result
= (arg1
)->GetBitmapHover();
4167 wxPyEndAllowThreads(__tstate
);
4168 if (PyErr_Occurred()) SWIG_fail
;
4170 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4177 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4178 PyObject
*resultobj
= 0;
4179 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4180 wxBitmap
*arg2
= 0 ;
4185 PyObject
* obj0
= 0 ;
4186 PyObject
* obj1
= 0 ;
4187 char * kwnames
[] = {
4188 (char *) "self",(char *) "bitmap", NULL
4191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4193 if (!SWIG_IsOK(res1
)) {
4194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4196 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4197 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4198 if (!SWIG_IsOK(res2
)) {
4199 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4202 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4204 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4207 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
4208 wxPyEndAllowThreads(__tstate
);
4209 if (PyErr_Occurred()) SWIG_fail
;
4211 resultobj
= SWIG_Py_Void();
4218 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4219 PyObject
*resultobj
= 0;
4220 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4221 wxBitmap
*arg2
= 0 ;
4226 PyObject
* obj0
= 0 ;
4227 PyObject
* obj1
= 0 ;
4228 char * kwnames
[] = {
4229 (char *) "self",(char *) "bitmap", NULL
4232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4234 if (!SWIG_IsOK(res1
)) {
4235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4237 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4238 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4239 if (!SWIG_IsOK(res2
)) {
4240 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4243 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4245 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4248 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
4249 wxPyEndAllowThreads(__tstate
);
4250 if (PyErr_Occurred()) SWIG_fail
;
4252 resultobj
= SWIG_Py_Void();
4259 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4260 PyObject
*resultobj
= 0;
4261 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4262 wxBitmap
*arg2
= 0 ;
4267 PyObject
* obj0
= 0 ;
4268 PyObject
* obj1
= 0 ;
4269 char * kwnames
[] = {
4270 (char *) "self",(char *) "bitmap", NULL
4273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4275 if (!SWIG_IsOK(res1
)) {
4276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4278 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4279 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4280 if (!SWIG_IsOK(res2
)) {
4281 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4284 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4286 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4289 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
4290 wxPyEndAllowThreads(__tstate
);
4291 if (PyErr_Occurred()) SWIG_fail
;
4293 resultobj
= SWIG_Py_Void();
4300 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4301 PyObject
*resultobj
= 0;
4302 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4303 wxBitmap
*arg2
= 0 ;
4308 PyObject
* obj0
= 0 ;
4309 PyObject
* obj1
= 0 ;
4310 char * kwnames
[] = {
4311 (char *) "self",(char *) "bitmap", NULL
4314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4316 if (!SWIG_IsOK(res1
)) {
4317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4319 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4320 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4321 if (!SWIG_IsOK(res2
)) {
4322 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4325 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4327 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4330 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
4331 wxPyEndAllowThreads(__tstate
);
4332 if (PyErr_Occurred()) SWIG_fail
;
4334 resultobj
= SWIG_Py_Void();
4341 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4342 PyObject
*resultobj
= 0;
4343 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4344 wxBitmap
*arg2
= 0 ;
4349 PyObject
* obj0
= 0 ;
4350 PyObject
* obj1
= 0 ;
4351 char * kwnames
[] = {
4352 (char *) "self",(char *) "hover", NULL
4355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapHover",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4357 if (!SWIG_IsOK(res1
)) {
4358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4360 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4361 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4362 if (!SWIG_IsOK(res2
)) {
4363 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4366 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4368 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4371 (arg1
)->SetBitmapHover((wxBitmap
const &)*arg2
);
4372 wxPyEndAllowThreads(__tstate
);
4373 if (PyErr_Occurred()) SWIG_fail
;
4375 resultobj
= SWIG_Py_Void();
4382 SWIGINTERN PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4383 PyObject
*resultobj
= 0;
4384 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4393 PyObject
* obj0
= 0 ;
4394 PyObject
* obj1
= 0 ;
4395 PyObject
* obj2
= 0 ;
4396 char * kwnames
[] = {
4397 (char *) "self",(char *) "x",(char *) "y", NULL
4400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4402 if (!SWIG_IsOK(res1
)) {
4403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetMargins" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4405 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4406 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4407 if (!SWIG_IsOK(ecode2
)) {
4408 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BitmapButton_SetMargins" "', expected argument " "2"" of type '" "int""'");
4410 arg2
= static_cast< int >(val2
);
4411 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4412 if (!SWIG_IsOK(ecode3
)) {
4413 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_SetMargins" "', expected argument " "3"" of type '" "int""'");
4415 arg3
= static_cast< int >(val3
);
4417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4418 (arg1
)->SetMargins(arg2
,arg3
);
4419 wxPyEndAllowThreads(__tstate
);
4420 if (PyErr_Occurred()) SWIG_fail
;
4422 resultobj
= SWIG_Py_Void();
4429 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4430 PyObject
*resultobj
= 0;
4431 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4435 PyObject
*swig_obj
[1] ;
4437 if (!args
) SWIG_fail
;
4439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4440 if (!SWIG_IsOK(res1
)) {
4441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginX" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4443 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4446 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
4447 wxPyEndAllowThreads(__tstate
);
4448 if (PyErr_Occurred()) SWIG_fail
;
4450 resultobj
= SWIG_From_int(static_cast< int >(result
));
4457 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4458 PyObject
*resultobj
= 0;
4459 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4463 PyObject
*swig_obj
[1] ;
4465 if (!args
) SWIG_fail
;
4467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4468 if (!SWIG_IsOK(res1
)) {
4469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginY" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4471 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4474 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
4475 wxPyEndAllowThreads(__tstate
);
4476 if (PyErr_Occurred()) SWIG_fail
;
4478 resultobj
= SWIG_From_int(static_cast< int >(result
));
4485 SWIGINTERN PyObject
*BitmapButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4487 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4488 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapButton
, SWIG_NewClientData(obj
));
4489 return SWIG_Py_Void();
4492 SWIGINTERN PyObject
*BitmapButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4493 return SWIG_Python_InitShadowInstance(args
);
4496 SWIGINTERN
int CheckBoxNameStr_set(PyObject
*) {
4497 SWIG_Error(SWIG_AttributeError
,"Variable CheckBoxNameStr is read-only.");
4502 SWIGINTERN PyObject
*CheckBoxNameStr_get(void) {
4503 PyObject
*pyobj
= 0;
4507 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4509 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4516 SWIGINTERN PyObject
*_wrap_new_CheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4517 PyObject
*resultobj
= 0;
4518 wxWindow
*arg1
= (wxWindow
*) 0 ;
4519 int arg2
= (int) -1 ;
4520 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4521 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4522 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4523 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4524 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4525 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4526 long arg6
= (long) 0 ;
4527 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
4528 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
4529 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
4530 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4531 wxCheckBox
*result
= 0 ;
4536 bool temp3
= false ;
4543 bool temp8
= false ;
4544 PyObject
* obj0
= 0 ;
4545 PyObject
* obj1
= 0 ;
4546 PyObject
* obj2
= 0 ;
4547 PyObject
* obj3
= 0 ;
4548 PyObject
* obj4
= 0 ;
4549 PyObject
* obj5
= 0 ;
4550 PyObject
* obj6
= 0 ;
4551 PyObject
* obj7
= 0 ;
4552 char * kwnames
[] = {
4553 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4558 if (!SWIG_IsOK(res1
)) {
4559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckBox" "', expected argument " "1"" of type '" "wxWindow *""'");
4561 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4563 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4564 if (!SWIG_IsOK(ecode2
)) {
4565 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckBox" "', expected argument " "2"" of type '" "int""'");
4567 arg2
= static_cast< int >(val2
);
4571 arg3
= wxString_in_helper(obj2
);
4572 if (arg3
== NULL
) SWIG_fail
;
4579 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4585 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4589 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4590 if (!SWIG_IsOK(ecode6
)) {
4591 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckBox" "', expected argument " "6"" of type '" "long""'");
4593 arg6
= static_cast< long >(val6
);
4596 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
4597 if (!SWIG_IsOK(res7
)) {
4598 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4601 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4603 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
4607 arg8
= wxString_in_helper(obj7
);
4608 if (arg8
== NULL
) SWIG_fail
;
4613 if (!wxPyCheckForApp()) SWIG_fail
;
4614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4615 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4616 wxPyEndAllowThreads(__tstate
);
4617 if (PyErr_Occurred()) SWIG_fail
;
4619 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_NEW
| 0 );
4642 SWIGINTERN PyObject
*_wrap_new_PreCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4643 PyObject
*resultobj
= 0;
4644 wxCheckBox
*result
= 0 ;
4646 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckBox",0,0,0)) SWIG_fail
;
4648 if (!wxPyCheckForApp()) SWIG_fail
;
4649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4650 result
= (wxCheckBox
*)new wxCheckBox();
4651 wxPyEndAllowThreads(__tstate
);
4652 if (PyErr_Occurred()) SWIG_fail
;
4654 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_OWN
| 0 );
4661 SWIGINTERN PyObject
*_wrap_CheckBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4662 PyObject
*resultobj
= 0;
4663 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4664 wxWindow
*arg2
= (wxWindow
*) 0 ;
4665 int arg3
= (int) -1 ;
4666 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4667 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4668 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4669 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4670 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4671 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4672 long arg7
= (long) 0 ;
4673 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4674 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4675 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
4676 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4684 bool temp4
= false ;
4691 bool temp9
= false ;
4692 PyObject
* obj0
= 0 ;
4693 PyObject
* obj1
= 0 ;
4694 PyObject
* obj2
= 0 ;
4695 PyObject
* obj3
= 0 ;
4696 PyObject
* obj4
= 0 ;
4697 PyObject
* obj5
= 0 ;
4698 PyObject
* obj6
= 0 ;
4699 PyObject
* obj7
= 0 ;
4700 PyObject
* obj8
= 0 ;
4701 char * kwnames
[] = {
4702 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
4706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4707 if (!SWIG_IsOK(res1
)) {
4708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Create" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4710 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4711 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4712 if (!SWIG_IsOK(res2
)) {
4713 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4715 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4717 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4718 if (!SWIG_IsOK(ecode3
)) {
4719 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckBox_Create" "', expected argument " "3"" of type '" "int""'");
4721 arg3
= static_cast< int >(val3
);
4725 arg4
= wxString_in_helper(obj3
);
4726 if (arg4
== NULL
) SWIG_fail
;
4733 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4739 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4743 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4744 if (!SWIG_IsOK(ecode7
)) {
4745 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckBox_Create" "', expected argument " "7"" of type '" "long""'");
4747 arg7
= static_cast< long >(val7
);
4750 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4751 if (!SWIG_IsOK(res8
)) {
4752 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4755 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4757 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4761 arg9
= wxString_in_helper(obj8
);
4762 if (arg9
== NULL
) SWIG_fail
;
4767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4768 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4769 wxPyEndAllowThreads(__tstate
);
4770 if (PyErr_Occurred()) SWIG_fail
;
4773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4797 SWIGINTERN PyObject
*_wrap_CheckBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4798 PyObject
*resultobj
= 0;
4799 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4803 PyObject
*swig_obj
[1] ;
4805 if (!args
) SWIG_fail
;
4807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4808 if (!SWIG_IsOK(res1
)) {
4809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_GetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4811 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4814 result
= (bool)(arg1
)->GetValue();
4815 wxPyEndAllowThreads(__tstate
);
4816 if (PyErr_Occurred()) SWIG_fail
;
4819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4827 SWIGINTERN PyObject
*_wrap_CheckBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4828 PyObject
*resultobj
= 0;
4829 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4833 PyObject
*swig_obj
[1] ;
4835 if (!args
) SWIG_fail
;
4837 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4838 if (!SWIG_IsOK(res1
)) {
4839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4841 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4844 result
= (bool)(arg1
)->IsChecked();
4845 wxPyEndAllowThreads(__tstate
);
4846 if (PyErr_Occurred()) SWIG_fail
;
4849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4857 SWIGINTERN PyObject
*_wrap_CheckBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4858 PyObject
*resultobj
= 0;
4859 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4865 PyObject
* obj0
= 0 ;
4866 PyObject
* obj1
= 0 ;
4867 char * kwnames
[] = {
4868 (char *) "self",(char *) "state", NULL
4871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4873 if (!SWIG_IsOK(res1
)) {
4874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_SetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4876 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4877 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4878 if (!SWIG_IsOK(ecode2
)) {
4879 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_SetValue" "', expected argument " "2"" of type '" "bool""'");
4881 arg2
= static_cast< bool >(val2
);
4883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4884 (arg1
)->SetValue(arg2
);
4885 wxPyEndAllowThreads(__tstate
);
4886 if (PyErr_Occurred()) SWIG_fail
;
4888 resultobj
= SWIG_Py_Void();
4895 SWIGINTERN PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4896 PyObject
*resultobj
= 0;
4897 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4898 wxCheckBoxState result
;
4901 PyObject
*swig_obj
[1] ;
4903 if (!args
) SWIG_fail
;
4905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4906 if (!SWIG_IsOK(res1
)) {
4907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Get3StateValue" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4909 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4912 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
4913 wxPyEndAllowThreads(__tstate
);
4914 if (PyErr_Occurred()) SWIG_fail
;
4916 resultobj
= SWIG_From_int(static_cast< int >(result
));
4923 SWIGINTERN PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4924 PyObject
*resultobj
= 0;
4925 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4926 wxCheckBoxState arg2
;
4931 PyObject
* obj0
= 0 ;
4932 PyObject
* obj1
= 0 ;
4933 char * kwnames
[] = {
4934 (char *) "self",(char *) "state", NULL
4937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4939 if (!SWIG_IsOK(res1
)) {
4940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4942 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4943 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4944 if (!SWIG_IsOK(ecode2
)) {
4945 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "2"" of type '" "wxCheckBoxState""'");
4947 arg2
= static_cast< wxCheckBoxState
>(val2
);
4949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4950 (arg1
)->Set3StateValue(arg2
);
4951 wxPyEndAllowThreads(__tstate
);
4952 if (PyErr_Occurred()) SWIG_fail
;
4954 resultobj
= SWIG_Py_Void();
4961 SWIGINTERN PyObject
*_wrap_CheckBox_Is3State(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4962 PyObject
*resultobj
= 0;
4963 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4967 PyObject
*swig_obj
[1] ;
4969 if (!args
) SWIG_fail
;
4971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4972 if (!SWIG_IsOK(res1
)) {
4973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3State" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4975 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4978 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
4979 wxPyEndAllowThreads(__tstate
);
4980 if (PyErr_Occurred()) SWIG_fail
;
4983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4991 SWIGINTERN PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4992 PyObject
*resultobj
= 0;
4993 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4997 PyObject
*swig_obj
[1] ;
4999 if (!args
) SWIG_fail
;
5001 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
5002 if (!SWIG_IsOK(res1
)) {
5003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3rdStateAllowedForUser" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
5005 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
5007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5008 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
5009 wxPyEndAllowThreads(__tstate
);
5010 if (PyErr_Occurred()) SWIG_fail
;
5013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5021 SWIGINTERN PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5022 PyObject
*resultobj
= 0;
5023 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5024 SwigValueWrapper
<wxVisualAttributes
> result
;
5027 PyObject
* obj0
= 0 ;
5028 char * kwnames
[] = {
5029 (char *) "variant", NULL
5032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5034 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5035 if (!SWIG_IsOK(ecode1
)) {
5036 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "CheckBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5038 arg1
= static_cast< wxWindowVariant
>(val1
);
5041 if (!wxPyCheckForApp()) SWIG_fail
;
5042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5043 result
= wxCheckBox::GetClassDefaultAttributes(arg1
);
5044 wxPyEndAllowThreads(__tstate
);
5045 if (PyErr_Occurred()) SWIG_fail
;
5047 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5054 SWIGINTERN PyObject
*CheckBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5056 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5057 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckBox
, SWIG_NewClientData(obj
));
5058 return SWIG_Py_Void();
5061 SWIGINTERN PyObject
*CheckBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5062 return SWIG_Python_InitShadowInstance(args
);
5065 SWIGINTERN
int ChoiceNameStr_set(PyObject
*) {
5066 SWIG_Error(SWIG_AttributeError
,"Variable ChoiceNameStr is read-only.");
5071 SWIGINTERN PyObject
*ChoiceNameStr_get(void) {
5072 PyObject
*pyobj
= 0;
5076 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5078 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5085 SWIGINTERN PyObject
*_wrap_new_Choice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5086 PyObject
*resultobj
= 0;
5087 wxWindow
*arg1
= (wxWindow
*) 0 ;
5088 int arg2
= (int) -1 ;
5089 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5090 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5091 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5092 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5093 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5094 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5095 long arg6
= (long) 0 ;
5096 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5097 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5098 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
5099 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5100 wxChoice
*result
= 0 ;
5107 bool temp5
= false ;
5112 bool temp8
= false ;
5113 PyObject
* obj0
= 0 ;
5114 PyObject
* obj1
= 0 ;
5115 PyObject
* obj2
= 0 ;
5116 PyObject
* obj3
= 0 ;
5117 PyObject
* obj4
= 0 ;
5118 PyObject
* obj5
= 0 ;
5119 PyObject
* obj6
= 0 ;
5120 PyObject
* obj7
= 0 ;
5121 char * kwnames
[] = {
5122 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
5126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5127 if (!SWIG_IsOK(res1
)) {
5128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choice" "', expected argument " "1"" of type '" "wxWindow *""'");
5130 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5132 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5133 if (!SWIG_IsOK(ecode2
)) {
5134 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choice" "', expected argument " "2"" of type '" "int""'");
5136 arg2
= static_cast< int >(val2
);
5141 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5147 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5152 if (! PySequence_Check(obj4
)) {
5153 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5156 arg5
= new wxArrayString
;
5158 int i
, len
=PySequence_Length(obj4
);
5159 for (i
=0; i
<len
; i
++) {
5160 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5161 wxString
* s
= wxString_in_helper(item
);
5162 if (PyErr_Occurred()) SWIG_fail
;
5170 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
5171 if (!SWIG_IsOK(ecode6
)) {
5172 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Choice" "', expected argument " "6"" of type '" "long""'");
5174 arg6
= static_cast< long >(val6
);
5177 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
5178 if (!SWIG_IsOK(res7
)) {
5179 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5182 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5184 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
5188 arg8
= wxString_in_helper(obj7
);
5189 if (arg8
== NULL
) SWIG_fail
;
5194 if (!wxPyCheckForApp()) SWIG_fail
;
5195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5196 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5197 wxPyEndAllowThreads(__tstate
);
5198 if (PyErr_Occurred()) SWIG_fail
;
5200 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_NEW
| 0 );
5202 if (temp5
) delete arg5
;
5211 if (temp5
) delete arg5
;
5221 SWIGINTERN PyObject
*_wrap_new_PreChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5222 PyObject
*resultobj
= 0;
5223 wxChoice
*result
= 0 ;
5225 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoice",0,0,0)) SWIG_fail
;
5227 if (!wxPyCheckForApp()) SWIG_fail
;
5228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5229 result
= (wxChoice
*)new wxChoice();
5230 wxPyEndAllowThreads(__tstate
);
5231 if (PyErr_Occurred()) SWIG_fail
;
5233 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_OWN
| 0 );
5240 SWIGINTERN PyObject
*_wrap_Choice_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5241 PyObject
*resultobj
= 0;
5242 wxChoice
*arg1
= (wxChoice
*) 0 ;
5243 wxWindow
*arg2
= (wxWindow
*) 0 ;
5244 int arg3
= (int) -1 ;
5245 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5246 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5247 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5248 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5249 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5250 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5251 long arg7
= (long) 0 ;
5252 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5253 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5254 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
5255 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5265 bool temp6
= false ;
5270 bool temp9
= false ;
5271 PyObject
* obj0
= 0 ;
5272 PyObject
* obj1
= 0 ;
5273 PyObject
* obj2
= 0 ;
5274 PyObject
* obj3
= 0 ;
5275 PyObject
* obj4
= 0 ;
5276 PyObject
* obj5
= 0 ;
5277 PyObject
* obj6
= 0 ;
5278 PyObject
* obj7
= 0 ;
5279 PyObject
* obj8
= 0 ;
5280 char * kwnames
[] = {
5281 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5286 if (!SWIG_IsOK(res1
)) {
5287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_Create" "', expected argument " "1"" of type '" "wxChoice *""'");
5289 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5290 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5291 if (!SWIG_IsOK(res2
)) {
5292 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choice_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5294 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5296 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5297 if (!SWIG_IsOK(ecode3
)) {
5298 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choice_Create" "', expected argument " "3"" of type '" "int""'");
5300 arg3
= static_cast< int >(val3
);
5305 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5311 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5316 if (! PySequence_Check(obj5
)) {
5317 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5320 arg6
= new wxArrayString
;
5322 int i
, len
=PySequence_Length(obj5
);
5323 for (i
=0; i
<len
; i
++) {
5324 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5325 wxString
* s
= wxString_in_helper(item
);
5326 if (PyErr_Occurred()) SWIG_fail
;
5334 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5335 if (!SWIG_IsOK(ecode7
)) {
5336 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Choice_Create" "', expected argument " "7"" of type '" "long""'");
5338 arg7
= static_cast< long >(val7
);
5341 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5342 if (!SWIG_IsOK(res8
)) {
5343 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5346 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5348 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5352 arg9
= wxString_in_helper(obj8
);
5353 if (arg9
== NULL
) SWIG_fail
;
5358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5359 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5360 wxPyEndAllowThreads(__tstate
);
5361 if (PyErr_Occurred()) SWIG_fail
;
5364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5367 if (temp6
) delete arg6
;
5376 if (temp6
) delete arg6
;
5386 SWIGINTERN PyObject
*_wrap_Choice_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5387 PyObject
*resultobj
= 0;
5388 wxChoice
*arg1
= (wxChoice
*) 0 ;
5392 PyObject
*swig_obj
[1] ;
5394 if (!args
) SWIG_fail
;
5396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5397 if (!SWIG_IsOK(res1
)) {
5398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_GetCurrentSelection" "', expected argument " "1"" of type '" "wxChoice const *""'");
5400 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5403 result
= (int)((wxChoice
const *)arg1
)->GetCurrentSelection();
5404 wxPyEndAllowThreads(__tstate
);
5405 if (PyErr_Occurred()) SWIG_fail
;
5407 resultobj
= SWIG_From_int(static_cast< int >(result
));
5414 SWIGINTERN PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5415 PyObject
*resultobj
= 0;
5416 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5417 SwigValueWrapper
<wxVisualAttributes
> result
;
5420 PyObject
* obj0
= 0 ;
5421 char * kwnames
[] = {
5422 (char *) "variant", NULL
5425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5427 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5428 if (!SWIG_IsOK(ecode1
)) {
5429 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Choice_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5431 arg1
= static_cast< wxWindowVariant
>(val1
);
5434 if (!wxPyCheckForApp()) SWIG_fail
;
5435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5436 result
= wxChoice::GetClassDefaultAttributes(arg1
);
5437 wxPyEndAllowThreads(__tstate
);
5438 if (PyErr_Occurred()) SWIG_fail
;
5440 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5447 SWIGINTERN PyObject
*Choice_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5449 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5450 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoice
, SWIG_NewClientData(obj
));
5451 return SWIG_Py_Void();
5454 SWIGINTERN PyObject
*Choice_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5455 return SWIG_Python_InitShadowInstance(args
);
5458 SWIGINTERN
int ComboBoxNameStr_set(PyObject
*) {
5459 SWIG_Error(SWIG_AttributeError
,"Variable ComboBoxNameStr is read-only.");
5464 SWIGINTERN PyObject
*ComboBoxNameStr_get(void) {
5465 PyObject
*pyobj
= 0;
5469 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5471 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5478 SWIGINTERN PyObject
*_wrap_new_ComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5479 PyObject
*resultobj
= 0;
5480 wxWindow
*arg1
= (wxWindow
*) 0 ;
5481 int arg2
= (int) -1 ;
5482 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5483 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5484 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5485 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5486 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5487 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5488 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5489 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5490 long arg7
= (long) 0 ;
5491 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5492 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5493 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
5494 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5495 wxComboBox
*result
= 0 ;
5500 bool temp3
= false ;
5503 bool temp6
= false ;
5508 bool temp9
= false ;
5509 PyObject
* obj0
= 0 ;
5510 PyObject
* obj1
= 0 ;
5511 PyObject
* obj2
= 0 ;
5512 PyObject
* obj3
= 0 ;
5513 PyObject
* obj4
= 0 ;
5514 PyObject
* obj5
= 0 ;
5515 PyObject
* obj6
= 0 ;
5516 PyObject
* obj7
= 0 ;
5517 PyObject
* obj8
= 0 ;
5518 char * kwnames
[] = {
5519 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5524 if (!SWIG_IsOK(res1
)) {
5525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ComboBox" "', expected argument " "1"" of type '" "wxWindow *""'");
5527 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5529 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5530 if (!SWIG_IsOK(ecode2
)) {
5531 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ComboBox" "', expected argument " "2"" of type '" "int""'");
5533 arg2
= static_cast< int >(val2
);
5537 arg3
= wxString_in_helper(obj2
);
5538 if (arg3
== NULL
) SWIG_fail
;
5545 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5551 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5556 if (! PySequence_Check(obj5
)) {
5557 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5560 arg6
= new wxArrayString
;
5562 int i
, len
=PySequence_Length(obj5
);
5563 for (i
=0; i
<len
; i
++) {
5564 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5565 wxString
* s
= wxString_in_helper(item
);
5566 if (PyErr_Occurred()) SWIG_fail
;
5574 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5575 if (!SWIG_IsOK(ecode7
)) {
5576 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_ComboBox" "', expected argument " "7"" of type '" "long""'");
5578 arg7
= static_cast< long >(val7
);
5581 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5582 if (!SWIG_IsOK(res8
)) {
5583 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5586 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5588 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5592 arg9
= wxString_in_helper(obj8
);
5593 if (arg9
== NULL
) SWIG_fail
;
5598 if (!wxPyCheckForApp()) SWIG_fail
;
5599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5600 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
);
5601 wxPyEndAllowThreads(__tstate
);
5602 if (PyErr_Occurred()) SWIG_fail
;
5604 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_NEW
| 0 );
5610 if (temp6
) delete arg6
;
5623 if (temp6
) delete arg6
;
5633 SWIGINTERN PyObject
*_wrap_new_PreComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5634 PyObject
*resultobj
= 0;
5635 wxComboBox
*result
= 0 ;
5637 if (!SWIG_Python_UnpackTuple(args
,"new_PreComboBox",0,0,0)) SWIG_fail
;
5639 if (!wxPyCheckForApp()) SWIG_fail
;
5640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5641 result
= (wxComboBox
*)new wxComboBox();
5642 wxPyEndAllowThreads(__tstate
);
5643 if (PyErr_Occurred()) SWIG_fail
;
5645 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_OWN
| 0 );
5652 SWIGINTERN PyObject
*_wrap_ComboBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5653 PyObject
*resultobj
= 0;
5654 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5655 wxWindow
*arg2
= (wxWindow
*) 0 ;
5656 int arg3
= (int) -1 ;
5657 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5658 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5659 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5660 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5661 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5662 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5663 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
5664 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
5665 long arg8
= (long) 0 ;
5666 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
5667 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
5668 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
5669 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
5677 bool temp4
= false ;
5680 bool temp7
= false ;
5685 bool temp10
= false ;
5686 PyObject
* obj0
= 0 ;
5687 PyObject
* obj1
= 0 ;
5688 PyObject
* obj2
= 0 ;
5689 PyObject
* obj3
= 0 ;
5690 PyObject
* obj4
= 0 ;
5691 PyObject
* obj5
= 0 ;
5692 PyObject
* obj6
= 0 ;
5693 PyObject
* obj7
= 0 ;
5694 PyObject
* obj8
= 0 ;
5695 PyObject
* obj9
= 0 ;
5696 char * kwnames
[] = {
5697 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
5701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5702 if (!SWIG_IsOK(res1
)) {
5703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Create" "', expected argument " "1"" of type '" "wxComboBox *""'");
5705 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5706 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5707 if (!SWIG_IsOK(res2
)) {
5708 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ComboBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5710 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5712 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5713 if (!SWIG_IsOK(ecode3
)) {
5714 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Create" "', expected argument " "3"" of type '" "int""'");
5716 arg3
= static_cast< int >(val3
);
5720 arg4
= wxString_in_helper(obj3
);
5721 if (arg4
== NULL
) SWIG_fail
;
5728 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5734 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5739 if (! PySequence_Check(obj6
)) {
5740 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5743 arg7
= new wxArrayString
;
5745 int i
, len
=PySequence_Length(obj6
);
5746 for (i
=0; i
<len
; i
++) {
5747 PyObject
* item
= PySequence_GetItem(obj6
, i
);
5748 wxString
* s
= wxString_in_helper(item
);
5749 if (PyErr_Occurred()) SWIG_fail
;
5757 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
5758 if (!SWIG_IsOK(ecode8
)) {
5759 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ComboBox_Create" "', expected argument " "8"" of type '" "long""'");
5761 arg8
= static_cast< long >(val8
);
5764 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
5765 if (!SWIG_IsOK(res9
)) {
5766 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5769 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5771 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
5775 arg10
= wxString_in_helper(obj9
);
5776 if (arg10
== NULL
) SWIG_fail
;
5781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5782 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
);
5783 wxPyEndAllowThreads(__tstate
);
5784 if (PyErr_Occurred()) SWIG_fail
;
5787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5794 if (temp7
) delete arg7
;
5807 if (temp7
) delete arg7
;
5817 SWIGINTERN PyObject
*_wrap_ComboBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5818 PyObject
*resultobj
= 0;
5819 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5823 PyObject
*swig_obj
[1] ;
5825 if (!args
) SWIG_fail
;
5827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5828 if (!SWIG_IsOK(res1
)) {
5829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetValue" "', expected argument " "1"" of type '" "wxComboBox const *""'");
5831 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5834 result
= ((wxComboBox
const *)arg1
)->GetValue();
5835 wxPyEndAllowThreads(__tstate
);
5836 if (PyErr_Occurred()) SWIG_fail
;
5840 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5842 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5851 SWIGINTERN PyObject
*_wrap_ComboBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5852 PyObject
*resultobj
= 0;
5853 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5854 wxString
*arg2
= 0 ;
5857 bool temp2
= false ;
5858 PyObject
* obj0
= 0 ;
5859 PyObject
* obj1
= 0 ;
5860 char * kwnames
[] = {
5861 (char *) "self",(char *) "value", NULL
5864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5866 if (!SWIG_IsOK(res1
)) {
5867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetValue" "', expected argument " "1"" of type '" "wxComboBox *""'");
5869 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5871 arg2
= wxString_in_helper(obj1
);
5872 if (arg2
== NULL
) SWIG_fail
;
5876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5877 (arg1
)->SetValue((wxString
const &)*arg2
);
5878 wxPyEndAllowThreads(__tstate
);
5879 if (PyErr_Occurred()) SWIG_fail
;
5881 resultobj
= SWIG_Py_Void();
5896 SWIGINTERN PyObject
*_wrap_ComboBox_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5897 PyObject
*resultobj
= 0;
5898 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5901 PyObject
*swig_obj
[1] ;
5903 if (!args
) SWIG_fail
;
5905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5906 if (!SWIG_IsOK(res1
)) {
5907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Copy" "', expected argument " "1"" of type '" "wxComboBox *""'");
5909 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5913 wxPyEndAllowThreads(__tstate
);
5914 if (PyErr_Occurred()) SWIG_fail
;
5916 resultobj
= SWIG_Py_Void();
5923 SWIGINTERN PyObject
*_wrap_ComboBox_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5924 PyObject
*resultobj
= 0;
5925 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5928 PyObject
*swig_obj
[1] ;
5930 if (!args
) SWIG_fail
;
5932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5933 if (!SWIG_IsOK(res1
)) {
5934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Cut" "', expected argument " "1"" of type '" "wxComboBox *""'");
5936 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5940 wxPyEndAllowThreads(__tstate
);
5941 if (PyErr_Occurred()) SWIG_fail
;
5943 resultobj
= SWIG_Py_Void();
5950 SWIGINTERN PyObject
*_wrap_ComboBox_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5951 PyObject
*resultobj
= 0;
5952 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5955 PyObject
*swig_obj
[1] ;
5957 if (!args
) SWIG_fail
;
5959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5960 if (!SWIG_IsOK(res1
)) {
5961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Paste" "', expected argument " "1"" of type '" "wxComboBox *""'");
5963 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5967 wxPyEndAllowThreads(__tstate
);
5968 if (PyErr_Occurred()) SWIG_fail
;
5970 resultobj
= SWIG_Py_Void();
5977 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5978 PyObject
*resultobj
= 0;
5979 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5985 PyObject
* obj0
= 0 ;
5986 PyObject
* obj1
= 0 ;
5987 char * kwnames
[] = {
5988 (char *) "self",(char *) "pos", NULL
5991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5993 if (!SWIG_IsOK(res1
)) {
5994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox *""'");
5996 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5997 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
5998 if (!SWIG_IsOK(ecode2
)) {
5999 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
6001 arg2
= static_cast< long >(val2
);
6003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6004 (arg1
)->SetInsertionPoint(arg2
);
6005 wxPyEndAllowThreads(__tstate
);
6006 if (PyErr_Occurred()) SWIG_fail
;
6008 resultobj
= SWIG_Py_Void();
6015 SWIGINTERN PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6016 PyObject
*resultobj
= 0;
6017 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6021 PyObject
*swig_obj
[1] ;
6023 if (!args
) SWIG_fail
;
6025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6026 if (!SWIG_IsOK(res1
)) {
6027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6029 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6032 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
6033 wxPyEndAllowThreads(__tstate
);
6034 if (PyErr_Occurred()) SWIG_fail
;
6036 resultobj
= SWIG_From_long(static_cast< long >(result
));
6043 SWIGINTERN PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6044 PyObject
*resultobj
= 0;
6045 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6049 PyObject
*swig_obj
[1] ;
6051 if (!args
) SWIG_fail
;
6053 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6054 if (!SWIG_IsOK(res1
)) {
6055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetLastPosition" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6057 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6060 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
6061 wxPyEndAllowThreads(__tstate
);
6062 if (PyErr_Occurred()) SWIG_fail
;
6064 resultobj
= SWIG_From_long(static_cast< long >(result
));
6071 SWIGINTERN PyObject
*_wrap_ComboBox_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6072 PyObject
*resultobj
= 0;
6073 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6076 wxString
*arg4
= 0 ;
6083 bool temp4
= false ;
6084 PyObject
* obj0
= 0 ;
6085 PyObject
* obj1
= 0 ;
6086 PyObject
* obj2
= 0 ;
6087 PyObject
* obj3
= 0 ;
6088 char * kwnames
[] = {
6089 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6094 if (!SWIG_IsOK(res1
)) {
6095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Replace" "', expected argument " "1"" of type '" "wxComboBox *""'");
6097 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6098 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6099 if (!SWIG_IsOK(ecode2
)) {
6100 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Replace" "', expected argument " "2"" of type '" "long""'");
6102 arg2
= static_cast< long >(val2
);
6103 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6104 if (!SWIG_IsOK(ecode3
)) {
6105 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Replace" "', expected argument " "3"" of type '" "long""'");
6107 arg3
= static_cast< long >(val3
);
6109 arg4
= wxString_in_helper(obj3
);
6110 if (arg4
== NULL
) SWIG_fail
;
6114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6115 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
6116 wxPyEndAllowThreads(__tstate
);
6117 if (PyErr_Occurred()) SWIG_fail
;
6119 resultobj
= SWIG_Py_Void();
6134 SWIGINTERN PyObject
*_wrap_ComboBox_SetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6135 PyObject
*resultobj
= 0;
6136 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6145 PyObject
* obj0
= 0 ;
6146 PyObject
* obj1
= 0 ;
6147 PyObject
* obj2
= 0 ;
6148 char * kwnames
[] = {
6149 (char *) "self",(char *) "from",(char *) "to", NULL
6152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6154 if (!SWIG_IsOK(res1
)) {
6155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6157 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6158 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6159 if (!SWIG_IsOK(ecode2
)) {
6160 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetMark" "', expected argument " "2"" of type '" "long""'");
6162 arg2
= static_cast< long >(val2
);
6163 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6164 if (!SWIG_IsOK(ecode3
)) {
6165 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_SetMark" "', expected argument " "3"" of type '" "long""'");
6167 arg3
= static_cast< long >(val3
);
6169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6170 (arg1
)->SetSelection(arg2
,arg3
);
6171 wxPyEndAllowThreads(__tstate
);
6172 if (PyErr_Occurred()) SWIG_fail
;
6174 resultobj
= SWIG_Py_Void();
6181 SWIGINTERN PyObject
*_wrap_ComboBox_GetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6182 PyObject
*resultobj
= 0;
6183 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6184 long *arg2
= (long *) 0 ;
6185 long *arg3
= (long *) 0 ;
6189 int res2
= SWIG_TMPOBJ
;
6191 int res3
= SWIG_TMPOBJ
;
6192 PyObject
*swig_obj
[1] ;
6196 if (!args
) SWIG_fail
;
6198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6199 if (!SWIG_IsOK(res1
)) {
6200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6202 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6205 (arg1
)->GetSelection(arg2
,arg3
);
6206 wxPyEndAllowThreads(__tstate
);
6207 if (PyErr_Occurred()) SWIG_fail
;
6209 resultobj
= SWIG_Py_Void();
6210 if (SWIG_IsTmpObj(res2
)) {
6211 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
6213 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6214 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
6216 if (SWIG_IsTmpObj(res3
)) {
6217 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
6219 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6220 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
6228 SWIGINTERN PyObject
*_wrap_ComboBox_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6229 PyObject
*resultobj
= 0;
6230 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6234 PyObject
*swig_obj
[1] ;
6236 if (!args
) SWIG_fail
;
6238 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6239 if (!SWIG_IsOK(res1
)) {
6240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6242 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6245 result
= (int)((wxComboBox
const *)arg1
)->GetCurrentSelection();
6246 wxPyEndAllowThreads(__tstate
);
6247 if (PyErr_Occurred()) SWIG_fail
;
6249 resultobj
= SWIG_From_int(static_cast< int >(result
));
6256 SWIGINTERN PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6257 PyObject
*resultobj
= 0;
6258 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6259 wxString
*arg2
= 0 ;
6263 bool temp2
= false ;
6264 PyObject
* obj0
= 0 ;
6265 PyObject
* obj1
= 0 ;
6266 char * kwnames
[] = {
6267 (char *) "self",(char *) "string", NULL
6270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6272 if (!SWIG_IsOK(res1
)) {
6273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6275 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6277 arg2
= wxString_in_helper(obj1
);
6278 if (arg2
== NULL
) SWIG_fail
;
6282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6283 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
6284 wxPyEndAllowThreads(__tstate
);
6285 if (PyErr_Occurred()) SWIG_fail
;
6288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6304 SWIGINTERN PyObject
*_wrap_ComboBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6305 PyObject
*resultobj
= 0;
6306 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6308 wxString
*arg3
= 0 ;
6313 bool temp3
= false ;
6314 PyObject
* obj0
= 0 ;
6315 PyObject
* obj1
= 0 ;
6316 PyObject
* obj2
= 0 ;
6317 char * kwnames
[] = {
6318 (char *) "self",(char *) "n",(char *) "string", NULL
6321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6323 if (!SWIG_IsOK(res1
)) {
6324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetString" "', expected argument " "1"" of type '" "wxComboBox *""'");
6326 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6327 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6328 if (!SWIG_IsOK(ecode2
)) {
6329 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetString" "', expected argument " "2"" of type '" "int""'");
6331 arg2
= static_cast< int >(val2
);
6333 arg3
= wxString_in_helper(obj2
);
6334 if (arg3
== NULL
) SWIG_fail
;
6338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6339 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
6340 wxPyEndAllowThreads(__tstate
);
6341 if (PyErr_Occurred()) SWIG_fail
;
6343 resultobj
= SWIG_Py_Void();
6358 SWIGINTERN PyObject
*_wrap_ComboBox_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6359 PyObject
*resultobj
= 0;
6360 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6366 PyObject
* obj0
= 0 ;
6367 PyObject
* obj1
= 0 ;
6368 char * kwnames
[] = {
6369 (char *) "self",(char *) "editable", NULL
6372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6374 if (!SWIG_IsOK(res1
)) {
6375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetEditable" "', expected argument " "1"" of type '" "wxComboBox *""'");
6377 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6378 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6379 if (!SWIG_IsOK(ecode2
)) {
6380 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetEditable" "', expected argument " "2"" of type '" "bool""'");
6382 arg2
= static_cast< bool >(val2
);
6384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6385 (arg1
)->SetEditable(arg2
);
6386 wxPyEndAllowThreads(__tstate
);
6387 if (PyErr_Occurred()) SWIG_fail
;
6389 resultobj
= SWIG_Py_Void();
6396 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6397 PyObject
*resultobj
= 0;
6398 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6401 PyObject
*swig_obj
[1] ;
6403 if (!args
) SWIG_fail
;
6405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6406 if (!SWIG_IsOK(res1
)) {
6407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxComboBox *""'");
6409 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6412 (arg1
)->SetInsertionPointEnd();
6413 wxPyEndAllowThreads(__tstate
);
6414 if (PyErr_Occurred()) SWIG_fail
;
6416 resultobj
= SWIG_Py_Void();
6423 SWIGINTERN PyObject
*_wrap_ComboBox_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6424 PyObject
*resultobj
= 0;
6425 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6434 PyObject
* obj0
= 0 ;
6435 PyObject
* obj1
= 0 ;
6436 PyObject
* obj2
= 0 ;
6437 char * kwnames
[] = {
6438 (char *) "self",(char *) "from",(char *) "to", NULL
6441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6443 if (!SWIG_IsOK(res1
)) {
6444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Remove" "', expected argument " "1"" of type '" "wxComboBox *""'");
6446 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6447 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6448 if (!SWIG_IsOK(ecode2
)) {
6449 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Remove" "', expected argument " "2"" of type '" "long""'");
6451 arg2
= static_cast< long >(val2
);
6452 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6453 if (!SWIG_IsOK(ecode3
)) {
6454 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Remove" "', expected argument " "3"" of type '" "long""'");
6456 arg3
= static_cast< long >(val3
);
6458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6459 (arg1
)->Remove(arg2
,arg3
);
6460 wxPyEndAllowThreads(__tstate
);
6461 if (PyErr_Occurred()) SWIG_fail
;
6463 resultobj
= SWIG_Py_Void();
6470 SWIGINTERN PyObject
*_wrap_ComboBox_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6471 PyObject
*resultobj
= 0;
6472 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6476 PyObject
*swig_obj
[1] ;
6478 if (!args
) SWIG_fail
;
6480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6481 if (!SWIG_IsOK(res1
)) {
6482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_IsEditable" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6484 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6487 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
6488 wxPyEndAllowThreads(__tstate
);
6489 if (PyErr_Occurred()) SWIG_fail
;
6492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6500 SWIGINTERN PyObject
*_wrap_ComboBox_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6501 PyObject
*resultobj
= 0;
6502 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6505 PyObject
*swig_obj
[1] ;
6507 if (!args
) SWIG_fail
;
6509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6510 if (!SWIG_IsOK(res1
)) {
6511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Undo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6513 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6517 wxPyEndAllowThreads(__tstate
);
6518 if (PyErr_Occurred()) SWIG_fail
;
6520 resultobj
= SWIG_Py_Void();
6527 SWIGINTERN PyObject
*_wrap_ComboBox_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6528 PyObject
*resultobj
= 0;
6529 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6532 PyObject
*swig_obj
[1] ;
6534 if (!args
) SWIG_fail
;
6536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6537 if (!SWIG_IsOK(res1
)) {
6538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Redo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6540 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6544 wxPyEndAllowThreads(__tstate
);
6545 if (PyErr_Occurred()) SWIG_fail
;
6547 resultobj
= SWIG_Py_Void();
6554 SWIGINTERN PyObject
*_wrap_ComboBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6555 PyObject
*resultobj
= 0;
6556 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6559 PyObject
*swig_obj
[1] ;
6561 if (!args
) SWIG_fail
;
6563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6564 if (!SWIG_IsOK(res1
)) {
6565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SelectAll" "', expected argument " "1"" of type '" "wxComboBox *""'");
6567 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6570 (arg1
)->SelectAll();
6571 wxPyEndAllowThreads(__tstate
);
6572 if (PyErr_Occurred()) SWIG_fail
;
6574 resultobj
= SWIG_Py_Void();
6581 SWIGINTERN PyObject
*_wrap_ComboBox_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6582 PyObject
*resultobj
= 0;
6583 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6587 PyObject
*swig_obj
[1] ;
6589 if (!args
) SWIG_fail
;
6591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6592 if (!SWIG_IsOK(res1
)) {
6593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCopy" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6595 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6598 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
6599 wxPyEndAllowThreads(__tstate
);
6600 if (PyErr_Occurred()) SWIG_fail
;
6603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6611 SWIGINTERN PyObject
*_wrap_ComboBox_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6612 PyObject
*resultobj
= 0;
6613 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6617 PyObject
*swig_obj
[1] ;
6619 if (!args
) SWIG_fail
;
6621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6622 if (!SWIG_IsOK(res1
)) {
6623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCut" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6625 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6628 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
6629 wxPyEndAllowThreads(__tstate
);
6630 if (PyErr_Occurred()) SWIG_fail
;
6633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6641 SWIGINTERN PyObject
*_wrap_ComboBox_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6642 PyObject
*resultobj
= 0;
6643 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6647 PyObject
*swig_obj
[1] ;
6649 if (!args
) SWIG_fail
;
6651 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6652 if (!SWIG_IsOK(res1
)) {
6653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanPaste" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6655 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6658 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
6659 wxPyEndAllowThreads(__tstate
);
6660 if (PyErr_Occurred()) SWIG_fail
;
6663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6671 SWIGINTERN PyObject
*_wrap_ComboBox_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6672 PyObject
*resultobj
= 0;
6673 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6677 PyObject
*swig_obj
[1] ;
6679 if (!args
) SWIG_fail
;
6681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6682 if (!SWIG_IsOK(res1
)) {
6683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanUndo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6685 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6688 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
6689 wxPyEndAllowThreads(__tstate
);
6690 if (PyErr_Occurred()) SWIG_fail
;
6693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6701 SWIGINTERN PyObject
*_wrap_ComboBox_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6702 PyObject
*resultobj
= 0;
6703 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6707 PyObject
*swig_obj
[1] ;
6709 if (!args
) SWIG_fail
;
6711 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6712 if (!SWIG_IsOK(res1
)) {
6713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanRedo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6715 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6718 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
6719 wxPyEndAllowThreads(__tstate
);
6720 if (PyErr_Occurred()) SWIG_fail
;
6723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6731 SWIGINTERN PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6732 PyObject
*resultobj
= 0;
6733 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6734 SwigValueWrapper
<wxVisualAttributes
> result
;
6737 PyObject
* obj0
= 0 ;
6738 char * kwnames
[] = {
6739 (char *) "variant", NULL
6742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
6744 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6745 if (!SWIG_IsOK(ecode1
)) {
6746 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ComboBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6748 arg1
= static_cast< wxWindowVariant
>(val1
);
6751 if (!wxPyCheckForApp()) SWIG_fail
;
6752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6753 result
= wxComboBox::GetClassDefaultAttributes(arg1
);
6754 wxPyEndAllowThreads(__tstate
);
6755 if (PyErr_Occurred()) SWIG_fail
;
6757 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
6764 SWIGINTERN PyObject
*ComboBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6766 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6767 SWIG_TypeNewClientData(SWIGTYPE_p_wxComboBox
, SWIG_NewClientData(obj
));
6768 return SWIG_Py_Void();
6771 SWIGINTERN PyObject
*ComboBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6772 return SWIG_Python_InitShadowInstance(args
);
6775 SWIGINTERN
int GaugeNameStr_set(PyObject
*) {
6776 SWIG_Error(SWIG_AttributeError
,"Variable GaugeNameStr is read-only.");
6781 SWIGINTERN PyObject
*GaugeNameStr_get(void) {
6782 PyObject
*pyobj
= 0;
6786 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6788 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6795 SWIGINTERN PyObject
*_wrap_new_Gauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6796 PyObject
*resultobj
= 0;
6797 wxWindow
*arg1
= (wxWindow
*) 0 ;
6798 int arg2
= (int) -1 ;
6799 int arg3
= (int) 100 ;
6800 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6801 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6802 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6803 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6804 long arg6
= (long) wxGA_HORIZONTAL
;
6805 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6806 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6807 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
6808 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6809 wxGauge
*result
= 0 ;
6822 bool temp8
= false ;
6823 PyObject
* obj0
= 0 ;
6824 PyObject
* obj1
= 0 ;
6825 PyObject
* obj2
= 0 ;
6826 PyObject
* obj3
= 0 ;
6827 PyObject
* obj4
= 0 ;
6828 PyObject
* obj5
= 0 ;
6829 PyObject
* obj6
= 0 ;
6830 PyObject
* obj7
= 0 ;
6831 char * kwnames
[] = {
6832 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6837 if (!SWIG_IsOK(res1
)) {
6838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Gauge" "', expected argument " "1"" of type '" "wxWindow *""'");
6840 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6842 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6843 if (!SWIG_IsOK(ecode2
)) {
6844 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Gauge" "', expected argument " "2"" of type '" "int""'");
6846 arg2
= static_cast< int >(val2
);
6849 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6850 if (!SWIG_IsOK(ecode3
)) {
6851 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Gauge" "', expected argument " "3"" of type '" "int""'");
6853 arg3
= static_cast< int >(val3
);
6858 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6864 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6868 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6869 if (!SWIG_IsOK(ecode6
)) {
6870 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Gauge" "', expected argument " "6"" of type '" "long""'");
6872 arg6
= static_cast< long >(val6
);
6875 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
6876 if (!SWIG_IsOK(res7
)) {
6877 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6880 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6882 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
6886 arg8
= wxString_in_helper(obj7
);
6887 if (arg8
== NULL
) SWIG_fail
;
6892 if (!wxPyCheckForApp()) SWIG_fail
;
6893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6894 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6895 wxPyEndAllowThreads(__tstate
);
6896 if (PyErr_Occurred()) SWIG_fail
;
6898 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_NEW
| 0 );
6913 SWIGINTERN PyObject
*_wrap_new_PreGauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6914 PyObject
*resultobj
= 0;
6915 wxGauge
*result
= 0 ;
6917 if (!SWIG_Python_UnpackTuple(args
,"new_PreGauge",0,0,0)) SWIG_fail
;
6919 if (!wxPyCheckForApp()) SWIG_fail
;
6920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6921 result
= (wxGauge
*)new wxGauge();
6922 wxPyEndAllowThreads(__tstate
);
6923 if (PyErr_Occurred()) SWIG_fail
;
6925 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_OWN
| 0 );
6932 SWIGINTERN PyObject
*_wrap_Gauge_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6933 PyObject
*resultobj
= 0;
6934 wxGauge
*arg1
= (wxGauge
*) 0 ;
6935 wxWindow
*arg2
= (wxWindow
*) 0 ;
6936 int arg3
= (int) -1 ;
6937 int arg4
= (int) 100 ;
6938 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6939 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6940 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6941 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6942 long arg7
= (long) wxGA_HORIZONTAL
;
6943 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6944 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6945 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
6946 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6962 bool temp9
= false ;
6963 PyObject
* obj0
= 0 ;
6964 PyObject
* obj1
= 0 ;
6965 PyObject
* obj2
= 0 ;
6966 PyObject
* obj3
= 0 ;
6967 PyObject
* obj4
= 0 ;
6968 PyObject
* obj5
= 0 ;
6969 PyObject
* obj6
= 0 ;
6970 PyObject
* obj7
= 0 ;
6971 PyObject
* obj8
= 0 ;
6972 char * kwnames
[] = {
6973 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
6978 if (!SWIG_IsOK(res1
)) {
6979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Create" "', expected argument " "1"" of type '" "wxGauge *""'");
6981 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
6982 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6983 if (!SWIG_IsOK(res2
)) {
6984 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Gauge_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6986 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6988 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6989 if (!SWIG_IsOK(ecode3
)) {
6990 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Gauge_Create" "', expected argument " "3"" of type '" "int""'");
6992 arg3
= static_cast< int >(val3
);
6995 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6996 if (!SWIG_IsOK(ecode4
)) {
6997 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Gauge_Create" "', expected argument " "4"" of type '" "int""'");
6999 arg4
= static_cast< int >(val4
);
7004 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7010 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7014 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7015 if (!SWIG_IsOK(ecode7
)) {
7016 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Gauge_Create" "', expected argument " "7"" of type '" "long""'");
7018 arg7
= static_cast< long >(val7
);
7021 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
7022 if (!SWIG_IsOK(res8
)) {
7023 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
7026 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
7028 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
7032 arg9
= wxString_in_helper(obj8
);
7033 if (arg9
== NULL
) SWIG_fail
;
7038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7039 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7040 wxPyEndAllowThreads(__tstate
);
7041 if (PyErr_Occurred()) SWIG_fail
;
7044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7060 SWIGINTERN PyObject
*_wrap_Gauge_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7061 PyObject
*resultobj
= 0;
7062 wxGauge
*arg1
= (wxGauge
*) 0 ;
7068 PyObject
* obj0
= 0 ;
7069 PyObject
* obj1
= 0 ;
7070 char * kwnames
[] = {
7071 (char *) "self",(char *) "range", NULL
7074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7076 if (!SWIG_IsOK(res1
)) {
7077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetRange" "', expected argument " "1"" of type '" "wxGauge *""'");
7079 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7080 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7081 if (!SWIG_IsOK(ecode2
)) {
7082 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetRange" "', expected argument " "2"" of type '" "int""'");
7084 arg2
= static_cast< int >(val2
);
7086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7087 (arg1
)->SetRange(arg2
);
7088 wxPyEndAllowThreads(__tstate
);
7089 if (PyErr_Occurred()) SWIG_fail
;
7091 resultobj
= SWIG_Py_Void();
7098 SWIGINTERN PyObject
*_wrap_Gauge_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7099 PyObject
*resultobj
= 0;
7100 wxGauge
*arg1
= (wxGauge
*) 0 ;
7104 PyObject
*swig_obj
[1] ;
7106 if (!args
) SWIG_fail
;
7108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7109 if (!SWIG_IsOK(res1
)) {
7110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetRange" "', expected argument " "1"" of type '" "wxGauge const *""'");
7112 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7115 result
= (int)((wxGauge
const *)arg1
)->GetRange();
7116 wxPyEndAllowThreads(__tstate
);
7117 if (PyErr_Occurred()) SWIG_fail
;
7119 resultobj
= SWIG_From_int(static_cast< int >(result
));
7126 SWIGINTERN PyObject
*_wrap_Gauge_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7127 PyObject
*resultobj
= 0;
7128 wxGauge
*arg1
= (wxGauge
*) 0 ;
7134 PyObject
* obj0
= 0 ;
7135 PyObject
* obj1
= 0 ;
7136 char * kwnames
[] = {
7137 (char *) "self",(char *) "pos", NULL
7140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7142 if (!SWIG_IsOK(res1
)) {
7143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetValue" "', expected argument " "1"" of type '" "wxGauge *""'");
7145 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7146 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7147 if (!SWIG_IsOK(ecode2
)) {
7148 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetValue" "', expected argument " "2"" of type '" "int""'");
7150 arg2
= static_cast< int >(val2
);
7152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7153 (arg1
)->SetValue(arg2
);
7154 wxPyEndAllowThreads(__tstate
);
7155 if (PyErr_Occurred()) SWIG_fail
;
7157 resultobj
= SWIG_Py_Void();
7164 SWIGINTERN PyObject
*_wrap_Gauge_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7165 PyObject
*resultobj
= 0;
7166 wxGauge
*arg1
= (wxGauge
*) 0 ;
7170 PyObject
*swig_obj
[1] ;
7172 if (!args
) SWIG_fail
;
7174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7175 if (!SWIG_IsOK(res1
)) {
7176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetValue" "', expected argument " "1"" of type '" "wxGauge const *""'");
7178 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7181 result
= (int)((wxGauge
const *)arg1
)->GetValue();
7182 wxPyEndAllowThreads(__tstate
);
7183 if (PyErr_Occurred()) SWIG_fail
;
7185 resultobj
= SWIG_From_int(static_cast< int >(result
));
7192 SWIGINTERN PyObject
*_wrap_Gauge_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7193 PyObject
*resultobj
= 0;
7194 wxGauge
*arg1
= (wxGauge
*) 0 ;
7198 PyObject
*swig_obj
[1] ;
7200 if (!args
) SWIG_fail
;
7202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7203 if (!SWIG_IsOK(res1
)) {
7204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_IsVertical" "', expected argument " "1"" of type '" "wxGauge const *""'");
7206 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7209 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
7210 wxPyEndAllowThreads(__tstate
);
7211 if (PyErr_Occurred()) SWIG_fail
;
7214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7222 SWIGINTERN PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7223 PyObject
*resultobj
= 0;
7224 wxGauge
*arg1
= (wxGauge
*) 0 ;
7230 PyObject
* obj0
= 0 ;
7231 PyObject
* obj1
= 0 ;
7232 char * kwnames
[] = {
7233 (char *) "self",(char *) "w", NULL
7236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7238 if (!SWIG_IsOK(res1
)) {
7239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "1"" of type '" "wxGauge *""'");
7241 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7242 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7243 if (!SWIG_IsOK(ecode2
)) {
7244 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "2"" of type '" "int""'");
7246 arg2
= static_cast< int >(val2
);
7248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7249 (arg1
)->SetShadowWidth(arg2
);
7250 wxPyEndAllowThreads(__tstate
);
7251 if (PyErr_Occurred()) SWIG_fail
;
7253 resultobj
= SWIG_Py_Void();
7260 SWIGINTERN PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7261 PyObject
*resultobj
= 0;
7262 wxGauge
*arg1
= (wxGauge
*) 0 ;
7266 PyObject
*swig_obj
[1] ;
7268 if (!args
) SWIG_fail
;
7270 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7271 if (!SWIG_IsOK(res1
)) {
7272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetShadowWidth" "', expected argument " "1"" of type '" "wxGauge const *""'");
7274 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7277 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
7278 wxPyEndAllowThreads(__tstate
);
7279 if (PyErr_Occurred()) SWIG_fail
;
7281 resultobj
= SWIG_From_int(static_cast< int >(result
));
7288 SWIGINTERN PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7289 PyObject
*resultobj
= 0;
7290 wxGauge
*arg1
= (wxGauge
*) 0 ;
7296 PyObject
* obj0
= 0 ;
7297 PyObject
* obj1
= 0 ;
7298 char * kwnames
[] = {
7299 (char *) "self",(char *) "w", NULL
7302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7304 if (!SWIG_IsOK(res1
)) {
7305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetBezelFace" "', expected argument " "1"" of type '" "wxGauge *""'");
7307 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7308 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7309 if (!SWIG_IsOK(ecode2
)) {
7310 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetBezelFace" "', expected argument " "2"" of type '" "int""'");
7312 arg2
= static_cast< int >(val2
);
7314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7315 (arg1
)->SetBezelFace(arg2
);
7316 wxPyEndAllowThreads(__tstate
);
7317 if (PyErr_Occurred()) SWIG_fail
;
7319 resultobj
= SWIG_Py_Void();
7326 SWIGINTERN PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7327 PyObject
*resultobj
= 0;
7328 wxGauge
*arg1
= (wxGauge
*) 0 ;
7332 PyObject
*swig_obj
[1] ;
7334 if (!args
) SWIG_fail
;
7336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7337 if (!SWIG_IsOK(res1
)) {
7338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetBezelFace" "', expected argument " "1"" of type '" "wxGauge const *""'");
7340 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7343 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
7344 wxPyEndAllowThreads(__tstate
);
7345 if (PyErr_Occurred()) SWIG_fail
;
7347 resultobj
= SWIG_From_int(static_cast< int >(result
));
7354 SWIGINTERN PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7355 PyObject
*resultobj
= 0;
7356 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7357 SwigValueWrapper
<wxVisualAttributes
> result
;
7360 PyObject
* obj0
= 0 ;
7361 char * kwnames
[] = {
7362 (char *) "variant", NULL
7365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7367 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7368 if (!SWIG_IsOK(ecode1
)) {
7369 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Gauge_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7371 arg1
= static_cast< wxWindowVariant
>(val1
);
7374 if (!wxPyCheckForApp()) SWIG_fail
;
7375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7376 result
= wxGauge::GetClassDefaultAttributes(arg1
);
7377 wxPyEndAllowThreads(__tstate
);
7378 if (PyErr_Occurred()) SWIG_fail
;
7380 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7387 SWIGINTERN PyObject
*Gauge_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7389 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7390 SWIG_TypeNewClientData(SWIGTYPE_p_wxGauge
, SWIG_NewClientData(obj
));
7391 return SWIG_Py_Void();
7394 SWIGINTERN PyObject
*Gauge_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7395 return SWIG_Python_InitShadowInstance(args
);
7398 SWIGINTERN
int StaticBitmapNameStr_set(PyObject
*) {
7399 SWIG_Error(SWIG_AttributeError
,"Variable StaticBitmapNameStr is read-only.");
7404 SWIGINTERN PyObject
*StaticBitmapNameStr_get(void) {
7405 PyObject
*pyobj
= 0;
7409 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7411 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7418 SWIGINTERN
int StaticBoxNameStr_set(PyObject
*) {
7419 SWIG_Error(SWIG_AttributeError
,"Variable StaticBoxNameStr is read-only.");
7424 SWIGINTERN PyObject
*StaticBoxNameStr_get(void) {
7425 PyObject
*pyobj
= 0;
7429 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7431 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7438 SWIGINTERN
int StaticTextNameStr_set(PyObject
*) {
7439 SWIG_Error(SWIG_AttributeError
,"Variable StaticTextNameStr is read-only.");
7444 SWIGINTERN PyObject
*StaticTextNameStr_get(void) {
7445 PyObject
*pyobj
= 0;
7449 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7451 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7458 SWIGINTERN PyObject
*_wrap_new_StaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7459 PyObject
*resultobj
= 0;
7460 wxWindow
*arg1
= (wxWindow
*) 0 ;
7461 int arg2
= (int) -1 ;
7462 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7463 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7464 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7465 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7466 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7467 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7468 long arg6
= (long) 0 ;
7469 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
7470 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7471 wxStaticBox
*result
= 0 ;
7476 bool temp3
= false ;
7481 bool temp7
= false ;
7482 PyObject
* obj0
= 0 ;
7483 PyObject
* obj1
= 0 ;
7484 PyObject
* obj2
= 0 ;
7485 PyObject
* obj3
= 0 ;
7486 PyObject
* obj4
= 0 ;
7487 PyObject
* obj5
= 0 ;
7488 PyObject
* obj6
= 0 ;
7489 char * kwnames
[] = {
7490 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7495 if (!SWIG_IsOK(res1
)) {
7496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7498 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7500 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7501 if (!SWIG_IsOK(ecode2
)) {
7502 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7504 arg2
= static_cast< int >(val2
);
7508 arg3
= wxString_in_helper(obj2
);
7509 if (arg3
== NULL
) SWIG_fail
;
7516 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7522 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7526 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7527 if (!SWIG_IsOK(ecode6
)) {
7528 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7530 arg6
= static_cast< long >(val6
);
7534 arg7
= wxString_in_helper(obj6
);
7535 if (arg7
== NULL
) SWIG_fail
;
7540 if (!wxPyCheckForApp()) SWIG_fail
;
7541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7542 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7543 wxPyEndAllowThreads(__tstate
);
7544 if (PyErr_Occurred()) SWIG_fail
;
7546 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_NEW
| 0 );
7569 SWIGINTERN PyObject
*_wrap_new_PreStaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7570 PyObject
*resultobj
= 0;
7571 wxStaticBox
*result
= 0 ;
7573 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBox",0,0,0)) SWIG_fail
;
7575 if (!wxPyCheckForApp()) SWIG_fail
;
7576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7577 result
= (wxStaticBox
*)new wxStaticBox();
7578 wxPyEndAllowThreads(__tstate
);
7579 if (PyErr_Occurred()) SWIG_fail
;
7581 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_OWN
| 0 );
7588 SWIGINTERN PyObject
*_wrap_StaticBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7589 PyObject
*resultobj
= 0;
7590 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
7591 wxWindow
*arg2
= (wxWindow
*) 0 ;
7592 int arg3
= (int) -1 ;
7593 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7594 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7595 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7596 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7597 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7598 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7599 long arg7
= (long) 0 ;
7600 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
7601 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7609 bool temp4
= false ;
7614 bool temp8
= false ;
7615 PyObject
* obj0
= 0 ;
7616 PyObject
* obj1
= 0 ;
7617 PyObject
* obj2
= 0 ;
7618 PyObject
* obj3
= 0 ;
7619 PyObject
* obj4
= 0 ;
7620 PyObject
* obj5
= 0 ;
7621 PyObject
* obj6
= 0 ;
7622 PyObject
* obj7
= 0 ;
7623 char * kwnames
[] = {
7624 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBox
, 0 | 0 );
7629 if (!SWIG_IsOK(res1
)) {
7630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7632 arg1
= reinterpret_cast< wxStaticBox
* >(argp1
);
7633 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7634 if (!SWIG_IsOK(res2
)) {
7635 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7637 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7639 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7640 if (!SWIG_IsOK(ecode3
)) {
7641 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7643 arg3
= static_cast< int >(val3
);
7647 arg4
= wxString_in_helper(obj3
);
7648 if (arg4
== NULL
) SWIG_fail
;
7655 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7661 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7665 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7666 if (!SWIG_IsOK(ecode7
)) {
7667 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7669 arg7
= static_cast< long >(val7
);
7673 arg8
= wxString_in_helper(obj7
);
7674 if (arg8
== NULL
) SWIG_fail
;
7679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7680 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7681 wxPyEndAllowThreads(__tstate
);
7682 if (PyErr_Occurred()) SWIG_fail
;
7685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7709 SWIGINTERN PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7710 PyObject
*resultobj
= 0;
7711 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7712 SwigValueWrapper
<wxVisualAttributes
> result
;
7715 PyObject
* obj0
= 0 ;
7716 char * kwnames
[] = {
7717 (char *) "variant", NULL
7720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7722 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7723 if (!SWIG_IsOK(ecode1
)) {
7724 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7726 arg1
= static_cast< wxWindowVariant
>(val1
);
7729 if (!wxPyCheckForApp()) SWIG_fail
;
7730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7731 result
= wxStaticBox::GetClassDefaultAttributes(arg1
);
7732 wxPyEndAllowThreads(__tstate
);
7733 if (PyErr_Occurred()) SWIG_fail
;
7735 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7742 SWIGINTERN PyObject
*StaticBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7744 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7745 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox
, SWIG_NewClientData(obj
));
7746 return SWIG_Py_Void();
7749 SWIGINTERN PyObject
*StaticBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7750 return SWIG_Python_InitShadowInstance(args
);
7753 SWIGINTERN PyObject
*_wrap_new_StaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7754 PyObject
*resultobj
= 0;
7755 wxWindow
*arg1
= (wxWindow
*) 0 ;
7756 int arg2
= (int) -1 ;
7757 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7758 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7759 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7760 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7761 long arg5
= (long) wxLI_HORIZONTAL
;
7762 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
7763 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7764 wxStaticLine
*result
= 0 ;
7773 bool temp6
= false ;
7774 PyObject
* obj0
= 0 ;
7775 PyObject
* obj1
= 0 ;
7776 PyObject
* obj2
= 0 ;
7777 PyObject
* obj3
= 0 ;
7778 PyObject
* obj4
= 0 ;
7779 PyObject
* obj5
= 0 ;
7780 char * kwnames
[] = {
7781 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
7785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7786 if (!SWIG_IsOK(res1
)) {
7787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7789 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7791 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7792 if (!SWIG_IsOK(ecode2
)) {
7793 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7795 arg2
= static_cast< int >(val2
);
7800 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7806 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7810 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
7811 if (!SWIG_IsOK(ecode5
)) {
7812 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7814 arg5
= static_cast< long >(val5
);
7818 arg6
= wxString_in_helper(obj5
);
7819 if (arg6
== NULL
) SWIG_fail
;
7824 if (!wxPyCheckForApp()) SWIG_fail
;
7825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7826 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7827 wxPyEndAllowThreads(__tstate
);
7828 if (PyErr_Occurred()) SWIG_fail
;
7830 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_NEW
| 0 );
7845 SWIGINTERN PyObject
*_wrap_new_PreStaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7846 PyObject
*resultobj
= 0;
7847 wxStaticLine
*result
= 0 ;
7849 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticLine",0,0,0)) SWIG_fail
;
7851 if (!wxPyCheckForApp()) SWIG_fail
;
7852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7853 result
= (wxStaticLine
*)new wxStaticLine();
7854 wxPyEndAllowThreads(__tstate
);
7855 if (PyErr_Occurred()) SWIG_fail
;
7857 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_OWN
| 0 );
7864 SWIGINTERN PyObject
*_wrap_StaticLine_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7865 PyObject
*resultobj
= 0;
7866 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7867 wxWindow
*arg2
= (wxWindow
*) 0 ;
7868 int arg3
= (int) -1 ;
7869 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7870 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7871 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7872 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7873 long arg6
= (long) wxLI_HORIZONTAL
;
7874 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
7875 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7887 bool temp7
= false ;
7888 PyObject
* obj0
= 0 ;
7889 PyObject
* obj1
= 0 ;
7890 PyObject
* obj2
= 0 ;
7891 PyObject
* obj3
= 0 ;
7892 PyObject
* obj4
= 0 ;
7893 PyObject
* obj5
= 0 ;
7894 PyObject
* obj6
= 0 ;
7895 char * kwnames
[] = {
7896 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7901 if (!SWIG_IsOK(res1
)) {
7902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7904 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7905 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7906 if (!SWIG_IsOK(res2
)) {
7907 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7909 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7911 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7912 if (!SWIG_IsOK(ecode3
)) {
7913 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7915 arg3
= static_cast< int >(val3
);
7920 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7926 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7930 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7931 if (!SWIG_IsOK(ecode6
)) {
7932 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7934 arg6
= static_cast< long >(val6
);
7938 arg7
= wxString_in_helper(obj6
);
7939 if (arg7
== NULL
) SWIG_fail
;
7944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7945 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7946 wxPyEndAllowThreads(__tstate
);
7947 if (PyErr_Occurred()) SWIG_fail
;
7950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7966 SWIGINTERN PyObject
*_wrap_StaticLine_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7967 PyObject
*resultobj
= 0;
7968 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7972 PyObject
*swig_obj
[1] ;
7974 if (!args
) SWIG_fail
;
7976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7977 if (!SWIG_IsOK(res1
)) {
7978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
7980 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7983 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
7984 wxPyEndAllowThreads(__tstate
);
7985 if (PyErr_Occurred()) SWIG_fail
;
7988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7996 SWIGINTERN PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7997 PyObject
*resultobj
= 0;
8000 if (!SWIG_Python_UnpackTuple(args
,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail
;
8002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8003 result
= (int)wxStaticLine::GetDefaultSize();
8004 wxPyEndAllowThreads(__tstate
);
8005 if (PyErr_Occurred()) SWIG_fail
;
8007 resultobj
= SWIG_From_int(static_cast< int >(result
));
8014 SWIGINTERN PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8015 PyObject
*resultobj
= 0;
8016 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8017 SwigValueWrapper
<wxVisualAttributes
> result
;
8020 PyObject
* obj0
= 0 ;
8021 char * kwnames
[] = {
8022 (char *) "variant", NULL
8025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8027 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8028 if (!SWIG_IsOK(ecode1
)) {
8029 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8031 arg1
= static_cast< wxWindowVariant
>(val1
);
8034 if (!wxPyCheckForApp()) SWIG_fail
;
8035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8036 result
= wxStaticLine::GetClassDefaultAttributes(arg1
);
8037 wxPyEndAllowThreads(__tstate
);
8038 if (PyErr_Occurred()) SWIG_fail
;
8040 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8047 SWIGINTERN PyObject
*StaticLine_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8049 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8050 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine
, SWIG_NewClientData(obj
));
8051 return SWIG_Py_Void();
8054 SWIGINTERN PyObject
*StaticLine_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8055 return SWIG_Python_InitShadowInstance(args
);
8058 SWIGINTERN PyObject
*_wrap_new_StaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8059 PyObject
*resultobj
= 0;
8060 wxWindow
*arg1
= (wxWindow
*) 0 ;
8061 int arg2
= (int) -1 ;
8062 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8063 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8064 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8065 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8066 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8067 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8068 long arg6
= (long) 0 ;
8069 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
8070 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8071 wxStaticText
*result
= 0 ;
8076 bool temp3
= false ;
8081 bool temp7
= false ;
8082 PyObject
* obj0
= 0 ;
8083 PyObject
* obj1
= 0 ;
8084 PyObject
* obj2
= 0 ;
8085 PyObject
* obj3
= 0 ;
8086 PyObject
* obj4
= 0 ;
8087 PyObject
* obj5
= 0 ;
8088 PyObject
* obj6
= 0 ;
8089 char * kwnames
[] = {
8090 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8095 if (!SWIG_IsOK(res1
)) {
8096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
8098 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8100 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8101 if (!SWIG_IsOK(ecode2
)) {
8102 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
8104 arg2
= static_cast< int >(val2
);
8108 arg3
= wxString_in_helper(obj2
);
8109 if (arg3
== NULL
) SWIG_fail
;
8116 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8122 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8126 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8127 if (!SWIG_IsOK(ecode6
)) {
8128 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8130 arg6
= static_cast< long >(val6
);
8134 arg7
= wxString_in_helper(obj6
);
8135 if (arg7
== NULL
) SWIG_fail
;
8140 if (!wxPyCheckForApp()) SWIG_fail
;
8141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8142 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8143 wxPyEndAllowThreads(__tstate
);
8144 if (PyErr_Occurred()) SWIG_fail
;
8146 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_NEW
| 0 );
8169 SWIGINTERN PyObject
*_wrap_new_PreStaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8170 PyObject
*resultobj
= 0;
8171 wxStaticText
*result
= 0 ;
8173 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticText",0,0,0)) SWIG_fail
;
8175 if (!wxPyCheckForApp()) SWIG_fail
;
8176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8177 result
= (wxStaticText
*)new wxStaticText();
8178 wxPyEndAllowThreads(__tstate
);
8179 if (PyErr_Occurred()) SWIG_fail
;
8181 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_OWN
| 0 );
8188 SWIGINTERN PyObject
*_wrap_StaticText_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8189 PyObject
*resultobj
= 0;
8190 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8191 wxWindow
*arg2
= (wxWindow
*) 0 ;
8192 int arg3
= (int) -1 ;
8193 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8194 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8195 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8196 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8197 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8198 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8199 long arg7
= (long) 0 ;
8200 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
8201 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8209 bool temp4
= false ;
8214 bool temp8
= false ;
8215 PyObject
* obj0
= 0 ;
8216 PyObject
* obj1
= 0 ;
8217 PyObject
* obj2
= 0 ;
8218 PyObject
* obj3
= 0 ;
8219 PyObject
* obj4
= 0 ;
8220 PyObject
* obj5
= 0 ;
8221 PyObject
* obj6
= 0 ;
8222 PyObject
* obj7
= 0 ;
8223 char * kwnames
[] = {
8224 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8229 if (!SWIG_IsOK(res1
)) {
8230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8232 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8233 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8234 if (!SWIG_IsOK(res2
)) {
8235 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8237 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8239 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8240 if (!SWIG_IsOK(ecode3
)) {
8241 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8243 arg3
= static_cast< int >(val3
);
8247 arg4
= wxString_in_helper(obj3
);
8248 if (arg4
== NULL
) SWIG_fail
;
8255 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8261 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8265 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8266 if (!SWIG_IsOK(ecode7
)) {
8267 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8269 arg7
= static_cast< long >(val7
);
8273 arg8
= wxString_in_helper(obj7
);
8274 if (arg8
== NULL
) SWIG_fail
;
8279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8280 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8281 wxPyEndAllowThreads(__tstate
);
8282 if (PyErr_Occurred()) SWIG_fail
;
8285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8309 SWIGINTERN PyObject
*_wrap_StaticText_Wrap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8310 PyObject
*resultobj
= 0;
8311 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8317 PyObject
* obj0
= 0 ;
8318 PyObject
* obj1
= 0 ;
8319 char * kwnames
[] = {
8320 (char *) "self",(char *) "width", NULL
8323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticText_Wrap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8324 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8325 if (!SWIG_IsOK(res1
)) {
8326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8328 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8329 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8330 if (!SWIG_IsOK(ecode2
)) {
8331 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8333 arg2
= static_cast< int >(val2
);
8335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8337 wxPyEndAllowThreads(__tstate
);
8338 if (PyErr_Occurred()) SWIG_fail
;
8340 resultobj
= SWIG_Py_Void();
8347 SWIGINTERN PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8348 PyObject
*resultobj
= 0;
8349 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8350 SwigValueWrapper
<wxVisualAttributes
> result
;
8353 PyObject
* obj0
= 0 ;
8354 char * kwnames
[] = {
8355 (char *) "variant", NULL
8358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8360 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8361 if (!SWIG_IsOK(ecode1
)) {
8362 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8364 arg1
= static_cast< wxWindowVariant
>(val1
);
8367 if (!wxPyCheckForApp()) SWIG_fail
;
8368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8369 result
= wxStaticText::GetClassDefaultAttributes(arg1
);
8370 wxPyEndAllowThreads(__tstate
);
8371 if (PyErr_Occurred()) SWIG_fail
;
8373 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8380 SWIGINTERN PyObject
*StaticText_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8382 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8383 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText
, SWIG_NewClientData(obj
));
8384 return SWIG_Py_Void();
8387 SWIGINTERN PyObject
*StaticText_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8388 return SWIG_Python_InitShadowInstance(args
);
8391 SWIGINTERN PyObject
*_wrap_new_StaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8392 PyObject
*resultobj
= 0;
8393 wxWindow
*arg1
= (wxWindow
*) 0 ;
8394 int arg2
= (int) -1 ;
8395 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
8396 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
8397 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8398 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8399 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8400 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8401 long arg6
= (long) 0 ;
8402 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
8403 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8404 wxStaticBitmap
*result
= 0 ;
8415 bool temp7
= false ;
8416 PyObject
* obj0
= 0 ;
8417 PyObject
* obj1
= 0 ;
8418 PyObject
* obj2
= 0 ;
8419 PyObject
* obj3
= 0 ;
8420 PyObject
* obj4
= 0 ;
8421 PyObject
* obj5
= 0 ;
8422 PyObject
* obj6
= 0 ;
8423 char * kwnames
[] = {
8424 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8429 if (!SWIG_IsOK(res1
)) {
8430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8432 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8434 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8435 if (!SWIG_IsOK(ecode2
)) {
8436 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8438 arg2
= static_cast< int >(val2
);
8441 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8442 if (!SWIG_IsOK(res3
)) {
8443 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8446 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8448 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
8453 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8459 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8463 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8464 if (!SWIG_IsOK(ecode6
)) {
8465 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8467 arg6
= static_cast< long >(val6
);
8471 arg7
= wxString_in_helper(obj6
);
8472 if (arg7
== NULL
) SWIG_fail
;
8477 if (!wxPyCheckForApp()) SWIG_fail
;
8478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8479 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8480 wxPyEndAllowThreads(__tstate
);
8481 if (PyErr_Occurred()) SWIG_fail
;
8483 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_NEW
| 0 );
8498 SWIGINTERN PyObject
*_wrap_new_PreStaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8499 PyObject
*resultobj
= 0;
8500 wxStaticBitmap
*result
= 0 ;
8502 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBitmap",0,0,0)) SWIG_fail
;
8504 if (!wxPyCheckForApp()) SWIG_fail
;
8505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8506 result
= (wxStaticBitmap
*)new wxStaticBitmap();
8507 wxPyEndAllowThreads(__tstate
);
8508 if (PyErr_Occurred()) SWIG_fail
;
8510 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_OWN
| 0 );
8517 SWIGINTERN PyObject
*_wrap_StaticBitmap_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8518 PyObject
*resultobj
= 0;
8519 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8520 wxWindow
*arg2
= (wxWindow
*) 0 ;
8521 int arg3
= (int) -1 ;
8522 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
8523 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
8524 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8525 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8526 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8527 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8528 long arg7
= (long) 0 ;
8529 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
8530 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8544 bool temp8
= false ;
8545 PyObject
* obj0
= 0 ;
8546 PyObject
* obj1
= 0 ;
8547 PyObject
* obj2
= 0 ;
8548 PyObject
* obj3
= 0 ;
8549 PyObject
* obj4
= 0 ;
8550 PyObject
* obj5
= 0 ;
8551 PyObject
* obj6
= 0 ;
8552 PyObject
* obj7
= 0 ;
8553 char * kwnames
[] = {
8554 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8559 if (!SWIG_IsOK(res1
)) {
8560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8562 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8563 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8564 if (!SWIG_IsOK(res2
)) {
8565 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8567 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8569 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8570 if (!SWIG_IsOK(ecode3
)) {
8571 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8573 arg3
= static_cast< int >(val3
);
8576 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8577 if (!SWIG_IsOK(res4
)) {
8578 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8581 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8583 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
8588 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8594 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8598 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8599 if (!SWIG_IsOK(ecode7
)) {
8600 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8602 arg7
= static_cast< long >(val7
);
8606 arg8
= wxString_in_helper(obj7
);
8607 if (arg8
== NULL
) SWIG_fail
;
8612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8613 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8614 wxPyEndAllowThreads(__tstate
);
8615 if (PyErr_Occurred()) SWIG_fail
;
8618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8634 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8635 PyObject
*resultobj
= 0;
8636 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8640 PyObject
*swig_obj
[1] ;
8642 if (!args
) SWIG_fail
;
8644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8645 if (!SWIG_IsOK(res1
)) {
8646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8648 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8651 result
= (arg1
)->GetBitmap();
8652 wxPyEndAllowThreads(__tstate
);
8653 if (PyErr_Occurred()) SWIG_fail
;
8655 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
8662 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8663 PyObject
*resultobj
= 0;
8664 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8665 wxBitmap
*arg2
= 0 ;
8670 PyObject
* obj0
= 0 ;
8671 PyObject
* obj1
= 0 ;
8672 char * kwnames
[] = {
8673 (char *) "self",(char *) "bitmap", NULL
8676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8678 if (!SWIG_IsOK(res1
)) {
8679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8681 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8682 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8683 if (!SWIG_IsOK(res2
)) {
8684 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8687 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8689 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8692 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8693 wxPyEndAllowThreads(__tstate
);
8694 if (PyErr_Occurred()) SWIG_fail
;
8696 resultobj
= SWIG_Py_Void();
8703 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8704 PyObject
*resultobj
= 0;
8705 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8711 PyObject
* obj0
= 0 ;
8712 PyObject
* obj1
= 0 ;
8713 char * kwnames
[] = {
8714 (char *) "self",(char *) "icon", NULL
8717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8719 if (!SWIG_IsOK(res1
)) {
8720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8722 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8723 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
8724 if (!SWIG_IsOK(res2
)) {
8725 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8728 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8730 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
8732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8733 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
8734 wxPyEndAllowThreads(__tstate
);
8735 if (PyErr_Occurred()) SWIG_fail
;
8737 resultobj
= SWIG_Py_Void();
8744 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8745 PyObject
*resultobj
= 0;
8746 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8747 SwigValueWrapper
<wxVisualAttributes
> result
;
8750 PyObject
* obj0
= 0 ;
8751 char * kwnames
[] = {
8752 (char *) "variant", NULL
8755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8757 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8758 if (!SWIG_IsOK(ecode1
)) {
8759 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8761 arg1
= static_cast< wxWindowVariant
>(val1
);
8764 if (!wxPyCheckForApp()) SWIG_fail
;
8765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8766 result
= wxStaticBitmap::GetClassDefaultAttributes(arg1
);
8767 wxPyEndAllowThreads(__tstate
);
8768 if (PyErr_Occurred()) SWIG_fail
;
8770 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8777 SWIGINTERN PyObject
*StaticBitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8779 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8780 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap
, SWIG_NewClientData(obj
));
8781 return SWIG_Py_Void();
8784 SWIGINTERN PyObject
*StaticBitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8785 return SWIG_Python_InitShadowInstance(args
);
8788 SWIGINTERN
int ListBoxNameStr_set(PyObject
*) {
8789 SWIG_Error(SWIG_AttributeError
,"Variable ListBoxNameStr is read-only.");
8794 SWIGINTERN PyObject
*ListBoxNameStr_get(void) {
8795 PyObject
*pyobj
= 0;
8799 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8801 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8808 SWIGINTERN PyObject
*_wrap_new_ListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8809 PyObject
*resultobj
= 0;
8810 wxWindow
*arg1
= (wxWindow
*) 0 ;
8811 int arg2
= (int) -1 ;
8812 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8813 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8814 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8815 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8816 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8817 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8818 long arg6
= (long) 0 ;
8819 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8820 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8821 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8822 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8823 wxListBox
*result
= 0 ;
8830 bool temp5
= false ;
8835 bool temp8
= false ;
8836 PyObject
* obj0
= 0 ;
8837 PyObject
* obj1
= 0 ;
8838 PyObject
* obj2
= 0 ;
8839 PyObject
* obj3
= 0 ;
8840 PyObject
* obj4
= 0 ;
8841 PyObject
* obj5
= 0 ;
8842 PyObject
* obj6
= 0 ;
8843 PyObject
* obj7
= 0 ;
8844 char * kwnames
[] = {
8845 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8850 if (!SWIG_IsOK(res1
)) {
8851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
8853 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8855 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8856 if (!SWIG_IsOK(ecode2
)) {
8857 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
8859 arg2
= static_cast< int >(val2
);
8864 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8870 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8875 if (! PySequence_Check(obj4
)) {
8876 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8879 arg5
= new wxArrayString
;
8881 int i
, len
=PySequence_Length(obj4
);
8882 for (i
=0; i
<len
; i
++) {
8883 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8884 wxString
* s
= wxString_in_helper(item
);
8885 if (PyErr_Occurred()) SWIG_fail
;
8893 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8894 if (!SWIG_IsOK(ecode6
)) {
8895 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
8897 arg6
= static_cast< long >(val6
);
8900 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
8901 if (!SWIG_IsOK(res7
)) {
8902 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8905 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8907 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
8911 arg8
= wxString_in_helper(obj7
);
8912 if (arg8
== NULL
) SWIG_fail
;
8917 if (!wxPyCheckForApp()) SWIG_fail
;
8918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8919 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8920 wxPyEndAllowThreads(__tstate
);
8921 if (PyErr_Occurred()) SWIG_fail
;
8923 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_NEW
| 0 );
8925 if (temp5
) delete arg5
;
8934 if (temp5
) delete arg5
;
8944 SWIGINTERN PyObject
*_wrap_new_PreListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8945 PyObject
*resultobj
= 0;
8946 wxListBox
*result
= 0 ;
8948 if (!SWIG_Python_UnpackTuple(args
,"new_PreListBox",0,0,0)) SWIG_fail
;
8950 if (!wxPyCheckForApp()) SWIG_fail
;
8951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8952 result
= (wxListBox
*)new wxListBox();
8953 wxPyEndAllowThreads(__tstate
);
8954 if (PyErr_Occurred()) SWIG_fail
;
8956 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_OWN
| 0 );
8963 SWIGINTERN PyObject
*_wrap_ListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8964 PyObject
*resultobj
= 0;
8965 wxListBox
*arg1
= (wxListBox
*) 0 ;
8966 wxWindow
*arg2
= (wxWindow
*) 0 ;
8967 int arg3
= (int) -1 ;
8968 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8969 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8970 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8971 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8972 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
8973 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
8974 long arg7
= (long) 0 ;
8975 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8976 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8977 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
8978 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8988 bool temp6
= false ;
8993 bool temp9
= false ;
8994 PyObject
* obj0
= 0 ;
8995 PyObject
* obj1
= 0 ;
8996 PyObject
* obj2
= 0 ;
8997 PyObject
* obj3
= 0 ;
8998 PyObject
* obj4
= 0 ;
8999 PyObject
* obj5
= 0 ;
9000 PyObject
* obj6
= 0 ;
9001 PyObject
* obj7
= 0 ;
9002 PyObject
* obj8
= 0 ;
9003 char * kwnames
[] = {
9004 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
9007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
9008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9009 if (!SWIG_IsOK(res1
)) {
9010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
9012 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9013 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9014 if (!SWIG_IsOK(res2
)) {
9015 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9017 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9019 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9020 if (!SWIG_IsOK(ecode3
)) {
9021 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
9023 arg3
= static_cast< int >(val3
);
9028 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9034 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9039 if (! PySequence_Check(obj5
)) {
9040 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9043 arg6
= new wxArrayString
;
9045 int i
, len
=PySequence_Length(obj5
);
9046 for (i
=0; i
<len
; i
++) {
9047 PyObject
* item
= PySequence_GetItem(obj5
, i
);
9048 wxString
* s
= wxString_in_helper(item
);
9049 if (PyErr_Occurred()) SWIG_fail
;
9057 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
9058 if (!SWIG_IsOK(ecode7
)) {
9059 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
9061 arg7
= static_cast< long >(val7
);
9064 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
9065 if (!SWIG_IsOK(res8
)) {
9066 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9069 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9071 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
9075 arg9
= wxString_in_helper(obj8
);
9076 if (arg9
== NULL
) SWIG_fail
;
9081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9082 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9083 wxPyEndAllowThreads(__tstate
);
9084 if (PyErr_Occurred()) SWIG_fail
;
9087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9090 if (temp6
) delete arg6
;
9099 if (temp6
) delete arg6
;
9109 SWIGINTERN PyObject
*_wrap_ListBox_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9110 PyObject
*resultobj
= 0;
9111 wxListBox
*arg1
= (wxListBox
*) 0 ;
9112 wxString
*arg2
= 0 ;
9114 PyObject
*arg4
= (PyObject
*) NULL
;
9117 bool temp2
= false ;
9120 PyObject
* obj0
= 0 ;
9121 PyObject
* obj1
= 0 ;
9122 PyObject
* obj2
= 0 ;
9123 PyObject
* obj3
= 0 ;
9124 char * kwnames
[] = {
9125 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9130 if (!SWIG_IsOK(res1
)) {
9131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9133 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9135 arg2
= wxString_in_helper(obj1
);
9136 if (arg2
== NULL
) SWIG_fail
;
9139 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9140 if (!SWIG_IsOK(ecode3
)) {
9141 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9143 arg3
= static_cast< int >(val3
);
9148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9149 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9150 wxPyEndAllowThreads(__tstate
);
9151 if (PyErr_Occurred()) SWIG_fail
;
9153 resultobj
= SWIG_Py_Void();
9168 SWIGINTERN PyObject
*_wrap_ListBox_InsertItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9169 PyObject
*resultobj
= 0;
9170 wxListBox
*arg1
= (wxListBox
*) 0 ;
9171 wxArrayString
*arg2
= 0 ;
9175 bool temp2
= false ;
9178 PyObject
* obj0
= 0 ;
9179 PyObject
* obj1
= 0 ;
9180 PyObject
* obj2
= 0 ;
9181 char * kwnames
[] = {
9182 (char *) "self",(char *) "items",(char *) "pos", NULL
9185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9187 if (!SWIG_IsOK(res1
)) {
9188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9190 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9192 if (! PySequence_Check(obj1
)) {
9193 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9196 arg2
= new wxArrayString
;
9198 int i
, len
=PySequence_Length(obj1
);
9199 for (i
=0; i
<len
; i
++) {
9200 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9201 wxString
* s
= wxString_in_helper(item
);
9202 if (PyErr_Occurred()) SWIG_fail
;
9208 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
9209 if (!SWIG_IsOK(ecode3
)) {
9210 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "unsigned int""'");
9212 arg3
= static_cast< unsigned int >(val3
);
9214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9215 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
9216 wxPyEndAllowThreads(__tstate
);
9217 if (PyErr_Occurred()) SWIG_fail
;
9219 resultobj
= SWIG_Py_Void();
9221 if (temp2
) delete arg2
;
9226 if (temp2
) delete arg2
;
9232 SWIGINTERN PyObject
*_wrap_ListBox_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9233 PyObject
*resultobj
= 0;
9234 wxListBox
*arg1
= (wxListBox
*) 0 ;
9235 wxArrayString
*arg2
= 0 ;
9238 bool temp2
= false ;
9239 PyObject
* obj0
= 0 ;
9240 PyObject
* obj1
= 0 ;
9241 char * kwnames
[] = {
9242 (char *) "self",(char *) "items", NULL
9245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9247 if (!SWIG_IsOK(res1
)) {
9248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9250 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9252 if (! PySequence_Check(obj1
)) {
9253 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9256 arg2
= new wxArrayString
;
9258 int i
, len
=PySequence_Length(obj1
);
9259 for (i
=0; i
<len
; i
++) {
9260 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9261 wxString
* s
= wxString_in_helper(item
);
9262 if (PyErr_Occurred()) SWIG_fail
;
9269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9270 (arg1
)->Set((wxArrayString
const &)*arg2
);
9271 wxPyEndAllowThreads(__tstate
);
9272 if (PyErr_Occurred()) SWIG_fail
;
9274 resultobj
= SWIG_Py_Void();
9276 if (temp2
) delete arg2
;
9281 if (temp2
) delete arg2
;
9287 SWIGINTERN PyObject
*_wrap_ListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9288 PyObject
*resultobj
= 0;
9289 wxListBox
*arg1
= (wxListBox
*) 0 ;
9296 PyObject
* obj0
= 0 ;
9297 PyObject
* obj1
= 0 ;
9298 char * kwnames
[] = {
9299 (char *) "self",(char *) "n", NULL
9302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9304 if (!SWIG_IsOK(res1
)) {
9305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
9307 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9308 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9309 if (!SWIG_IsOK(ecode2
)) {
9310 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_IsSelected" "', expected argument " "2"" of type '" "int""'");
9312 arg2
= static_cast< int >(val2
);
9314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9315 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
9316 wxPyEndAllowThreads(__tstate
);
9317 if (PyErr_Occurred()) SWIG_fail
;
9320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9328 SWIGINTERN PyObject
*_wrap_ListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9329 PyObject
*resultobj
= 0;
9330 wxListBox
*arg1
= (wxListBox
*) 0 ;
9332 bool arg3
= (bool) true ;
9339 PyObject
* obj0
= 0 ;
9340 PyObject
* obj1
= 0 ;
9341 PyObject
* obj2
= 0 ;
9342 char * kwnames
[] = {
9343 (char *) "self",(char *) "n",(char *) "select", NULL
9346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9348 if (!SWIG_IsOK(res1
)) {
9349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9351 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9352 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9353 if (!SWIG_IsOK(ecode2
)) {
9354 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9356 arg2
= static_cast< int >(val2
);
9358 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9359 if (!SWIG_IsOK(ecode3
)) {
9360 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9362 arg3
= static_cast< bool >(val3
);
9365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9366 (arg1
)->SetSelection(arg2
,arg3
);
9367 wxPyEndAllowThreads(__tstate
);
9368 if (PyErr_Occurred()) SWIG_fail
;
9370 resultobj
= SWIG_Py_Void();
9377 SWIGINTERN PyObject
*_wrap_ListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9378 PyObject
*resultobj
= 0;
9379 wxListBox
*arg1
= (wxListBox
*) 0 ;
9385 PyObject
* obj0
= 0 ;
9386 PyObject
* obj1
= 0 ;
9387 char * kwnames
[] = {
9388 (char *) "self",(char *) "n", NULL
9391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9393 if (!SWIG_IsOK(res1
)) {
9394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9396 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9397 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9398 if (!SWIG_IsOK(ecode2
)) {
9399 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9401 arg2
= static_cast< int >(val2
);
9403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9404 (arg1
)->Select(arg2
);
9405 wxPyEndAllowThreads(__tstate
);
9406 if (PyErr_Occurred()) SWIG_fail
;
9408 resultobj
= SWIG_Py_Void();
9415 SWIGINTERN PyObject
*_wrap_ListBox_Deselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9416 PyObject
*resultobj
= 0;
9417 wxListBox
*arg1
= (wxListBox
*) 0 ;
9423 PyObject
* obj0
= 0 ;
9424 PyObject
* obj1
= 0 ;
9425 char * kwnames
[] = {
9426 (char *) "self",(char *) "n", NULL
9429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9431 if (!SWIG_IsOK(res1
)) {
9432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9434 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9435 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9436 if (!SWIG_IsOK(ecode2
)) {
9437 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9439 arg2
= static_cast< int >(val2
);
9441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9442 (arg1
)->Deselect(arg2
);
9443 wxPyEndAllowThreads(__tstate
);
9444 if (PyErr_Occurred()) SWIG_fail
;
9446 resultobj
= SWIG_Py_Void();
9453 SWIGINTERN PyObject
*_wrap_ListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9454 PyObject
*resultobj
= 0;
9455 wxListBox
*arg1
= (wxListBox
*) 0 ;
9456 int arg2
= (int) -1 ;
9461 PyObject
* obj0
= 0 ;
9462 PyObject
* obj1
= 0 ;
9463 char * kwnames
[] = {
9464 (char *) "self",(char *) "itemToLeaveSelected", NULL
9467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9469 if (!SWIG_IsOK(res1
)) {
9470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9472 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9474 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9475 if (!SWIG_IsOK(ecode2
)) {
9476 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9478 arg2
= static_cast< int >(val2
);
9481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9482 (arg1
)->DeselectAll(arg2
);
9483 wxPyEndAllowThreads(__tstate
);
9484 if (PyErr_Occurred()) SWIG_fail
;
9486 resultobj
= SWIG_Py_Void();
9493 SWIGINTERN PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9494 PyObject
*resultobj
= 0;
9495 wxListBox
*arg1
= (wxListBox
*) 0 ;
9496 wxString
*arg2
= 0 ;
9497 bool arg3
= (bool) true ;
9501 bool temp2
= false ;
9504 PyObject
* obj0
= 0 ;
9505 PyObject
* obj1
= 0 ;
9506 PyObject
* obj2
= 0 ;
9507 char * kwnames
[] = {
9508 (char *) "self",(char *) "s",(char *) "select", NULL
9511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9513 if (!SWIG_IsOK(res1
)) {
9514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetStringSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9516 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9518 arg2
= wxString_in_helper(obj1
);
9519 if (arg2
== NULL
) SWIG_fail
;
9523 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9524 if (!SWIG_IsOK(ecode3
)) {
9525 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9527 arg3
= static_cast< bool >(val3
);
9530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9531 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
9532 wxPyEndAllowThreads(__tstate
);
9533 if (PyErr_Occurred()) SWIG_fail
;
9536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9552 SWIGINTERN PyObject
*_wrap_ListBox_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9553 PyObject
*resultobj
= 0;
9554 wxListBox
*arg1
= (wxListBox
*) 0 ;
9555 PyObject
*result
= 0 ;
9558 PyObject
*swig_obj
[1] ;
9560 if (!args
) SWIG_fail
;
9562 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9563 if (!SWIG_IsOK(res1
)) {
9564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9566 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9569 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
9570 wxPyEndAllowThreads(__tstate
);
9571 if (PyErr_Occurred()) SWIG_fail
;
9580 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9581 PyObject
*resultobj
= 0;
9582 wxListBox
*arg1
= (wxListBox
*) 0 ;
9588 PyObject
* obj0
= 0 ;
9589 PyObject
* obj1
= 0 ;
9590 char * kwnames
[] = {
9591 (char *) "self",(char *) "n", NULL
9594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9596 if (!SWIG_IsOK(res1
)) {
9597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9599 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9600 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9601 if (!SWIG_IsOK(ecode2
)) {
9602 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9604 arg2
= static_cast< int >(val2
);
9606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9607 (arg1
)->SetFirstItem(arg2
);
9608 wxPyEndAllowThreads(__tstate
);
9609 if (PyErr_Occurred()) SWIG_fail
;
9611 resultobj
= SWIG_Py_Void();
9618 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9619 PyObject
*resultobj
= 0;
9620 wxListBox
*arg1
= (wxListBox
*) 0 ;
9621 wxString
*arg2
= 0 ;
9624 bool temp2
= false ;
9625 PyObject
* obj0
= 0 ;
9626 PyObject
* obj1
= 0 ;
9627 char * kwnames
[] = {
9628 (char *) "self",(char *) "s", NULL
9631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9633 if (!SWIG_IsOK(res1
)) {
9634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9636 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9638 arg2
= wxString_in_helper(obj1
);
9639 if (arg2
== NULL
) SWIG_fail
;
9643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9644 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
9645 wxPyEndAllowThreads(__tstate
);
9646 if (PyErr_Occurred()) SWIG_fail
;
9648 resultobj
= SWIG_Py_Void();
9663 SWIGINTERN PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9664 PyObject
*resultobj
= 0;
9665 wxListBox
*arg1
= (wxListBox
*) 0 ;
9671 PyObject
* obj0
= 0 ;
9672 PyObject
* obj1
= 0 ;
9673 char * kwnames
[] = {
9674 (char *) "self",(char *) "n", NULL
9677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9679 if (!SWIG_IsOK(res1
)) {
9680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9682 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9683 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9684 if (!SWIG_IsOK(ecode2
)) {
9685 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9687 arg2
= static_cast< int >(val2
);
9689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9690 (arg1
)->EnsureVisible(arg2
);
9691 wxPyEndAllowThreads(__tstate
);
9692 if (PyErr_Occurred()) SWIG_fail
;
9694 resultobj
= SWIG_Py_Void();
9701 SWIGINTERN PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9702 PyObject
*resultobj
= 0;
9703 wxListBox
*arg1
= (wxListBox
*) 0 ;
9704 wxString
*arg2
= 0 ;
9707 bool temp2
= false ;
9708 PyObject
* obj0
= 0 ;
9709 PyObject
* obj1
= 0 ;
9710 char * kwnames
[] = {
9711 (char *) "self",(char *) "s", NULL
9714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9716 if (!SWIG_IsOK(res1
)) {
9717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9719 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9721 arg2
= wxString_in_helper(obj1
);
9722 if (arg2
== NULL
) SWIG_fail
;
9726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9727 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
9728 wxPyEndAllowThreads(__tstate
);
9729 if (PyErr_Occurred()) SWIG_fail
;
9731 resultobj
= SWIG_Py_Void();
9746 SWIGINTERN PyObject
*_wrap_ListBox_IsSorted(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9747 PyObject
*resultobj
= 0;
9748 wxListBox
*arg1
= (wxListBox
*) 0 ;
9752 PyObject
*swig_obj
[1] ;
9754 if (!args
) SWIG_fail
;
9756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9757 if (!SWIG_IsOK(res1
)) {
9758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9760 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9763 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
9764 wxPyEndAllowThreads(__tstate
);
9765 if (PyErr_Occurred()) SWIG_fail
;
9768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9776 SWIGINTERN PyObject
*_wrap_ListBox_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9777 PyObject
*resultobj
= 0;
9778 wxListBox
*arg1
= (wxListBox
*) 0 ;
9784 PyObject
* obj0
= 0 ;
9785 PyObject
* obj1
= 0 ;
9786 char * kwnames
[] = {
9787 (char *) "self",(char *) "pt", NULL
9790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9792 if (!SWIG_IsOK(res1
)) {
9793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9795 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9798 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9802 result
= (int)((wxListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9803 wxPyEndAllowThreads(__tstate
);
9804 if (PyErr_Occurred()) SWIG_fail
;
9806 resultobj
= SWIG_From_int(static_cast< int >(result
));
9813 SWIGINTERN PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9814 PyObject
*resultobj
= 0;
9815 wxListBox
*arg1
= (wxListBox
*) 0 ;
9817 wxColour
*arg3
= 0 ;
9823 PyObject
* obj0
= 0 ;
9824 PyObject
* obj1
= 0 ;
9825 PyObject
* obj2
= 0 ;
9826 char * kwnames
[] = {
9827 (char *) "self",(char *) "item",(char *) "c", NULL
9830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9832 if (!SWIG_IsOK(res1
)) {
9833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9835 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9836 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9837 if (!SWIG_IsOK(ecode2
)) {
9838 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
9840 arg2
= static_cast< int >(val2
);
9843 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9847 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9848 wxPyEndAllowThreads(__tstate
);
9849 if (PyErr_Occurred()) SWIG_fail
;
9851 resultobj
= SWIG_Py_Void();
9858 SWIGINTERN PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9859 PyObject
*resultobj
= 0;
9860 wxListBox
*arg1
= (wxListBox
*) 0 ;
9862 wxColour
*arg3
= 0 ;
9868 PyObject
* obj0
= 0 ;
9869 PyObject
* obj1
= 0 ;
9870 PyObject
* obj2
= 0 ;
9871 char * kwnames
[] = {
9872 (char *) "self",(char *) "item",(char *) "c", NULL
9875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9877 if (!SWIG_IsOK(res1
)) {
9878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9880 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9881 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9882 if (!SWIG_IsOK(ecode2
)) {
9883 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
9885 arg2
= static_cast< int >(val2
);
9888 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9892 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9893 wxPyEndAllowThreads(__tstate
);
9894 if (PyErr_Occurred()) SWIG_fail
;
9896 resultobj
= SWIG_Py_Void();
9903 SWIGINTERN PyObject
*_wrap_ListBox_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9904 PyObject
*resultobj
= 0;
9905 wxListBox
*arg1
= (wxListBox
*) 0 ;
9914 PyObject
* obj0
= 0 ;
9915 PyObject
* obj1
= 0 ;
9916 PyObject
* obj2
= 0 ;
9917 char * kwnames
[] = {
9918 (char *) "self",(char *) "item",(char *) "f", NULL
9921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9923 if (!SWIG_IsOK(res1
)) {
9924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemFont" "', expected argument " "1"" of type '" "wxListBox *""'");
9926 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9927 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9928 if (!SWIG_IsOK(ecode2
)) {
9929 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemFont" "', expected argument " "2"" of type '" "int""'");
9931 arg2
= static_cast< int >(val2
);
9932 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
9933 if (!SWIG_IsOK(res3
)) {
9934 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9937 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9939 arg3
= reinterpret_cast< wxFont
* >(argp3
);
9941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9942 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
9943 wxPyEndAllowThreads(__tstate
);
9944 if (PyErr_Occurred()) SWIG_fail
;
9946 resultobj
= SWIG_Py_Void();
9953 SWIGINTERN PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9954 PyObject
*resultobj
= 0;
9955 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9956 SwigValueWrapper
<wxVisualAttributes
> result
;
9959 PyObject
* obj0
= 0 ;
9960 char * kwnames
[] = {
9961 (char *) "variant", NULL
9964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9966 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9967 if (!SWIG_IsOK(ecode1
)) {
9968 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9970 arg1
= static_cast< wxWindowVariant
>(val1
);
9973 if (!wxPyCheckForApp()) SWIG_fail
;
9974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9975 result
= wxListBox::GetClassDefaultAttributes(arg1
);
9976 wxPyEndAllowThreads(__tstate
);
9977 if (PyErr_Occurred()) SWIG_fail
;
9979 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9986 SWIGINTERN PyObject
*ListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9988 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9989 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox
, SWIG_NewClientData(obj
));
9990 return SWIG_Py_Void();
9993 SWIGINTERN PyObject
*ListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9994 return SWIG_Python_InitShadowInstance(args
);
9997 SWIGINTERN PyObject
*_wrap_new_CheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9998 PyObject
*resultobj
= 0;
9999 wxWindow
*arg1
= (wxWindow
*) 0 ;
10000 int arg2
= (int) -1 ;
10001 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10002 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10003 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10004 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10005 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
10006 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
10007 long arg6
= (long) 0 ;
10008 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10009 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10010 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
10011 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10012 wxCheckListBox
*result
= 0 ;
10019 bool temp5
= false ;
10024 bool temp8
= false ;
10025 PyObject
* obj0
= 0 ;
10026 PyObject
* obj1
= 0 ;
10027 PyObject
* obj2
= 0 ;
10028 PyObject
* obj3
= 0 ;
10029 PyObject
* obj4
= 0 ;
10030 PyObject
* obj5
= 0 ;
10031 PyObject
* obj6
= 0 ;
10032 PyObject
* obj7
= 0 ;
10033 char * kwnames
[] = {
10034 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
10038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10039 if (!SWIG_IsOK(res1
)) {
10040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
10042 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10044 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10045 if (!SWIG_IsOK(ecode2
)) {
10046 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
10048 arg2
= static_cast< int >(val2
);
10053 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10059 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10064 if (! PySequence_Check(obj4
)) {
10065 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10068 arg5
= new wxArrayString
;
10070 int i
, len
=PySequence_Length(obj4
);
10071 for (i
=0; i
<len
; i
++) {
10072 PyObject
* item
= PySequence_GetItem(obj4
, i
);
10073 wxString
* s
= wxString_in_helper(item
);
10074 if (PyErr_Occurred()) SWIG_fail
;
10082 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10083 if (!SWIG_IsOK(ecode6
)) {
10084 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
10086 arg6
= static_cast< long >(val6
);
10089 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
10090 if (!SWIG_IsOK(res7
)) {
10091 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10094 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10096 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
10100 arg8
= wxString_in_helper(obj7
);
10101 if (arg8
== NULL
) SWIG_fail
;
10106 if (!wxPyCheckForApp()) SWIG_fail
;
10107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10108 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10109 wxPyEndAllowThreads(__tstate
);
10110 if (PyErr_Occurred()) SWIG_fail
;
10112 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_NEW
| 0 );
10114 if (temp5
) delete arg5
;
10123 if (temp5
) delete arg5
;
10133 SWIGINTERN PyObject
*_wrap_new_PreCheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10134 PyObject
*resultobj
= 0;
10135 wxCheckListBox
*result
= 0 ;
10137 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckListBox",0,0,0)) SWIG_fail
;
10139 if (!wxPyCheckForApp()) SWIG_fail
;
10140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10141 result
= (wxCheckListBox
*)new wxCheckListBox();
10142 wxPyEndAllowThreads(__tstate
);
10143 if (PyErr_Occurred()) SWIG_fail
;
10145 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_OWN
| 0 );
10152 SWIGINTERN PyObject
*_wrap_CheckListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10153 PyObject
*resultobj
= 0;
10154 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10155 wxWindow
*arg2
= (wxWindow
*) 0 ;
10156 int arg3
= (int) -1 ;
10157 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10158 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10159 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10160 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10161 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10162 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10163 long arg7
= (long) 0 ;
10164 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
10165 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
10166 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
10167 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10177 bool temp6
= false ;
10182 bool temp9
= false ;
10183 PyObject
* obj0
= 0 ;
10184 PyObject
* obj1
= 0 ;
10185 PyObject
* obj2
= 0 ;
10186 PyObject
* obj3
= 0 ;
10187 PyObject
* obj4
= 0 ;
10188 PyObject
* obj5
= 0 ;
10189 PyObject
* obj6
= 0 ;
10190 PyObject
* obj7
= 0 ;
10191 PyObject
* obj8
= 0 ;
10192 char * kwnames
[] = {
10193 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
10197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10198 if (!SWIG_IsOK(res1
)) {
10199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10201 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10202 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10203 if (!SWIG_IsOK(res2
)) {
10204 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10206 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10208 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10209 if (!SWIG_IsOK(ecode3
)) {
10210 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10212 arg3
= static_cast< int >(val3
);
10217 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10223 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10228 if (! PySequence_Check(obj5
)) {
10229 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10232 arg6
= new wxArrayString
;
10234 int i
, len
=PySequence_Length(obj5
);
10235 for (i
=0; i
<len
; i
++) {
10236 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10237 wxString
* s
= wxString_in_helper(item
);
10238 if (PyErr_Occurred()) SWIG_fail
;
10246 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
10247 if (!SWIG_IsOK(ecode7
)) {
10248 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10250 arg7
= static_cast< long >(val7
);
10253 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
10254 if (!SWIG_IsOK(res8
)) {
10255 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10258 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10260 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
10264 arg9
= wxString_in_helper(obj8
);
10265 if (arg9
== NULL
) SWIG_fail
;
10270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10271 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10272 wxPyEndAllowThreads(__tstate
);
10273 if (PyErr_Occurred()) SWIG_fail
;
10276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10279 if (temp6
) delete arg6
;
10288 if (temp6
) delete arg6
;
10298 SWIGINTERN PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10299 PyObject
*resultobj
= 0;
10300 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10301 unsigned int arg2
;
10305 unsigned int val2
;
10307 PyObject
* obj0
= 0 ;
10308 PyObject
* obj1
= 0 ;
10309 char * kwnames
[] = {
10310 (char *) "self",(char *) "index", NULL
10313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10315 if (!SWIG_IsOK(res1
)) {
10316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10318 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10319 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10320 if (!SWIG_IsOK(ecode2
)) {
10321 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_IsChecked" "', expected argument " "2"" of type '" "unsigned int""'");
10323 arg2
= static_cast< unsigned int >(val2
);
10325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10326 result
= (bool)(arg1
)->IsChecked(arg2
);
10327 wxPyEndAllowThreads(__tstate
);
10328 if (PyErr_Occurred()) SWIG_fail
;
10331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10339 SWIGINTERN PyObject
*_wrap_CheckListBox_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10340 PyObject
*resultobj
= 0;
10341 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10342 unsigned int arg2
;
10343 int arg3
= (int) true ;
10346 unsigned int val2
;
10350 PyObject
* obj0
= 0 ;
10351 PyObject
* obj1
= 0 ;
10352 PyObject
* obj2
= 0 ;
10353 char * kwnames
[] = {
10354 (char *) "self",(char *) "index",(char *) "check", NULL
10357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10359 if (!SWIG_IsOK(res1
)) {
10360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10362 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10363 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10364 if (!SWIG_IsOK(ecode2
)) {
10365 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "unsigned int""'");
10367 arg2
= static_cast< unsigned int >(val2
);
10369 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10370 if (!SWIG_IsOK(ecode3
)) {
10371 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10373 arg3
= static_cast< int >(val3
);
10376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10377 (arg1
)->Check(arg2
,arg3
);
10378 wxPyEndAllowThreads(__tstate
);
10379 if (PyErr_Occurred()) SWIG_fail
;
10381 resultobj
= SWIG_Py_Void();
10388 SWIGINTERN PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10389 PyObject
*resultobj
= 0;
10390 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10394 PyObject
*swig_obj
[1] ;
10396 if (!args
) SWIG_fail
;
10397 swig_obj
[0] = args
;
10398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10399 if (!SWIG_IsOK(res1
)) {
10400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_GetItemHeight" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10402 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10405 result
= (int)(arg1
)->GetItemHeight();
10406 wxPyEndAllowThreads(__tstate
);
10407 if (PyErr_Occurred()) SWIG_fail
;
10409 resultobj
= SWIG_From_int(static_cast< int >(result
));
10416 SWIGINTERN PyObject
*CheckListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10418 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10419 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox
, SWIG_NewClientData(obj
));
10420 return SWIG_Py_Void();
10423 SWIGINTERN PyObject
*CheckListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10424 return SWIG_Python_InitShadowInstance(args
);
10427 SWIGINTERN
int TextCtrlNameStr_set(PyObject
*) {
10428 SWIG_Error(SWIG_AttributeError
,"Variable TextCtrlNameStr is read-only.");
10433 SWIGINTERN PyObject
*TextCtrlNameStr_get(void) {
10434 PyObject
*pyobj
= 0;
10438 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10440 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10447 SWIGINTERN PyObject
*_wrap_new_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10448 PyObject
*resultobj
= 0;
10449 wxColour
const &arg1_defvalue
= wxNullColour
;
10450 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
10451 wxColour
const &arg2_defvalue
= wxNullColour
;
10452 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
10453 wxFont
const &arg3_defvalue
= wxNullFont
;
10454 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
10455 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
10456 wxTextAttr
*result
= 0 ;
10463 PyObject
* obj0
= 0 ;
10464 PyObject
* obj1
= 0 ;
10465 PyObject
* obj2
= 0 ;
10466 PyObject
* obj3
= 0 ;
10467 char * kwnames
[] = {
10468 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10475 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
10481 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10485 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
10486 if (!SWIG_IsOK(res3
)) {
10487 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10490 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10492 arg3
= reinterpret_cast< wxFont
* >(argp3
);
10495 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10496 if (!SWIG_IsOK(ecode4
)) {
10497 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10499 arg4
= static_cast< wxTextAttrAlignment
>(val4
);
10502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10503 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,arg4
);
10504 wxPyEndAllowThreads(__tstate
);
10505 if (PyErr_Occurred()) SWIG_fail
;
10507 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_NEW
| 0 );
10514 SWIGINTERN PyObject
*_wrap_delete_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10515 PyObject
*resultobj
= 0;
10516 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10519 PyObject
*swig_obj
[1] ;
10521 if (!args
) SWIG_fail
;
10522 swig_obj
[0] = args
;
10523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_DISOWN
| 0 );
10524 if (!SWIG_IsOK(res1
)) {
10525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10527 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10532 wxPyEndAllowThreads(__tstate
);
10533 if (PyErr_Occurred()) SWIG_fail
;
10535 resultobj
= SWIG_Py_Void();
10542 SWIGINTERN PyObject
*_wrap_TextAttr_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10543 PyObject
*resultobj
= 0;
10544 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10547 PyObject
*swig_obj
[1] ;
10549 if (!args
) SWIG_fail
;
10550 swig_obj
[0] = args
;
10551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10552 if (!SWIG_IsOK(res1
)) {
10553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10555 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10559 wxPyEndAllowThreads(__tstate
);
10560 if (PyErr_Occurred()) SWIG_fail
;
10562 resultobj
= SWIG_Py_Void();
10569 SWIGINTERN PyObject
*_wrap_TextAttr_Merge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10570 PyObject
*resultobj
= 0;
10571 wxTextAttr
*arg1
= 0 ;
10572 wxTextAttr
*arg2
= 0 ;
10578 PyObject
* obj0
= 0 ;
10579 PyObject
* obj1
= 0 ;
10580 char * kwnames
[] = {
10581 (char *) "base",(char *) "overlay", NULL
10584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_Merge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10585 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10586 if (!SWIG_IsOK(res1
)) {
10587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10590 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10592 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10593 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10594 if (!SWIG_IsOK(res2
)) {
10595 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10598 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10600 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
10602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10603 result
= wxTextAttr::Merge((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
);
10604 wxPyEndAllowThreads(__tstate
);
10605 if (PyErr_Occurred()) SWIG_fail
;
10607 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
10614 SWIGINTERN PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10615 PyObject
*resultobj
= 0;
10616 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10617 wxColour
*arg2
= 0 ;
10621 PyObject
* obj0
= 0 ;
10622 PyObject
* obj1
= 0 ;
10623 char * kwnames
[] = {
10624 (char *) "self",(char *) "colText", NULL
10627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10629 if (!SWIG_IsOK(res1
)) {
10630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10632 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10635 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10639 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
10640 wxPyEndAllowThreads(__tstate
);
10641 if (PyErr_Occurred()) SWIG_fail
;
10643 resultobj
= SWIG_Py_Void();
10650 SWIGINTERN PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10651 PyObject
*resultobj
= 0;
10652 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10653 wxColour
*arg2
= 0 ;
10657 PyObject
* obj0
= 0 ;
10658 PyObject
* obj1
= 0 ;
10659 char * kwnames
[] = {
10660 (char *) "self",(char *) "colBack", NULL
10663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10665 if (!SWIG_IsOK(res1
)) {
10666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10668 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10671 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10675 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
10676 wxPyEndAllowThreads(__tstate
);
10677 if (PyErr_Occurred()) SWIG_fail
;
10679 resultobj
= SWIG_Py_Void();
10686 SWIGINTERN PyObject
*_wrap_TextAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10687 PyObject
*resultobj
= 0;
10688 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10690 long arg3
= (long) wxTEXT_ATTR_FONT
;
10697 PyObject
* obj0
= 0 ;
10698 PyObject
* obj1
= 0 ;
10699 PyObject
* obj2
= 0 ;
10700 char * kwnames
[] = {
10701 (char *) "self",(char *) "font",(char *) "flags", NULL
10704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10706 if (!SWIG_IsOK(res1
)) {
10707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10709 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10710 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
10711 if (!SWIG_IsOK(res2
)) {
10712 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10715 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10717 arg2
= reinterpret_cast< wxFont
* >(argp2
);
10719 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10720 if (!SWIG_IsOK(ecode3
)) {
10721 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10723 arg3
= static_cast< long >(val3
);
10726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10727 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
10728 wxPyEndAllowThreads(__tstate
);
10729 if (PyErr_Occurred()) SWIG_fail
;
10731 resultobj
= SWIG_Py_Void();
10738 SWIGINTERN PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10739 PyObject
*resultobj
= 0;
10740 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10741 wxTextAttrAlignment arg2
;
10746 PyObject
* obj0
= 0 ;
10747 PyObject
* obj1
= 0 ;
10748 char * kwnames
[] = {
10749 (char *) "self",(char *) "alignment", NULL
10752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10754 if (!SWIG_IsOK(res1
)) {
10755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10757 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10758 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10759 if (!SWIG_IsOK(ecode2
)) {
10760 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10762 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
10764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10765 (arg1
)->SetAlignment(arg2
);
10766 wxPyEndAllowThreads(__tstate
);
10767 if (PyErr_Occurred()) SWIG_fail
;
10769 resultobj
= SWIG_Py_Void();
10776 SWIGINTERN PyObject
*_wrap_TextAttr_SetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10777 PyObject
*resultobj
= 0;
10778 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10779 wxArrayInt
*arg2
= 0 ;
10782 bool temp2
= false ;
10783 PyObject
* obj0
= 0 ;
10784 PyObject
* obj1
= 0 ;
10785 char * kwnames
[] = {
10786 (char *) "self",(char *) "tabs", NULL
10789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10791 if (!SWIG_IsOK(res1
)) {
10792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10794 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10796 if (! PySequence_Check(obj1
)) {
10797 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10800 arg2
= new wxArrayInt
;
10802 int i
, len
=PySequence_Length(obj1
);
10803 for (i
=0; i
<len
; i
++) {
10804 PyObject
* item
= PySequence_GetItem(obj1
, i
);
10805 PyObject
* number
= PyNumber_Int(item
);
10806 arg2
->Add(PyInt_AS_LONG(number
));
10812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10813 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
10814 wxPyEndAllowThreads(__tstate
);
10815 if (PyErr_Occurred()) SWIG_fail
;
10817 resultobj
= SWIG_Py_Void();
10819 if (temp2
) delete arg2
;
10824 if (temp2
) delete arg2
;
10830 SWIGINTERN PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10831 PyObject
*resultobj
= 0;
10832 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10834 int arg3
= (int) 0 ;
10841 PyObject
* obj0
= 0 ;
10842 PyObject
* obj1
= 0 ;
10843 PyObject
* obj2
= 0 ;
10844 char * kwnames
[] = {
10845 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
10848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10850 if (!SWIG_IsOK(res1
)) {
10851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10853 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10854 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10855 if (!SWIG_IsOK(ecode2
)) {
10856 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
10858 arg2
= static_cast< int >(val2
);
10860 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10861 if (!SWIG_IsOK(ecode3
)) {
10862 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
10864 arg3
= static_cast< int >(val3
);
10867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10868 (arg1
)->SetLeftIndent(arg2
,arg3
);
10869 wxPyEndAllowThreads(__tstate
);
10870 if (PyErr_Occurred()) SWIG_fail
;
10872 resultobj
= SWIG_Py_Void();
10879 SWIGINTERN PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10880 PyObject
*resultobj
= 0;
10881 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10887 PyObject
* obj0
= 0 ;
10888 PyObject
* obj1
= 0 ;
10889 char * kwnames
[] = {
10890 (char *) "self",(char *) "indent", NULL
10893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10895 if (!SWIG_IsOK(res1
)) {
10896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10898 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10899 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10900 if (!SWIG_IsOK(ecode2
)) {
10901 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
10903 arg2
= static_cast< int >(val2
);
10905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10906 (arg1
)->SetRightIndent(arg2
);
10907 wxPyEndAllowThreads(__tstate
);
10908 if (PyErr_Occurred()) SWIG_fail
;
10910 resultobj
= SWIG_Py_Void();
10917 SWIGINTERN PyObject
*_wrap_TextAttr_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10918 PyObject
*resultobj
= 0;
10919 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10925 PyObject
* obj0
= 0 ;
10926 PyObject
* obj1
= 0 ;
10927 char * kwnames
[] = {
10928 (char *) "self",(char *) "flags", NULL
10931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10933 if (!SWIG_IsOK(res1
)) {
10934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10936 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10937 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10938 if (!SWIG_IsOK(ecode2
)) {
10939 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
10941 arg2
= static_cast< long >(val2
);
10943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10944 (arg1
)->SetFlags(arg2
);
10945 wxPyEndAllowThreads(__tstate
);
10946 if (PyErr_Occurred()) SWIG_fail
;
10948 resultobj
= SWIG_Py_Void();
10955 SWIGINTERN PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10956 PyObject
*resultobj
= 0;
10957 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10961 PyObject
*swig_obj
[1] ;
10963 if (!args
) SWIG_fail
;
10964 swig_obj
[0] = args
;
10965 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10966 if (!SWIG_IsOK(res1
)) {
10967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10969 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10972 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
10973 wxPyEndAllowThreads(__tstate
);
10974 if (PyErr_Occurred()) SWIG_fail
;
10977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10985 SWIGINTERN PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10986 PyObject
*resultobj
= 0;
10987 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10991 PyObject
*swig_obj
[1] ;
10993 if (!args
) SWIG_fail
;
10994 swig_obj
[0] = args
;
10995 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10996 if (!SWIG_IsOK(res1
)) {
10997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10999 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11002 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
11003 wxPyEndAllowThreads(__tstate
);
11004 if (PyErr_Occurred()) SWIG_fail
;
11007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11015 SWIGINTERN PyObject
*_wrap_TextAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11016 PyObject
*resultobj
= 0;
11017 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11021 PyObject
*swig_obj
[1] ;
11023 if (!args
) SWIG_fail
;
11024 swig_obj
[0] = args
;
11025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11026 if (!SWIG_IsOK(res1
)) {
11027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11029 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11032 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
11033 wxPyEndAllowThreads(__tstate
);
11034 if (PyErr_Occurred()) SWIG_fail
;
11037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11045 SWIGINTERN PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11046 PyObject
*resultobj
= 0;
11047 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11051 PyObject
*swig_obj
[1] ;
11053 if (!args
) SWIG_fail
;
11054 swig_obj
[0] = args
;
11055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11056 if (!SWIG_IsOK(res1
)) {
11057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11059 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11062 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
11063 wxPyEndAllowThreads(__tstate
);
11064 if (PyErr_Occurred()) SWIG_fail
;
11067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11075 SWIGINTERN PyObject
*_wrap_TextAttr_HasTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11076 PyObject
*resultobj
= 0;
11077 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11081 PyObject
*swig_obj
[1] ;
11083 if (!args
) SWIG_fail
;
11084 swig_obj
[0] = args
;
11085 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11086 if (!SWIG_IsOK(res1
)) {
11087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11089 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11092 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
11093 wxPyEndAllowThreads(__tstate
);
11094 if (PyErr_Occurred()) SWIG_fail
;
11097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11105 SWIGINTERN PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11106 PyObject
*resultobj
= 0;
11107 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11111 PyObject
*swig_obj
[1] ;
11113 if (!args
) SWIG_fail
;
11114 swig_obj
[0] = args
;
11115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11116 if (!SWIG_IsOK(res1
)) {
11117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11119 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11122 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
11123 wxPyEndAllowThreads(__tstate
);
11124 if (PyErr_Occurred()) SWIG_fail
;
11127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11135 SWIGINTERN PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11136 PyObject
*resultobj
= 0;
11137 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11141 PyObject
*swig_obj
[1] ;
11143 if (!args
) SWIG_fail
;
11144 swig_obj
[0] = args
;
11145 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11146 if (!SWIG_IsOK(res1
)) {
11147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11149 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11152 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
11153 wxPyEndAllowThreads(__tstate
);
11154 if (PyErr_Occurred()) SWIG_fail
;
11157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11165 SWIGINTERN PyObject
*_wrap_TextAttr_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11166 PyObject
*resultobj
= 0;
11167 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11174 PyObject
* obj0
= 0 ;
11175 PyObject
* obj1
= 0 ;
11176 char * kwnames
[] = {
11177 (char *) "self",(char *) "flag", NULL
11180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11182 if (!SWIG_IsOK(res1
)) {
11183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11185 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11186 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11187 if (!SWIG_IsOK(ecode2
)) {
11188 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11190 arg2
= static_cast< long >(val2
);
11192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11193 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
11194 wxPyEndAllowThreads(__tstate
);
11195 if (PyErr_Occurred()) SWIG_fail
;
11198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11206 SWIGINTERN PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11207 PyObject
*resultobj
= 0;
11208 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11209 wxColour
*result
= 0 ;
11212 PyObject
*swig_obj
[1] ;
11214 if (!args
) SWIG_fail
;
11215 swig_obj
[0] = args
;
11216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11217 if (!SWIG_IsOK(res1
)) {
11218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11220 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11224 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
11225 result
= (wxColour
*) &_result_ref
;
11227 wxPyEndAllowThreads(__tstate
);
11228 if (PyErr_Occurred()) SWIG_fail
;
11230 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11237 SWIGINTERN PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11238 PyObject
*resultobj
= 0;
11239 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11240 wxColour
*result
= 0 ;
11243 PyObject
*swig_obj
[1] ;
11245 if (!args
) SWIG_fail
;
11246 swig_obj
[0] = args
;
11247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11248 if (!SWIG_IsOK(res1
)) {
11249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11251 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11255 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
11256 result
= (wxColour
*) &_result_ref
;
11258 wxPyEndAllowThreads(__tstate
);
11259 if (PyErr_Occurred()) SWIG_fail
;
11261 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11268 SWIGINTERN PyObject
*_wrap_TextAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11269 PyObject
*resultobj
= 0;
11270 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11271 wxFont
*result
= 0 ;
11274 PyObject
*swig_obj
[1] ;
11276 if (!args
) SWIG_fail
;
11277 swig_obj
[0] = args
;
11278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11279 if (!SWIG_IsOK(res1
)) {
11280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11282 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11286 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
11287 result
= (wxFont
*) &_result_ref
;
11289 wxPyEndAllowThreads(__tstate
);
11290 if (PyErr_Occurred()) SWIG_fail
;
11293 wxFont
* resultptr
= new wxFont(*result
);
11294 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
11302 SWIGINTERN PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11303 PyObject
*resultobj
= 0;
11304 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11305 wxTextAttrAlignment result
;
11308 PyObject
*swig_obj
[1] ;
11310 if (!args
) SWIG_fail
;
11311 swig_obj
[0] = args
;
11312 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11313 if (!SWIG_IsOK(res1
)) {
11314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11316 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11319 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
11320 wxPyEndAllowThreads(__tstate
);
11321 if (PyErr_Occurred()) SWIG_fail
;
11323 resultobj
= SWIG_From_int(static_cast< int >(result
));
11330 SWIGINTERN PyObject
*_wrap_TextAttr_GetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11331 PyObject
*resultobj
= 0;
11332 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11333 wxArrayInt
*result
= 0 ;
11336 PyObject
*swig_obj
[1] ;
11338 if (!args
) SWIG_fail
;
11339 swig_obj
[0] = args
;
11340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11341 if (!SWIG_IsOK(res1
)) {
11342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11344 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11348 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
11349 result
= (wxArrayInt
*) &_result_ref
;
11351 wxPyEndAllowThreads(__tstate
);
11352 if (PyErr_Occurred()) SWIG_fail
;
11355 resultobj
= PyList_New(0);
11357 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
11358 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
11359 PyList_Append(resultobj
, val
);
11369 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11370 PyObject
*resultobj
= 0;
11371 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11375 PyObject
*swig_obj
[1] ;
11377 if (!args
) SWIG_fail
;
11378 swig_obj
[0] = args
;
11379 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11380 if (!SWIG_IsOK(res1
)) {
11381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11383 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11386 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
11387 wxPyEndAllowThreads(__tstate
);
11388 if (PyErr_Occurred()) SWIG_fail
;
11390 resultobj
= SWIG_From_long(static_cast< long >(result
));
11397 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11398 PyObject
*resultobj
= 0;
11399 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11403 PyObject
*swig_obj
[1] ;
11405 if (!args
) SWIG_fail
;
11406 swig_obj
[0] = args
;
11407 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11408 if (!SWIG_IsOK(res1
)) {
11409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11411 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11414 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
11415 wxPyEndAllowThreads(__tstate
);
11416 if (PyErr_Occurred()) SWIG_fail
;
11418 resultobj
= SWIG_From_long(static_cast< long >(result
));
11425 SWIGINTERN PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11426 PyObject
*resultobj
= 0;
11427 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11431 PyObject
*swig_obj
[1] ;
11433 if (!args
) SWIG_fail
;
11434 swig_obj
[0] = args
;
11435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11436 if (!SWIG_IsOK(res1
)) {
11437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11439 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11442 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
11443 wxPyEndAllowThreads(__tstate
);
11444 if (PyErr_Occurred()) SWIG_fail
;
11446 resultobj
= SWIG_From_long(static_cast< long >(result
));
11453 SWIGINTERN PyObject
*_wrap_TextAttr_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11454 PyObject
*resultobj
= 0;
11455 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11459 PyObject
*swig_obj
[1] ;
11461 if (!args
) SWIG_fail
;
11462 swig_obj
[0] = args
;
11463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11464 if (!SWIG_IsOK(res1
)) {
11465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11467 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11470 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
11471 wxPyEndAllowThreads(__tstate
);
11472 if (PyErr_Occurred()) SWIG_fail
;
11474 resultobj
= SWIG_From_long(static_cast< long >(result
));
11481 SWIGINTERN PyObject
*_wrap_TextAttr_IsDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11482 PyObject
*resultobj
= 0;
11483 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11487 PyObject
*swig_obj
[1] ;
11489 if (!args
) SWIG_fail
;
11490 swig_obj
[0] = args
;
11491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11492 if (!SWIG_IsOK(res1
)) {
11493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11495 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11498 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
11499 wxPyEndAllowThreads(__tstate
);
11500 if (PyErr_Occurred()) SWIG_fail
;
11503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11511 SWIGINTERN PyObject
*_wrap_TextAttr_Combine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11512 PyObject
*resultobj
= 0;
11513 wxTextAttr
*arg1
= 0 ;
11514 wxTextAttr
*arg2
= 0 ;
11515 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
11523 PyObject
* obj0
= 0 ;
11524 PyObject
* obj1
= 0 ;
11525 PyObject
* obj2
= 0 ;
11526 char * kwnames
[] = {
11527 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11531 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11532 if (!SWIG_IsOK(res1
)) {
11533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11536 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11538 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11539 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11540 if (!SWIG_IsOK(res2
)) {
11541 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11544 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11546 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
11547 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11548 if (!SWIG_IsOK(res3
)) {
11549 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11551 arg3
= reinterpret_cast< wxTextCtrl
* >(argp3
);
11553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11554 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
11555 wxPyEndAllowThreads(__tstate
);
11556 if (PyErr_Occurred()) SWIG_fail
;
11558 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
11565 SWIGINTERN PyObject
*TextAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11567 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11568 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr
, SWIG_NewClientData(obj
));
11569 return SWIG_Py_Void();
11572 SWIGINTERN PyObject
*TextAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11573 return SWIG_Python_InitShadowInstance(args
);
11576 SWIGINTERN PyObject
*_wrap_new_TextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11577 PyObject
*resultobj
= 0;
11578 wxWindow
*arg1
= (wxWindow
*) 0 ;
11579 int arg2
= (int) -1 ;
11580 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11581 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11582 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11583 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11584 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11585 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11586 long arg6
= (long) 0 ;
11587 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11588 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11589 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
11590 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11591 wxTextCtrl
*result
= 0 ;
11596 bool temp3
= false ;
11603 bool temp8
= false ;
11604 PyObject
* obj0
= 0 ;
11605 PyObject
* obj1
= 0 ;
11606 PyObject
* obj2
= 0 ;
11607 PyObject
* obj3
= 0 ;
11608 PyObject
* obj4
= 0 ;
11609 PyObject
* obj5
= 0 ;
11610 PyObject
* obj6
= 0 ;
11611 PyObject
* obj7
= 0 ;
11612 char * kwnames
[] = {
11613 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
11617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11618 if (!SWIG_IsOK(res1
)) {
11619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11621 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11623 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11624 if (!SWIG_IsOK(ecode2
)) {
11625 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11627 arg2
= static_cast< int >(val2
);
11631 arg3
= wxString_in_helper(obj2
);
11632 if (arg3
== NULL
) SWIG_fail
;
11639 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11645 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11649 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11650 if (!SWIG_IsOK(ecode6
)) {
11651 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11653 arg6
= static_cast< long >(val6
);
11656 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
11657 if (!SWIG_IsOK(res7
)) {
11658 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11661 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11663 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
11667 arg8
= wxString_in_helper(obj7
);
11668 if (arg8
== NULL
) SWIG_fail
;
11673 if (!wxPyCheckForApp()) SWIG_fail
;
11674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11675 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11676 wxPyEndAllowThreads(__tstate
);
11677 if (PyErr_Occurred()) SWIG_fail
;
11679 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_NEW
| 0 );
11702 SWIGINTERN PyObject
*_wrap_new_PreTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11703 PyObject
*resultobj
= 0;
11704 wxTextCtrl
*result
= 0 ;
11706 if (!SWIG_Python_UnpackTuple(args
,"new_PreTextCtrl",0,0,0)) SWIG_fail
;
11708 if (!wxPyCheckForApp()) SWIG_fail
;
11709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11710 result
= (wxTextCtrl
*)new wxTextCtrl();
11711 wxPyEndAllowThreads(__tstate
);
11712 if (PyErr_Occurred()) SWIG_fail
;
11714 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_OWN
| 0 );
11721 SWIGINTERN PyObject
*_wrap_TextCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11722 PyObject
*resultobj
= 0;
11723 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11724 wxWindow
*arg2
= (wxWindow
*) 0 ;
11725 int arg3
= (int) -1 ;
11726 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11727 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11728 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11729 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11730 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11731 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11732 long arg7
= (long) 0 ;
11733 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11734 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11735 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
11736 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11744 bool temp4
= false ;
11751 bool temp9
= false ;
11752 PyObject
* obj0
= 0 ;
11753 PyObject
* obj1
= 0 ;
11754 PyObject
* obj2
= 0 ;
11755 PyObject
* obj3
= 0 ;
11756 PyObject
* obj4
= 0 ;
11757 PyObject
* obj5
= 0 ;
11758 PyObject
* obj6
= 0 ;
11759 PyObject
* obj7
= 0 ;
11760 PyObject
* obj8
= 0 ;
11761 char * kwnames
[] = {
11762 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
11766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11767 if (!SWIG_IsOK(res1
)) {
11768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11770 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11771 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11772 if (!SWIG_IsOK(res2
)) {
11773 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11775 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11777 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11778 if (!SWIG_IsOK(ecode3
)) {
11779 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11781 arg3
= static_cast< int >(val3
);
11785 arg4
= wxString_in_helper(obj3
);
11786 if (arg4
== NULL
) SWIG_fail
;
11793 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11799 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11803 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
11804 if (!SWIG_IsOK(ecode7
)) {
11805 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11807 arg7
= static_cast< long >(val7
);
11810 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
11811 if (!SWIG_IsOK(res8
)) {
11812 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11815 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11817 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
11821 arg9
= wxString_in_helper(obj8
);
11822 if (arg9
== NULL
) SWIG_fail
;
11827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11828 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11829 wxPyEndAllowThreads(__tstate
);
11830 if (PyErr_Occurred()) SWIG_fail
;
11833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11857 SWIGINTERN PyObject
*_wrap_TextCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11858 PyObject
*resultobj
= 0;
11859 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11863 PyObject
*swig_obj
[1] ;
11865 if (!args
) SWIG_fail
;
11866 swig_obj
[0] = args
;
11867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11868 if (!SWIG_IsOK(res1
)) {
11869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11871 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11874 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
11875 wxPyEndAllowThreads(__tstate
);
11876 if (PyErr_Occurred()) SWIG_fail
;
11880 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11882 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11891 SWIGINTERN PyObject
*_wrap_TextCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11892 PyObject
*resultobj
= 0;
11893 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11894 wxString
*arg2
= 0 ;
11897 bool temp2
= false ;
11898 PyObject
* obj0
= 0 ;
11899 PyObject
* obj1
= 0 ;
11900 char * kwnames
[] = {
11901 (char *) "self",(char *) "value", NULL
11904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11906 if (!SWIG_IsOK(res1
)) {
11907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11909 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11911 arg2
= wxString_in_helper(obj1
);
11912 if (arg2
== NULL
) SWIG_fail
;
11916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11917 (arg1
)->SetValue((wxString
const &)*arg2
);
11918 wxPyEndAllowThreads(__tstate
);
11919 if (PyErr_Occurred()) SWIG_fail
;
11921 resultobj
= SWIG_Py_Void();
11936 SWIGINTERN PyObject
*_wrap_TextCtrl_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11937 PyObject
*resultobj
= 0;
11938 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11948 PyObject
* obj0
= 0 ;
11949 PyObject
* obj1
= 0 ;
11950 PyObject
* obj2
= 0 ;
11951 char * kwnames
[] = {
11952 (char *) "self",(char *) "from",(char *) "to", NULL
11955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11957 if (!SWIG_IsOK(res1
)) {
11958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11960 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11961 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11962 if (!SWIG_IsOK(ecode2
)) {
11963 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
11965 arg2
= static_cast< long >(val2
);
11966 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
11967 if (!SWIG_IsOK(ecode3
)) {
11968 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
11970 arg3
= static_cast< long >(val3
);
11972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11973 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
11974 wxPyEndAllowThreads(__tstate
);
11975 if (PyErr_Occurred()) SWIG_fail
;
11979 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11981 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11990 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11991 PyObject
*resultobj
= 0;
11992 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11999 PyObject
* obj0
= 0 ;
12000 PyObject
* obj1
= 0 ;
12001 char * kwnames
[] = {
12002 (char *) "self",(char *) "lineNo", NULL
12005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12007 if (!SWIG_IsOK(res1
)) {
12008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12010 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12011 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12012 if (!SWIG_IsOK(ecode2
)) {
12013 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
12015 arg2
= static_cast< long >(val2
);
12017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12018 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
12019 wxPyEndAllowThreads(__tstate
);
12020 if (PyErr_Occurred()) SWIG_fail
;
12022 resultobj
= SWIG_From_int(static_cast< int >(result
));
12029 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12030 PyObject
*resultobj
= 0;
12031 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12038 PyObject
* obj0
= 0 ;
12039 PyObject
* obj1
= 0 ;
12040 char * kwnames
[] = {
12041 (char *) "self",(char *) "lineNo", NULL
12044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12046 if (!SWIG_IsOK(res1
)) {
12047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12049 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12050 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12051 if (!SWIG_IsOK(ecode2
)) {
12052 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
12054 arg2
= static_cast< long >(val2
);
12056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12057 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
12058 wxPyEndAllowThreads(__tstate
);
12059 if (PyErr_Occurred()) SWIG_fail
;
12063 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12065 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12074 SWIGINTERN PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12075 PyObject
*resultobj
= 0;
12076 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12080 PyObject
*swig_obj
[1] ;
12082 if (!args
) SWIG_fail
;
12083 swig_obj
[0] = args
;
12084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12085 if (!SWIG_IsOK(res1
)) {
12086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12088 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12091 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
12092 wxPyEndAllowThreads(__tstate
);
12093 if (PyErr_Occurred()) SWIG_fail
;
12095 resultobj
= SWIG_From_int(static_cast< int >(result
));
12102 SWIGINTERN PyObject
*_wrap_TextCtrl_IsModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12103 PyObject
*resultobj
= 0;
12104 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12108 PyObject
*swig_obj
[1] ;
12110 if (!args
) SWIG_fail
;
12111 swig_obj
[0] = args
;
12112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12113 if (!SWIG_IsOK(res1
)) {
12114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12116 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12119 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
12120 wxPyEndAllowThreads(__tstate
);
12121 if (PyErr_Occurred()) SWIG_fail
;
12124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12132 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12133 PyObject
*resultobj
= 0;
12134 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12138 PyObject
*swig_obj
[1] ;
12140 if (!args
) SWIG_fail
;
12141 swig_obj
[0] = args
;
12142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12143 if (!SWIG_IsOK(res1
)) {
12144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12146 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12149 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
12150 wxPyEndAllowThreads(__tstate
);
12151 if (PyErr_Occurred()) SWIG_fail
;
12154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12162 SWIGINTERN PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12163 PyObject
*resultobj
= 0;
12164 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12168 PyObject
*swig_obj
[1] ;
12170 if (!args
) SWIG_fail
;
12171 swig_obj
[0] = args
;
12172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12173 if (!SWIG_IsOK(res1
)) {
12174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12176 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12179 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
12180 wxPyEndAllowThreads(__tstate
);
12181 if (PyErr_Occurred()) SWIG_fail
;
12184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12192 SWIGINTERN PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12193 PyObject
*resultobj
= 0;
12194 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12198 PyObject
*swig_obj
[1] ;
12200 if (!args
) SWIG_fail
;
12201 swig_obj
[0] = args
;
12202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12203 if (!SWIG_IsOK(res1
)) {
12204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12206 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12209 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
12210 wxPyEndAllowThreads(__tstate
);
12211 if (PyErr_Occurred()) SWIG_fail
;
12214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12222 SWIGINTERN PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12223 PyObject
*resultobj
= 0;
12224 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12225 long *arg2
= (long *) 0 ;
12226 long *arg3
= (long *) 0 ;
12230 int res2
= SWIG_TMPOBJ
;
12232 int res3
= SWIG_TMPOBJ
;
12233 PyObject
*swig_obj
[1] ;
12237 if (!args
) SWIG_fail
;
12238 swig_obj
[0] = args
;
12239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12240 if (!SWIG_IsOK(res1
)) {
12241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12243 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12246 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
12247 wxPyEndAllowThreads(__tstate
);
12248 if (PyErr_Occurred()) SWIG_fail
;
12250 resultobj
= SWIG_Py_Void();
12251 if (SWIG_IsTmpObj(res2
)) {
12252 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
12254 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12255 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
12257 if (SWIG_IsTmpObj(res3
)) {
12258 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
12260 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12261 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
12269 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12270 PyObject
*resultobj
= 0;
12271 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12275 PyObject
*swig_obj
[1] ;
12277 if (!args
) SWIG_fail
;
12278 swig_obj
[0] = args
;
12279 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12280 if (!SWIG_IsOK(res1
)) {
12281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12283 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12286 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
12287 wxPyEndAllowThreads(__tstate
);
12288 if (PyErr_Occurred()) SWIG_fail
;
12292 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12294 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12303 SWIGINTERN PyObject
*_wrap_TextCtrl_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12304 PyObject
*resultobj
= 0;
12305 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12308 PyObject
*swig_obj
[1] ;
12310 if (!args
) SWIG_fail
;
12311 swig_obj
[0] = args
;
12312 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12313 if (!SWIG_IsOK(res1
)) {
12314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12316 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12320 wxPyEndAllowThreads(__tstate
);
12321 if (PyErr_Occurred()) SWIG_fail
;
12323 resultobj
= SWIG_Py_Void();
12330 SWIGINTERN PyObject
*_wrap_TextCtrl_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12331 PyObject
*resultobj
= 0;
12332 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12335 wxString
*arg4
= 0 ;
12342 bool temp4
= false ;
12343 PyObject
* obj0
= 0 ;
12344 PyObject
* obj1
= 0 ;
12345 PyObject
* obj2
= 0 ;
12346 PyObject
* obj3
= 0 ;
12347 char * kwnames
[] = {
12348 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
12351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12353 if (!SWIG_IsOK(res1
)) {
12354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12356 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12357 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12358 if (!SWIG_IsOK(ecode2
)) {
12359 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12361 arg2
= static_cast< long >(val2
);
12362 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12363 if (!SWIG_IsOK(ecode3
)) {
12364 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12366 arg3
= static_cast< long >(val3
);
12368 arg4
= wxString_in_helper(obj3
);
12369 if (arg4
== NULL
) SWIG_fail
;
12373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12374 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
12375 wxPyEndAllowThreads(__tstate
);
12376 if (PyErr_Occurred()) SWIG_fail
;
12378 resultobj
= SWIG_Py_Void();
12393 SWIGINTERN PyObject
*_wrap_TextCtrl_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12394 PyObject
*resultobj
= 0;
12395 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12404 PyObject
* obj0
= 0 ;
12405 PyObject
* obj1
= 0 ;
12406 PyObject
* obj2
= 0 ;
12407 char * kwnames
[] = {
12408 (char *) "self",(char *) "from",(char *) "to", NULL
12411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12413 if (!SWIG_IsOK(res1
)) {
12414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12416 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12417 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12418 if (!SWIG_IsOK(ecode2
)) {
12419 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12421 arg2
= static_cast< long >(val2
);
12422 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12423 if (!SWIG_IsOK(ecode3
)) {
12424 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12426 arg3
= static_cast< long >(val3
);
12428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12429 (arg1
)->Remove(arg2
,arg3
);
12430 wxPyEndAllowThreads(__tstate
);
12431 if (PyErr_Occurred()) SWIG_fail
;
12433 resultobj
= SWIG_Py_Void();
12440 SWIGINTERN PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12441 PyObject
*resultobj
= 0;
12442 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12443 wxString
*arg2
= 0 ;
12447 bool temp2
= false ;
12448 PyObject
* obj0
= 0 ;
12449 PyObject
* obj1
= 0 ;
12450 char * kwnames
[] = {
12451 (char *) "self",(char *) "file", NULL
12454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12456 if (!SWIG_IsOK(res1
)) {
12457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12459 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12461 arg2
= wxString_in_helper(obj1
);
12462 if (arg2
== NULL
) SWIG_fail
;
12466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12467 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
12468 wxPyEndAllowThreads(__tstate
);
12469 if (PyErr_Occurred()) SWIG_fail
;
12472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12488 SWIGINTERN PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12489 PyObject
*resultobj
= 0;
12490 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12491 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12492 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12496 bool temp2
= false ;
12497 PyObject
* obj0
= 0 ;
12498 PyObject
* obj1
= 0 ;
12499 char * kwnames
[] = {
12500 (char *) "self",(char *) "file", NULL
12503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12505 if (!SWIG_IsOK(res1
)) {
12506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12508 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12511 arg2
= wxString_in_helper(obj1
);
12512 if (arg2
== NULL
) SWIG_fail
;
12517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12518 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
12519 wxPyEndAllowThreads(__tstate
);
12520 if (PyErr_Occurred()) SWIG_fail
;
12523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12539 SWIGINTERN PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12540 PyObject
*resultobj
= 0;
12541 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12544 PyObject
*swig_obj
[1] ;
12546 if (!args
) SWIG_fail
;
12547 swig_obj
[0] = args
;
12548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12549 if (!SWIG_IsOK(res1
)) {
12550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12552 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12555 (arg1
)->MarkDirty();
12556 wxPyEndAllowThreads(__tstate
);
12557 if (PyErr_Occurred()) SWIG_fail
;
12559 resultobj
= SWIG_Py_Void();
12566 SWIGINTERN PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12567 PyObject
*resultobj
= 0;
12568 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12571 PyObject
*swig_obj
[1] ;
12573 if (!args
) SWIG_fail
;
12574 swig_obj
[0] = args
;
12575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12576 if (!SWIG_IsOK(res1
)) {
12577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12579 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12582 (arg1
)->DiscardEdits();
12583 wxPyEndAllowThreads(__tstate
);
12584 if (PyErr_Occurred()) SWIG_fail
;
12586 resultobj
= SWIG_Py_Void();
12593 SWIGINTERN PyObject
*_wrap_TextCtrl_SetModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12594 PyObject
*resultobj
= 0;
12595 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12601 PyObject
* obj0
= 0 ;
12602 PyObject
* obj1
= 0 ;
12603 char * kwnames
[] = {
12604 (char *) "self",(char *) "modified", NULL
12607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetModified",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12609 if (!SWIG_IsOK(res1
)) {
12610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetModified" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12612 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12613 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12614 if (!SWIG_IsOK(ecode2
)) {
12615 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetModified" "', expected argument " "2"" of type '" "bool""'");
12617 arg2
= static_cast< bool >(val2
);
12619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12620 (arg1
)->SetModified(arg2
);
12621 wxPyEndAllowThreads(__tstate
);
12622 if (PyErr_Occurred()) SWIG_fail
;
12624 resultobj
= SWIG_Py_Void();
12631 SWIGINTERN PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12632 PyObject
*resultobj
= 0;
12633 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12634 unsigned long arg2
;
12637 unsigned long val2
;
12639 PyObject
* obj0
= 0 ;
12640 PyObject
* obj1
= 0 ;
12641 char * kwnames
[] = {
12642 (char *) "self",(char *) "len", NULL
12645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12647 if (!SWIG_IsOK(res1
)) {
12648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12650 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12651 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
12652 if (!SWIG_IsOK(ecode2
)) {
12653 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12655 arg2
= static_cast< unsigned long >(val2
);
12657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12658 (arg1
)->SetMaxLength(arg2
);
12659 wxPyEndAllowThreads(__tstate
);
12660 if (PyErr_Occurred()) SWIG_fail
;
12662 resultobj
= SWIG_Py_Void();
12669 SWIGINTERN PyObject
*_wrap_TextCtrl_WriteText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12670 PyObject
*resultobj
= 0;
12671 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12672 wxString
*arg2
= 0 ;
12675 bool temp2
= false ;
12676 PyObject
* obj0
= 0 ;
12677 PyObject
* obj1
= 0 ;
12678 char * kwnames
[] = {
12679 (char *) "self",(char *) "text", NULL
12682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12684 if (!SWIG_IsOK(res1
)) {
12685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12687 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12689 arg2
= wxString_in_helper(obj1
);
12690 if (arg2
== NULL
) SWIG_fail
;
12694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12695 (arg1
)->WriteText((wxString
const &)*arg2
);
12696 wxPyEndAllowThreads(__tstate
);
12697 if (PyErr_Occurred()) SWIG_fail
;
12699 resultobj
= SWIG_Py_Void();
12714 SWIGINTERN PyObject
*_wrap_TextCtrl_AppendText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12715 PyObject
*resultobj
= 0;
12716 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12717 wxString
*arg2
= 0 ;
12720 bool temp2
= false ;
12721 PyObject
* obj0
= 0 ;
12722 PyObject
* obj1
= 0 ;
12723 char * kwnames
[] = {
12724 (char *) "self",(char *) "text", NULL
12727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12729 if (!SWIG_IsOK(res1
)) {
12730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12732 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12734 arg2
= wxString_in_helper(obj1
);
12735 if (arg2
== NULL
) SWIG_fail
;
12739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12740 (arg1
)->AppendText((wxString
const &)*arg2
);
12741 wxPyEndAllowThreads(__tstate
);
12742 if (PyErr_Occurred()) SWIG_fail
;
12744 resultobj
= SWIG_Py_Void();
12759 SWIGINTERN PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12760 PyObject
*resultobj
= 0;
12761 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12762 wxKeyEvent
*arg2
= 0 ;
12768 PyObject
* obj0
= 0 ;
12769 PyObject
* obj1
= 0 ;
12770 char * kwnames
[] = {
12771 (char *) "self",(char *) "event", NULL
12774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12776 if (!SWIG_IsOK(res1
)) {
12777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12779 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12780 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
12781 if (!SWIG_IsOK(res2
)) {
12782 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12785 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12787 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
12789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12790 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
12791 wxPyEndAllowThreads(__tstate
);
12792 if (PyErr_Occurred()) SWIG_fail
;
12795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12803 SWIGINTERN PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12804 PyObject
*resultobj
= 0;
12805 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12808 wxTextAttr
*arg4
= 0 ;
12818 PyObject
* obj0
= 0 ;
12819 PyObject
* obj1
= 0 ;
12820 PyObject
* obj2
= 0 ;
12821 PyObject
* obj3
= 0 ;
12822 char * kwnames
[] = {
12823 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
12826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12828 if (!SWIG_IsOK(res1
)) {
12829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12831 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12832 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12833 if (!SWIG_IsOK(ecode2
)) {
12834 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
12836 arg2
= static_cast< long >(val2
);
12837 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12838 if (!SWIG_IsOK(ecode3
)) {
12839 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
12841 arg3
= static_cast< long >(val3
);
12842 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12843 if (!SWIG_IsOK(res4
)) {
12844 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12847 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12849 arg4
= reinterpret_cast< wxTextAttr
* >(argp4
);
12851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12852 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
12853 wxPyEndAllowThreads(__tstate
);
12854 if (PyErr_Occurred()) SWIG_fail
;
12857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12865 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12866 PyObject
*resultobj
= 0;
12867 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12869 wxTextAttr
*arg3
= 0 ;
12877 PyObject
* obj0
= 0 ;
12878 PyObject
* obj1
= 0 ;
12879 PyObject
* obj2
= 0 ;
12880 char * kwnames
[] = {
12881 (char *) "self",(char *) "position",(char *) "style", NULL
12884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12886 if (!SWIG_IsOK(res1
)) {
12887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12889 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12890 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12891 if (!SWIG_IsOK(ecode2
)) {
12892 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
12894 arg2
= static_cast< long >(val2
);
12895 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTextAttr
, 0 );
12896 if (!SWIG_IsOK(res3
)) {
12897 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12900 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12902 arg3
= reinterpret_cast< wxTextAttr
* >(argp3
);
12904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12905 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
12906 wxPyEndAllowThreads(__tstate
);
12907 if (PyErr_Occurred()) SWIG_fail
;
12910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12918 SWIGINTERN PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12919 PyObject
*resultobj
= 0;
12920 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12921 wxTextAttr
*arg2
= 0 ;
12927 PyObject
* obj0
= 0 ;
12928 PyObject
* obj1
= 0 ;
12929 char * kwnames
[] = {
12930 (char *) "self",(char *) "style", NULL
12933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12935 if (!SWIG_IsOK(res1
)) {
12936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12938 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12939 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12940 if (!SWIG_IsOK(res2
)) {
12941 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12944 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12946 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
12948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12949 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
12950 wxPyEndAllowThreads(__tstate
);
12951 if (PyErr_Occurred()) SWIG_fail
;
12954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12962 SWIGINTERN PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12963 PyObject
*resultobj
= 0;
12964 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12965 wxTextAttr
*result
= 0 ;
12968 PyObject
*swig_obj
[1] ;
12970 if (!args
) SWIG_fail
;
12971 swig_obj
[0] = args
;
12972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12973 if (!SWIG_IsOK(res1
)) {
12974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12976 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12980 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
12981 result
= (wxTextAttr
*) &_result_ref
;
12983 wxPyEndAllowThreads(__tstate
);
12984 if (PyErr_Occurred()) SWIG_fail
;
12986 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, 0 | 0 );
12993 SWIGINTERN PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12994 PyObject
*resultobj
= 0;
12995 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13005 PyObject
* obj0
= 0 ;
13006 PyObject
* obj1
= 0 ;
13007 PyObject
* obj2
= 0 ;
13008 char * kwnames
[] = {
13009 (char *) "self",(char *) "x",(char *) "y", NULL
13012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13014 if (!SWIG_IsOK(res1
)) {
13015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13017 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13018 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13019 if (!SWIG_IsOK(ecode2
)) {
13020 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
13022 arg2
= static_cast< long >(val2
);
13023 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13024 if (!SWIG_IsOK(ecode3
)) {
13025 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
13027 arg3
= static_cast< long >(val3
);
13029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13030 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
13031 wxPyEndAllowThreads(__tstate
);
13032 if (PyErr_Occurred()) SWIG_fail
;
13034 resultobj
= SWIG_From_long(static_cast< long >(result
));
13041 SWIGINTERN PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13042 PyObject
*resultobj
= 0;
13043 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13045 long *arg3
= (long *) 0 ;
13046 long *arg4
= (long *) 0 ;
13052 int res3
= SWIG_TMPOBJ
;
13054 int res4
= SWIG_TMPOBJ
;
13055 PyObject
* obj0
= 0 ;
13056 PyObject
* obj1
= 0 ;
13057 char * kwnames
[] = {
13058 (char *) "self",(char *) "pos", NULL
13063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13065 if (!SWIG_IsOK(res1
)) {
13066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13068 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13069 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13070 if (!SWIG_IsOK(ecode2
)) {
13071 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
13073 arg2
= static_cast< long >(val2
);
13075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13076 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
13077 wxPyEndAllowThreads(__tstate
);
13078 if (PyErr_Occurred()) SWIG_fail
;
13080 resultobj
= SWIG_Py_Void();
13081 if (SWIG_IsTmpObj(res3
)) {
13082 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13084 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13085 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13087 if (SWIG_IsTmpObj(res4
)) {
13088 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13090 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13091 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13099 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13100 PyObject
*resultobj
= 0;
13101 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13107 PyObject
* obj0
= 0 ;
13108 PyObject
* obj1
= 0 ;
13109 char * kwnames
[] = {
13110 (char *) "self",(char *) "pos", NULL
13113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13114 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13115 if (!SWIG_IsOK(res1
)) {
13116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13118 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13119 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13120 if (!SWIG_IsOK(ecode2
)) {
13121 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
13123 arg2
= static_cast< long >(val2
);
13125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13126 (arg1
)->ShowPosition(arg2
);
13127 wxPyEndAllowThreads(__tstate
);
13128 if (PyErr_Occurred()) SWIG_fail
;
13130 resultobj
= SWIG_Py_Void();
13137 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13138 PyObject
*resultobj
= 0;
13139 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13140 wxPoint
*arg2
= 0 ;
13141 long *arg3
= (long *) 0 ;
13142 long *arg4
= (long *) 0 ;
13143 wxTextCtrlHitTestResult result
;
13148 int res3
= SWIG_TMPOBJ
;
13150 int res4
= SWIG_TMPOBJ
;
13151 PyObject
* obj0
= 0 ;
13152 PyObject
* obj1
= 0 ;
13153 char * kwnames
[] = {
13154 (char *) "self",(char *) "pt", NULL
13159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13161 if (!SWIG_IsOK(res1
)) {
13162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13164 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13167 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13171 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
13172 wxPyEndAllowThreads(__tstate
);
13173 if (PyErr_Occurred()) SWIG_fail
;
13175 resultobj
= SWIG_From_int(static_cast< int >(result
));
13176 if (SWIG_IsTmpObj(res3
)) {
13177 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13179 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13180 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13182 if (SWIG_IsTmpObj(res4
)) {
13183 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13185 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13186 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13194 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13195 PyObject
*resultobj
= 0;
13196 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13197 wxPoint
*arg2
= 0 ;
13198 long *arg3
= (long *) 0 ;
13199 wxTextCtrlHitTestResult result
;
13204 int res3
= SWIG_TMPOBJ
;
13205 PyObject
* obj0
= 0 ;
13206 PyObject
* obj1
= 0 ;
13207 char * kwnames
[] = {
13208 (char *) "self",(char *) "pt", NULL
13212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13214 if (!SWIG_IsOK(res1
)) {
13215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13217 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13220 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13224 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
13225 wxPyEndAllowThreads(__tstate
);
13226 if (PyErr_Occurred()) SWIG_fail
;
13228 resultobj
= SWIG_From_int(static_cast< int >(result
));
13229 if (SWIG_IsTmpObj(res3
)) {
13230 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13232 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13233 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13241 SWIGINTERN PyObject
*_wrap_TextCtrl_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13242 PyObject
*resultobj
= 0;
13243 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13246 PyObject
*swig_obj
[1] ;
13248 if (!args
) SWIG_fail
;
13249 swig_obj
[0] = args
;
13250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13251 if (!SWIG_IsOK(res1
)) {
13252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13254 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13258 wxPyEndAllowThreads(__tstate
);
13259 if (PyErr_Occurred()) SWIG_fail
;
13261 resultobj
= SWIG_Py_Void();
13268 SWIGINTERN PyObject
*_wrap_TextCtrl_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13269 PyObject
*resultobj
= 0;
13270 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13273 PyObject
*swig_obj
[1] ;
13275 if (!args
) SWIG_fail
;
13276 swig_obj
[0] = args
;
13277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13278 if (!SWIG_IsOK(res1
)) {
13279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13281 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13285 wxPyEndAllowThreads(__tstate
);
13286 if (PyErr_Occurred()) SWIG_fail
;
13288 resultobj
= SWIG_Py_Void();
13295 SWIGINTERN PyObject
*_wrap_TextCtrl_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13296 PyObject
*resultobj
= 0;
13297 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13300 PyObject
*swig_obj
[1] ;
13302 if (!args
) SWIG_fail
;
13303 swig_obj
[0] = args
;
13304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13305 if (!SWIG_IsOK(res1
)) {
13306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13308 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13312 wxPyEndAllowThreads(__tstate
);
13313 if (PyErr_Occurred()) SWIG_fail
;
13315 resultobj
= SWIG_Py_Void();
13322 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13323 PyObject
*resultobj
= 0;
13324 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13328 PyObject
*swig_obj
[1] ;
13330 if (!args
) SWIG_fail
;
13331 swig_obj
[0] = args
;
13332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13333 if (!SWIG_IsOK(res1
)) {
13334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13336 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13339 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
13340 wxPyEndAllowThreads(__tstate
);
13341 if (PyErr_Occurred()) SWIG_fail
;
13344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13352 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13353 PyObject
*resultobj
= 0;
13354 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13358 PyObject
*swig_obj
[1] ;
13360 if (!args
) SWIG_fail
;
13361 swig_obj
[0] = args
;
13362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13363 if (!SWIG_IsOK(res1
)) {
13364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13366 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13369 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
13370 wxPyEndAllowThreads(__tstate
);
13371 if (PyErr_Occurred()) SWIG_fail
;
13374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13382 SWIGINTERN PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13383 PyObject
*resultobj
= 0;
13384 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13388 PyObject
*swig_obj
[1] ;
13390 if (!args
) SWIG_fail
;
13391 swig_obj
[0] = args
;
13392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13393 if (!SWIG_IsOK(res1
)) {
13394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13396 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13399 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
13400 wxPyEndAllowThreads(__tstate
);
13401 if (PyErr_Occurred()) SWIG_fail
;
13404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13412 SWIGINTERN PyObject
*_wrap_TextCtrl_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13413 PyObject
*resultobj
= 0;
13414 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13417 PyObject
*swig_obj
[1] ;
13419 if (!args
) SWIG_fail
;
13420 swig_obj
[0] = args
;
13421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13422 if (!SWIG_IsOK(res1
)) {
13423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13425 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13429 wxPyEndAllowThreads(__tstate
);
13430 if (PyErr_Occurred()) SWIG_fail
;
13432 resultobj
= SWIG_Py_Void();
13439 SWIGINTERN PyObject
*_wrap_TextCtrl_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13440 PyObject
*resultobj
= 0;
13441 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13444 PyObject
*swig_obj
[1] ;
13446 if (!args
) SWIG_fail
;
13447 swig_obj
[0] = args
;
13448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13449 if (!SWIG_IsOK(res1
)) {
13450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13452 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13456 wxPyEndAllowThreads(__tstate
);
13457 if (PyErr_Occurred()) SWIG_fail
;
13459 resultobj
= SWIG_Py_Void();
13466 SWIGINTERN PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13467 PyObject
*resultobj
= 0;
13468 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13472 PyObject
*swig_obj
[1] ;
13474 if (!args
) SWIG_fail
;
13475 swig_obj
[0] = args
;
13476 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13477 if (!SWIG_IsOK(res1
)) {
13478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13480 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13483 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
13484 wxPyEndAllowThreads(__tstate
);
13485 if (PyErr_Occurred()) SWIG_fail
;
13488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13496 SWIGINTERN PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13497 PyObject
*resultobj
= 0;
13498 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13502 PyObject
*swig_obj
[1] ;
13504 if (!args
) SWIG_fail
;
13505 swig_obj
[0] = args
;
13506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13507 if (!SWIG_IsOK(res1
)) {
13508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13510 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13513 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
13514 wxPyEndAllowThreads(__tstate
);
13515 if (PyErr_Occurred()) SWIG_fail
;
13518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13526 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13527 PyObject
*resultobj
= 0;
13528 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13534 PyObject
* obj0
= 0 ;
13535 PyObject
* obj1
= 0 ;
13536 char * kwnames
[] = {
13537 (char *) "self",(char *) "pos", NULL
13540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13542 if (!SWIG_IsOK(res1
)) {
13543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13545 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13546 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13547 if (!SWIG_IsOK(ecode2
)) {
13548 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13550 arg2
= static_cast< long >(val2
);
13552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13553 (arg1
)->SetInsertionPoint(arg2
);
13554 wxPyEndAllowThreads(__tstate
);
13555 if (PyErr_Occurred()) SWIG_fail
;
13557 resultobj
= SWIG_Py_Void();
13564 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13565 PyObject
*resultobj
= 0;
13566 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13569 PyObject
*swig_obj
[1] ;
13571 if (!args
) SWIG_fail
;
13572 swig_obj
[0] = args
;
13573 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13574 if (!SWIG_IsOK(res1
)) {
13575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13577 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13580 (arg1
)->SetInsertionPointEnd();
13581 wxPyEndAllowThreads(__tstate
);
13582 if (PyErr_Occurred()) SWIG_fail
;
13584 resultobj
= SWIG_Py_Void();
13591 SWIGINTERN PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13592 PyObject
*resultobj
= 0;
13593 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13597 PyObject
*swig_obj
[1] ;
13599 if (!args
) SWIG_fail
;
13600 swig_obj
[0] = args
;
13601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13602 if (!SWIG_IsOK(res1
)) {
13603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13605 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13608 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
13609 wxPyEndAllowThreads(__tstate
);
13610 if (PyErr_Occurred()) SWIG_fail
;
13612 resultobj
= SWIG_From_long(static_cast< long >(result
));
13619 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13620 PyObject
*resultobj
= 0;
13621 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13625 PyObject
*swig_obj
[1] ;
13627 if (!args
) SWIG_fail
;
13628 swig_obj
[0] = args
;
13629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13630 if (!SWIG_IsOK(res1
)) {
13631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13633 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13636 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
13637 wxPyEndAllowThreads(__tstate
);
13638 if (PyErr_Occurred()) SWIG_fail
;
13640 resultobj
= SWIG_From_long(static_cast< long >(result
));
13647 SWIGINTERN PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13648 PyObject
*resultobj
= 0;
13649 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13658 PyObject
* obj0
= 0 ;
13659 PyObject
* obj1
= 0 ;
13660 PyObject
* obj2
= 0 ;
13661 char * kwnames
[] = {
13662 (char *) "self",(char *) "from",(char *) "to", NULL
13665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13667 if (!SWIG_IsOK(res1
)) {
13668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13670 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13671 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13672 if (!SWIG_IsOK(ecode2
)) {
13673 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13675 arg2
= static_cast< long >(val2
);
13676 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13677 if (!SWIG_IsOK(ecode3
)) {
13678 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13680 arg3
= static_cast< long >(val3
);
13682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13683 (arg1
)->SetSelection(arg2
,arg3
);
13684 wxPyEndAllowThreads(__tstate
);
13685 if (PyErr_Occurred()) SWIG_fail
;
13687 resultobj
= SWIG_Py_Void();
13694 SWIGINTERN PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13695 PyObject
*resultobj
= 0;
13696 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13699 PyObject
*swig_obj
[1] ;
13701 if (!args
) SWIG_fail
;
13702 swig_obj
[0] = args
;
13703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13704 if (!SWIG_IsOK(res1
)) {
13705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13707 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13710 (arg1
)->SelectAll();
13711 wxPyEndAllowThreads(__tstate
);
13712 if (PyErr_Occurred()) SWIG_fail
;
13714 resultobj
= SWIG_Py_Void();
13721 SWIGINTERN PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13722 PyObject
*resultobj
= 0;
13723 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13729 PyObject
* obj0
= 0 ;
13730 PyObject
* obj1
= 0 ;
13731 char * kwnames
[] = {
13732 (char *) "self",(char *) "editable", NULL
13735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13737 if (!SWIG_IsOK(res1
)) {
13738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13740 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13741 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13742 if (!SWIG_IsOK(ecode2
)) {
13743 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
13745 arg2
= static_cast< bool >(val2
);
13747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13748 (arg1
)->SetEditable(arg2
);
13749 wxPyEndAllowThreads(__tstate
);
13750 if (PyErr_Occurred()) SWIG_fail
;
13752 resultobj
= SWIG_Py_Void();
13759 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowNativeCaret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13760 PyObject
*resultobj
= 0;
13761 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13762 bool arg2
= (bool) true ;
13768 PyObject
* obj0
= 0 ;
13769 PyObject
* obj1
= 0 ;
13770 char * kwnames
[] = {
13771 (char *) "self",(char *) "show", NULL
13774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13776 if (!SWIG_IsOK(res1
)) {
13777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowNativeCaret" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13779 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13781 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13782 if (!SWIG_IsOK(ecode2
)) {
13783 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowNativeCaret" "', expected argument " "2"" of type '" "bool""'");
13785 arg2
= static_cast< bool >(val2
);
13788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13789 result
= (bool)(arg1
)->ShowNativeCaret(arg2
);
13790 wxPyEndAllowThreads(__tstate
);
13791 if (PyErr_Occurred()) SWIG_fail
;
13794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13802 SWIGINTERN PyObject
*_wrap_TextCtrl_HideNativeCaret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13803 PyObject
*resultobj
= 0;
13804 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13808 PyObject
*swig_obj
[1] ;
13810 if (!args
) SWIG_fail
;
13811 swig_obj
[0] = args
;
13812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13813 if (!SWIG_IsOK(res1
)) {
13814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HideNativeCaret" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13816 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13819 result
= (bool)(arg1
)->HideNativeCaret();
13820 wxPyEndAllowThreads(__tstate
);
13821 if (PyErr_Occurred()) SWIG_fail
;
13824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13832 SWIGINTERN PyObject
*_wrap_TextCtrl_write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13833 PyObject
*resultobj
= 0;
13834 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13835 wxString
*arg2
= 0 ;
13838 bool temp2
= false ;
13839 PyObject
* obj0
= 0 ;
13840 PyObject
* obj1
= 0 ;
13841 char * kwnames
[] = {
13842 (char *) "self",(char *) "text", NULL
13845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13847 if (!SWIG_IsOK(res1
)) {
13848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13850 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13852 arg2
= wxString_in_helper(obj1
);
13853 if (arg2
== NULL
) SWIG_fail
;
13857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13858 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
13859 wxPyEndAllowThreads(__tstate
);
13860 if (PyErr_Occurred()) SWIG_fail
;
13862 resultobj
= SWIG_Py_Void();
13877 SWIGINTERN PyObject
*_wrap_TextCtrl_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13878 PyObject
*resultobj
= 0;
13879 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13889 PyObject
* obj0
= 0 ;
13890 PyObject
* obj1
= 0 ;
13891 PyObject
* obj2
= 0 ;
13892 char * kwnames
[] = {
13893 (char *) "self",(char *) "from",(char *) "to", NULL
13896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13898 if (!SWIG_IsOK(res1
)) {
13899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13901 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13902 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13903 if (!SWIG_IsOK(ecode2
)) {
13904 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
13906 arg2
= static_cast< long >(val2
);
13907 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13908 if (!SWIG_IsOK(ecode3
)) {
13909 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
13911 arg3
= static_cast< long >(val3
);
13913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13914 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
13915 wxPyEndAllowThreads(__tstate
);
13916 if (PyErr_Occurred()) SWIG_fail
;
13920 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13922 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13931 SWIGINTERN PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13932 PyObject
*resultobj
= 0;
13933 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13934 SwigValueWrapper
<wxVisualAttributes
> result
;
13937 PyObject
* obj0
= 0 ;
13938 char * kwnames
[] = {
13939 (char *) "variant", NULL
13942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
13944 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13945 if (!SWIG_IsOK(ecode1
)) {
13946 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
13948 arg1
= static_cast< wxWindowVariant
>(val1
);
13951 if (!wxPyCheckForApp()) SWIG_fail
;
13952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13953 result
= wxTextCtrl::GetClassDefaultAttributes(arg1
);
13954 wxPyEndAllowThreads(__tstate
);
13955 if (PyErr_Occurred()) SWIG_fail
;
13957 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
13964 SWIGINTERN PyObject
*TextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13966 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13967 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl
, SWIG_NewClientData(obj
));
13968 return SWIG_Py_Void();
13971 SWIGINTERN PyObject
*TextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13972 return SWIG_Python_InitShadowInstance(args
);
13975 SWIGINTERN PyObject
*_wrap_new_TextUrlEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13976 PyObject
*resultobj
= 0;
13978 wxMouseEvent
*arg2
= 0 ;
13981 wxTextUrlEvent
*result
= 0 ;
13990 PyObject
* obj0
= 0 ;
13991 PyObject
* obj1
= 0 ;
13992 PyObject
* obj2
= 0 ;
13993 PyObject
* obj3
= 0 ;
13994 char * kwnames
[] = {
13995 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
13998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13999 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14000 if (!SWIG_IsOK(ecode1
)) {
14001 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
14003 arg1
= static_cast< int >(val1
);
14004 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
14005 if (!SWIG_IsOK(res2
)) {
14006 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14009 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14011 arg2
= reinterpret_cast< wxMouseEvent
* >(argp2
);
14012 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
14013 if (!SWIG_IsOK(ecode3
)) {
14014 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
14016 arg3
= static_cast< long >(val3
);
14017 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
14018 if (!SWIG_IsOK(ecode4
)) {
14019 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
14021 arg4
= static_cast< long >(val4
);
14023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14024 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
14025 wxPyEndAllowThreads(__tstate
);
14026 if (PyErr_Occurred()) SWIG_fail
;
14028 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_NEW
| 0 );
14035 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14036 PyObject
*resultobj
= 0;
14037 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14038 wxMouseEvent
*result
= 0 ;
14041 PyObject
*swig_obj
[1] ;
14043 if (!args
) SWIG_fail
;
14044 swig_obj
[0] = args
;
14045 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14046 if (!SWIG_IsOK(res1
)) {
14047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
14049 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14053 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
14054 result
= (wxMouseEvent
*) &_result_ref
;
14056 wxPyEndAllowThreads(__tstate
);
14057 if (PyErr_Occurred()) SWIG_fail
;
14059 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
14066 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14067 PyObject
*resultobj
= 0;
14068 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14072 PyObject
*swig_obj
[1] ;
14074 if (!args
) SWIG_fail
;
14075 swig_obj
[0] = args
;
14076 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14077 if (!SWIG_IsOK(res1
)) {
14078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14080 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14083 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
14084 wxPyEndAllowThreads(__tstate
);
14085 if (PyErr_Occurred()) SWIG_fail
;
14087 resultobj
= SWIG_From_long(static_cast< long >(result
));
14094 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14095 PyObject
*resultobj
= 0;
14096 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14100 PyObject
*swig_obj
[1] ;
14102 if (!args
) SWIG_fail
;
14103 swig_obj
[0] = args
;
14104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14105 if (!SWIG_IsOK(res1
)) {
14106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14108 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14111 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
14112 wxPyEndAllowThreads(__tstate
);
14113 if (PyErr_Occurred()) SWIG_fail
;
14115 resultobj
= SWIG_From_long(static_cast< long >(result
));
14122 SWIGINTERN PyObject
*TextUrlEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14124 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14125 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent
, SWIG_NewClientData(obj
));
14126 return SWIG_Py_Void();
14129 SWIGINTERN PyObject
*TextUrlEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14130 return SWIG_Python_InitShadowInstance(args
);
14133 SWIGINTERN
int ScrollBarNameStr_set(PyObject
*) {
14134 SWIG_Error(SWIG_AttributeError
,"Variable ScrollBarNameStr is read-only.");
14139 SWIGINTERN PyObject
*ScrollBarNameStr_get(void) {
14140 PyObject
*pyobj
= 0;
14144 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14146 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14153 SWIGINTERN PyObject
*_wrap_new_ScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14154 PyObject
*resultobj
= 0;
14155 wxWindow
*arg1
= (wxWindow
*) 0 ;
14156 int arg2
= (int) -1 ;
14157 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14158 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14159 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14160 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14161 long arg5
= (long) wxSB_HORIZONTAL
;
14162 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
14163 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
14164 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
14165 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14166 wxScrollBar
*result
= 0 ;
14177 bool temp7
= false ;
14178 PyObject
* obj0
= 0 ;
14179 PyObject
* obj1
= 0 ;
14180 PyObject
* obj2
= 0 ;
14181 PyObject
* obj3
= 0 ;
14182 PyObject
* obj4
= 0 ;
14183 PyObject
* obj5
= 0 ;
14184 PyObject
* obj6
= 0 ;
14185 char * kwnames
[] = {
14186 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14191 if (!SWIG_IsOK(res1
)) {
14192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
14194 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14196 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14197 if (!SWIG_IsOK(ecode2
)) {
14198 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
14200 arg2
= static_cast< int >(val2
);
14205 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14211 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14215 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14216 if (!SWIG_IsOK(ecode5
)) {
14217 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14219 arg5
= static_cast< long >(val5
);
14222 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
14223 if (!SWIG_IsOK(res6
)) {
14224 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14227 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14229 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
14233 arg7
= wxString_in_helper(obj6
);
14234 if (arg7
== NULL
) SWIG_fail
;
14239 if (!wxPyCheckForApp()) SWIG_fail
;
14240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14241 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
14242 wxPyEndAllowThreads(__tstate
);
14243 if (PyErr_Occurred()) SWIG_fail
;
14245 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_NEW
| 0 );
14260 SWIGINTERN PyObject
*_wrap_new_PreScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14261 PyObject
*resultobj
= 0;
14262 wxScrollBar
*result
= 0 ;
14264 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrollBar",0,0,0)) SWIG_fail
;
14266 if (!wxPyCheckForApp()) SWIG_fail
;
14267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14268 result
= (wxScrollBar
*)new wxScrollBar();
14269 wxPyEndAllowThreads(__tstate
);
14270 if (PyErr_Occurred()) SWIG_fail
;
14272 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_OWN
| 0 );
14279 SWIGINTERN PyObject
*_wrap_ScrollBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14280 PyObject
*resultobj
= 0;
14281 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14282 wxWindow
*arg2
= (wxWindow
*) 0 ;
14283 int arg3
= (int) -1 ;
14284 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14285 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14286 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14287 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14288 long arg6
= (long) wxSB_HORIZONTAL
;
14289 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14290 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14291 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
14292 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14306 bool temp8
= false ;
14307 PyObject
* obj0
= 0 ;
14308 PyObject
* obj1
= 0 ;
14309 PyObject
* obj2
= 0 ;
14310 PyObject
* obj3
= 0 ;
14311 PyObject
* obj4
= 0 ;
14312 PyObject
* obj5
= 0 ;
14313 PyObject
* obj6
= 0 ;
14314 PyObject
* obj7
= 0 ;
14315 char * kwnames
[] = {
14316 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
14320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14321 if (!SWIG_IsOK(res1
)) {
14322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14324 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14325 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14326 if (!SWIG_IsOK(res2
)) {
14327 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14329 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14331 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14332 if (!SWIG_IsOK(ecode3
)) {
14333 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14335 arg3
= static_cast< int >(val3
);
14340 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14346 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14350 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14351 if (!SWIG_IsOK(ecode6
)) {
14352 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14354 arg6
= static_cast< long >(val6
);
14357 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
14358 if (!SWIG_IsOK(res7
)) {
14359 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14362 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14364 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
14368 arg8
= wxString_in_helper(obj7
);
14369 if (arg8
== NULL
) SWIG_fail
;
14374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14375 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14376 wxPyEndAllowThreads(__tstate
);
14377 if (PyErr_Occurred()) SWIG_fail
;
14380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14396 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14397 PyObject
*resultobj
= 0;
14398 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14402 PyObject
*swig_obj
[1] ;
14404 if (!args
) SWIG_fail
;
14405 swig_obj
[0] = args
;
14406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14407 if (!SWIG_IsOK(res1
)) {
14408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14410 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14413 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
14414 wxPyEndAllowThreads(__tstate
);
14415 if (PyErr_Occurred()) SWIG_fail
;
14417 resultobj
= SWIG_From_int(static_cast< int >(result
));
14424 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14425 PyObject
*resultobj
= 0;
14426 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14430 PyObject
*swig_obj
[1] ;
14432 if (!args
) SWIG_fail
;
14433 swig_obj
[0] = args
;
14434 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14435 if (!SWIG_IsOK(res1
)) {
14436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14438 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14441 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
14442 wxPyEndAllowThreads(__tstate
);
14443 if (PyErr_Occurred()) SWIG_fail
;
14445 resultobj
= SWIG_From_int(static_cast< int >(result
));
14452 SWIGINTERN PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14453 PyObject
*resultobj
= 0;
14454 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14458 PyObject
*swig_obj
[1] ;
14460 if (!args
) SWIG_fail
;
14461 swig_obj
[0] = args
;
14462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14463 if (!SWIG_IsOK(res1
)) {
14464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14466 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14469 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
14470 wxPyEndAllowThreads(__tstate
);
14471 if (PyErr_Occurred()) SWIG_fail
;
14473 resultobj
= SWIG_From_int(static_cast< int >(result
));
14480 SWIGINTERN PyObject
*_wrap_ScrollBar_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14481 PyObject
*resultobj
= 0;
14482 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14486 PyObject
*swig_obj
[1] ;
14488 if (!args
) SWIG_fail
;
14489 swig_obj
[0] = args
;
14490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14491 if (!SWIG_IsOK(res1
)) {
14492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14494 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14497 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
14498 wxPyEndAllowThreads(__tstate
);
14499 if (PyErr_Occurred()) SWIG_fail
;
14501 resultobj
= SWIG_From_int(static_cast< int >(result
));
14508 SWIGINTERN PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14509 PyObject
*resultobj
= 0;
14510 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14514 PyObject
*swig_obj
[1] ;
14516 if (!args
) SWIG_fail
;
14517 swig_obj
[0] = args
;
14518 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14519 if (!SWIG_IsOK(res1
)) {
14520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14522 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14525 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
14526 wxPyEndAllowThreads(__tstate
);
14527 if (PyErr_Occurred()) SWIG_fail
;
14530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14538 SWIGINTERN PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14539 PyObject
*resultobj
= 0;
14540 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14546 PyObject
* obj0
= 0 ;
14547 PyObject
* obj1
= 0 ;
14548 char * kwnames
[] = {
14549 (char *) "self",(char *) "viewStart", NULL
14552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14554 if (!SWIG_IsOK(res1
)) {
14555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14557 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14558 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14559 if (!SWIG_IsOK(ecode2
)) {
14560 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14562 arg2
= static_cast< int >(val2
);
14564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14565 (arg1
)->SetThumbPosition(arg2
);
14566 wxPyEndAllowThreads(__tstate
);
14567 if (PyErr_Occurred()) SWIG_fail
;
14569 resultobj
= SWIG_Py_Void();
14576 SWIGINTERN PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14577 PyObject
*resultobj
= 0;
14578 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14579 SwigValueWrapper
<wxVisualAttributes
> result
;
14582 PyObject
* obj0
= 0 ;
14583 char * kwnames
[] = {
14584 (char *) "variant", NULL
14587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14589 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14590 if (!SWIG_IsOK(ecode1
)) {
14591 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14593 arg1
= static_cast< wxWindowVariant
>(val1
);
14596 if (!wxPyCheckForApp()) SWIG_fail
;
14597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14598 result
= wxScrollBar::GetClassDefaultAttributes(arg1
);
14599 wxPyEndAllowThreads(__tstate
);
14600 if (PyErr_Occurred()) SWIG_fail
;
14602 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14609 SWIGINTERN PyObject
*ScrollBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14611 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14612 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar
, SWIG_NewClientData(obj
));
14613 return SWIG_Py_Void();
14616 SWIGINTERN PyObject
*ScrollBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14617 return SWIG_Python_InitShadowInstance(args
);
14620 SWIGINTERN
int SPIN_BUTTON_NAME_set(PyObject
*) {
14621 SWIG_Error(SWIG_AttributeError
,"Variable SPIN_BUTTON_NAME is read-only.");
14626 SWIGINTERN PyObject
*SPIN_BUTTON_NAME_get(void) {
14627 PyObject
*pyobj
= 0;
14631 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14633 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14640 SWIGINTERN
int SpinCtrlNameStr_set(PyObject
*) {
14641 SWIG_Error(SWIG_AttributeError
,"Variable SpinCtrlNameStr is read-only.");
14646 SWIGINTERN PyObject
*SpinCtrlNameStr_get(void) {
14647 PyObject
*pyobj
= 0;
14651 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14653 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14660 SWIGINTERN PyObject
*_wrap_new_SpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14661 PyObject
*resultobj
= 0;
14662 wxWindow
*arg1
= (wxWindow
*) 0 ;
14663 int arg2
= (int) -1 ;
14664 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14665 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14666 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14667 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14668 long arg5
= (long) wxSP_HORIZONTAL
;
14669 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
14670 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14671 wxSpinButton
*result
= 0 ;
14680 bool temp6
= false ;
14681 PyObject
* obj0
= 0 ;
14682 PyObject
* obj1
= 0 ;
14683 PyObject
* obj2
= 0 ;
14684 PyObject
* obj3
= 0 ;
14685 PyObject
* obj4
= 0 ;
14686 PyObject
* obj5
= 0 ;
14687 char * kwnames
[] = {
14688 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14693 if (!SWIG_IsOK(res1
)) {
14694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14696 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14698 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14699 if (!SWIG_IsOK(ecode2
)) {
14700 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14702 arg2
= static_cast< int >(val2
);
14707 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14713 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14717 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14718 if (!SWIG_IsOK(ecode5
)) {
14719 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14721 arg5
= static_cast< long >(val5
);
14725 arg6
= wxString_in_helper(obj5
);
14726 if (arg6
== NULL
) SWIG_fail
;
14731 if (!wxPyCheckForApp()) SWIG_fail
;
14732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14733 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14734 wxPyEndAllowThreads(__tstate
);
14735 if (PyErr_Occurred()) SWIG_fail
;
14737 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_NEW
| 0 );
14752 SWIGINTERN PyObject
*_wrap_new_PreSpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14753 PyObject
*resultobj
= 0;
14754 wxSpinButton
*result
= 0 ;
14756 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinButton",0,0,0)) SWIG_fail
;
14758 if (!wxPyCheckForApp()) SWIG_fail
;
14759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14760 result
= (wxSpinButton
*)new wxSpinButton();
14761 wxPyEndAllowThreads(__tstate
);
14762 if (PyErr_Occurred()) SWIG_fail
;
14764 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_OWN
| 0 );
14771 SWIGINTERN PyObject
*_wrap_SpinButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14772 PyObject
*resultobj
= 0;
14773 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14774 wxWindow
*arg2
= (wxWindow
*) 0 ;
14775 int arg3
= (int) -1 ;
14776 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14777 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14778 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14779 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14780 long arg6
= (long) wxSP_HORIZONTAL
;
14781 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
14782 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14794 bool temp7
= false ;
14795 PyObject
* obj0
= 0 ;
14796 PyObject
* obj1
= 0 ;
14797 PyObject
* obj2
= 0 ;
14798 PyObject
* obj3
= 0 ;
14799 PyObject
* obj4
= 0 ;
14800 PyObject
* obj5
= 0 ;
14801 PyObject
* obj6
= 0 ;
14802 char * kwnames
[] = {
14803 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14808 if (!SWIG_IsOK(res1
)) {
14809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14811 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14812 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14813 if (!SWIG_IsOK(res2
)) {
14814 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14816 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14818 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14819 if (!SWIG_IsOK(ecode3
)) {
14820 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
14822 arg3
= static_cast< int >(val3
);
14827 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14833 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14837 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14838 if (!SWIG_IsOK(ecode6
)) {
14839 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
14841 arg6
= static_cast< long >(val6
);
14845 arg7
= wxString_in_helper(obj6
);
14846 if (arg7
== NULL
) SWIG_fail
;
14851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14852 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14853 wxPyEndAllowThreads(__tstate
);
14854 if (PyErr_Occurred()) SWIG_fail
;
14857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14873 SWIGINTERN PyObject
*_wrap_SpinButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14874 PyObject
*resultobj
= 0;
14875 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14879 PyObject
*swig_obj
[1] ;
14881 if (!args
) SWIG_fail
;
14882 swig_obj
[0] = args
;
14883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14884 if (!SWIG_IsOK(res1
)) {
14885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14887 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14890 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
14891 wxPyEndAllowThreads(__tstate
);
14892 if (PyErr_Occurred()) SWIG_fail
;
14894 resultobj
= SWIG_From_int(static_cast< int >(result
));
14901 SWIGINTERN PyObject
*_wrap_SpinButton_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14902 PyObject
*resultobj
= 0;
14903 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14907 PyObject
*swig_obj
[1] ;
14909 if (!args
) SWIG_fail
;
14910 swig_obj
[0] = args
;
14911 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14912 if (!SWIG_IsOK(res1
)) {
14913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14915 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14918 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
14919 wxPyEndAllowThreads(__tstate
);
14920 if (PyErr_Occurred()) SWIG_fail
;
14922 resultobj
= SWIG_From_int(static_cast< int >(result
));
14929 SWIGINTERN PyObject
*_wrap_SpinButton_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14930 PyObject
*resultobj
= 0;
14931 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14935 PyObject
*swig_obj
[1] ;
14937 if (!args
) SWIG_fail
;
14938 swig_obj
[0] = args
;
14939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14940 if (!SWIG_IsOK(res1
)) {
14941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14943 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14946 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
14947 wxPyEndAllowThreads(__tstate
);
14948 if (PyErr_Occurred()) SWIG_fail
;
14950 resultobj
= SWIG_From_int(static_cast< int >(result
));
14957 SWIGINTERN PyObject
*_wrap_SpinButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14958 PyObject
*resultobj
= 0;
14959 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14965 PyObject
* obj0
= 0 ;
14966 PyObject
* obj1
= 0 ;
14967 char * kwnames
[] = {
14968 (char *) "self",(char *) "val", NULL
14971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14973 if (!SWIG_IsOK(res1
)) {
14974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14976 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14977 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14978 if (!SWIG_IsOK(ecode2
)) {
14979 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
14981 arg2
= static_cast< int >(val2
);
14983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14984 (arg1
)->SetValue(arg2
);
14985 wxPyEndAllowThreads(__tstate
);
14986 if (PyErr_Occurred()) SWIG_fail
;
14988 resultobj
= SWIG_Py_Void();
14995 SWIGINTERN PyObject
*_wrap_SpinButton_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14996 PyObject
*resultobj
= 0;
14997 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15003 PyObject
* obj0
= 0 ;
15004 PyObject
* obj1
= 0 ;
15005 char * kwnames
[] = {
15006 (char *) "self",(char *) "minVal", NULL
15009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15011 if (!SWIG_IsOK(res1
)) {
15012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15014 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15015 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15016 if (!SWIG_IsOK(ecode2
)) {
15017 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
15019 arg2
= static_cast< int >(val2
);
15021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15022 (arg1
)->SetMin(arg2
);
15023 wxPyEndAllowThreads(__tstate
);
15024 if (PyErr_Occurred()) SWIG_fail
;
15026 resultobj
= SWIG_Py_Void();
15033 SWIGINTERN PyObject
*_wrap_SpinButton_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15034 PyObject
*resultobj
= 0;
15035 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15041 PyObject
* obj0
= 0 ;
15042 PyObject
* obj1
= 0 ;
15043 char * kwnames
[] = {
15044 (char *) "self",(char *) "maxVal", NULL
15047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15049 if (!SWIG_IsOK(res1
)) {
15050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMax" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15052 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15053 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15054 if (!SWIG_IsOK(ecode2
)) {
15055 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMax" "', expected argument " "2"" of type '" "int""'");
15057 arg2
= static_cast< int >(val2
);
15059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15060 (arg1
)->SetMax(arg2
);
15061 wxPyEndAllowThreads(__tstate
);
15062 if (PyErr_Occurred()) SWIG_fail
;
15064 resultobj
= SWIG_Py_Void();
15071 SWIGINTERN PyObject
*_wrap_SpinButton_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15072 PyObject
*resultobj
= 0;
15073 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15082 PyObject
* obj0
= 0 ;
15083 PyObject
* obj1
= 0 ;
15084 PyObject
* obj2
= 0 ;
15085 char * kwnames
[] = {
15086 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15091 if (!SWIG_IsOK(res1
)) {
15092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15094 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15095 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15096 if (!SWIG_IsOK(ecode2
)) {
15097 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
15099 arg2
= static_cast< int >(val2
);
15100 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15101 if (!SWIG_IsOK(ecode3
)) {
15102 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
15104 arg3
= static_cast< int >(val3
);
15106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15107 (arg1
)->SetRange(arg2
,arg3
);
15108 wxPyEndAllowThreads(__tstate
);
15109 if (PyErr_Occurred()) SWIG_fail
;
15111 resultobj
= SWIG_Py_Void();
15118 SWIGINTERN PyObject
*_wrap_SpinButton_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15119 PyObject
*resultobj
= 0;
15120 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15124 PyObject
*swig_obj
[1] ;
15126 if (!args
) SWIG_fail
;
15127 swig_obj
[0] = args
;
15128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15129 if (!SWIG_IsOK(res1
)) {
15130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15132 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15135 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
15136 wxPyEndAllowThreads(__tstate
);
15137 if (PyErr_Occurred()) SWIG_fail
;
15140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15148 SWIGINTERN PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15149 PyObject
*resultobj
= 0;
15150 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15151 SwigValueWrapper
<wxVisualAttributes
> result
;
15154 PyObject
* obj0
= 0 ;
15155 char * kwnames
[] = {
15156 (char *) "variant", NULL
15159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15161 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15162 if (!SWIG_IsOK(ecode1
)) {
15163 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15165 arg1
= static_cast< wxWindowVariant
>(val1
);
15168 if (!wxPyCheckForApp()) SWIG_fail
;
15169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15170 result
= wxSpinButton::GetClassDefaultAttributes(arg1
);
15171 wxPyEndAllowThreads(__tstate
);
15172 if (PyErr_Occurred()) SWIG_fail
;
15174 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15181 SWIGINTERN PyObject
*SpinButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15183 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15184 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton
, SWIG_NewClientData(obj
));
15185 return SWIG_Py_Void();
15188 SWIGINTERN PyObject
*SpinButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15189 return SWIG_Python_InitShadowInstance(args
);
15192 SWIGINTERN PyObject
*_wrap_new_SpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15193 PyObject
*resultobj
= 0;
15194 wxWindow
*arg1
= (wxWindow
*) 0 ;
15195 int arg2
= (int) -1 ;
15196 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15197 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15198 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15199 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15200 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15201 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15202 long arg6
= (long) wxSP_ARROW_KEYS
;
15203 int arg7
= (int) 0 ;
15204 int arg8
= (int) 100 ;
15205 int arg9
= (int) 0 ;
15206 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
15207 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15208 wxSpinCtrl
*result
= 0 ;
15213 bool temp3
= false ;
15224 bool temp10
= false ;
15225 PyObject
* obj0
= 0 ;
15226 PyObject
* obj1
= 0 ;
15227 PyObject
* obj2
= 0 ;
15228 PyObject
* obj3
= 0 ;
15229 PyObject
* obj4
= 0 ;
15230 PyObject
* obj5
= 0 ;
15231 PyObject
* obj6
= 0 ;
15232 PyObject
* obj7
= 0 ;
15233 PyObject
* obj8
= 0 ;
15234 PyObject
* obj9
= 0 ;
15235 char * kwnames
[] = {
15236 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15241 if (!SWIG_IsOK(res1
)) {
15242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15244 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15246 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15247 if (!SWIG_IsOK(ecode2
)) {
15248 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15250 arg2
= static_cast< int >(val2
);
15254 arg3
= wxString_in_helper(obj2
);
15255 if (arg3
== NULL
) SWIG_fail
;
15262 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15268 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15272 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15273 if (!SWIG_IsOK(ecode6
)) {
15274 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15276 arg6
= static_cast< long >(val6
);
15279 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15280 if (!SWIG_IsOK(ecode7
)) {
15281 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15283 arg7
= static_cast< int >(val7
);
15286 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15287 if (!SWIG_IsOK(ecode8
)) {
15288 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15290 arg8
= static_cast< int >(val8
);
15293 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15294 if (!SWIG_IsOK(ecode9
)) {
15295 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15297 arg9
= static_cast< int >(val9
);
15301 arg10
= wxString_in_helper(obj9
);
15302 if (arg10
== NULL
) SWIG_fail
;
15307 if (!wxPyCheckForApp()) SWIG_fail
;
15308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15309 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
15310 wxPyEndAllowThreads(__tstate
);
15311 if (PyErr_Occurred()) SWIG_fail
;
15313 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_NEW
| 0 );
15336 SWIGINTERN PyObject
*_wrap_new_PreSpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15337 PyObject
*resultobj
= 0;
15338 wxSpinCtrl
*result
= 0 ;
15340 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinCtrl",0,0,0)) SWIG_fail
;
15342 if (!wxPyCheckForApp()) SWIG_fail
;
15343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15344 result
= (wxSpinCtrl
*)new wxSpinCtrl();
15345 wxPyEndAllowThreads(__tstate
);
15346 if (PyErr_Occurred()) SWIG_fail
;
15348 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_OWN
| 0 );
15355 SWIGINTERN PyObject
*_wrap_SpinCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15356 PyObject
*resultobj
= 0;
15357 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15358 wxWindow
*arg2
= (wxWindow
*) 0 ;
15359 int arg3
= (int) -1 ;
15360 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15361 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15362 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15363 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15364 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15365 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15366 long arg7
= (long) wxSP_ARROW_KEYS
;
15367 int arg8
= (int) 0 ;
15368 int arg9
= (int) 100 ;
15369 int arg10
= (int) 0 ;
15370 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
15371 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15379 bool temp4
= false ;
15390 bool temp11
= false ;
15391 PyObject
* obj0
= 0 ;
15392 PyObject
* obj1
= 0 ;
15393 PyObject
* obj2
= 0 ;
15394 PyObject
* obj3
= 0 ;
15395 PyObject
* obj4
= 0 ;
15396 PyObject
* obj5
= 0 ;
15397 PyObject
* obj6
= 0 ;
15398 PyObject
* obj7
= 0 ;
15399 PyObject
* obj8
= 0 ;
15400 PyObject
* obj9
= 0 ;
15401 PyObject
* obj10
= 0 ;
15402 char * kwnames
[] = {
15403 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
15407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15408 if (!SWIG_IsOK(res1
)) {
15409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15411 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15412 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15413 if (!SWIG_IsOK(res2
)) {
15414 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15416 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15418 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15419 if (!SWIG_IsOK(ecode3
)) {
15420 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15422 arg3
= static_cast< int >(val3
);
15426 arg4
= wxString_in_helper(obj3
);
15427 if (arg4
== NULL
) SWIG_fail
;
15434 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15440 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15444 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
15445 if (!SWIG_IsOK(ecode7
)) {
15446 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15448 arg7
= static_cast< long >(val7
);
15451 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15452 if (!SWIG_IsOK(ecode8
)) {
15453 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15455 arg8
= static_cast< int >(val8
);
15458 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15459 if (!SWIG_IsOK(ecode9
)) {
15460 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15462 arg9
= static_cast< int >(val9
);
15465 ecode10
= SWIG_AsVal_int(obj9
, &val10
);
15466 if (!SWIG_IsOK(ecode10
)) {
15467 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15469 arg10
= static_cast< int >(val10
);
15473 arg11
= wxString_in_helper(obj10
);
15474 if (arg11
== NULL
) SWIG_fail
;
15479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15480 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
15481 wxPyEndAllowThreads(__tstate
);
15482 if (PyErr_Occurred()) SWIG_fail
;
15485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15509 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15510 PyObject
*resultobj
= 0;
15511 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15515 PyObject
*swig_obj
[1] ;
15517 if (!args
) SWIG_fail
;
15518 swig_obj
[0] = args
;
15519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15520 if (!SWIG_IsOK(res1
)) {
15521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15523 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15526 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
15527 wxPyEndAllowThreads(__tstate
);
15528 if (PyErr_Occurred()) SWIG_fail
;
15530 resultobj
= SWIG_From_int(static_cast< int >(result
));
15537 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15538 PyObject
*resultobj
= 0;
15539 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15545 PyObject
* obj0
= 0 ;
15546 PyObject
* obj1
= 0 ;
15547 char * kwnames
[] = {
15548 (char *) "self",(char *) "value", NULL
15551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15553 if (!SWIG_IsOK(res1
)) {
15554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15556 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15557 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15558 if (!SWIG_IsOK(ecode2
)) {
15559 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15561 arg2
= static_cast< int >(val2
);
15563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15564 (arg1
)->SetValue(arg2
);
15565 wxPyEndAllowThreads(__tstate
);
15566 if (PyErr_Occurred()) SWIG_fail
;
15568 resultobj
= SWIG_Py_Void();
15575 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15576 PyObject
*resultobj
= 0;
15577 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15578 wxString
*arg2
= 0 ;
15581 bool temp2
= false ;
15582 PyObject
* obj0
= 0 ;
15583 PyObject
* obj1
= 0 ;
15584 char * kwnames
[] = {
15585 (char *) "self",(char *) "text", NULL
15588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15590 if (!SWIG_IsOK(res1
)) {
15591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15593 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15595 arg2
= wxString_in_helper(obj1
);
15596 if (arg2
== NULL
) SWIG_fail
;
15600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15601 (arg1
)->SetValue((wxString
const &)*arg2
);
15602 wxPyEndAllowThreads(__tstate
);
15603 if (PyErr_Occurred()) SWIG_fail
;
15605 resultobj
= SWIG_Py_Void();
15620 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15621 PyObject
*resultobj
= 0;
15622 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15631 PyObject
* obj0
= 0 ;
15632 PyObject
* obj1
= 0 ;
15633 PyObject
* obj2
= 0 ;
15634 char * kwnames
[] = {
15635 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15640 if (!SWIG_IsOK(res1
)) {
15641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15643 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15644 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15645 if (!SWIG_IsOK(ecode2
)) {
15646 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15648 arg2
= static_cast< int >(val2
);
15649 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15650 if (!SWIG_IsOK(ecode3
)) {
15651 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15653 arg3
= static_cast< int >(val3
);
15655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15656 (arg1
)->SetRange(arg2
,arg3
);
15657 wxPyEndAllowThreads(__tstate
);
15658 if (PyErr_Occurred()) SWIG_fail
;
15660 resultobj
= SWIG_Py_Void();
15667 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15668 PyObject
*resultobj
= 0;
15669 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15673 PyObject
*swig_obj
[1] ;
15675 if (!args
) SWIG_fail
;
15676 swig_obj
[0] = args
;
15677 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15678 if (!SWIG_IsOK(res1
)) {
15679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15681 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15684 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
15685 wxPyEndAllowThreads(__tstate
);
15686 if (PyErr_Occurred()) SWIG_fail
;
15688 resultobj
= SWIG_From_int(static_cast< int >(result
));
15695 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15696 PyObject
*resultobj
= 0;
15697 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15701 PyObject
*swig_obj
[1] ;
15703 if (!args
) SWIG_fail
;
15704 swig_obj
[0] = args
;
15705 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15706 if (!SWIG_IsOK(res1
)) {
15707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15709 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15712 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
15713 wxPyEndAllowThreads(__tstate
);
15714 if (PyErr_Occurred()) SWIG_fail
;
15716 resultobj
= SWIG_From_int(static_cast< int >(result
));
15723 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15724 PyObject
*resultobj
= 0;
15725 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15734 PyObject
* obj0
= 0 ;
15735 PyObject
* obj1
= 0 ;
15736 PyObject
* obj2
= 0 ;
15737 char * kwnames
[] = {
15738 (char *) "self",(char *) "from",(char *) "to", NULL
15741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15743 if (!SWIG_IsOK(res1
)) {
15744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15746 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15747 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
15748 if (!SWIG_IsOK(ecode2
)) {
15749 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
15751 arg2
= static_cast< long >(val2
);
15752 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
15753 if (!SWIG_IsOK(ecode3
)) {
15754 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
15756 arg3
= static_cast< long >(val3
);
15758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15759 (arg1
)->SetSelection(arg2
,arg3
);
15760 wxPyEndAllowThreads(__tstate
);
15761 if (PyErr_Occurred()) SWIG_fail
;
15763 resultobj
= SWIG_Py_Void();
15770 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15771 PyObject
*resultobj
= 0;
15772 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15773 SwigValueWrapper
<wxVisualAttributes
> result
;
15776 PyObject
* obj0
= 0 ;
15777 char * kwnames
[] = {
15778 (char *) "variant", NULL
15781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15783 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15784 if (!SWIG_IsOK(ecode1
)) {
15785 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15787 arg1
= static_cast< wxWindowVariant
>(val1
);
15790 if (!wxPyCheckForApp()) SWIG_fail
;
15791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15792 result
= wxSpinCtrl::GetClassDefaultAttributes(arg1
);
15793 wxPyEndAllowThreads(__tstate
);
15794 if (PyErr_Occurred()) SWIG_fail
;
15796 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15803 SWIGINTERN PyObject
*SpinCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15805 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15806 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl
, SWIG_NewClientData(obj
));
15807 return SWIG_Py_Void();
15810 SWIGINTERN PyObject
*SpinCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15811 return SWIG_Python_InitShadowInstance(args
);
15814 SWIGINTERN PyObject
*_wrap_new_SpinEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15815 PyObject
*resultobj
= 0;
15816 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15817 int arg2
= (int) 0 ;
15818 wxSpinEvent
*result
= 0 ;
15823 PyObject
* obj0
= 0 ;
15824 PyObject
* obj1
= 0 ;
15825 char * kwnames
[] = {
15826 (char *) "commandType",(char *) "winid", NULL
15829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15831 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15832 if (!SWIG_IsOK(ecode1
)) {
15833 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15835 arg1
= static_cast< wxEventType
>(val1
);
15838 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15839 if (!SWIG_IsOK(ecode2
)) {
15840 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
15842 arg2
= static_cast< int >(val2
);
15845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15846 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
15847 wxPyEndAllowThreads(__tstate
);
15848 if (PyErr_Occurred()) SWIG_fail
;
15850 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_NEW
| 0 );
15857 SWIGINTERN PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15858 PyObject
*resultobj
= 0;
15859 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15863 PyObject
*swig_obj
[1] ;
15865 if (!args
) SWIG_fail
;
15866 swig_obj
[0] = args
;
15867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15868 if (!SWIG_IsOK(res1
)) {
15869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
15871 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15874 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
15875 wxPyEndAllowThreads(__tstate
);
15876 if (PyErr_Occurred()) SWIG_fail
;
15878 resultobj
= SWIG_From_int(static_cast< int >(result
));
15885 SWIGINTERN PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15886 PyObject
*resultobj
= 0;
15887 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15893 PyObject
* obj0
= 0 ;
15894 PyObject
* obj1
= 0 ;
15895 char * kwnames
[] = {
15896 (char *) "self",(char *) "pos", NULL
15899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15901 if (!SWIG_IsOK(res1
)) {
15902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
15904 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15905 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15906 if (!SWIG_IsOK(ecode2
)) {
15907 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
15909 arg2
= static_cast< int >(val2
);
15911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15912 (arg1
)->SetPosition(arg2
);
15913 wxPyEndAllowThreads(__tstate
);
15914 if (PyErr_Occurred()) SWIG_fail
;
15916 resultobj
= SWIG_Py_Void();
15923 SWIGINTERN PyObject
*SpinEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15925 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15926 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent
, SWIG_NewClientData(obj
));
15927 return SWIG_Py_Void();
15930 SWIGINTERN PyObject
*SpinEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15931 return SWIG_Python_InitShadowInstance(args
);
15934 SWIGINTERN
int RadioBoxNameStr_set(PyObject
*) {
15935 SWIG_Error(SWIG_AttributeError
,"Variable RadioBoxNameStr is read-only.");
15940 SWIGINTERN PyObject
*RadioBoxNameStr_get(void) {
15941 PyObject
*pyobj
= 0;
15945 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15947 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15954 SWIGINTERN
int RadioButtonNameStr_set(PyObject
*) {
15955 SWIG_Error(SWIG_AttributeError
,"Variable RadioButtonNameStr is read-only.");
15960 SWIGINTERN PyObject
*RadioButtonNameStr_get(void) {
15961 PyObject
*pyobj
= 0;
15965 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
15967 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
15974 SWIGINTERN PyObject
*_wrap_new_RadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15975 PyObject
*resultobj
= 0;
15976 wxWindow
*arg1
= (wxWindow
*) 0 ;
15977 int arg2
= (int) -1 ;
15978 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15979 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15980 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15981 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15982 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15983 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15984 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
15985 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
15986 int arg7
= (int) 0 ;
15987 long arg8
= (long) wxRA_HORIZONTAL
;
15988 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
15989 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
15990 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
15991 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15992 wxRadioBox
*result
= 0 ;
15997 bool temp3
= false ;
16000 bool temp6
= false ;
16007 bool temp10
= false ;
16008 PyObject
* obj0
= 0 ;
16009 PyObject
* obj1
= 0 ;
16010 PyObject
* obj2
= 0 ;
16011 PyObject
* obj3
= 0 ;
16012 PyObject
* obj4
= 0 ;
16013 PyObject
* obj5
= 0 ;
16014 PyObject
* obj6
= 0 ;
16015 PyObject
* obj7
= 0 ;
16016 PyObject
* obj8
= 0 ;
16017 PyObject
* obj9
= 0 ;
16018 char * kwnames
[] = {
16019 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
16023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16024 if (!SWIG_IsOK(res1
)) {
16025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
16027 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16029 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16030 if (!SWIG_IsOK(ecode2
)) {
16031 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
16033 arg2
= static_cast< int >(val2
);
16037 arg3
= wxString_in_helper(obj2
);
16038 if (arg3
== NULL
) SWIG_fail
;
16045 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16051 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16056 if (! PySequence_Check(obj5
)) {
16057 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16060 arg6
= new wxArrayString
;
16062 int i
, len
=PySequence_Length(obj5
);
16063 for (i
=0; i
<len
; i
++) {
16064 PyObject
* item
= PySequence_GetItem(obj5
, i
);
16065 wxString
* s
= wxString_in_helper(item
);
16066 if (PyErr_Occurred()) SWIG_fail
;
16074 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
16075 if (!SWIG_IsOK(ecode7
)) {
16076 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
16078 arg7
= static_cast< int >(val7
);
16081 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
16082 if (!SWIG_IsOK(ecode8
)) {
16083 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
16085 arg8
= static_cast< long >(val8
);
16088 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
16089 if (!SWIG_IsOK(res9
)) {
16090 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16093 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16095 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
16099 arg10
= wxString_in_helper(obj9
);
16100 if (arg10
== NULL
) SWIG_fail
;
16105 if (!wxPyCheckForApp()) SWIG_fail
;
16106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16107 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
);
16108 wxPyEndAllowThreads(__tstate
);
16109 if (PyErr_Occurred()) SWIG_fail
;
16111 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_NEW
| 0 );
16117 if (temp6
) delete arg6
;
16130 if (temp6
) delete arg6
;
16140 SWIGINTERN PyObject
*_wrap_new_PreRadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16141 PyObject
*resultobj
= 0;
16142 wxRadioBox
*result
= 0 ;
16144 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioBox",0,0,0)) SWIG_fail
;
16146 if (!wxPyCheckForApp()) SWIG_fail
;
16147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16148 result
= (wxRadioBox
*)new wxRadioBox();
16149 wxPyEndAllowThreads(__tstate
);
16150 if (PyErr_Occurred()) SWIG_fail
;
16152 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_OWN
| 0 );
16159 SWIGINTERN PyObject
*_wrap_RadioBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16160 PyObject
*resultobj
= 0;
16161 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16162 wxWindow
*arg2
= (wxWindow
*) 0 ;
16163 int arg3
= (int) -1 ;
16164 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16165 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16166 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16167 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16168 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16169 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16170 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
16171 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
16172 int arg8
= (int) 0 ;
16173 long arg9
= (long) wxRA_HORIZONTAL
;
16174 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
16175 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
16176 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
16177 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
16185 bool temp4
= false ;
16188 bool temp7
= false ;
16195 bool temp11
= false ;
16196 PyObject
* obj0
= 0 ;
16197 PyObject
* obj1
= 0 ;
16198 PyObject
* obj2
= 0 ;
16199 PyObject
* obj3
= 0 ;
16200 PyObject
* obj4
= 0 ;
16201 PyObject
* obj5
= 0 ;
16202 PyObject
* obj6
= 0 ;
16203 PyObject
* obj7
= 0 ;
16204 PyObject
* obj8
= 0 ;
16205 PyObject
* obj9
= 0 ;
16206 PyObject
* obj10
= 0 ;
16207 char * kwnames
[] = {
16208 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
16212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16213 if (!SWIG_IsOK(res1
)) {
16214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16216 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16217 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16218 if (!SWIG_IsOK(res2
)) {
16219 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16221 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16223 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16224 if (!SWIG_IsOK(ecode3
)) {
16225 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16227 arg3
= static_cast< int >(val3
);
16231 arg4
= wxString_in_helper(obj3
);
16232 if (arg4
== NULL
) SWIG_fail
;
16239 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16245 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16250 if (! PySequence_Check(obj6
)) {
16251 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16254 arg7
= new wxArrayString
;
16256 int i
, len
=PySequence_Length(obj6
);
16257 for (i
=0; i
<len
; i
++) {
16258 PyObject
* item
= PySequence_GetItem(obj6
, i
);
16259 wxString
* s
= wxString_in_helper(item
);
16260 if (PyErr_Occurred()) SWIG_fail
;
16268 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
16269 if (!SWIG_IsOK(ecode8
)) {
16270 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16272 arg8
= static_cast< int >(val8
);
16275 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
16276 if (!SWIG_IsOK(ecode9
)) {
16277 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16279 arg9
= static_cast< long >(val9
);
16282 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
16283 if (!SWIG_IsOK(res10
)) {
16284 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16287 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16289 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
16293 arg11
= wxString_in_helper(obj10
);
16294 if (arg11
== NULL
) SWIG_fail
;
16299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16300 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
);
16301 wxPyEndAllowThreads(__tstate
);
16302 if (PyErr_Occurred()) SWIG_fail
;
16305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16312 if (temp7
) delete arg7
;
16325 if (temp7
) delete arg7
;
16335 SWIGINTERN PyObject
*_wrap_RadioBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16336 PyObject
*resultobj
= 0;
16337 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16343 PyObject
* obj0
= 0 ;
16344 PyObject
* obj1
= 0 ;
16345 char * kwnames
[] = {
16346 (char *) "self",(char *) "n", NULL
16349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16351 if (!SWIG_IsOK(res1
)) {
16352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16354 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16355 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16356 if (!SWIG_IsOK(ecode2
)) {
16357 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16359 arg2
= static_cast< int >(val2
);
16361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16362 (arg1
)->SetSelection(arg2
);
16363 wxPyEndAllowThreads(__tstate
);
16364 if (PyErr_Occurred()) SWIG_fail
;
16366 resultobj
= SWIG_Py_Void();
16373 SWIGINTERN PyObject
*_wrap_RadioBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16374 PyObject
*resultobj
= 0;
16375 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16379 PyObject
*swig_obj
[1] ;
16381 if (!args
) SWIG_fail
;
16382 swig_obj
[0] = args
;
16383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16384 if (!SWIG_IsOK(res1
)) {
16385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16387 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16390 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
16391 wxPyEndAllowThreads(__tstate
);
16392 if (PyErr_Occurred()) SWIG_fail
;
16394 resultobj
= SWIG_From_int(static_cast< int >(result
));
16401 SWIGINTERN PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16402 PyObject
*resultobj
= 0;
16403 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16407 PyObject
*swig_obj
[1] ;
16409 if (!args
) SWIG_fail
;
16410 swig_obj
[0] = args
;
16411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16412 if (!SWIG_IsOK(res1
)) {
16413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16415 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16418 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
16419 wxPyEndAllowThreads(__tstate
);
16420 if (PyErr_Occurred()) SWIG_fail
;
16424 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16426 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16435 SWIGINTERN PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16436 PyObject
*resultobj
= 0;
16437 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16438 wxString
*arg2
= 0 ;
16442 bool temp2
= false ;
16443 PyObject
* obj0
= 0 ;
16444 PyObject
* obj1
= 0 ;
16445 char * kwnames
[] = {
16446 (char *) "self",(char *) "s", NULL
16449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16451 if (!SWIG_IsOK(res1
)) {
16452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16454 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16456 arg2
= wxString_in_helper(obj1
);
16457 if (arg2
== NULL
) SWIG_fail
;
16461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16462 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
16463 wxPyEndAllowThreads(__tstate
);
16464 if (PyErr_Occurred()) SWIG_fail
;
16467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16483 SWIGINTERN PyObject
*_wrap_RadioBox_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16484 PyObject
*resultobj
= 0;
16485 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16489 PyObject
*swig_obj
[1] ;
16491 if (!args
) SWIG_fail
;
16492 swig_obj
[0] = args
;
16493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16494 if (!SWIG_IsOK(res1
)) {
16495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16497 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16500 result
= (size_t)((wxRadioBox
const *)arg1
)->GetCount();
16501 wxPyEndAllowThreads(__tstate
);
16502 if (PyErr_Occurred()) SWIG_fail
;
16504 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16511 SWIGINTERN PyObject
*_wrap_RadioBox_FindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16512 PyObject
*resultobj
= 0;
16513 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16514 wxString
*arg2
= 0 ;
16518 bool temp2
= false ;
16519 PyObject
* obj0
= 0 ;
16520 PyObject
* obj1
= 0 ;
16521 char * kwnames
[] = {
16522 (char *) "self",(char *) "s", NULL
16525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16527 if (!SWIG_IsOK(res1
)) {
16528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16530 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16532 arg2
= wxString_in_helper(obj1
);
16533 if (arg2
== NULL
) SWIG_fail
;
16537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16538 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
16539 wxPyEndAllowThreads(__tstate
);
16540 if (PyErr_Occurred()) SWIG_fail
;
16542 resultobj
= SWIG_From_int(static_cast< int >(result
));
16557 SWIGINTERN PyObject
*_wrap_RadioBox_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16558 PyObject
*resultobj
= 0;
16559 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16566 PyObject
* obj0
= 0 ;
16567 PyObject
* obj1
= 0 ;
16568 char * kwnames
[] = {
16569 (char *) "self",(char *) "n", NULL
16572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16574 if (!SWIG_IsOK(res1
)) {
16575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16577 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16578 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16579 if (!SWIG_IsOK(ecode2
)) {
16580 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16582 arg2
= static_cast< int >(val2
);
16584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16585 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
16586 wxPyEndAllowThreads(__tstate
);
16587 if (PyErr_Occurred()) SWIG_fail
;
16591 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16593 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16602 SWIGINTERN PyObject
*_wrap_RadioBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16603 PyObject
*resultobj
= 0;
16604 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16606 wxString
*arg3
= 0 ;
16611 bool temp3
= false ;
16612 PyObject
* obj0
= 0 ;
16613 PyObject
* obj1
= 0 ;
16614 PyObject
* obj2
= 0 ;
16615 char * kwnames
[] = {
16616 (char *) "self",(char *) "n",(char *) "label", NULL
16619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16621 if (!SWIG_IsOK(res1
)) {
16622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16624 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16625 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16626 if (!SWIG_IsOK(ecode2
)) {
16627 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16629 arg2
= static_cast< int >(val2
);
16631 arg3
= wxString_in_helper(obj2
);
16632 if (arg3
== NULL
) SWIG_fail
;
16636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16637 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
16638 wxPyEndAllowThreads(__tstate
);
16639 if (PyErr_Occurred()) SWIG_fail
;
16641 resultobj
= SWIG_Py_Void();
16656 SWIGINTERN PyObject
*_wrap_RadioBox_EnableItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16657 PyObject
*resultobj
= 0;
16658 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16659 unsigned int arg2
;
16660 bool arg3
= (bool) true ;
16663 unsigned int val2
;
16667 PyObject
* obj0
= 0 ;
16668 PyObject
* obj1
= 0 ;
16669 PyObject
* obj2
= 0 ;
16670 char * kwnames
[] = {
16671 (char *) "self",(char *) "n",(char *) "enable", NULL
16674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16676 if (!SWIG_IsOK(res1
)) {
16677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16679 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16680 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16681 if (!SWIG_IsOK(ecode2
)) {
16682 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "unsigned int""'");
16684 arg2
= static_cast< unsigned int >(val2
);
16686 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16687 if (!SWIG_IsOK(ecode3
)) {
16688 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16690 arg3
= static_cast< bool >(val3
);
16693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16694 (arg1
)->Enable(arg2
,arg3
);
16695 wxPyEndAllowThreads(__tstate
);
16696 if (PyErr_Occurred()) SWIG_fail
;
16698 resultobj
= SWIG_Py_Void();
16705 SWIGINTERN PyObject
*_wrap_RadioBox_ShowItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16706 PyObject
*resultobj
= 0;
16707 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16708 unsigned int arg2
;
16709 bool arg3
= (bool) true ;
16712 unsigned int val2
;
16716 PyObject
* obj0
= 0 ;
16717 PyObject
* obj1
= 0 ;
16718 PyObject
* obj2
= 0 ;
16719 char * kwnames
[] = {
16720 (char *) "self",(char *) "n",(char *) "show", NULL
16723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16725 if (!SWIG_IsOK(res1
)) {
16726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16728 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16729 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16730 if (!SWIG_IsOK(ecode2
)) {
16731 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
16733 arg2
= static_cast< unsigned int >(val2
);
16735 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16736 if (!SWIG_IsOK(ecode3
)) {
16737 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16739 arg3
= static_cast< bool >(val3
);
16742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16743 (arg1
)->Show(arg2
,arg3
);
16744 wxPyEndAllowThreads(__tstate
);
16745 if (PyErr_Occurred()) SWIG_fail
;
16747 resultobj
= SWIG_Py_Void();
16754 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16755 PyObject
*resultobj
= 0;
16756 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16757 unsigned int arg2
;
16761 unsigned int val2
;
16763 PyObject
* obj0
= 0 ;
16764 PyObject
* obj1
= 0 ;
16765 char * kwnames
[] = {
16766 (char *) "self",(char *) "n", NULL
16769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16771 if (!SWIG_IsOK(res1
)) {
16772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16774 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16775 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16776 if (!SWIG_IsOK(ecode2
)) {
16777 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
16779 arg2
= static_cast< unsigned int >(val2
);
16781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16782 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemEnabled(arg2
);
16783 wxPyEndAllowThreads(__tstate
);
16784 if (PyErr_Occurred()) SWIG_fail
;
16787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16795 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16796 PyObject
*resultobj
= 0;
16797 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16798 unsigned int arg2
;
16802 unsigned int val2
;
16804 PyObject
* obj0
= 0 ;
16805 PyObject
* obj1
= 0 ;
16806 char * kwnames
[] = {
16807 (char *) "self",(char *) "n", NULL
16810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemShown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16812 if (!SWIG_IsOK(res1
)) {
16813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16815 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16816 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16817 if (!SWIG_IsOK(ecode2
)) {
16818 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
16820 arg2
= static_cast< unsigned int >(val2
);
16822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16823 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemShown(arg2
);
16824 wxPyEndAllowThreads(__tstate
);
16825 if (PyErr_Occurred()) SWIG_fail
;
16828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16836 SWIGINTERN PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16837 PyObject
*resultobj
= 0;
16838 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16839 unsigned int result
;
16842 PyObject
*swig_obj
[1] ;
16844 if (!args
) SWIG_fail
;
16845 swig_obj
[0] = args
;
16846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16847 if (!SWIG_IsOK(res1
)) {
16848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16850 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16853 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetColumnCount();
16854 wxPyEndAllowThreads(__tstate
);
16855 if (PyErr_Occurred()) SWIG_fail
;
16857 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16864 SWIGINTERN PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16865 PyObject
*resultobj
= 0;
16866 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16867 unsigned int result
;
16870 PyObject
*swig_obj
[1] ;
16872 if (!args
) SWIG_fail
;
16873 swig_obj
[0] = args
;
16874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16875 if (!SWIG_IsOK(res1
)) {
16876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16878 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16881 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetRowCount();
16882 wxPyEndAllowThreads(__tstate
);
16883 if (PyErr_Occurred()) SWIG_fail
;
16885 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16892 SWIGINTERN PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16893 PyObject
*resultobj
= 0;
16894 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16907 PyObject
* obj0
= 0 ;
16908 PyObject
* obj1
= 0 ;
16909 PyObject
* obj2
= 0 ;
16910 PyObject
* obj3
= 0 ;
16911 char * kwnames
[] = {
16912 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
16915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16917 if (!SWIG_IsOK(res1
)) {
16918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16920 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16921 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16922 if (!SWIG_IsOK(ecode2
)) {
16923 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
16925 arg2
= static_cast< int >(val2
);
16926 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16927 if (!SWIG_IsOK(ecode3
)) {
16928 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
16930 arg3
= static_cast< wxDirection
>(val3
);
16931 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16932 if (!SWIG_IsOK(ecode4
)) {
16933 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
16935 arg4
= static_cast< long >(val4
);
16937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16938 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
16939 wxPyEndAllowThreads(__tstate
);
16940 if (PyErr_Occurred()) SWIG_fail
;
16942 resultobj
= SWIG_From_int(static_cast< int >(result
));
16949 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16950 PyObject
*resultobj
= 0;
16951 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16952 unsigned int arg2
;
16953 wxString
*arg3
= 0 ;
16956 unsigned int val2
;
16958 bool temp3
= false ;
16959 PyObject
* obj0
= 0 ;
16960 PyObject
* obj1
= 0 ;
16961 PyObject
* obj2
= 0 ;
16962 char * kwnames
[] = {
16963 (char *) "self",(char *) "item",(char *) "text", NULL
16966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemToolTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16968 if (!SWIG_IsOK(res1
)) {
16969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16971 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16972 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16973 if (!SWIG_IsOK(ecode2
)) {
16974 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
16976 arg2
= static_cast< unsigned int >(val2
);
16978 arg3
= wxString_in_helper(obj2
);
16979 if (arg3
== NULL
) SWIG_fail
;
16983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16984 (arg1
)->SetItemToolTip(arg2
,(wxString
const &)*arg3
);
16985 wxPyEndAllowThreads(__tstate
);
16986 if (PyErr_Occurred()) SWIG_fail
;
16988 resultobj
= SWIG_Py_Void();
17003 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17004 PyObject
*resultobj
= 0;
17005 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17006 unsigned int arg2
;
17007 wxToolTip
*result
= 0 ;
17010 unsigned int val2
;
17012 PyObject
* obj0
= 0 ;
17013 PyObject
* obj1
= 0 ;
17014 char * kwnames
[] = {
17015 (char *) "self",(char *) "item", NULL
17018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17020 if (!SWIG_IsOK(res1
)) {
17021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17023 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17024 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17025 if (!SWIG_IsOK(ecode2
)) {
17026 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17028 arg2
= static_cast< unsigned int >(val2
);
17030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17031 result
= (wxToolTip
*)((wxRadioBox
const *)arg1
)->GetItemToolTip(arg2
);
17032 wxPyEndAllowThreads(__tstate
);
17033 if (PyErr_Occurred()) SWIG_fail
;
17036 resultobj
= wxPyMake_wxObject(result
, (bool)0);
17044 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17045 PyObject
*resultobj
= 0;
17046 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17047 unsigned int arg2
;
17048 wxString
*arg3
= 0 ;
17051 unsigned int val2
;
17053 bool temp3
= false ;
17054 PyObject
* obj0
= 0 ;
17055 PyObject
* obj1
= 0 ;
17056 PyObject
* obj2
= 0 ;
17057 char * kwnames
[] = {
17058 (char *) "self",(char *) "n",(char *) "helpText", NULL
17061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemHelpText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17063 if (!SWIG_IsOK(res1
)) {
17064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17066 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17067 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17068 if (!SWIG_IsOK(ecode2
)) {
17069 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17071 arg2
= static_cast< unsigned int >(val2
);
17073 arg3
= wxString_in_helper(obj2
);
17074 if (arg3
== NULL
) SWIG_fail
;
17078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17079 (arg1
)->SetItemHelpText(arg2
,(wxString
const &)*arg3
);
17080 wxPyEndAllowThreads(__tstate
);
17081 if (PyErr_Occurred()) SWIG_fail
;
17083 resultobj
= SWIG_Py_Void();
17098 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17099 PyObject
*resultobj
= 0;
17100 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17101 unsigned int arg2
;
17105 unsigned int val2
;
17107 PyObject
* obj0
= 0 ;
17108 PyObject
* obj1
= 0 ;
17109 char * kwnames
[] = {
17110 (char *) "self",(char *) "n", NULL
17113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemHelpText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17114 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17115 if (!SWIG_IsOK(res1
)) {
17116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17118 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17119 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17120 if (!SWIG_IsOK(ecode2
)) {
17121 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17123 arg2
= static_cast< unsigned int >(val2
);
17125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17126 result
= ((wxRadioBox
const *)arg1
)->GetItemHelpText(arg2
);
17127 wxPyEndAllowThreads(__tstate
);
17128 if (PyErr_Occurred()) SWIG_fail
;
17132 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17134 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17143 SWIGINTERN PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17144 PyObject
*resultobj
= 0;
17145 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17146 SwigValueWrapper
<wxVisualAttributes
> result
;
17149 PyObject
* obj0
= 0 ;
17150 char * kwnames
[] = {
17151 (char *) "variant", NULL
17154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17156 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17157 if (!SWIG_IsOK(ecode1
)) {
17158 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17160 arg1
= static_cast< wxWindowVariant
>(val1
);
17163 if (!wxPyCheckForApp()) SWIG_fail
;
17164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17165 result
= wxRadioBox::GetClassDefaultAttributes(arg1
);
17166 wxPyEndAllowThreads(__tstate
);
17167 if (PyErr_Occurred()) SWIG_fail
;
17169 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17176 SWIGINTERN PyObject
*RadioBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17178 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17179 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox
, SWIG_NewClientData(obj
));
17180 return SWIG_Py_Void();
17183 SWIGINTERN PyObject
*RadioBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17184 return SWIG_Python_InitShadowInstance(args
);
17187 SWIGINTERN PyObject
*_wrap_new_RadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17188 PyObject
*resultobj
= 0;
17189 wxWindow
*arg1
= (wxWindow
*) 0 ;
17190 int arg2
= (int) -1 ;
17191 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17192 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17193 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17194 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17195 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17196 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17197 long arg6
= (long) 0 ;
17198 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
17199 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
17200 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
17201 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17202 wxRadioButton
*result
= 0 ;
17207 bool temp3
= false ;
17214 bool temp8
= false ;
17215 PyObject
* obj0
= 0 ;
17216 PyObject
* obj1
= 0 ;
17217 PyObject
* obj2
= 0 ;
17218 PyObject
* obj3
= 0 ;
17219 PyObject
* obj4
= 0 ;
17220 PyObject
* obj5
= 0 ;
17221 PyObject
* obj6
= 0 ;
17222 PyObject
* obj7
= 0 ;
17223 char * kwnames
[] = {
17224 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
17228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17229 if (!SWIG_IsOK(res1
)) {
17230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
17232 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17234 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17235 if (!SWIG_IsOK(ecode2
)) {
17236 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
17238 arg2
= static_cast< int >(val2
);
17242 arg3
= wxString_in_helper(obj2
);
17243 if (arg3
== NULL
) SWIG_fail
;
17250 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17256 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17260 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17261 if (!SWIG_IsOK(ecode6
)) {
17262 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
17264 arg6
= static_cast< long >(val6
);
17267 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
17268 if (!SWIG_IsOK(res7
)) {
17269 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17272 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17274 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
17278 arg8
= wxString_in_helper(obj7
);
17279 if (arg8
== NULL
) SWIG_fail
;
17284 if (!wxPyCheckForApp()) SWIG_fail
;
17285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17286 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
17287 wxPyEndAllowThreads(__tstate
);
17288 if (PyErr_Occurred()) SWIG_fail
;
17290 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_NEW
| 0 );
17313 SWIGINTERN PyObject
*_wrap_new_PreRadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17314 PyObject
*resultobj
= 0;
17315 wxRadioButton
*result
= 0 ;
17317 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioButton",0,0,0)) SWIG_fail
;
17319 if (!wxPyCheckForApp()) SWIG_fail
;
17320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17321 result
= (wxRadioButton
*)new wxRadioButton();
17322 wxPyEndAllowThreads(__tstate
);
17323 if (PyErr_Occurred()) SWIG_fail
;
17325 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_OWN
| 0 );
17332 SWIGINTERN PyObject
*_wrap_RadioButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17333 PyObject
*resultobj
= 0;
17334 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17335 wxWindow
*arg2
= (wxWindow
*) 0 ;
17336 int arg3
= (int) -1 ;
17337 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17338 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17339 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17340 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17341 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17342 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17343 long arg7
= (long) 0 ;
17344 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
17345 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
17346 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
17347 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17355 bool temp4
= false ;
17362 bool temp9
= false ;
17363 PyObject
* obj0
= 0 ;
17364 PyObject
* obj1
= 0 ;
17365 PyObject
* obj2
= 0 ;
17366 PyObject
* obj3
= 0 ;
17367 PyObject
* obj4
= 0 ;
17368 PyObject
* obj5
= 0 ;
17369 PyObject
* obj6
= 0 ;
17370 PyObject
* obj7
= 0 ;
17371 PyObject
* obj8
= 0 ;
17372 char * kwnames
[] = {
17373 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
17377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17378 if (!SWIG_IsOK(res1
)) {
17379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17381 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17382 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17383 if (!SWIG_IsOK(res2
)) {
17384 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17386 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17388 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17389 if (!SWIG_IsOK(ecode3
)) {
17390 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
17392 arg3
= static_cast< int >(val3
);
17396 arg4
= wxString_in_helper(obj3
);
17397 if (arg4
== NULL
) SWIG_fail
;
17404 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17410 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17414 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
17415 if (!SWIG_IsOK(ecode7
)) {
17416 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
17418 arg7
= static_cast< long >(val7
);
17421 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
17422 if (!SWIG_IsOK(res8
)) {
17423 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17426 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17428 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
17432 arg9
= wxString_in_helper(obj8
);
17433 if (arg9
== NULL
) SWIG_fail
;
17438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17439 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
17440 wxPyEndAllowThreads(__tstate
);
17441 if (PyErr_Occurred()) SWIG_fail
;
17444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17468 SWIGINTERN PyObject
*_wrap_RadioButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17469 PyObject
*resultobj
= 0;
17470 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17474 PyObject
*swig_obj
[1] ;
17476 if (!args
) SWIG_fail
;
17477 swig_obj
[0] = args
;
17478 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17479 if (!SWIG_IsOK(res1
)) {
17480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17482 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17485 result
= (bool)(arg1
)->GetValue();
17486 wxPyEndAllowThreads(__tstate
);
17487 if (PyErr_Occurred()) SWIG_fail
;
17490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17498 SWIGINTERN PyObject
*_wrap_RadioButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17499 PyObject
*resultobj
= 0;
17500 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17506 PyObject
* obj0
= 0 ;
17507 PyObject
* obj1
= 0 ;
17508 char * kwnames
[] = {
17509 (char *) "self",(char *) "value", NULL
17512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17514 if (!SWIG_IsOK(res1
)) {
17515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17517 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17518 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
17519 if (!SWIG_IsOK(ecode2
)) {
17520 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17522 arg2
= static_cast< bool >(val2
);
17524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17525 (arg1
)->SetValue(arg2
);
17526 wxPyEndAllowThreads(__tstate
);
17527 if (PyErr_Occurred()) SWIG_fail
;
17529 resultobj
= SWIG_Py_Void();
17536 SWIGINTERN PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17537 PyObject
*resultobj
= 0;
17538 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17539 SwigValueWrapper
<wxVisualAttributes
> result
;
17542 PyObject
* obj0
= 0 ;
17543 char * kwnames
[] = {
17544 (char *) "variant", NULL
17547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17549 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17550 if (!SWIG_IsOK(ecode1
)) {
17551 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17553 arg1
= static_cast< wxWindowVariant
>(val1
);
17556 if (!wxPyCheckForApp()) SWIG_fail
;
17557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17558 result
= wxRadioButton::GetClassDefaultAttributes(arg1
);
17559 wxPyEndAllowThreads(__tstate
);
17560 if (PyErr_Occurred()) SWIG_fail
;
17562 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17569 SWIGINTERN PyObject
*RadioButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17571 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17572 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton
, SWIG_NewClientData(obj
));
17573 return SWIG_Py_Void();
17576 SWIGINTERN PyObject
*RadioButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17577 return SWIG_Python_InitShadowInstance(args
);
17580 SWIGINTERN
int SliderNameStr_set(PyObject
*) {
17581 SWIG_Error(SWIG_AttributeError
,"Variable SliderNameStr is read-only.");
17586 SWIGINTERN PyObject
*SliderNameStr_get(void) {
17587 PyObject
*pyobj
= 0;
17591 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17593 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17600 SWIGINTERN PyObject
*_wrap_new_Slider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17601 PyObject
*resultobj
= 0;
17602 wxWindow
*arg1
= (wxWindow
*) 0 ;
17603 int arg2
= (int) -1 ;
17604 int arg3
= (int) 0 ;
17605 int arg4
= (int) 0 ;
17606 int arg5
= (int) 100 ;
17607 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17608 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17609 wxSize
const &arg7_defvalue
= wxDefaultSize
;
17610 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
17611 long arg8
= (long) wxSL_HORIZONTAL
;
17612 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
17613 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
17614 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
17615 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
17616 wxSlider
*result
= 0 ;
17633 bool temp10
= false ;
17634 PyObject
* obj0
= 0 ;
17635 PyObject
* obj1
= 0 ;
17636 PyObject
* obj2
= 0 ;
17637 PyObject
* obj3
= 0 ;
17638 PyObject
* obj4
= 0 ;
17639 PyObject
* obj5
= 0 ;
17640 PyObject
* obj6
= 0 ;
17641 PyObject
* obj7
= 0 ;
17642 PyObject
* obj8
= 0 ;
17643 PyObject
* obj9
= 0 ;
17644 char * kwnames
[] = {
17645 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
17649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17650 if (!SWIG_IsOK(res1
)) {
17651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17653 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17655 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17656 if (!SWIG_IsOK(ecode2
)) {
17657 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17659 arg2
= static_cast< int >(val2
);
17662 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17663 if (!SWIG_IsOK(ecode3
)) {
17664 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17666 arg3
= static_cast< int >(val3
);
17669 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17670 if (!SWIG_IsOK(ecode4
)) {
17671 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17673 arg4
= static_cast< int >(val4
);
17676 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17677 if (!SWIG_IsOK(ecode5
)) {
17678 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17680 arg5
= static_cast< int >(val5
);
17685 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
17691 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
17695 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
17696 if (!SWIG_IsOK(ecode8
)) {
17697 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17699 arg8
= static_cast< long >(val8
);
17702 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
17703 if (!SWIG_IsOK(res9
)) {
17704 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17707 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17709 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
17713 arg10
= wxString_in_helper(obj9
);
17714 if (arg10
== NULL
) SWIG_fail
;
17719 if (!wxPyCheckForApp()) SWIG_fail
;
17720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17721 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
17722 wxPyEndAllowThreads(__tstate
);
17723 if (PyErr_Occurred()) SWIG_fail
;
17725 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_NEW
| 0 );
17740 SWIGINTERN PyObject
*_wrap_new_PreSlider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17741 PyObject
*resultobj
= 0;
17742 wxSlider
*result
= 0 ;
17744 if (!SWIG_Python_UnpackTuple(args
,"new_PreSlider",0,0,0)) SWIG_fail
;
17746 if (!wxPyCheckForApp()) SWIG_fail
;
17747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17748 result
= (wxSlider
*)new wxSlider();
17749 wxPyEndAllowThreads(__tstate
);
17750 if (PyErr_Occurred()) SWIG_fail
;
17752 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_OWN
| 0 );
17759 SWIGINTERN PyObject
*_wrap_Slider_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17760 PyObject
*resultobj
= 0;
17761 wxSlider
*arg1
= (wxSlider
*) 0 ;
17762 wxWindow
*arg2
= (wxWindow
*) 0 ;
17763 int arg3
= (int) -1 ;
17764 int arg4
= (int) 0 ;
17765 int arg5
= (int) 0 ;
17766 int arg6
= (int) 100 ;
17767 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17768 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17769 wxSize
const &arg8_defvalue
= wxDefaultSize
;
17770 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
17771 long arg9
= (long) wxSL_HORIZONTAL
;
17772 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
17773 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
17774 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
17775 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
17795 bool temp11
= false ;
17796 PyObject
* obj0
= 0 ;
17797 PyObject
* obj1
= 0 ;
17798 PyObject
* obj2
= 0 ;
17799 PyObject
* obj3
= 0 ;
17800 PyObject
* obj4
= 0 ;
17801 PyObject
* obj5
= 0 ;
17802 PyObject
* obj6
= 0 ;
17803 PyObject
* obj7
= 0 ;
17804 PyObject
* obj8
= 0 ;
17805 PyObject
* obj9
= 0 ;
17806 PyObject
* obj10
= 0 ;
17807 char * kwnames
[] = {
17808 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
17812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17813 if (!SWIG_IsOK(res1
)) {
17814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
17816 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17817 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17818 if (!SWIG_IsOK(res2
)) {
17819 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17821 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17823 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17824 if (!SWIG_IsOK(ecode3
)) {
17825 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
17827 arg3
= static_cast< int >(val3
);
17830 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17831 if (!SWIG_IsOK(ecode4
)) {
17832 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
17834 arg4
= static_cast< int >(val4
);
17837 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17838 if (!SWIG_IsOK(ecode5
)) {
17839 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
17841 arg5
= static_cast< int >(val5
);
17844 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17845 if (!SWIG_IsOK(ecode6
)) {
17846 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
17848 arg6
= static_cast< int >(val6
);
17853 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17859 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
17863 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
17864 if (!SWIG_IsOK(ecode9
)) {
17865 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
17867 arg9
= static_cast< long >(val9
);
17870 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
17871 if (!SWIG_IsOK(res10
)) {
17872 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17875 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17877 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
17881 arg11
= wxString_in_helper(obj10
);
17882 if (arg11
== NULL
) SWIG_fail
;
17887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17888 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
17889 wxPyEndAllowThreads(__tstate
);
17890 if (PyErr_Occurred()) SWIG_fail
;
17893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17909 SWIGINTERN PyObject
*_wrap_Slider_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17910 PyObject
*resultobj
= 0;
17911 wxSlider
*arg1
= (wxSlider
*) 0 ;
17915 PyObject
*swig_obj
[1] ;
17917 if (!args
) SWIG_fail
;
17918 swig_obj
[0] = args
;
17919 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17920 if (!SWIG_IsOK(res1
)) {
17921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
17923 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17926 result
= (int)((wxSlider
const *)arg1
)->GetValue();
17927 wxPyEndAllowThreads(__tstate
);
17928 if (PyErr_Occurred()) SWIG_fail
;
17930 resultobj
= SWIG_From_int(static_cast< int >(result
));
17937 SWIGINTERN PyObject
*_wrap_Slider_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17938 PyObject
*resultobj
= 0;
17939 wxSlider
*arg1
= (wxSlider
*) 0 ;
17945 PyObject
* obj0
= 0 ;
17946 PyObject
* obj1
= 0 ;
17947 char * kwnames
[] = {
17948 (char *) "self",(char *) "value", NULL
17951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17953 if (!SWIG_IsOK(res1
)) {
17954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
17956 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17957 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17958 if (!SWIG_IsOK(ecode2
)) {
17959 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
17961 arg2
= static_cast< int >(val2
);
17963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17964 (arg1
)->SetValue(arg2
);
17965 wxPyEndAllowThreads(__tstate
);
17966 if (PyErr_Occurred()) SWIG_fail
;
17968 resultobj
= SWIG_Py_Void();
17975 SWIGINTERN PyObject
*_wrap_Slider_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17976 PyObject
*resultobj
= 0;
17977 wxSlider
*arg1
= (wxSlider
*) 0 ;
17986 PyObject
* obj0
= 0 ;
17987 PyObject
* obj1
= 0 ;
17988 PyObject
* obj2
= 0 ;
17989 char * kwnames
[] = {
17990 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
17993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17995 if (!SWIG_IsOK(res1
)) {
17996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
17998 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17999 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18000 if (!SWIG_IsOK(ecode2
)) {
18001 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
18003 arg2
= static_cast< int >(val2
);
18004 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18005 if (!SWIG_IsOK(ecode3
)) {
18006 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
18008 arg3
= static_cast< int >(val3
);
18010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18011 (arg1
)->SetRange(arg2
,arg3
);
18012 wxPyEndAllowThreads(__tstate
);
18013 if (PyErr_Occurred()) SWIG_fail
;
18015 resultobj
= SWIG_Py_Void();
18022 SWIGINTERN PyObject
*_wrap_Slider_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18023 PyObject
*resultobj
= 0;
18024 wxSlider
*arg1
= (wxSlider
*) 0 ;
18028 PyObject
*swig_obj
[1] ;
18030 if (!args
) SWIG_fail
;
18031 swig_obj
[0] = args
;
18032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18033 if (!SWIG_IsOK(res1
)) {
18034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
18036 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18039 result
= (int)((wxSlider
const *)arg1
)->GetMin();
18040 wxPyEndAllowThreads(__tstate
);
18041 if (PyErr_Occurred()) SWIG_fail
;
18043 resultobj
= SWIG_From_int(static_cast< int >(result
));
18050 SWIGINTERN PyObject
*_wrap_Slider_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18051 PyObject
*resultobj
= 0;
18052 wxSlider
*arg1
= (wxSlider
*) 0 ;
18056 PyObject
*swig_obj
[1] ;
18058 if (!args
) SWIG_fail
;
18059 swig_obj
[0] = args
;
18060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18061 if (!SWIG_IsOK(res1
)) {
18062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
18064 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18067 result
= (int)((wxSlider
const *)arg1
)->GetMax();
18068 wxPyEndAllowThreads(__tstate
);
18069 if (PyErr_Occurred()) SWIG_fail
;
18071 resultobj
= SWIG_From_int(static_cast< int >(result
));
18078 SWIGINTERN PyObject
*_wrap_Slider_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18079 PyObject
*resultobj
= 0;
18080 wxSlider
*arg1
= (wxSlider
*) 0 ;
18086 PyObject
* obj0
= 0 ;
18087 PyObject
* obj1
= 0 ;
18088 char * kwnames
[] = {
18089 (char *) "self",(char *) "minValue", NULL
18092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18094 if (!SWIG_IsOK(res1
)) {
18095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
18097 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18098 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18099 if (!SWIG_IsOK(ecode2
)) {
18100 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
18102 arg2
= static_cast< int >(val2
);
18104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18105 (arg1
)->SetMin(arg2
);
18106 wxPyEndAllowThreads(__tstate
);
18107 if (PyErr_Occurred()) SWIG_fail
;
18109 resultobj
= SWIG_Py_Void();
18116 SWIGINTERN PyObject
*_wrap_Slider_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18117 PyObject
*resultobj
= 0;
18118 wxSlider
*arg1
= (wxSlider
*) 0 ;
18124 PyObject
* obj0
= 0 ;
18125 PyObject
* obj1
= 0 ;
18126 char * kwnames
[] = {
18127 (char *) "self",(char *) "maxValue", NULL
18130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18132 if (!SWIG_IsOK(res1
)) {
18133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
18135 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18136 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18137 if (!SWIG_IsOK(ecode2
)) {
18138 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
18140 arg2
= static_cast< int >(val2
);
18142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18143 (arg1
)->SetMax(arg2
);
18144 wxPyEndAllowThreads(__tstate
);
18145 if (PyErr_Occurred()) SWIG_fail
;
18147 resultobj
= SWIG_Py_Void();
18154 SWIGINTERN PyObject
*_wrap_Slider_SetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18155 PyObject
*resultobj
= 0;
18156 wxSlider
*arg1
= (wxSlider
*) 0 ;
18162 PyObject
* obj0
= 0 ;
18163 PyObject
* obj1
= 0 ;
18164 char * kwnames
[] = {
18165 (char *) "self",(char *) "lineSize", NULL
18168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18170 if (!SWIG_IsOK(res1
)) {
18171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetLineSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18173 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18174 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18175 if (!SWIG_IsOK(ecode2
)) {
18176 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetLineSize" "', expected argument " "2"" of type '" "int""'");
18178 arg2
= static_cast< int >(val2
);
18180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18181 (arg1
)->SetLineSize(arg2
);
18182 wxPyEndAllowThreads(__tstate
);
18183 if (PyErr_Occurred()) SWIG_fail
;
18185 resultobj
= SWIG_Py_Void();
18192 SWIGINTERN PyObject
*_wrap_Slider_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18193 PyObject
*resultobj
= 0;
18194 wxSlider
*arg1
= (wxSlider
*) 0 ;
18200 PyObject
* obj0
= 0 ;
18201 PyObject
* obj1
= 0 ;
18202 char * kwnames
[] = {
18203 (char *) "self",(char *) "pageSize", NULL
18206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18208 if (!SWIG_IsOK(res1
)) {
18209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetPageSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18211 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18212 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18213 if (!SWIG_IsOK(ecode2
)) {
18214 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetPageSize" "', expected argument " "2"" of type '" "int""'");
18216 arg2
= static_cast< int >(val2
);
18218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18219 (arg1
)->SetPageSize(arg2
);
18220 wxPyEndAllowThreads(__tstate
);
18221 if (PyErr_Occurred()) SWIG_fail
;
18223 resultobj
= SWIG_Py_Void();
18230 SWIGINTERN PyObject
*_wrap_Slider_GetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18231 PyObject
*resultobj
= 0;
18232 wxSlider
*arg1
= (wxSlider
*) 0 ;
18236 PyObject
*swig_obj
[1] ;
18238 if (!args
) SWIG_fail
;
18239 swig_obj
[0] = args
;
18240 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18241 if (!SWIG_IsOK(res1
)) {
18242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18244 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18247 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
18248 wxPyEndAllowThreads(__tstate
);
18249 if (PyErr_Occurred()) SWIG_fail
;
18251 resultobj
= SWIG_From_int(static_cast< int >(result
));
18258 SWIGINTERN PyObject
*_wrap_Slider_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18259 PyObject
*resultobj
= 0;
18260 wxSlider
*arg1
= (wxSlider
*) 0 ;
18264 PyObject
*swig_obj
[1] ;
18266 if (!args
) SWIG_fail
;
18267 swig_obj
[0] = args
;
18268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18269 if (!SWIG_IsOK(res1
)) {
18270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18272 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18275 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
18276 wxPyEndAllowThreads(__tstate
);
18277 if (PyErr_Occurred()) SWIG_fail
;
18279 resultobj
= SWIG_From_int(static_cast< int >(result
));
18286 SWIGINTERN PyObject
*_wrap_Slider_SetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18287 PyObject
*resultobj
= 0;
18288 wxSlider
*arg1
= (wxSlider
*) 0 ;
18294 PyObject
* obj0
= 0 ;
18295 PyObject
* obj1
= 0 ;
18296 char * kwnames
[] = {
18297 (char *) "self",(char *) "lenPixels", NULL
18300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18302 if (!SWIG_IsOK(res1
)) {
18303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
18305 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18306 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18307 if (!SWIG_IsOK(ecode2
)) {
18308 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
18310 arg2
= static_cast< int >(val2
);
18312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18313 (arg1
)->SetThumbLength(arg2
);
18314 wxPyEndAllowThreads(__tstate
);
18315 if (PyErr_Occurred()) SWIG_fail
;
18317 resultobj
= SWIG_Py_Void();
18324 SWIGINTERN PyObject
*_wrap_Slider_GetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18325 PyObject
*resultobj
= 0;
18326 wxSlider
*arg1
= (wxSlider
*) 0 ;
18330 PyObject
*swig_obj
[1] ;
18332 if (!args
) SWIG_fail
;
18333 swig_obj
[0] = args
;
18334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18335 if (!SWIG_IsOK(res1
)) {
18336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
18338 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18341 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
18342 wxPyEndAllowThreads(__tstate
);
18343 if (PyErr_Occurred()) SWIG_fail
;
18345 resultobj
= SWIG_From_int(static_cast< int >(result
));
18352 SWIGINTERN PyObject
*_wrap_Slider_SetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18353 PyObject
*resultobj
= 0;
18354 wxSlider
*arg1
= (wxSlider
*) 0 ;
18356 int arg3
= (int) 1 ;
18363 PyObject
* obj0
= 0 ;
18364 PyObject
* obj1
= 0 ;
18365 PyObject
* obj2
= 0 ;
18366 char * kwnames
[] = {
18367 (char *) "self",(char *) "n",(char *) "pos", NULL
18370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18372 if (!SWIG_IsOK(res1
)) {
18373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
18375 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18376 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18377 if (!SWIG_IsOK(ecode2
)) {
18378 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
18380 arg2
= static_cast< int >(val2
);
18382 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18383 if (!SWIG_IsOK(ecode3
)) {
18384 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
18386 arg3
= static_cast< int >(val3
);
18389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18390 (arg1
)->SetTickFreq(arg2
,arg3
);
18391 wxPyEndAllowThreads(__tstate
);
18392 if (PyErr_Occurred()) SWIG_fail
;
18394 resultobj
= SWIG_Py_Void();
18401 SWIGINTERN PyObject
*_wrap_Slider_GetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18402 PyObject
*resultobj
= 0;
18403 wxSlider
*arg1
= (wxSlider
*) 0 ;
18407 PyObject
*swig_obj
[1] ;
18409 if (!args
) SWIG_fail
;
18410 swig_obj
[0] = args
;
18411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18412 if (!SWIG_IsOK(res1
)) {
18413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
18415 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18418 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
18419 wxPyEndAllowThreads(__tstate
);
18420 if (PyErr_Occurred()) SWIG_fail
;
18422 resultobj
= SWIG_From_int(static_cast< int >(result
));
18429 SWIGINTERN PyObject
*_wrap_Slider_ClearTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18430 PyObject
*resultobj
= 0;
18431 wxSlider
*arg1
= (wxSlider
*) 0 ;
18434 PyObject
*swig_obj
[1] ;
18436 if (!args
) SWIG_fail
;
18437 swig_obj
[0] = args
;
18438 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18439 if (!SWIG_IsOK(res1
)) {
18440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18442 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18445 (arg1
)->ClearTicks();
18446 wxPyEndAllowThreads(__tstate
);
18447 if (PyErr_Occurred()) SWIG_fail
;
18449 resultobj
= SWIG_Py_Void();
18456 SWIGINTERN PyObject
*_wrap_Slider_SetTick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18457 PyObject
*resultobj
= 0;
18458 wxSlider
*arg1
= (wxSlider
*) 0 ;
18464 PyObject
* obj0
= 0 ;
18465 PyObject
* obj1
= 0 ;
18466 char * kwnames
[] = {
18467 (char *) "self",(char *) "tickPos", NULL
18470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18472 if (!SWIG_IsOK(res1
)) {
18473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
18475 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18476 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18477 if (!SWIG_IsOK(ecode2
)) {
18478 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
18480 arg2
= static_cast< int >(val2
);
18482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18483 (arg1
)->SetTick(arg2
);
18484 wxPyEndAllowThreads(__tstate
);
18485 if (PyErr_Occurred()) SWIG_fail
;
18487 resultobj
= SWIG_Py_Void();
18494 SWIGINTERN PyObject
*_wrap_Slider_ClearSel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18495 PyObject
*resultobj
= 0;
18496 wxSlider
*arg1
= (wxSlider
*) 0 ;
18499 PyObject
*swig_obj
[1] ;
18501 if (!args
) SWIG_fail
;
18502 swig_obj
[0] = args
;
18503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18504 if (!SWIG_IsOK(res1
)) {
18505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18507 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18510 (arg1
)->ClearSel();
18511 wxPyEndAllowThreads(__tstate
);
18512 if (PyErr_Occurred()) SWIG_fail
;
18514 resultobj
= SWIG_Py_Void();
18521 SWIGINTERN PyObject
*_wrap_Slider_GetSelEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18522 PyObject
*resultobj
= 0;
18523 wxSlider
*arg1
= (wxSlider
*) 0 ;
18527 PyObject
*swig_obj
[1] ;
18529 if (!args
) SWIG_fail
;
18530 swig_obj
[0] = args
;
18531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18532 if (!SWIG_IsOK(res1
)) {
18533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18535 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18538 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
18539 wxPyEndAllowThreads(__tstate
);
18540 if (PyErr_Occurred()) SWIG_fail
;
18542 resultobj
= SWIG_From_int(static_cast< int >(result
));
18549 SWIGINTERN PyObject
*_wrap_Slider_GetSelStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18550 PyObject
*resultobj
= 0;
18551 wxSlider
*arg1
= (wxSlider
*) 0 ;
18555 PyObject
*swig_obj
[1] ;
18557 if (!args
) SWIG_fail
;
18558 swig_obj
[0] = args
;
18559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18560 if (!SWIG_IsOK(res1
)) {
18561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18563 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18566 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
18567 wxPyEndAllowThreads(__tstate
);
18568 if (PyErr_Occurred()) SWIG_fail
;
18570 resultobj
= SWIG_From_int(static_cast< int >(result
));
18577 SWIGINTERN PyObject
*_wrap_Slider_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18578 PyObject
*resultobj
= 0;
18579 wxSlider
*arg1
= (wxSlider
*) 0 ;
18588 PyObject
* obj0
= 0 ;
18589 PyObject
* obj1
= 0 ;
18590 PyObject
* obj2
= 0 ;
18591 char * kwnames
[] = {
18592 (char *) "self",(char *) "min",(char *) "max", NULL
18595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18597 if (!SWIG_IsOK(res1
)) {
18598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18600 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18601 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18602 if (!SWIG_IsOK(ecode2
)) {
18603 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18605 arg2
= static_cast< int >(val2
);
18606 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18607 if (!SWIG_IsOK(ecode3
)) {
18608 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18610 arg3
= static_cast< int >(val3
);
18612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18613 (arg1
)->SetSelection(arg2
,arg3
);
18614 wxPyEndAllowThreads(__tstate
);
18615 if (PyErr_Occurred()) SWIG_fail
;
18617 resultobj
= SWIG_Py_Void();
18624 SWIGINTERN PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18625 PyObject
*resultobj
= 0;
18626 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18627 SwigValueWrapper
<wxVisualAttributes
> result
;
18630 PyObject
* obj0
= 0 ;
18631 char * kwnames
[] = {
18632 (char *) "variant", NULL
18635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18637 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18638 if (!SWIG_IsOK(ecode1
)) {
18639 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18641 arg1
= static_cast< wxWindowVariant
>(val1
);
18644 if (!wxPyCheckForApp()) SWIG_fail
;
18645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18646 result
= wxSlider::GetClassDefaultAttributes(arg1
);
18647 wxPyEndAllowThreads(__tstate
);
18648 if (PyErr_Occurred()) SWIG_fail
;
18650 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18657 SWIGINTERN PyObject
*Slider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18659 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18660 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider
, SWIG_NewClientData(obj
));
18661 return SWIG_Py_Void();
18664 SWIGINTERN PyObject
*Slider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18665 return SWIG_Python_InitShadowInstance(args
);
18668 SWIGINTERN
int ToggleButtonNameStr_set(PyObject
*) {
18669 SWIG_Error(SWIG_AttributeError
,"Variable ToggleButtonNameStr is read-only.");
18674 SWIGINTERN PyObject
*ToggleButtonNameStr_get(void) {
18675 PyObject
*pyobj
= 0;
18679 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18681 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18688 SWIGINTERN PyObject
*_wrap_new_ToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18689 PyObject
*resultobj
= 0;
18690 wxWindow
*arg1
= (wxWindow
*) 0 ;
18691 int arg2
= (int) -1 ;
18692 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18693 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18694 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18695 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18696 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18697 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18698 long arg6
= (long) 0 ;
18699 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
18700 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
18701 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
18702 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
18703 wxToggleButton
*result
= 0 ;
18708 bool temp3
= false ;
18715 bool temp8
= false ;
18716 PyObject
* obj0
= 0 ;
18717 PyObject
* obj1
= 0 ;
18718 PyObject
* obj2
= 0 ;
18719 PyObject
* obj3
= 0 ;
18720 PyObject
* obj4
= 0 ;
18721 PyObject
* obj5
= 0 ;
18722 PyObject
* obj6
= 0 ;
18723 PyObject
* obj7
= 0 ;
18724 char * kwnames
[] = {
18725 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18730 if (!SWIG_IsOK(res1
)) {
18731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18733 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18735 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18736 if (!SWIG_IsOK(ecode2
)) {
18737 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18739 arg2
= static_cast< int >(val2
);
18743 arg3
= wxString_in_helper(obj2
);
18744 if (arg3
== NULL
) SWIG_fail
;
18751 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18757 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18761 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18762 if (!SWIG_IsOK(ecode6
)) {
18763 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
18765 arg6
= static_cast< long >(val6
);
18768 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
18769 if (!SWIG_IsOK(res7
)) {
18770 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18773 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18775 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
18779 arg8
= wxString_in_helper(obj7
);
18780 if (arg8
== NULL
) SWIG_fail
;
18785 if (!wxPyCheckForApp()) SWIG_fail
;
18786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18787 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
18788 wxPyEndAllowThreads(__tstate
);
18789 if (PyErr_Occurred()) SWIG_fail
;
18791 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_NEW
| 0 );
18814 SWIGINTERN PyObject
*_wrap_new_PreToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18815 PyObject
*resultobj
= 0;
18816 wxToggleButton
*result
= 0 ;
18818 if (!SWIG_Python_UnpackTuple(args
,"new_PreToggleButton",0,0,0)) SWIG_fail
;
18820 if (!wxPyCheckForApp()) SWIG_fail
;
18821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18822 result
= (wxToggleButton
*)new wxToggleButton();
18823 wxPyEndAllowThreads(__tstate
);
18824 if (PyErr_Occurred()) SWIG_fail
;
18826 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_OWN
| 0 );
18833 SWIGINTERN PyObject
*_wrap_ToggleButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18834 PyObject
*resultobj
= 0;
18835 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18836 wxWindow
*arg2
= (wxWindow
*) 0 ;
18837 int arg3
= (int) -1 ;
18838 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18839 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18840 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
18841 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
18842 wxSize
const &arg6_defvalue
= wxDefaultSize
;
18843 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
18844 long arg7
= (long) 0 ;
18845 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
18846 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
18847 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
18848 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
18856 bool temp4
= false ;
18863 bool temp9
= false ;
18864 PyObject
* obj0
= 0 ;
18865 PyObject
* obj1
= 0 ;
18866 PyObject
* obj2
= 0 ;
18867 PyObject
* obj3
= 0 ;
18868 PyObject
* obj4
= 0 ;
18869 PyObject
* obj5
= 0 ;
18870 PyObject
* obj6
= 0 ;
18871 PyObject
* obj7
= 0 ;
18872 PyObject
* obj8
= 0 ;
18873 char * kwnames
[] = {
18874 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
18878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18879 if (!SWIG_IsOK(res1
)) {
18880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18882 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18883 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18884 if (!SWIG_IsOK(res2
)) {
18885 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18887 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
18889 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18890 if (!SWIG_IsOK(ecode3
)) {
18891 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
18893 arg3
= static_cast< int >(val3
);
18897 arg4
= wxString_in_helper(obj3
);
18898 if (arg4
== NULL
) SWIG_fail
;
18905 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18911 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
18915 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18916 if (!SWIG_IsOK(ecode7
)) {
18917 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
18919 arg7
= static_cast< long >(val7
);
18922 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
18923 if (!SWIG_IsOK(res8
)) {
18924 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18927 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18929 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
18933 arg9
= wxString_in_helper(obj8
);
18934 if (arg9
== NULL
) SWIG_fail
;
18939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18940 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
18941 wxPyEndAllowThreads(__tstate
);
18942 if (PyErr_Occurred()) SWIG_fail
;
18945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18969 SWIGINTERN PyObject
*_wrap_ToggleButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18970 PyObject
*resultobj
= 0;
18971 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18977 PyObject
* obj0
= 0 ;
18978 PyObject
* obj1
= 0 ;
18979 char * kwnames
[] = {
18980 (char *) "self",(char *) "value", NULL
18983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18985 if (!SWIG_IsOK(res1
)) {
18986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18988 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18989 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18990 if (!SWIG_IsOK(ecode2
)) {
18991 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
18993 arg2
= static_cast< bool >(val2
);
18995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18996 (arg1
)->SetValue(arg2
);
18997 wxPyEndAllowThreads(__tstate
);
18998 if (PyErr_Occurred()) SWIG_fail
;
19000 resultobj
= SWIG_Py_Void();
19007 SWIGINTERN PyObject
*_wrap_ToggleButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19008 PyObject
*resultobj
= 0;
19009 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
19013 PyObject
*swig_obj
[1] ;
19015 if (!args
) SWIG_fail
;
19016 swig_obj
[0] = args
;
19017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19018 if (!SWIG_IsOK(res1
)) {
19019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
19021 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19024 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
19025 wxPyEndAllowThreads(__tstate
);
19026 if (PyErr_Occurred()) SWIG_fail
;
19029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19037 SWIGINTERN PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19038 PyObject
*resultobj
= 0;
19039 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
19040 SwigValueWrapper
<wxVisualAttributes
> result
;
19043 PyObject
* obj0
= 0 ;
19044 char * kwnames
[] = {
19045 (char *) "variant", NULL
19048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
19050 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19051 if (!SWIG_IsOK(ecode1
)) {
19052 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
19054 arg1
= static_cast< wxWindowVariant
>(val1
);
19057 if (!wxPyCheckForApp()) SWIG_fail
;
19058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19059 result
= wxToggleButton::GetClassDefaultAttributes(arg1
);
19060 wxPyEndAllowThreads(__tstate
);
19061 if (PyErr_Occurred()) SWIG_fail
;
19063 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
19070 SWIGINTERN PyObject
*ToggleButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19072 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19073 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton
, SWIG_NewClientData(obj
));
19074 return SWIG_Py_Void();
19077 SWIGINTERN PyObject
*ToggleButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19078 return SWIG_Python_InitShadowInstance(args
);
19081 SWIGINTERN
int NotebookNameStr_set(PyObject
*) {
19082 SWIG_Error(SWIG_AttributeError
,"Variable NotebookNameStr is read-only.");
19087 SWIGINTERN PyObject
*NotebookNameStr_get(void) {
19088 PyObject
*pyobj
= 0;
19092 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19094 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19101 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19102 PyObject
*resultobj
= 0;
19103 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19107 PyObject
*swig_obj
[1] ;
19109 if (!args
) SWIG_fail
;
19110 swig_obj
[0] = args
;
19111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19112 if (!SWIG_IsOK(res1
)) {
19113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19115 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19118 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
19119 wxPyEndAllowThreads(__tstate
);
19120 if (PyErr_Occurred()) SWIG_fail
;
19122 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
19129 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19130 PyObject
*resultobj
= 0;
19131 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19133 wxWindow
*result
= 0 ;
19138 PyObject
* obj0
= 0 ;
19139 PyObject
* obj1
= 0 ;
19140 char * kwnames
[] = {
19141 (char *) "self",(char *) "n", NULL
19144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19146 if (!SWIG_IsOK(res1
)) {
19147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19149 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19150 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19151 if (!SWIG_IsOK(ecode2
)) {
19152 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
19154 arg2
= static_cast< size_t >(val2
);
19156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19157 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
19158 wxPyEndAllowThreads(__tstate
);
19159 if (PyErr_Occurred()) SWIG_fail
;
19162 resultobj
= wxPyMake_wxObject(result
, 0);
19170 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19171 PyObject
*resultobj
= 0;
19172 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19173 wxWindow
*result
= 0 ;
19176 PyObject
*swig_obj
[1] ;
19178 if (!args
) SWIG_fail
;
19179 swig_obj
[0] = args
;
19180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19181 if (!SWIG_IsOK(res1
)) {
19182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19184 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19187 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
19188 wxPyEndAllowThreads(__tstate
);
19189 if (PyErr_Occurred()) SWIG_fail
;
19192 resultobj
= wxPyMake_wxObject(result
, 0);
19200 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19201 PyObject
*resultobj
= 0;
19202 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19206 PyObject
*swig_obj
[1] ;
19208 if (!args
) SWIG_fail
;
19209 swig_obj
[0] = args
;
19210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19211 if (!SWIG_IsOK(res1
)) {
19212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19214 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19217 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
19218 wxPyEndAllowThreads(__tstate
);
19219 if (PyErr_Occurred()) SWIG_fail
;
19221 resultobj
= SWIG_From_int(static_cast< int >(result
));
19228 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19229 PyObject
*resultobj
= 0;
19230 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19232 wxString
*arg3
= 0 ;
19238 bool temp3
= false ;
19239 PyObject
* obj0
= 0 ;
19240 PyObject
* obj1
= 0 ;
19241 PyObject
* obj2
= 0 ;
19242 char * kwnames
[] = {
19243 (char *) "self",(char *) "n",(char *) "strText", NULL
19246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19248 if (!SWIG_IsOK(res1
)) {
19249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19251 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19252 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19253 if (!SWIG_IsOK(ecode2
)) {
19254 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
19256 arg2
= static_cast< size_t >(val2
);
19258 arg3
= wxString_in_helper(obj2
);
19259 if (arg3
== NULL
) SWIG_fail
;
19263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19264 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
19265 wxPyEndAllowThreads(__tstate
);
19266 if (PyErr_Occurred()) SWIG_fail
;
19269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19285 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19286 PyObject
*resultobj
= 0;
19287 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19294 PyObject
* obj0
= 0 ;
19295 PyObject
* obj1
= 0 ;
19296 char * kwnames
[] = {
19297 (char *) "self",(char *) "n", NULL
19300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19302 if (!SWIG_IsOK(res1
)) {
19303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19305 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19306 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19307 if (!SWIG_IsOK(ecode2
)) {
19308 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
19310 arg2
= static_cast< size_t >(val2
);
19312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19313 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
19314 wxPyEndAllowThreads(__tstate
);
19315 if (PyErr_Occurred()) SWIG_fail
;
19319 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19321 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19330 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19331 PyObject
*resultobj
= 0;
19332 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19333 wxImageList
*arg2
= (wxImageList
*) 0 ;
19338 PyObject
* obj0
= 0 ;
19339 PyObject
* obj1
= 0 ;
19340 char * kwnames
[] = {
19341 (char *) "self",(char *) "imageList", NULL
19344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19346 if (!SWIG_IsOK(res1
)) {
19347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19349 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19350 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
19351 if (!SWIG_IsOK(res2
)) {
19352 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19354 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
19356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19357 (arg1
)->SetImageList(arg2
);
19358 wxPyEndAllowThreads(__tstate
);
19359 if (PyErr_Occurred()) SWIG_fail
;
19361 resultobj
= SWIG_Py_Void();
19368 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19369 PyObject
*resultobj
= 0;
19370 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19371 wxImageList
*arg2
= (wxImageList
*) 0 ;
19375 PyObject
* obj0
= 0 ;
19376 PyObject
* obj1
= 0 ;
19377 char * kwnames
[] = {
19378 (char *) "self",(char *) "imageList", NULL
19381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19383 if (!SWIG_IsOK(res1
)) {
19384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19386 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19387 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
19388 if (!SWIG_IsOK(res2
)) {
19389 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19393 (arg1
)->AssignImageList(arg2
);
19394 wxPyEndAllowThreads(__tstate
);
19395 if (PyErr_Occurred()) SWIG_fail
;
19397 resultobj
= SWIG_Py_Void();
19404 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19405 PyObject
*resultobj
= 0;
19406 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19407 wxImageList
*result
= 0 ;
19410 PyObject
*swig_obj
[1] ;
19412 if (!args
) SWIG_fail
;
19413 swig_obj
[0] = args
;
19414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19415 if (!SWIG_IsOK(res1
)) {
19416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19418 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19421 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
19422 wxPyEndAllowThreads(__tstate
);
19423 if (PyErr_Occurred()) SWIG_fail
;
19426 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19434 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19435 PyObject
*resultobj
= 0;
19436 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19443 PyObject
* obj0
= 0 ;
19444 PyObject
* obj1
= 0 ;
19445 char * kwnames
[] = {
19446 (char *) "self",(char *) "n", NULL
19449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19451 if (!SWIG_IsOK(res1
)) {
19452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19454 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19455 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19456 if (!SWIG_IsOK(ecode2
)) {
19457 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19459 arg2
= static_cast< size_t >(val2
);
19461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19462 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
19463 wxPyEndAllowThreads(__tstate
);
19464 if (PyErr_Occurred()) SWIG_fail
;
19466 resultobj
= SWIG_From_int(static_cast< int >(result
));
19473 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19474 PyObject
*resultobj
= 0;
19475 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19485 PyObject
* obj0
= 0 ;
19486 PyObject
* obj1
= 0 ;
19487 PyObject
* obj2
= 0 ;
19488 char * kwnames
[] = {
19489 (char *) "self",(char *) "n",(char *) "imageId", NULL
19492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19494 if (!SWIG_IsOK(res1
)) {
19495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19497 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19498 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19499 if (!SWIG_IsOK(ecode2
)) {
19500 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19502 arg2
= static_cast< size_t >(val2
);
19503 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19504 if (!SWIG_IsOK(ecode3
)) {
19505 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19507 arg3
= static_cast< int >(val3
);
19509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19510 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
19511 wxPyEndAllowThreads(__tstate
);
19512 if (PyErr_Occurred()) SWIG_fail
;
19515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19523 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19524 PyObject
*resultobj
= 0;
19525 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19530 PyObject
* obj0
= 0 ;
19531 PyObject
* obj1
= 0 ;
19532 char * kwnames
[] = {
19533 (char *) "self",(char *) "size", NULL
19536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19538 if (!SWIG_IsOK(res1
)) {
19539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19541 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19544 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19548 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
19549 wxPyEndAllowThreads(__tstate
);
19550 if (PyErr_Occurred()) SWIG_fail
;
19552 resultobj
= SWIG_Py_Void();
19559 SWIGINTERN PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19560 PyObject
*resultobj
= 0;
19561 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19567 PyObject
* obj0
= 0 ;
19568 PyObject
* obj1
= 0 ;
19569 char * kwnames
[] = {
19570 (char *) "self",(char *) "sizePage", NULL
19573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19575 if (!SWIG_IsOK(res1
)) {
19576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19578 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19581 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19585 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
19586 wxPyEndAllowThreads(__tstate
);
19587 if (PyErr_Occurred()) SWIG_fail
;
19589 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19596 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19597 PyObject
*resultobj
= 0;
19598 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19599 unsigned int result
;
19602 PyObject
*swig_obj
[1] ;
19604 if (!args
) SWIG_fail
;
19605 swig_obj
[0] = args
;
19606 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19607 if (!SWIG_IsOK(res1
)) {
19608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19610 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19613 result
= (unsigned int)((wxBookCtrlBase
const *)arg1
)->GetInternalBorder();
19614 wxPyEndAllowThreads(__tstate
);
19615 if (PyErr_Occurred()) SWIG_fail
;
19617 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
19624 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19625 PyObject
*resultobj
= 0;
19626 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19627 unsigned int arg2
;
19630 unsigned int val2
;
19632 PyObject
* obj0
= 0 ;
19633 PyObject
* obj1
= 0 ;
19634 char * kwnames
[] = {
19635 (char *) "self",(char *) "internalBorder", NULL
19638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19640 if (!SWIG_IsOK(res1
)) {
19641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19643 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19644 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
19645 if (!SWIG_IsOK(ecode2
)) {
19646 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "unsigned int""'");
19648 arg2
= static_cast< unsigned int >(val2
);
19650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19651 (arg1
)->SetInternalBorder(arg2
);
19652 wxPyEndAllowThreads(__tstate
);
19653 if (PyErr_Occurred()) SWIG_fail
;
19655 resultobj
= SWIG_Py_Void();
19662 SWIGINTERN PyObject
*_wrap_BookCtrlBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19663 PyObject
*resultobj
= 0;
19664 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19668 PyObject
*swig_obj
[1] ;
19670 if (!args
) SWIG_fail
;
19671 swig_obj
[0] = args
;
19672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19673 if (!SWIG_IsOK(res1
)) {
19674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19676 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19679 result
= (bool)((wxBookCtrlBase
const *)arg1
)->IsVertical();
19680 wxPyEndAllowThreads(__tstate
);
19681 if (PyErr_Occurred()) SWIG_fail
;
19684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19692 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19693 PyObject
*resultobj
= 0;
19694 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19700 PyObject
* obj0
= 0 ;
19701 PyObject
* obj1
= 0 ;
19702 char * kwnames
[] = {
19703 (char *) "self",(char *) "margin", NULL
19706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetControlMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19708 if (!SWIG_IsOK(res1
)) {
19709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19711 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19712 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19713 if (!SWIG_IsOK(ecode2
)) {
19714 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "2"" of type '" "int""'");
19716 arg2
= static_cast< int >(val2
);
19718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19719 (arg1
)->SetControlMargin(arg2
);
19720 wxPyEndAllowThreads(__tstate
);
19721 if (PyErr_Occurred()) SWIG_fail
;
19723 resultobj
= SWIG_Py_Void();
19730 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19731 PyObject
*resultobj
= 0;
19732 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19736 PyObject
*swig_obj
[1] ;
19738 if (!args
) SWIG_fail
;
19739 swig_obj
[0] = args
;
19740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19741 if (!SWIG_IsOK(res1
)) {
19742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19744 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19747 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetControlMargin();
19748 wxPyEndAllowThreads(__tstate
);
19749 if (PyErr_Occurred()) SWIG_fail
;
19751 resultobj
= SWIG_From_int(static_cast< int >(result
));
19758 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19759 PyObject
*resultobj
= 0;
19760 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19766 PyObject
* obj0
= 0 ;
19767 PyObject
* obj1
= 0 ;
19768 char * kwnames
[] = {
19769 (char *) "self",(char *) "fit", NULL
19772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19774 if (!SWIG_IsOK(res1
)) {
19775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19777 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19778 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19779 if (!SWIG_IsOK(ecode2
)) {
19780 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
19782 arg2
= static_cast< bool >(val2
);
19784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19785 (arg1
)->SetFitToCurrentPage(arg2
);
19786 wxPyEndAllowThreads(__tstate
);
19787 if (PyErr_Occurred()) SWIG_fail
;
19789 resultobj
= SWIG_Py_Void();
19796 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19797 PyObject
*resultobj
= 0;
19798 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19802 PyObject
*swig_obj
[1] ;
19804 if (!args
) SWIG_fail
;
19805 swig_obj
[0] = args
;
19806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19807 if (!SWIG_IsOK(res1
)) {
19808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19810 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19813 result
= (bool)((wxBookCtrlBase
const *)arg1
)->GetFitToCurrentPage();
19814 wxPyEndAllowThreads(__tstate
);
19815 if (PyErr_Occurred()) SWIG_fail
;
19818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19826 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19827 PyObject
*resultobj
= 0;
19828 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19829 wxSizer
*result
= 0 ;
19832 PyObject
*swig_obj
[1] ;
19834 if (!args
) SWIG_fail
;
19835 swig_obj
[0] = args
;
19836 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19837 if (!SWIG_IsOK(res1
)) {
19838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlSizer" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19840 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19843 result
= (wxSizer
*)((wxBookCtrlBase
const *)arg1
)->GetControlSizer();
19844 wxPyEndAllowThreads(__tstate
);
19845 if (PyErr_Occurred()) SWIG_fail
;
19848 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19856 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19857 PyObject
*resultobj
= 0;
19858 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19865 PyObject
* obj0
= 0 ;
19866 PyObject
* obj1
= 0 ;
19867 char * kwnames
[] = {
19868 (char *) "self",(char *) "n", NULL
19871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19873 if (!SWIG_IsOK(res1
)) {
19874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19876 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19877 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19878 if (!SWIG_IsOK(ecode2
)) {
19879 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
19881 arg2
= static_cast< size_t >(val2
);
19883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19884 result
= (bool)(arg1
)->DeletePage(arg2
);
19885 wxPyEndAllowThreads(__tstate
);
19886 if (PyErr_Occurred()) SWIG_fail
;
19889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19897 SWIGINTERN PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19898 PyObject
*resultobj
= 0;
19899 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19906 PyObject
* obj0
= 0 ;
19907 PyObject
* obj1
= 0 ;
19908 char * kwnames
[] = {
19909 (char *) "self",(char *) "n", NULL
19912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19914 if (!SWIG_IsOK(res1
)) {
19915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19917 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19918 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19919 if (!SWIG_IsOK(ecode2
)) {
19920 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
19922 arg2
= static_cast< size_t >(val2
);
19924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19925 result
= (bool)(arg1
)->RemovePage(arg2
);
19926 wxPyEndAllowThreads(__tstate
);
19927 if (PyErr_Occurred()) SWIG_fail
;
19930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19938 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19939 PyObject
*resultobj
= 0;
19940 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19944 PyObject
*swig_obj
[1] ;
19946 if (!args
) SWIG_fail
;
19947 swig_obj
[0] = args
;
19948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19949 if (!SWIG_IsOK(res1
)) {
19950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19952 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19955 result
= (bool)(arg1
)->DeleteAllPages();
19956 wxPyEndAllowThreads(__tstate
);
19957 if (PyErr_Occurred()) SWIG_fail
;
19960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19968 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19969 PyObject
*resultobj
= 0;
19970 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19971 wxWindow
*arg2
= (wxWindow
*) 0 ;
19972 wxString
*arg3
= 0 ;
19973 bool arg4
= (bool) false ;
19974 int arg5
= (int) -1 ;
19980 bool temp3
= false ;
19985 PyObject
* obj0
= 0 ;
19986 PyObject
* obj1
= 0 ;
19987 PyObject
* obj2
= 0 ;
19988 PyObject
* obj3
= 0 ;
19989 PyObject
* obj4
= 0 ;
19990 char * kwnames
[] = {
19991 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
19994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19996 if (!SWIG_IsOK(res1
)) {
19997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19999 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20000 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20001 if (!SWIG_IsOK(res2
)) {
20002 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
20004 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20006 arg3
= wxString_in_helper(obj2
);
20007 if (arg3
== NULL
) SWIG_fail
;
20011 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
20012 if (!SWIG_IsOK(ecode4
)) {
20013 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
20015 arg4
= static_cast< bool >(val4
);
20018 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20019 if (!SWIG_IsOK(ecode5
)) {
20020 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
20022 arg5
= static_cast< int >(val5
);
20025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20026 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
20027 wxPyEndAllowThreads(__tstate
);
20028 if (PyErr_Occurred()) SWIG_fail
;
20031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20047 SWIGINTERN PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20048 PyObject
*resultobj
= 0;
20049 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20051 wxWindow
*arg3
= (wxWindow
*) 0 ;
20052 wxString
*arg4
= 0 ;
20053 bool arg5
= (bool) false ;
20054 int arg6
= (int) -1 ;
20062 bool temp4
= false ;
20067 PyObject
* obj0
= 0 ;
20068 PyObject
* obj1
= 0 ;
20069 PyObject
* obj2
= 0 ;
20070 PyObject
* obj3
= 0 ;
20071 PyObject
* obj4
= 0 ;
20072 PyObject
* obj5
= 0 ;
20073 char * kwnames
[] = {
20074 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20079 if (!SWIG_IsOK(res1
)) {
20080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20082 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20083 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20084 if (!SWIG_IsOK(ecode2
)) {
20085 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
20087 arg2
= static_cast< size_t >(val2
);
20088 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20089 if (!SWIG_IsOK(res3
)) {
20090 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
20092 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
20094 arg4
= wxString_in_helper(obj3
);
20095 if (arg4
== NULL
) SWIG_fail
;
20099 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
20100 if (!SWIG_IsOK(ecode5
)) {
20101 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
20103 arg5
= static_cast< bool >(val5
);
20106 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20107 if (!SWIG_IsOK(ecode6
)) {
20108 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
20110 arg6
= static_cast< int >(val6
);
20113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20114 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
20115 wxPyEndAllowThreads(__tstate
);
20116 if (PyErr_Occurred()) SWIG_fail
;
20119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20135 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20136 PyObject
*resultobj
= 0;
20137 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20144 PyObject
* obj0
= 0 ;
20145 PyObject
* obj1
= 0 ;
20146 char * kwnames
[] = {
20147 (char *) "self",(char *) "n", NULL
20150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20152 if (!SWIG_IsOK(res1
)) {
20153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20155 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20156 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20157 if (!SWIG_IsOK(ecode2
)) {
20158 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
20160 arg2
= static_cast< size_t >(val2
);
20162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20163 result
= (int)(arg1
)->SetSelection(arg2
);
20164 wxPyEndAllowThreads(__tstate
);
20165 if (PyErr_Occurred()) SWIG_fail
;
20167 resultobj
= SWIG_From_int(static_cast< int >(result
));
20174 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20175 PyObject
*resultobj
= 0;
20176 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20177 bool arg2
= (bool) true ;
20182 PyObject
* obj0
= 0 ;
20183 PyObject
* obj1
= 0 ;
20184 char * kwnames
[] = {
20185 (char *) "self",(char *) "forward", NULL
20188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20190 if (!SWIG_IsOK(res1
)) {
20191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20193 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20195 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20196 if (!SWIG_IsOK(ecode2
)) {
20197 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
20199 arg2
= static_cast< bool >(val2
);
20202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20203 (arg1
)->AdvanceSelection(arg2
);
20204 wxPyEndAllowThreads(__tstate
);
20205 if (PyErr_Occurred()) SWIG_fail
;
20207 resultobj
= SWIG_Py_Void();
20214 SWIGINTERN PyObject
*_wrap_BookCtrlBase_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20215 PyObject
*resultobj
= 0;
20216 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20217 wxPoint
*arg2
= 0 ;
20218 long *arg3
= (long *) 0 ;
20224 int res3
= SWIG_TMPOBJ
;
20225 PyObject
* obj0
= 0 ;
20226 PyObject
* obj1
= 0 ;
20227 char * kwnames
[] = {
20228 (char *) "self",(char *) "pt", NULL
20232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20234 if (!SWIG_IsOK(res1
)) {
20235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_HitTest" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20237 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20240 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20244 result
= (int)((wxBookCtrlBase
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
20245 wxPyEndAllowThreads(__tstate
);
20246 if (PyErr_Occurred()) SWIG_fail
;
20248 resultobj
= SWIG_From_int(static_cast< int >(result
));
20249 if (SWIG_IsTmpObj(res3
)) {
20250 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
20252 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20253 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
20261 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20262 PyObject
*resultobj
= 0;
20263 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20264 SwigValueWrapper
<wxVisualAttributes
> result
;
20267 PyObject
* obj0
= 0 ;
20268 char * kwnames
[] = {
20269 (char *) "variant", NULL
20272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20274 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20275 if (!SWIG_IsOK(ecode1
)) {
20276 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20278 arg1
= static_cast< wxWindowVariant
>(val1
);
20281 if (!wxPyCheckForApp()) SWIG_fail
;
20282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20283 result
= wxBookCtrlBase::GetClassDefaultAttributes(arg1
);
20284 wxPyEndAllowThreads(__tstate
);
20285 if (PyErr_Occurred()) SWIG_fail
;
20287 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20294 SWIGINTERN PyObject
*BookCtrlBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20296 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20297 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase
, SWIG_NewClientData(obj
));
20298 return SWIG_Py_Void();
20301 SWIGINTERN PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20302 PyObject
*resultobj
= 0;
20303 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20304 int arg2
= (int) 0 ;
20305 int arg3
= (int) -1 ;
20306 int arg4
= (int) -1 ;
20307 wxBookCtrlBaseEvent
*result
= 0 ;
20316 PyObject
* obj0
= 0 ;
20317 PyObject
* obj1
= 0 ;
20318 PyObject
* obj2
= 0 ;
20319 PyObject
* obj3
= 0 ;
20320 char * kwnames
[] = {
20321 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20326 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20327 if (!SWIG_IsOK(ecode1
)) {
20328 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20330 arg1
= static_cast< wxEventType
>(val1
);
20333 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20334 if (!SWIG_IsOK(ecode2
)) {
20335 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
20337 arg2
= static_cast< int >(val2
);
20340 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20341 if (!SWIG_IsOK(ecode3
)) {
20342 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
20344 arg3
= static_cast< int >(val3
);
20347 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20348 if (!SWIG_IsOK(ecode4
)) {
20349 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
20351 arg4
= static_cast< int >(val4
);
20354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20355 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
20356 wxPyEndAllowThreads(__tstate
);
20357 if (PyErr_Occurred()) SWIG_fail
;
20359 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_NEW
| 0 );
20366 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20367 PyObject
*resultobj
= 0;
20368 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20372 PyObject
*swig_obj
[1] ;
20374 if (!args
) SWIG_fail
;
20375 swig_obj
[0] = args
;
20376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20377 if (!SWIG_IsOK(res1
)) {
20378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20380 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20383 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
20384 wxPyEndAllowThreads(__tstate
);
20385 if (PyErr_Occurred()) SWIG_fail
;
20387 resultobj
= SWIG_From_int(static_cast< int >(result
));
20394 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20395 PyObject
*resultobj
= 0;
20396 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20402 PyObject
* obj0
= 0 ;
20403 PyObject
* obj1
= 0 ;
20404 char * kwnames
[] = {
20405 (char *) "self",(char *) "nSel", NULL
20408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20410 if (!SWIG_IsOK(res1
)) {
20411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20413 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20414 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20415 if (!SWIG_IsOK(ecode2
)) {
20416 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
20418 arg2
= static_cast< int >(val2
);
20420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20421 (arg1
)->SetSelection(arg2
);
20422 wxPyEndAllowThreads(__tstate
);
20423 if (PyErr_Occurred()) SWIG_fail
;
20425 resultobj
= SWIG_Py_Void();
20432 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20433 PyObject
*resultobj
= 0;
20434 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20438 PyObject
*swig_obj
[1] ;
20440 if (!args
) SWIG_fail
;
20441 swig_obj
[0] = args
;
20442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20443 if (!SWIG_IsOK(res1
)) {
20444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20446 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20449 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
20450 wxPyEndAllowThreads(__tstate
);
20451 if (PyErr_Occurred()) SWIG_fail
;
20453 resultobj
= SWIG_From_int(static_cast< int >(result
));
20460 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20461 PyObject
*resultobj
= 0;
20462 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20468 PyObject
* obj0
= 0 ;
20469 PyObject
* obj1
= 0 ;
20470 char * kwnames
[] = {
20471 (char *) "self",(char *) "nOldSel", NULL
20474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20476 if (!SWIG_IsOK(res1
)) {
20477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20479 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20480 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20481 if (!SWIG_IsOK(ecode2
)) {
20482 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
20484 arg2
= static_cast< int >(val2
);
20486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20487 (arg1
)->SetOldSelection(arg2
);
20488 wxPyEndAllowThreads(__tstate
);
20489 if (PyErr_Occurred()) SWIG_fail
;
20491 resultobj
= SWIG_Py_Void();
20498 SWIGINTERN PyObject
*BookCtrlBaseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20500 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20501 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_NewClientData(obj
));
20502 return SWIG_Py_Void();
20505 SWIGINTERN PyObject
*BookCtrlBaseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20506 return SWIG_Python_InitShadowInstance(args
);
20509 SWIGINTERN PyObject
*_wrap_new_Notebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20510 PyObject
*resultobj
= 0;
20511 wxWindow
*arg1
= (wxWindow
*) 0 ;
20512 int arg2
= (int) -1 ;
20513 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20514 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20515 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20516 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20517 long arg5
= (long) 0 ;
20518 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
20519 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20520 wxNotebook
*result
= 0 ;
20529 bool temp6
= false ;
20530 PyObject
* obj0
= 0 ;
20531 PyObject
* obj1
= 0 ;
20532 PyObject
* obj2
= 0 ;
20533 PyObject
* obj3
= 0 ;
20534 PyObject
* obj4
= 0 ;
20535 PyObject
* obj5
= 0 ;
20536 char * kwnames
[] = {
20537 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20542 if (!SWIG_IsOK(res1
)) {
20543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20545 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20547 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20548 if (!SWIG_IsOK(ecode2
)) {
20549 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20551 arg2
= static_cast< int >(val2
);
20556 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20562 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20566 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20567 if (!SWIG_IsOK(ecode5
)) {
20568 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20570 arg5
= static_cast< long >(val5
);
20574 arg6
= wxString_in_helper(obj5
);
20575 if (arg6
== NULL
) SWIG_fail
;
20580 if (!wxPyCheckForApp()) SWIG_fail
;
20581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20582 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20583 wxPyEndAllowThreads(__tstate
);
20584 if (PyErr_Occurred()) SWIG_fail
;
20586 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_NEW
| 0 );
20601 SWIGINTERN PyObject
*_wrap_new_PreNotebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20602 PyObject
*resultobj
= 0;
20603 wxNotebook
*result
= 0 ;
20605 if (!SWIG_Python_UnpackTuple(args
,"new_PreNotebook",0,0,0)) SWIG_fail
;
20607 if (!wxPyCheckForApp()) SWIG_fail
;
20608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20609 result
= (wxNotebook
*)new wxNotebook();
20610 wxPyEndAllowThreads(__tstate
);
20611 if (PyErr_Occurred()) SWIG_fail
;
20613 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_OWN
| 0 );
20620 SWIGINTERN PyObject
*_wrap_Notebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20621 PyObject
*resultobj
= 0;
20622 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20623 wxWindow
*arg2
= (wxWindow
*) 0 ;
20624 int arg3
= (int) -1 ;
20625 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20626 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20627 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20628 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20629 long arg6
= (long) 0 ;
20630 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
20631 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20643 bool temp7
= false ;
20644 PyObject
* obj0
= 0 ;
20645 PyObject
* obj1
= 0 ;
20646 PyObject
* obj2
= 0 ;
20647 PyObject
* obj3
= 0 ;
20648 PyObject
* obj4
= 0 ;
20649 PyObject
* obj5
= 0 ;
20650 PyObject
* obj6
= 0 ;
20651 char * kwnames
[] = {
20652 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20657 if (!SWIG_IsOK(res1
)) {
20658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20660 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20661 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20662 if (!SWIG_IsOK(res2
)) {
20663 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20665 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20667 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20668 if (!SWIG_IsOK(ecode3
)) {
20669 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20671 arg3
= static_cast< int >(val3
);
20676 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20682 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20686 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20687 if (!SWIG_IsOK(ecode6
)) {
20688 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20690 arg6
= static_cast< long >(val6
);
20694 arg7
= wxString_in_helper(obj6
);
20695 if (arg7
== NULL
) SWIG_fail
;
20700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20701 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20702 wxPyEndAllowThreads(__tstate
);
20703 if (PyErr_Occurred()) SWIG_fail
;
20706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20722 SWIGINTERN PyObject
*_wrap_Notebook_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20723 PyObject
*resultobj
= 0;
20724 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20728 PyObject
*swig_obj
[1] ;
20730 if (!args
) SWIG_fail
;
20731 swig_obj
[0] = args
;
20732 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20733 if (!SWIG_IsOK(res1
)) {
20734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20736 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20739 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
20740 wxPyEndAllowThreads(__tstate
);
20741 if (PyErr_Occurred()) SWIG_fail
;
20743 resultobj
= SWIG_From_int(static_cast< int >(result
));
20750 SWIGINTERN PyObject
*_wrap_Notebook_SetPadding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20751 PyObject
*resultobj
= 0;
20752 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20757 PyObject
* obj0
= 0 ;
20758 PyObject
* obj1
= 0 ;
20759 char * kwnames
[] = {
20760 (char *) "self",(char *) "padding", NULL
20763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20765 if (!SWIG_IsOK(res1
)) {
20766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
20768 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20771 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20775 (arg1
)->SetPadding((wxSize
const &)*arg2
);
20776 wxPyEndAllowThreads(__tstate
);
20777 if (PyErr_Occurred()) SWIG_fail
;
20779 resultobj
= SWIG_Py_Void();
20786 SWIGINTERN PyObject
*_wrap_Notebook_SetTabSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20787 PyObject
*resultobj
= 0;
20788 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20793 PyObject
* obj0
= 0 ;
20794 PyObject
* obj1
= 0 ;
20795 char * kwnames
[] = {
20796 (char *) "self",(char *) "sz", NULL
20799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20801 if (!SWIG_IsOK(res1
)) {
20802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
20804 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20807 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20811 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
20812 wxPyEndAllowThreads(__tstate
);
20813 if (PyErr_Occurred()) SWIG_fail
;
20815 resultobj
= SWIG_Py_Void();
20822 SWIGINTERN PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20823 PyObject
*resultobj
= 0;
20824 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20828 PyObject
*swig_obj
[1] ;
20830 if (!args
) SWIG_fail
;
20831 swig_obj
[0] = args
;
20832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20833 if (!SWIG_IsOK(res1
)) {
20834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20836 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20839 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
20840 wxPyEndAllowThreads(__tstate
);
20841 if (PyErr_Occurred()) SWIG_fail
;
20843 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
20850 SWIGINTERN PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20851 PyObject
*resultobj
= 0;
20852 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20853 SwigValueWrapper
<wxVisualAttributes
> result
;
20856 PyObject
* obj0
= 0 ;
20857 char * kwnames
[] = {
20858 (char *) "variant", NULL
20861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20863 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20864 if (!SWIG_IsOK(ecode1
)) {
20865 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20867 arg1
= static_cast< wxWindowVariant
>(val1
);
20870 if (!wxPyCheckForApp()) SWIG_fail
;
20871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20872 result
= wxNotebook::GetClassDefaultAttributes(arg1
);
20873 wxPyEndAllowThreads(__tstate
);
20874 if (PyErr_Occurred()) SWIG_fail
;
20876 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20883 SWIGINTERN PyObject
*Notebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20885 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20886 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook
, SWIG_NewClientData(obj
));
20887 return SWIG_Py_Void();
20890 SWIGINTERN PyObject
*Notebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20891 return SWIG_Python_InitShadowInstance(args
);
20894 SWIGINTERN PyObject
*_wrap_new_NotebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20895 PyObject
*resultobj
= 0;
20896 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20897 int arg2
= (int) 0 ;
20898 int arg3
= (int) -1 ;
20899 int arg4
= (int) -1 ;
20900 wxNotebookEvent
*result
= 0 ;
20909 PyObject
* obj0
= 0 ;
20910 PyObject
* obj1
= 0 ;
20911 PyObject
* obj2
= 0 ;
20912 PyObject
* obj3
= 0 ;
20913 char * kwnames
[] = {
20914 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20919 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20920 if (!SWIG_IsOK(ecode1
)) {
20921 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20923 arg1
= static_cast< wxEventType
>(val1
);
20926 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20927 if (!SWIG_IsOK(ecode2
)) {
20928 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
20930 arg2
= static_cast< int >(val2
);
20933 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20934 if (!SWIG_IsOK(ecode3
)) {
20935 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
20937 arg3
= static_cast< int >(val3
);
20940 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20941 if (!SWIG_IsOK(ecode4
)) {
20942 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
20944 arg4
= static_cast< int >(val4
);
20947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20948 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
20949 wxPyEndAllowThreads(__tstate
);
20950 if (PyErr_Occurred()) SWIG_fail
;
20952 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebookEvent
, SWIG_POINTER_NEW
| 0 );
20959 SWIGINTERN PyObject
*NotebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20961 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20962 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent
, SWIG_NewClientData(obj
));
20963 return SWIG_Py_Void();
20966 SWIGINTERN PyObject
*NotebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20967 return SWIG_Python_InitShadowInstance(args
);
20970 SWIGINTERN PyObject
*_wrap_new_Listbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20971 PyObject
*resultobj
= 0;
20972 wxWindow
*arg1
= (wxWindow
*) 0 ;
20973 int arg2
= (int) -1 ;
20974 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20975 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20976 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20977 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20978 long arg5
= (long) 0 ;
20979 wxString
const &arg6_defvalue
= wxPyEmptyString
;
20980 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20981 wxListbook
*result
= 0 ;
20990 bool temp6
= false ;
20991 PyObject
* obj0
= 0 ;
20992 PyObject
* obj1
= 0 ;
20993 PyObject
* obj2
= 0 ;
20994 PyObject
* obj3
= 0 ;
20995 PyObject
* obj4
= 0 ;
20996 PyObject
* obj5
= 0 ;
20997 char * kwnames
[] = {
20998 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21003 if (!SWIG_IsOK(res1
)) {
21004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
21006 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21008 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21009 if (!SWIG_IsOK(ecode2
)) {
21010 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
21012 arg2
= static_cast< int >(val2
);
21017 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21023 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21027 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21028 if (!SWIG_IsOK(ecode5
)) {
21029 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
21031 arg5
= static_cast< long >(val5
);
21035 arg6
= wxString_in_helper(obj5
);
21036 if (arg6
== NULL
) SWIG_fail
;
21041 if (!wxPyCheckForApp()) SWIG_fail
;
21042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21043 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21044 wxPyEndAllowThreads(__tstate
);
21045 if (PyErr_Occurred()) SWIG_fail
;
21047 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_NEW
| 0 );
21062 SWIGINTERN PyObject
*_wrap_new_PreListbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21063 PyObject
*resultobj
= 0;
21064 wxListbook
*result
= 0 ;
21066 if (!SWIG_Python_UnpackTuple(args
,"new_PreListbook",0,0,0)) SWIG_fail
;
21068 if (!wxPyCheckForApp()) SWIG_fail
;
21069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21070 result
= (wxListbook
*)new wxListbook();
21071 wxPyEndAllowThreads(__tstate
);
21072 if (PyErr_Occurred()) SWIG_fail
;
21074 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_OWN
| 0 );
21081 SWIGINTERN PyObject
*_wrap_Listbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21082 PyObject
*resultobj
= 0;
21083 wxListbook
*arg1
= (wxListbook
*) 0 ;
21084 wxWindow
*arg2
= (wxWindow
*) 0 ;
21085 int arg3
= (int) -1 ;
21086 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21087 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21088 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21089 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21090 long arg6
= (long) 0 ;
21091 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21092 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21104 bool temp7
= false ;
21105 PyObject
* obj0
= 0 ;
21106 PyObject
* obj1
= 0 ;
21107 PyObject
* obj2
= 0 ;
21108 PyObject
* obj3
= 0 ;
21109 PyObject
* obj4
= 0 ;
21110 PyObject
* obj5
= 0 ;
21111 PyObject
* obj6
= 0 ;
21112 char * kwnames
[] = {
21113 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21118 if (!SWIG_IsOK(res1
)) {
21119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
21121 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21122 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21123 if (!SWIG_IsOK(res2
)) {
21124 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21126 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21128 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21129 if (!SWIG_IsOK(ecode3
)) {
21130 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
21132 arg3
= static_cast< int >(val3
);
21137 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21143 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21147 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21148 if (!SWIG_IsOK(ecode6
)) {
21149 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
21151 arg6
= static_cast< long >(val6
);
21155 arg7
= wxString_in_helper(obj6
);
21156 if (arg7
== NULL
) SWIG_fail
;
21161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21162 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21163 wxPyEndAllowThreads(__tstate
);
21164 if (PyErr_Occurred()) SWIG_fail
;
21167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21183 SWIGINTERN PyObject
*_wrap_Listbook_GetListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21184 PyObject
*resultobj
= 0;
21185 wxListbook
*arg1
= (wxListbook
*) 0 ;
21186 wxListView
*result
= 0 ;
21189 PyObject
*swig_obj
[1] ;
21191 if (!args
) SWIG_fail
;
21192 swig_obj
[0] = args
;
21193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21194 if (!SWIG_IsOK(res1
)) {
21195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
21197 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21200 result
= (wxListView
*)(arg1
)->GetListView();
21201 wxPyEndAllowThreads(__tstate
);
21202 if (PyErr_Occurred()) SWIG_fail
;
21204 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, 0 | 0 );
21211 SWIGINTERN PyObject
*Listbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21213 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21214 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook
, SWIG_NewClientData(obj
));
21215 return SWIG_Py_Void();
21218 SWIGINTERN PyObject
*Listbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21219 return SWIG_Python_InitShadowInstance(args
);
21222 SWIGINTERN PyObject
*_wrap_new_ListbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21223 PyObject
*resultobj
= 0;
21224 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21225 int arg2
= (int) 0 ;
21226 int arg3
= (int) -1 ;
21227 int arg4
= (int) -1 ;
21228 wxListbookEvent
*result
= 0 ;
21237 PyObject
* obj0
= 0 ;
21238 PyObject
* obj1
= 0 ;
21239 PyObject
* obj2
= 0 ;
21240 PyObject
* obj3
= 0 ;
21241 char * kwnames
[] = {
21242 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21247 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21248 if (!SWIG_IsOK(ecode1
)) {
21249 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21251 arg1
= static_cast< wxEventType
>(val1
);
21254 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21255 if (!SWIG_IsOK(ecode2
)) {
21256 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
21258 arg2
= static_cast< int >(val2
);
21261 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21262 if (!SWIG_IsOK(ecode3
)) {
21263 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
21265 arg3
= static_cast< int >(val3
);
21268 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21269 if (!SWIG_IsOK(ecode4
)) {
21270 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
21272 arg4
= static_cast< int >(val4
);
21275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21276 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
21277 wxPyEndAllowThreads(__tstate
);
21278 if (PyErr_Occurred()) SWIG_fail
;
21280 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbookEvent
, SWIG_POINTER_NEW
| 0 );
21287 SWIGINTERN PyObject
*ListbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21289 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21290 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent
, SWIG_NewClientData(obj
));
21291 return SWIG_Py_Void();
21294 SWIGINTERN PyObject
*ListbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21295 return SWIG_Python_InitShadowInstance(args
);
21298 SWIGINTERN PyObject
*_wrap_new_Choicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21299 PyObject
*resultobj
= 0;
21300 wxWindow
*arg1
= (wxWindow
*) 0 ;
21302 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21303 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21304 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21305 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21306 long arg5
= (long) 0 ;
21307 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21308 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21309 wxChoicebook
*result
= 0 ;
21318 bool temp6
= false ;
21319 PyObject
* obj0
= 0 ;
21320 PyObject
* obj1
= 0 ;
21321 PyObject
* obj2
= 0 ;
21322 PyObject
* obj3
= 0 ;
21323 PyObject
* obj4
= 0 ;
21324 PyObject
* obj5
= 0 ;
21325 char * kwnames
[] = {
21326 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21331 if (!SWIG_IsOK(res1
)) {
21332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21334 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21335 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21336 if (!SWIG_IsOK(ecode2
)) {
21337 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
21339 arg2
= static_cast< int >(val2
);
21343 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21349 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21353 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21354 if (!SWIG_IsOK(ecode5
)) {
21355 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
21357 arg5
= static_cast< long >(val5
);
21361 arg6
= wxString_in_helper(obj5
);
21362 if (arg6
== NULL
) SWIG_fail
;
21367 if (!wxPyCheckForApp()) SWIG_fail
;
21368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21369 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21370 wxPyEndAllowThreads(__tstate
);
21371 if (PyErr_Occurred()) SWIG_fail
;
21373 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_NEW
| 0 );
21388 SWIGINTERN PyObject
*_wrap_new_PreChoicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21389 PyObject
*resultobj
= 0;
21390 wxChoicebook
*result
= 0 ;
21392 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoicebook",0,0,0)) SWIG_fail
;
21394 if (!wxPyCheckForApp()) SWIG_fail
;
21395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21396 result
= (wxChoicebook
*)new wxChoicebook();
21397 wxPyEndAllowThreads(__tstate
);
21398 if (PyErr_Occurred()) SWIG_fail
;
21400 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_OWN
| 0 );
21407 SWIGINTERN PyObject
*_wrap_Choicebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21408 PyObject
*resultobj
= 0;
21409 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21410 wxWindow
*arg2
= (wxWindow
*) 0 ;
21412 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21413 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21414 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21415 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21416 long arg6
= (long) 0 ;
21417 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21418 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21430 bool temp7
= false ;
21431 PyObject
* obj0
= 0 ;
21432 PyObject
* obj1
= 0 ;
21433 PyObject
* obj2
= 0 ;
21434 PyObject
* obj3
= 0 ;
21435 PyObject
* obj4
= 0 ;
21436 PyObject
* obj5
= 0 ;
21437 PyObject
* obj6
= 0 ;
21438 char * kwnames
[] = {
21439 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21444 if (!SWIG_IsOK(res1
)) {
21445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
21447 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21448 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21449 if (!SWIG_IsOK(res2
)) {
21450 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21452 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21453 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21454 if (!SWIG_IsOK(ecode3
)) {
21455 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
21457 arg3
= static_cast< int >(val3
);
21461 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21467 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21471 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21472 if (!SWIG_IsOK(ecode6
)) {
21473 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21475 arg6
= static_cast< long >(val6
);
21479 arg7
= wxString_in_helper(obj6
);
21480 if (arg7
== NULL
) SWIG_fail
;
21485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21486 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21487 wxPyEndAllowThreads(__tstate
);
21488 if (PyErr_Occurred()) SWIG_fail
;
21491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21507 SWIGINTERN PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21508 PyObject
*resultobj
= 0;
21509 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21510 wxChoice
*result
= 0 ;
21513 PyObject
*swig_obj
[1] ;
21515 if (!args
) SWIG_fail
;
21516 swig_obj
[0] = args
;
21517 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21518 if (!SWIG_IsOK(res1
)) {
21519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21521 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21524 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
21525 wxPyEndAllowThreads(__tstate
);
21526 if (PyErr_Occurred()) SWIG_fail
;
21528 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, 0 | 0 );
21535 SWIGINTERN PyObject
*Choicebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21537 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21538 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook
, SWIG_NewClientData(obj
));
21539 return SWIG_Py_Void();
21542 SWIGINTERN PyObject
*Choicebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21543 return SWIG_Python_InitShadowInstance(args
);
21546 SWIGINTERN PyObject
*_wrap_new_ChoicebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21547 PyObject
*resultobj
= 0;
21548 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21549 int arg2
= (int) 0 ;
21550 int arg3
= (int) -1 ;
21551 int arg4
= (int) -1 ;
21552 wxChoicebookEvent
*result
= 0 ;
21561 PyObject
* obj0
= 0 ;
21562 PyObject
* obj1
= 0 ;
21563 PyObject
* obj2
= 0 ;
21564 PyObject
* obj3
= 0 ;
21565 char * kwnames
[] = {
21566 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21571 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21572 if (!SWIG_IsOK(ecode1
)) {
21573 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21575 arg1
= static_cast< wxEventType
>(val1
);
21578 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21579 if (!SWIG_IsOK(ecode2
)) {
21580 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
21582 arg2
= static_cast< int >(val2
);
21585 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21586 if (!SWIG_IsOK(ecode3
)) {
21587 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
21589 arg3
= static_cast< int >(val3
);
21592 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21593 if (!SWIG_IsOK(ecode4
)) {
21594 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
21596 arg4
= static_cast< int >(val4
);
21599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21600 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
21601 wxPyEndAllowThreads(__tstate
);
21602 if (PyErr_Occurred()) SWIG_fail
;
21604 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebookEvent
, SWIG_POINTER_NEW
| 0 );
21611 SWIGINTERN PyObject
*ChoicebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21613 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21614 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent
, SWIG_NewClientData(obj
));
21615 return SWIG_Py_Void();
21618 SWIGINTERN PyObject
*ChoicebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21619 return SWIG_Python_InitShadowInstance(args
);
21622 SWIGINTERN PyObject
*_wrap_new_Treebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21623 PyObject
*resultobj
= 0;
21624 wxWindow
*arg1
= (wxWindow
*) 0 ;
21626 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21627 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21628 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21629 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21630 long arg5
= (long) wxBK_DEFAULT
;
21631 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21632 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21633 wxTreebook
*result
= 0 ;
21642 bool temp6
= false ;
21643 PyObject
* obj0
= 0 ;
21644 PyObject
* obj1
= 0 ;
21645 PyObject
* obj2
= 0 ;
21646 PyObject
* obj3
= 0 ;
21647 PyObject
* obj4
= 0 ;
21648 PyObject
* obj5
= 0 ;
21649 char * kwnames
[] = {
21650 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Treebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21655 if (!SWIG_IsOK(res1
)) {
21656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21658 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21659 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21660 if (!SWIG_IsOK(ecode2
)) {
21661 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
21663 arg2
= static_cast< int >(val2
);
21667 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21673 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21677 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21678 if (!SWIG_IsOK(ecode5
)) {
21679 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
21681 arg5
= static_cast< long >(val5
);
21685 arg6
= wxString_in_helper(obj5
);
21686 if (arg6
== NULL
) SWIG_fail
;
21691 if (!wxPyCheckForApp()) SWIG_fail
;
21692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21693 result
= (wxTreebook
*)new wxTreebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21694 wxPyEndAllowThreads(__tstate
);
21695 if (PyErr_Occurred()) SWIG_fail
;
21697 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_NEW
| 0 );
21712 SWIGINTERN PyObject
*_wrap_new_PreTreebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21713 PyObject
*resultobj
= 0;
21714 wxTreebook
*result
= 0 ;
21716 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreebook",0,0,0)) SWIG_fail
;
21718 if (!wxPyCheckForApp()) SWIG_fail
;
21719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21720 result
= (wxTreebook
*)new wxTreebook();
21721 wxPyEndAllowThreads(__tstate
);
21722 if (PyErr_Occurred()) SWIG_fail
;
21724 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_OWN
| 0 );
21731 SWIGINTERN PyObject
*_wrap_Treebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21732 PyObject
*resultobj
= 0;
21733 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21734 wxWindow
*arg2
= (wxWindow
*) 0 ;
21736 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21737 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21738 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21739 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21740 long arg6
= (long) wxBK_DEFAULT
;
21741 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21742 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21754 bool temp7
= false ;
21755 PyObject
* obj0
= 0 ;
21756 PyObject
* obj1
= 0 ;
21757 PyObject
* obj2
= 0 ;
21758 PyObject
* obj3
= 0 ;
21759 PyObject
* obj4
= 0 ;
21760 PyObject
* obj5
= 0 ;
21761 PyObject
* obj6
= 0 ;
21762 char * kwnames
[] = {
21763 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Treebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21768 if (!SWIG_IsOK(res1
)) {
21769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
21771 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21772 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21773 if (!SWIG_IsOK(res2
)) {
21774 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21776 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21777 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21778 if (!SWIG_IsOK(ecode3
)) {
21779 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
21781 arg3
= static_cast< int >(val3
);
21785 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21791 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21795 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21796 if (!SWIG_IsOK(ecode6
)) {
21797 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
21799 arg6
= static_cast< long >(val6
);
21803 arg7
= wxString_in_helper(obj6
);
21804 if (arg7
== NULL
) SWIG_fail
;
21809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21810 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21811 wxPyEndAllowThreads(__tstate
);
21812 if (PyErr_Occurred()) SWIG_fail
;
21815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21831 SWIGINTERN PyObject
*_wrap_Treebook_InsertSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21832 PyObject
*resultobj
= 0;
21833 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21835 wxWindow
*arg3
= (wxWindow
*) 0 ;
21836 wxString
*arg4
= 0 ;
21837 bool arg5
= (bool) false ;
21838 int arg6
= (int) wxNOT_FOUND
;
21846 bool temp4
= false ;
21851 PyObject
* obj0
= 0 ;
21852 PyObject
* obj1
= 0 ;
21853 PyObject
* obj2
= 0 ;
21854 PyObject
* obj3
= 0 ;
21855 PyObject
* obj4
= 0 ;
21856 PyObject
* obj5
= 0 ;
21857 char * kwnames
[] = {
21858 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21863 if (!SWIG_IsOK(res1
)) {
21864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
21866 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21867 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21868 if (!SWIG_IsOK(ecode2
)) {
21869 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
21871 arg2
= static_cast< size_t >(val2
);
21872 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21873 if (!SWIG_IsOK(res3
)) {
21874 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
21876 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
21878 arg4
= wxString_in_helper(obj3
);
21879 if (arg4
== NULL
) SWIG_fail
;
21883 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
21884 if (!SWIG_IsOK(ecode5
)) {
21885 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
21887 arg5
= static_cast< bool >(val5
);
21890 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21891 if (!SWIG_IsOK(ecode6
)) {
21892 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
21894 arg6
= static_cast< int >(val6
);
21897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21898 result
= (bool)(arg1
)->InsertSubPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
21899 wxPyEndAllowThreads(__tstate
);
21900 if (PyErr_Occurred()) SWIG_fail
;
21903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21919 SWIGINTERN PyObject
*_wrap_Treebook_AddSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21920 PyObject
*resultobj
= 0;
21921 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21922 wxWindow
*arg2
= (wxWindow
*) 0 ;
21923 wxString
*arg3
= 0 ;
21924 bool arg4
= (bool) false ;
21925 int arg5
= (int) wxNOT_FOUND
;
21931 bool temp3
= false ;
21936 PyObject
* obj0
= 0 ;
21937 PyObject
* obj1
= 0 ;
21938 PyObject
* obj2
= 0 ;
21939 PyObject
* obj3
= 0 ;
21940 PyObject
* obj4
= 0 ;
21941 char * kwnames
[] = {
21942 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Treebook_AddSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21947 if (!SWIG_IsOK(res1
)) {
21948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
21950 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21951 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21952 if (!SWIG_IsOK(res2
)) {
21953 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
21955 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21957 arg3
= wxString_in_helper(obj2
);
21958 if (arg3
== NULL
) SWIG_fail
;
21962 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
21963 if (!SWIG_IsOK(ecode4
)) {
21964 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
21966 arg4
= static_cast< bool >(val4
);
21969 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21970 if (!SWIG_IsOK(ecode5
)) {
21971 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
21973 arg5
= static_cast< int >(val5
);
21976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21977 result
= (bool)(arg1
)->AddSubPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
21978 wxPyEndAllowThreads(__tstate
);
21979 if (PyErr_Occurred()) SWIG_fail
;
21982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21998 SWIGINTERN PyObject
*_wrap_Treebook_IsNodeExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21999 PyObject
*resultobj
= 0;
22000 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22007 PyObject
* obj0
= 0 ;
22008 PyObject
* obj1
= 0 ;
22009 char * kwnames
[] = {
22010 (char *) "self",(char *) "pos", NULL
22013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_IsNodeExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22015 if (!SWIG_IsOK(res1
)) {
22016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22018 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22019 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22020 if (!SWIG_IsOK(ecode2
)) {
22021 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
22023 arg2
= static_cast< size_t >(val2
);
22025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22026 result
= (bool)((wxTreebook
const *)arg1
)->IsNodeExpanded(arg2
);
22027 wxPyEndAllowThreads(__tstate
);
22028 if (PyErr_Occurred()) SWIG_fail
;
22031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22039 SWIGINTERN PyObject
*_wrap_Treebook_ExpandNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22040 PyObject
*resultobj
= 0;
22041 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22043 bool arg3
= (bool) true ;
22051 PyObject
* obj0
= 0 ;
22052 PyObject
* obj1
= 0 ;
22053 PyObject
* obj2
= 0 ;
22054 char * kwnames
[] = {
22055 (char *) "self",(char *) "pos",(char *) "expand", NULL
22058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Treebook_ExpandNode",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22060 if (!SWIG_IsOK(res1
)) {
22061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22063 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22064 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22065 if (!SWIG_IsOK(ecode2
)) {
22066 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
22068 arg2
= static_cast< size_t >(val2
);
22070 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22071 if (!SWIG_IsOK(ecode3
)) {
22072 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
22074 arg3
= static_cast< bool >(val3
);
22077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22078 result
= (bool)(arg1
)->ExpandNode(arg2
,arg3
);
22079 wxPyEndAllowThreads(__tstate
);
22080 if (PyErr_Occurred()) SWIG_fail
;
22083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22091 SWIGINTERN PyObject
*_wrap_Treebook_CollapseNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22092 PyObject
*resultobj
= 0;
22093 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22100 PyObject
* obj0
= 0 ;
22101 PyObject
* obj1
= 0 ;
22102 char * kwnames
[] = {
22103 (char *) "self",(char *) "pos", NULL
22106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_CollapseNode",kwnames
,&obj0
,&obj1
)) 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_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22111 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22112 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22113 if (!SWIG_IsOK(ecode2
)) {
22114 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
22116 arg2
= static_cast< size_t >(val2
);
22118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22119 result
= (bool)(arg1
)->CollapseNode(arg2
);
22120 wxPyEndAllowThreads(__tstate
);
22121 if (PyErr_Occurred()) SWIG_fail
;
22124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22132 SWIGINTERN PyObject
*_wrap_Treebook_GetPageParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22133 PyObject
*resultobj
= 0;
22134 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22141 PyObject
* obj0
= 0 ;
22142 PyObject
* obj1
= 0 ;
22143 char * kwnames
[] = {
22144 (char *) "self",(char *) "pos", NULL
22147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_GetPageParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22149 if (!SWIG_IsOK(res1
)) {
22150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22152 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22153 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22154 if (!SWIG_IsOK(ecode2
)) {
22155 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
22157 arg2
= static_cast< size_t >(val2
);
22159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22160 result
= (int)((wxTreebook
const *)arg1
)->GetPageParent(arg2
);
22161 wxPyEndAllowThreads(__tstate
);
22162 if (PyErr_Occurred()) SWIG_fail
;
22164 resultobj
= SWIG_From_int(static_cast< int >(result
));
22171 SWIGINTERN PyObject
*_wrap_Treebook_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22172 PyObject
*resultobj
= 0;
22173 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22174 wxTreeCtrl
*result
= 0 ;
22177 PyObject
*swig_obj
[1] ;
22179 if (!args
) SWIG_fail
;
22180 swig_obj
[0] = args
;
22181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22182 if (!SWIG_IsOK(res1
)) {
22183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22185 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22188 result
= (wxTreeCtrl
*)((wxTreebook
const *)arg1
)->GetTreeCtrl();
22189 wxPyEndAllowThreads(__tstate
);
22190 if (PyErr_Occurred()) SWIG_fail
;
22192 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeCtrl
, 0 | 0 );
22199 SWIGINTERN PyObject
*Treebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22201 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22202 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook
, SWIG_NewClientData(obj
));
22203 return SWIG_Py_Void();
22206 SWIGINTERN PyObject
*Treebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22207 return SWIG_Python_InitShadowInstance(args
);
22210 SWIGINTERN PyObject
*_wrap_new_TreebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22211 PyObject
*resultobj
= 0;
22212 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22213 int arg2
= (int) 0 ;
22214 int arg3
= (int) wxNOT_FOUND
;
22215 int arg4
= (int) wxNOT_FOUND
;
22216 wxTreebookEvent
*result
= 0 ;
22225 PyObject
* obj0
= 0 ;
22226 PyObject
* obj1
= 0 ;
22227 PyObject
* obj2
= 0 ;
22228 PyObject
* obj3
= 0 ;
22229 char * kwnames
[] = {
22230 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TreebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22235 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22236 if (!SWIG_IsOK(ecode1
)) {
22237 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22239 arg1
= static_cast< wxEventType
>(val1
);
22242 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22243 if (!SWIG_IsOK(ecode2
)) {
22244 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
22246 arg2
= static_cast< int >(val2
);
22249 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22250 if (!SWIG_IsOK(ecode3
)) {
22251 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
22253 arg3
= static_cast< int >(val3
);
22256 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22257 if (!SWIG_IsOK(ecode4
)) {
22258 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
22260 arg4
= static_cast< int >(val4
);
22263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22264 result
= (wxTreebookEvent
*)new wxTreebookEvent(arg1
,arg2
,arg3
,arg4
);
22265 wxPyEndAllowThreads(__tstate
);
22266 if (PyErr_Occurred()) SWIG_fail
;
22268 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebookEvent
, SWIG_POINTER_NEW
| 0 );
22275 SWIGINTERN PyObject
*TreebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22277 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22278 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent
, SWIG_NewClientData(obj
));
22279 return SWIG_Py_Void();
22282 SWIGINTERN PyObject
*TreebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22283 return SWIG_Python_InitShadowInstance(args
);
22286 SWIGINTERN PyObject
*_wrap_new_Toolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22287 PyObject
*resultobj
= 0;
22288 wxWindow
*arg1
= (wxWindow
*) 0 ;
22290 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22291 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22292 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22293 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22294 long arg5
= (long) wxBK_DEFAULT
;
22295 wxString
const &arg6_defvalue
= wxPyEmptyString
;
22296 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22297 wxToolbook
*result
= 0 ;
22306 bool temp6
= false ;
22307 PyObject
* obj0
= 0 ;
22308 PyObject
* obj1
= 0 ;
22309 PyObject
* obj2
= 0 ;
22310 PyObject
* obj3
= 0 ;
22311 PyObject
* obj4
= 0 ;
22312 PyObject
* obj5
= 0 ;
22313 char * kwnames
[] = {
22314 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Toolbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22319 if (!SWIG_IsOK(res1
)) {
22320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
22322 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22323 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22324 if (!SWIG_IsOK(ecode2
)) {
22325 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
22327 arg2
= static_cast< int >(val2
);
22331 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22337 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22341 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22342 if (!SWIG_IsOK(ecode5
)) {
22343 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
22345 arg5
= static_cast< long >(val5
);
22349 arg6
= wxString_in_helper(obj5
);
22350 if (arg6
== NULL
) SWIG_fail
;
22355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22356 result
= (wxToolbook
*)new wxToolbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22357 wxPyEndAllowThreads(__tstate
);
22358 if (PyErr_Occurred()) SWIG_fail
;
22360 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_NEW
| 0 );
22375 SWIGINTERN PyObject
*_wrap_new_PreToolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22376 PyObject
*resultobj
= 0;
22377 wxToolbook
*result
= 0 ;
22379 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolbook",0,0,0)) SWIG_fail
;
22381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22382 result
= (wxToolbook
*)new wxToolbook();
22383 wxPyEndAllowThreads(__tstate
);
22384 if (PyErr_Occurred()) SWIG_fail
;
22386 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_OWN
| 0 );
22393 SWIGINTERN PyObject
*_wrap_Toolbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22394 PyObject
*resultobj
= 0;
22395 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22396 wxWindow
*arg2
= (wxWindow
*) 0 ;
22398 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22399 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22400 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22401 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22402 long arg6
= (long) 0 ;
22403 wxString
const &arg7_defvalue
= wxEmptyString
;
22404 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22416 bool temp7
= false ;
22417 PyObject
* obj0
= 0 ;
22418 PyObject
* obj1
= 0 ;
22419 PyObject
* obj2
= 0 ;
22420 PyObject
* obj3
= 0 ;
22421 PyObject
* obj4
= 0 ;
22422 PyObject
* obj5
= 0 ;
22423 PyObject
* obj6
= 0 ;
22424 char * kwnames
[] = {
22425 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Toolbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22430 if (!SWIG_IsOK(res1
)) {
22431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
22433 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22434 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22435 if (!SWIG_IsOK(res2
)) {
22436 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22438 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22439 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22440 if (!SWIG_IsOK(ecode3
)) {
22441 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
22443 arg3
= static_cast< int >(val3
);
22447 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22453 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22457 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22458 if (!SWIG_IsOK(ecode6
)) {
22459 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
22461 arg6
= static_cast< long >(val6
);
22465 arg7
= wxString_in_helper(obj6
);
22466 if (arg7
== NULL
) SWIG_fail
;
22471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22472 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22473 wxPyEndAllowThreads(__tstate
);
22474 if (PyErr_Occurred()) SWIG_fail
;
22477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22493 SWIGINTERN PyObject
*_wrap_Toolbook_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22494 PyObject
*resultobj
= 0;
22495 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22496 wxToolBarBase
*result
= 0 ;
22499 PyObject
*swig_obj
[1] ;
22501 if (!args
) SWIG_fail
;
22502 swig_obj
[0] = args
;
22503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22504 if (!SWIG_IsOK(res1
)) {
22505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22507 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22510 result
= (wxToolBarBase
*)((wxToolbook
const *)arg1
)->GetToolBar();
22511 wxPyEndAllowThreads(__tstate
);
22512 if (PyErr_Occurred()) SWIG_fail
;
22515 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22523 SWIGINTERN PyObject
*_wrap_Toolbook_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22524 PyObject
*resultobj
= 0;
22525 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22528 PyObject
*swig_obj
[1] ;
22530 if (!args
) SWIG_fail
;
22531 swig_obj
[0] = args
;
22532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22533 if (!SWIG_IsOK(res1
)) {
22534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22536 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22540 wxPyEndAllowThreads(__tstate
);
22541 if (PyErr_Occurred()) SWIG_fail
;
22543 resultobj
= SWIG_Py_Void();
22550 SWIGINTERN PyObject
*Toolbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22552 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22553 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook
, SWIG_NewClientData(obj
));
22554 return SWIG_Py_Void();
22557 SWIGINTERN PyObject
*Toolbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22558 return SWIG_Python_InitShadowInstance(args
);
22561 SWIGINTERN PyObject
*_wrap_new_ToolbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22562 PyObject
*resultobj
= 0;
22563 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22564 int arg2
= (int) 0 ;
22565 int arg3
= (int) wxNOT_FOUND
;
22566 int arg4
= (int) wxNOT_FOUND
;
22567 wxToolbookEvent
*result
= 0 ;
22576 PyObject
* obj0
= 0 ;
22577 PyObject
* obj1
= 0 ;
22578 PyObject
* obj2
= 0 ;
22579 PyObject
* obj3
= 0 ;
22580 char * kwnames
[] = {
22581 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ToolbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22586 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22587 if (!SWIG_IsOK(ecode1
)) {
22588 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22590 arg1
= static_cast< wxEventType
>(val1
);
22593 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22594 if (!SWIG_IsOK(ecode2
)) {
22595 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
22597 arg2
= static_cast< int >(val2
);
22600 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22601 if (!SWIG_IsOK(ecode3
)) {
22602 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
22604 arg3
= static_cast< int >(val3
);
22607 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22608 if (!SWIG_IsOK(ecode4
)) {
22609 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22611 arg4
= static_cast< int >(val4
);
22614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22615 result
= (wxToolbookEvent
*)new wxToolbookEvent(arg1
,arg2
,arg3
,arg4
);
22616 wxPyEndAllowThreads(__tstate
);
22617 if (PyErr_Occurred()) SWIG_fail
;
22619 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbookEvent
, SWIG_POINTER_NEW
| 0 );
22626 SWIGINTERN PyObject
*ToolbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22628 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22629 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent
, SWIG_NewClientData(obj
));
22630 return SWIG_Py_Void();
22633 SWIGINTERN PyObject
*ToolbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22634 return SWIG_Python_InitShadowInstance(args
);
22637 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22638 PyObject
*resultobj
= 0;
22639 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22643 PyObject
*swig_obj
[1] ;
22645 if (!args
) SWIG_fail
;
22646 swig_obj
[0] = args
;
22647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22648 if (!SWIG_IsOK(res1
)) {
22649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22651 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22654 result
= (int)(arg1
)->GetId();
22655 wxPyEndAllowThreads(__tstate
);
22656 if (PyErr_Occurred()) SWIG_fail
;
22658 resultobj
= SWIG_From_int(static_cast< int >(result
));
22665 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22666 PyObject
*resultobj
= 0;
22667 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22668 wxControl
*result
= 0 ;
22671 PyObject
*swig_obj
[1] ;
22673 if (!args
) SWIG_fail
;
22674 swig_obj
[0] = args
;
22675 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22676 if (!SWIG_IsOK(res1
)) {
22677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22679 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22682 result
= (wxControl
*)(arg1
)->GetControl();
22683 wxPyEndAllowThreads(__tstate
);
22684 if (PyErr_Occurred()) SWIG_fail
;
22687 resultobj
= wxPyMake_wxObject(result
, 0);
22695 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22696 PyObject
*resultobj
= 0;
22697 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22698 wxToolBarBase
*result
= 0 ;
22701 PyObject
*swig_obj
[1] ;
22703 if (!args
) SWIG_fail
;
22704 swig_obj
[0] = args
;
22705 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22706 if (!SWIG_IsOK(res1
)) {
22707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22709 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22712 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
22713 wxPyEndAllowThreads(__tstate
);
22714 if (PyErr_Occurred()) SWIG_fail
;
22717 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22725 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22726 PyObject
*resultobj
= 0;
22727 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22731 PyObject
*swig_obj
[1] ;
22733 if (!args
) SWIG_fail
;
22734 swig_obj
[0] = args
;
22735 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22736 if (!SWIG_IsOK(res1
)) {
22737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22739 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22742 result
= (int)(arg1
)->IsButton();
22743 wxPyEndAllowThreads(__tstate
);
22744 if (PyErr_Occurred()) SWIG_fail
;
22746 resultobj
= SWIG_From_int(static_cast< int >(result
));
22753 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22754 PyObject
*resultobj
= 0;
22755 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22759 PyObject
*swig_obj
[1] ;
22761 if (!args
) SWIG_fail
;
22762 swig_obj
[0] = args
;
22763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22764 if (!SWIG_IsOK(res1
)) {
22765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22767 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22770 result
= (int)(arg1
)->IsControl();
22771 wxPyEndAllowThreads(__tstate
);
22772 if (PyErr_Occurred()) SWIG_fail
;
22774 resultobj
= SWIG_From_int(static_cast< int >(result
));
22781 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22782 PyObject
*resultobj
= 0;
22783 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22787 PyObject
*swig_obj
[1] ;
22789 if (!args
) SWIG_fail
;
22790 swig_obj
[0] = args
;
22791 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22792 if (!SWIG_IsOK(res1
)) {
22793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22795 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22798 result
= (int)(arg1
)->IsSeparator();
22799 wxPyEndAllowThreads(__tstate
);
22800 if (PyErr_Occurred()) SWIG_fail
;
22802 resultobj
= SWIG_From_int(static_cast< int >(result
));
22809 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22810 PyObject
*resultobj
= 0;
22811 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22815 PyObject
*swig_obj
[1] ;
22817 if (!args
) SWIG_fail
;
22818 swig_obj
[0] = args
;
22819 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22820 if (!SWIG_IsOK(res1
)) {
22821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22823 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22826 result
= (int)(arg1
)->GetStyle();
22827 wxPyEndAllowThreads(__tstate
);
22828 if (PyErr_Occurred()) SWIG_fail
;
22830 resultobj
= SWIG_From_int(static_cast< int >(result
));
22837 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22838 PyObject
*resultobj
= 0;
22839 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22843 PyObject
*swig_obj
[1] ;
22845 if (!args
) SWIG_fail
;
22846 swig_obj
[0] = args
;
22847 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22848 if (!SWIG_IsOK(res1
)) {
22849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22851 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22854 result
= (wxItemKind
)(arg1
)->GetKind();
22855 wxPyEndAllowThreads(__tstate
);
22856 if (PyErr_Occurred()) SWIG_fail
;
22858 resultobj
= SWIG_From_int(static_cast< int >(result
));
22865 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22866 PyObject
*resultobj
= 0;
22867 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22871 PyObject
*swig_obj
[1] ;
22873 if (!args
) SWIG_fail
;
22874 swig_obj
[0] = args
;
22875 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22876 if (!SWIG_IsOK(res1
)) {
22877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22879 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22882 result
= (bool)(arg1
)->IsEnabled();
22883 wxPyEndAllowThreads(__tstate
);
22884 if (PyErr_Occurred()) SWIG_fail
;
22887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22895 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22896 PyObject
*resultobj
= 0;
22897 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22901 PyObject
*swig_obj
[1] ;
22903 if (!args
) SWIG_fail
;
22904 swig_obj
[0] = args
;
22905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22906 if (!SWIG_IsOK(res1
)) {
22907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22909 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22912 result
= (bool)(arg1
)->IsToggled();
22913 wxPyEndAllowThreads(__tstate
);
22914 if (PyErr_Occurred()) SWIG_fail
;
22917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22925 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22926 PyObject
*resultobj
= 0;
22927 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22931 PyObject
*swig_obj
[1] ;
22933 if (!args
) SWIG_fail
;
22934 swig_obj
[0] = args
;
22935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22936 if (!SWIG_IsOK(res1
)) {
22937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22939 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22942 result
= (bool)(arg1
)->CanBeToggled();
22943 wxPyEndAllowThreads(__tstate
);
22944 if (PyErr_Occurred()) SWIG_fail
;
22947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22955 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22956 PyObject
*resultobj
= 0;
22957 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22958 wxBitmap
*result
= 0 ;
22961 PyObject
*swig_obj
[1] ;
22963 if (!args
) SWIG_fail
;
22964 swig_obj
[0] = args
;
22965 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22966 if (!SWIG_IsOK(res1
)) {
22967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22969 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22973 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
22974 result
= (wxBitmap
*) &_result_ref
;
22976 wxPyEndAllowThreads(__tstate
);
22977 if (PyErr_Occurred()) SWIG_fail
;
22980 wxBitmap
* resultptr
= new wxBitmap(*result
);
22981 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
22989 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22990 PyObject
*resultobj
= 0;
22991 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22992 wxBitmap
*result
= 0 ;
22995 PyObject
*swig_obj
[1] ;
22997 if (!args
) SWIG_fail
;
22998 swig_obj
[0] = args
;
22999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23000 if (!SWIG_IsOK(res1
)) {
23001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23003 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23007 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
23008 result
= (wxBitmap
*) &_result_ref
;
23010 wxPyEndAllowThreads(__tstate
);
23011 if (PyErr_Occurred()) SWIG_fail
;
23014 wxBitmap
* resultptr
= new wxBitmap(*result
);
23015 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
23023 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23024 PyObject
*resultobj
= 0;
23025 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23029 PyObject
*swig_obj
[1] ;
23031 if (!args
) SWIG_fail
;
23032 swig_obj
[0] = args
;
23033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23034 if (!SWIG_IsOK(res1
)) {
23035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23037 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23040 result
= (arg1
)->GetBitmap();
23041 wxPyEndAllowThreads(__tstate
);
23042 if (PyErr_Occurred()) SWIG_fail
;
23044 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
23051 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23052 PyObject
*resultobj
= 0;
23053 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23057 PyObject
*swig_obj
[1] ;
23059 if (!args
) SWIG_fail
;
23060 swig_obj
[0] = args
;
23061 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23062 if (!SWIG_IsOK(res1
)) {
23063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23065 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23068 result
= (arg1
)->GetLabel();
23069 wxPyEndAllowThreads(__tstate
);
23070 if (PyErr_Occurred()) SWIG_fail
;
23074 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23076 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23085 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23086 PyObject
*resultobj
= 0;
23087 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23091 PyObject
*swig_obj
[1] ;
23093 if (!args
) SWIG_fail
;
23094 swig_obj
[0] = args
;
23095 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23096 if (!SWIG_IsOK(res1
)) {
23097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23099 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23102 result
= (arg1
)->GetShortHelp();
23103 wxPyEndAllowThreads(__tstate
);
23104 if (PyErr_Occurred()) SWIG_fail
;
23108 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23110 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23119 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23120 PyObject
*resultobj
= 0;
23121 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23125 PyObject
*swig_obj
[1] ;
23127 if (!args
) SWIG_fail
;
23128 swig_obj
[0] = args
;
23129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23130 if (!SWIG_IsOK(res1
)) {
23131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23133 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23136 result
= (arg1
)->GetLongHelp();
23137 wxPyEndAllowThreads(__tstate
);
23138 if (PyErr_Occurred()) SWIG_fail
;
23142 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23144 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23153 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23154 PyObject
*resultobj
= 0;
23155 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23162 PyObject
* obj0
= 0 ;
23163 PyObject
* obj1
= 0 ;
23164 char * kwnames
[] = {
23165 (char *) "self",(char *) "enable", NULL
23168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23170 if (!SWIG_IsOK(res1
)) {
23171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23173 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23174 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23175 if (!SWIG_IsOK(ecode2
)) {
23176 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
23178 arg2
= static_cast< bool >(val2
);
23180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23181 result
= (bool)(arg1
)->Enable(arg2
);
23182 wxPyEndAllowThreads(__tstate
);
23183 if (PyErr_Occurred()) SWIG_fail
;
23186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23194 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23195 PyObject
*resultobj
= 0;
23196 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23199 PyObject
*swig_obj
[1] ;
23201 if (!args
) SWIG_fail
;
23202 swig_obj
[0] = args
;
23203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23204 if (!SWIG_IsOK(res1
)) {
23205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23207 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23211 wxPyEndAllowThreads(__tstate
);
23212 if (PyErr_Occurred()) SWIG_fail
;
23214 resultobj
= SWIG_Py_Void();
23221 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23222 PyObject
*resultobj
= 0;
23223 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23230 PyObject
* obj0
= 0 ;
23231 PyObject
* obj1
= 0 ;
23232 char * kwnames
[] = {
23233 (char *) "self",(char *) "toggle", NULL
23236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23238 if (!SWIG_IsOK(res1
)) {
23239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23241 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23242 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23243 if (!SWIG_IsOK(ecode2
)) {
23244 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
23246 arg2
= static_cast< bool >(val2
);
23248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23249 result
= (bool)(arg1
)->SetToggle(arg2
);
23250 wxPyEndAllowThreads(__tstate
);
23251 if (PyErr_Occurred()) SWIG_fail
;
23254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23262 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23263 PyObject
*resultobj
= 0;
23264 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23265 wxString
*arg2
= 0 ;
23269 bool temp2
= false ;
23270 PyObject
* obj0
= 0 ;
23271 PyObject
* obj1
= 0 ;
23272 char * kwnames
[] = {
23273 (char *) "self",(char *) "help", NULL
23276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23278 if (!SWIG_IsOK(res1
)) {
23279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23281 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23283 arg2
= wxString_in_helper(obj1
);
23284 if (arg2
== NULL
) SWIG_fail
;
23288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23289 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
23290 wxPyEndAllowThreads(__tstate
);
23291 if (PyErr_Occurred()) SWIG_fail
;
23294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23310 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23311 PyObject
*resultobj
= 0;
23312 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23313 wxString
*arg2
= 0 ;
23317 bool temp2
= false ;
23318 PyObject
* obj0
= 0 ;
23319 PyObject
* obj1
= 0 ;
23320 char * kwnames
[] = {
23321 (char *) "self",(char *) "help", NULL
23324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23326 if (!SWIG_IsOK(res1
)) {
23327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23329 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23331 arg2
= wxString_in_helper(obj1
);
23332 if (arg2
== NULL
) SWIG_fail
;
23336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23337 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
23338 wxPyEndAllowThreads(__tstate
);
23339 if (PyErr_Occurred()) SWIG_fail
;
23342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23358 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23359 PyObject
*resultobj
= 0;
23360 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23361 wxBitmap
*arg2
= 0 ;
23366 PyObject
* obj0
= 0 ;
23367 PyObject
* obj1
= 0 ;
23368 char * kwnames
[] = {
23369 (char *) "self",(char *) "bmp", NULL
23372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23374 if (!SWIG_IsOK(res1
)) {
23375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23377 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23378 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23379 if (!SWIG_IsOK(res2
)) {
23380 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23383 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23385 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23388 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
23389 wxPyEndAllowThreads(__tstate
);
23390 if (PyErr_Occurred()) SWIG_fail
;
23392 resultobj
= SWIG_Py_Void();
23399 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23400 PyObject
*resultobj
= 0;
23401 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23402 wxBitmap
*arg2
= 0 ;
23407 PyObject
* obj0
= 0 ;
23408 PyObject
* obj1
= 0 ;
23409 char * kwnames
[] = {
23410 (char *) "self",(char *) "bmp", NULL
23413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23415 if (!SWIG_IsOK(res1
)) {
23416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23418 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23419 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23420 if (!SWIG_IsOK(res2
)) {
23421 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23424 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23426 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23429 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
23430 wxPyEndAllowThreads(__tstate
);
23431 if (PyErr_Occurred()) SWIG_fail
;
23433 resultobj
= SWIG_Py_Void();
23440 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23441 PyObject
*resultobj
= 0;
23442 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23443 wxString
*arg2
= 0 ;
23446 bool temp2
= false ;
23447 PyObject
* obj0
= 0 ;
23448 PyObject
* obj1
= 0 ;
23449 char * kwnames
[] = {
23450 (char *) "self",(char *) "label", NULL
23453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23455 if (!SWIG_IsOK(res1
)) {
23456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23458 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23460 arg2
= wxString_in_helper(obj1
);
23461 if (arg2
== NULL
) SWIG_fail
;
23465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23466 (arg1
)->SetLabel((wxString
const &)*arg2
);
23467 wxPyEndAllowThreads(__tstate
);
23468 if (PyErr_Occurred()) SWIG_fail
;
23470 resultobj
= SWIG_Py_Void();
23485 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23486 PyObject
*resultobj
= 0;
23487 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23490 PyObject
*swig_obj
[1] ;
23492 if (!args
) SWIG_fail
;
23493 swig_obj
[0] = args
;
23494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23495 if (!SWIG_IsOK(res1
)) {
23496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23498 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23502 wxPyEndAllowThreads(__tstate
);
23503 if (PyErr_Occurred()) SWIG_fail
;
23505 resultobj
= SWIG_Py_Void();
23512 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23513 PyObject
*resultobj
= 0;
23514 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23515 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
23520 PyObject
* obj0
= 0 ;
23521 PyObject
* obj1
= 0 ;
23522 char * kwnames
[] = {
23523 (char *) "self",(char *) "tbar", NULL
23526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23528 if (!SWIG_IsOK(res1
)) {
23529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23531 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23532 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23533 if (!SWIG_IsOK(res2
)) {
23534 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23536 arg2
= reinterpret_cast< wxToolBarBase
* >(argp2
);
23538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23539 (arg1
)->Attach(arg2
);
23540 wxPyEndAllowThreads(__tstate
);
23541 if (PyErr_Occurred()) SWIG_fail
;
23543 resultobj
= SWIG_Py_Void();
23550 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23551 PyObject
*resultobj
= 0;
23552 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23553 PyObject
*result
= 0 ;
23556 PyObject
*swig_obj
[1] ;
23558 if (!args
) SWIG_fail
;
23559 swig_obj
[0] = args
;
23560 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23561 if (!SWIG_IsOK(res1
)) {
23562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23564 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23567 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
23568 wxPyEndAllowThreads(__tstate
);
23569 if (PyErr_Occurred()) SWIG_fail
;
23571 resultobj
= result
;
23578 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23579 PyObject
*resultobj
= 0;
23580 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23581 PyObject
*arg2
= (PyObject
*) 0 ;
23584 PyObject
* obj0
= 0 ;
23585 PyObject
* obj1
= 0 ;
23586 char * kwnames
[] = {
23587 (char *) "self",(char *) "clientData", NULL
23590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23592 if (!SWIG_IsOK(res1
)) {
23593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23595 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23599 wxToolBarToolBase_SetClientData(arg1
,arg2
);
23600 wxPyEndAllowThreads(__tstate
);
23601 if (PyErr_Occurred()) SWIG_fail
;
23603 resultobj
= SWIG_Py_Void();
23610 SWIGINTERN PyObject
*ToolBarToolBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23612 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23613 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase
, SWIG_NewClientData(obj
));
23614 return SWIG_Py_Void();
23617 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23618 PyObject
*resultobj
= 0;
23619 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23621 wxString
*arg3
= 0 ;
23622 wxBitmap
*arg4
= 0 ;
23623 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
23624 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
23625 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
23626 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23627 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23628 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23629 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23630 PyObject
*arg9
= (PyObject
*) NULL
;
23631 wxToolBarToolBase
*result
= 0 ;
23636 bool temp3
= false ;
23643 bool temp7
= false ;
23644 bool temp8
= false ;
23645 PyObject
* obj0
= 0 ;
23646 PyObject
* obj1
= 0 ;
23647 PyObject
* obj2
= 0 ;
23648 PyObject
* obj3
= 0 ;
23649 PyObject
* obj4
= 0 ;
23650 PyObject
* obj5
= 0 ;
23651 PyObject
* obj6
= 0 ;
23652 PyObject
* obj7
= 0 ;
23653 PyObject
* obj8
= 0 ;
23654 char * kwnames
[] = {
23655 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
23659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23660 if (!SWIG_IsOK(res1
)) {
23661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23663 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23664 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23665 if (!SWIG_IsOK(ecode2
)) {
23666 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
23668 arg2
= static_cast< int >(val2
);
23670 arg3
= wxString_in_helper(obj2
);
23671 if (arg3
== NULL
) SWIG_fail
;
23674 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23675 if (!SWIG_IsOK(res4
)) {
23676 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23679 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23681 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
23683 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23684 if (!SWIG_IsOK(res5
)) {
23685 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23688 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23690 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23693 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23694 if (!SWIG_IsOK(ecode6
)) {
23695 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
23697 arg6
= static_cast< wxItemKind
>(val6
);
23701 arg7
= wxString_in_helper(obj6
);
23702 if (arg7
== NULL
) SWIG_fail
;
23708 arg8
= wxString_in_helper(obj7
);
23709 if (arg8
== NULL
) SWIG_fail
;
23717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23718 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
23719 wxPyEndAllowThreads(__tstate
);
23720 if (PyErr_Occurred()) SWIG_fail
;
23723 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23755 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23756 PyObject
*resultobj
= 0;
23757 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23760 wxString
*arg4
= 0 ;
23761 wxBitmap
*arg5
= 0 ;
23762 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
23763 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
23764 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
23765 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23766 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23767 wxString
const &arg9_defvalue
= wxPyEmptyString
;
23768 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
23769 PyObject
*arg10
= (PyObject
*) NULL
;
23770 wxToolBarToolBase
*result
= 0 ;
23777 bool temp4
= false ;
23784 bool temp8
= false ;
23785 bool temp9
= false ;
23786 PyObject
* obj0
= 0 ;
23787 PyObject
* obj1
= 0 ;
23788 PyObject
* obj2
= 0 ;
23789 PyObject
* obj3
= 0 ;
23790 PyObject
* obj4
= 0 ;
23791 PyObject
* obj5
= 0 ;
23792 PyObject
* obj6
= 0 ;
23793 PyObject
* obj7
= 0 ;
23794 PyObject
* obj8
= 0 ;
23795 PyObject
* obj9
= 0 ;
23796 char * kwnames
[] = {
23797 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
23801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23802 if (!SWIG_IsOK(res1
)) {
23803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23805 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23806 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23807 if (!SWIG_IsOK(ecode2
)) {
23808 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
23810 arg2
= static_cast< size_t >(val2
);
23811 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23812 if (!SWIG_IsOK(ecode3
)) {
23813 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
23815 arg3
= static_cast< int >(val3
);
23817 arg4
= wxString_in_helper(obj3
);
23818 if (arg4
== NULL
) SWIG_fail
;
23821 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23822 if (!SWIG_IsOK(res5
)) {
23823 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23826 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23828 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23830 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23831 if (!SWIG_IsOK(res6
)) {
23832 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23835 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23837 arg6
= reinterpret_cast< wxBitmap
* >(argp6
);
23840 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
23841 if (!SWIG_IsOK(ecode7
)) {
23842 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
23844 arg7
= static_cast< wxItemKind
>(val7
);
23848 arg8
= wxString_in_helper(obj7
);
23849 if (arg8
== NULL
) SWIG_fail
;
23855 arg9
= wxString_in_helper(obj8
);
23856 if (arg9
== NULL
) SWIG_fail
;
23864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23865 result
= (wxToolBarToolBase
*)wxToolBarBase_DoInsertTool(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxBitmap
const &)*arg6
,arg7
,(wxString
const &)*arg8
,(wxString
const &)*arg9
,arg10
);
23866 wxPyEndAllowThreads(__tstate
);
23867 if (PyErr_Occurred()) SWIG_fail
;
23870 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23902 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23903 PyObject
*resultobj
= 0;
23904 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23905 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
23906 wxToolBarToolBase
*result
= 0 ;
23911 PyObject
* obj0
= 0 ;
23912 PyObject
* obj1
= 0 ;
23913 char * kwnames
[] = {
23914 (char *) "self",(char *) "tool", NULL
23917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23919 if (!SWIG_IsOK(res1
)) {
23920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23922 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23923 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23924 if (!SWIG_IsOK(res2
)) {
23925 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
23927 arg2
= reinterpret_cast< wxToolBarToolBase
* >(argp2
);
23929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23930 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
23931 wxPyEndAllowThreads(__tstate
);
23932 if (PyErr_Occurred()) SWIG_fail
;
23935 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23943 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23944 PyObject
*resultobj
= 0;
23945 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23947 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
23948 wxToolBarToolBase
*result
= 0 ;
23955 PyObject
* obj0
= 0 ;
23956 PyObject
* obj1
= 0 ;
23957 PyObject
* obj2
= 0 ;
23958 char * kwnames
[] = {
23959 (char *) "self",(char *) "pos",(char *) "tool", NULL
23962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23964 if (!SWIG_IsOK(res1
)) {
23965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23967 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23968 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23969 if (!SWIG_IsOK(ecode2
)) {
23970 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
23972 arg2
= static_cast< size_t >(val2
);
23973 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23974 if (!SWIG_IsOK(res3
)) {
23975 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
23977 arg3
= reinterpret_cast< wxToolBarToolBase
* >(argp3
);
23979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23980 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
23981 wxPyEndAllowThreads(__tstate
);
23982 if (PyErr_Occurred()) SWIG_fail
;
23985 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23993 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23994 PyObject
*resultobj
= 0;
23995 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23996 wxControl
*arg2
= (wxControl
*) 0 ;
23997 wxToolBarToolBase
*result
= 0 ;
24002 PyObject
* obj0
= 0 ;
24003 PyObject
* obj1
= 0 ;
24004 char * kwnames
[] = {
24005 (char *) "self",(char *) "control", NULL
24008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24010 if (!SWIG_IsOK(res1
)) {
24011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24013 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24014 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 | 0 );
24015 if (!SWIG_IsOK(res2
)) {
24016 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
24018 arg2
= reinterpret_cast< wxControl
* >(argp2
);
24020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24021 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
24022 wxPyEndAllowThreads(__tstate
);
24023 if (PyErr_Occurred()) SWIG_fail
;
24026 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24034 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24035 PyObject
*resultobj
= 0;
24036 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24038 wxControl
*arg3
= (wxControl
*) 0 ;
24039 wxToolBarToolBase
*result
= 0 ;
24046 PyObject
* obj0
= 0 ;
24047 PyObject
* obj1
= 0 ;
24048 PyObject
* obj2
= 0 ;
24049 char * kwnames
[] = {
24050 (char *) "self",(char *) "pos",(char *) "control", NULL
24053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24055 if (!SWIG_IsOK(res1
)) {
24056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24058 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24059 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24060 if (!SWIG_IsOK(ecode2
)) {
24061 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
24063 arg2
= static_cast< size_t >(val2
);
24064 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxControl
, 0 | 0 );
24065 if (!SWIG_IsOK(res3
)) {
24066 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
24068 arg3
= reinterpret_cast< wxControl
* >(argp3
);
24070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24071 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
24072 wxPyEndAllowThreads(__tstate
);
24073 if (PyErr_Occurred()) SWIG_fail
;
24076 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24084 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24085 PyObject
*resultobj
= 0;
24086 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24088 wxControl
*result
= 0 ;
24093 PyObject
* obj0
= 0 ;
24094 PyObject
* obj1
= 0 ;
24095 char * kwnames
[] = {
24096 (char *) "self",(char *) "id", NULL
24099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24101 if (!SWIG_IsOK(res1
)) {
24102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24104 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24105 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24106 if (!SWIG_IsOK(ecode2
)) {
24107 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
24109 arg2
= static_cast< int >(val2
);
24111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24112 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
24113 wxPyEndAllowThreads(__tstate
);
24114 if (PyErr_Occurred()) SWIG_fail
;
24117 resultobj
= wxPyMake_wxObject(result
, 0);
24125 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24126 PyObject
*resultobj
= 0;
24127 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24128 wxToolBarToolBase
*result
= 0 ;
24131 PyObject
*swig_obj
[1] ;
24133 if (!args
) SWIG_fail
;
24134 swig_obj
[0] = args
;
24135 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24136 if (!SWIG_IsOK(res1
)) {
24137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24139 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24142 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
24143 wxPyEndAllowThreads(__tstate
);
24144 if (PyErr_Occurred()) SWIG_fail
;
24147 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24155 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24156 PyObject
*resultobj
= 0;
24157 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24159 wxToolBarToolBase
*result
= 0 ;
24164 PyObject
* obj0
= 0 ;
24165 PyObject
* obj1
= 0 ;
24166 char * kwnames
[] = {
24167 (char *) "self",(char *) "pos", NULL
24170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24172 if (!SWIG_IsOK(res1
)) {
24173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24175 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24176 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24177 if (!SWIG_IsOK(ecode2
)) {
24178 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
24180 arg2
= static_cast< size_t >(val2
);
24182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24183 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
24184 wxPyEndAllowThreads(__tstate
);
24185 if (PyErr_Occurred()) SWIG_fail
;
24188 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24196 SWIGINTERN PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24197 PyObject
*resultobj
= 0;
24198 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24200 wxToolBarToolBase
*result
= 0 ;
24205 PyObject
* obj0
= 0 ;
24206 PyObject
* obj1
= 0 ;
24207 char * kwnames
[] = {
24208 (char *) "self",(char *) "id", NULL
24211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24213 if (!SWIG_IsOK(res1
)) {
24214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24216 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24217 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24218 if (!SWIG_IsOK(ecode2
)) {
24219 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
24221 arg2
= static_cast< int >(val2
);
24223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24224 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
24225 wxPyEndAllowThreads(__tstate
);
24226 if (PyErr_Occurred()) SWIG_fail
;
24229 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24237 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24238 PyObject
*resultobj
= 0;
24239 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24246 PyObject
* obj0
= 0 ;
24247 PyObject
* obj1
= 0 ;
24248 char * kwnames
[] = {
24249 (char *) "self",(char *) "pos", NULL
24252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24254 if (!SWIG_IsOK(res1
)) {
24255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24257 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24258 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24259 if (!SWIG_IsOK(ecode2
)) {
24260 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
24262 arg2
= static_cast< size_t >(val2
);
24264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24265 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
24266 wxPyEndAllowThreads(__tstate
);
24267 if (PyErr_Occurred()) SWIG_fail
;
24270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24278 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24279 PyObject
*resultobj
= 0;
24280 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24287 PyObject
* obj0
= 0 ;
24288 PyObject
* obj1
= 0 ;
24289 char * kwnames
[] = {
24290 (char *) "self",(char *) "id", NULL
24293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24295 if (!SWIG_IsOK(res1
)) {
24296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24298 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24299 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24300 if (!SWIG_IsOK(ecode2
)) {
24301 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
24303 arg2
= static_cast< int >(val2
);
24305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24306 result
= (bool)(arg1
)->DeleteTool(arg2
);
24307 wxPyEndAllowThreads(__tstate
);
24308 if (PyErr_Occurred()) SWIG_fail
;
24311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24319 SWIGINTERN PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24320 PyObject
*resultobj
= 0;
24321 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24324 PyObject
*swig_obj
[1] ;
24326 if (!args
) SWIG_fail
;
24327 swig_obj
[0] = args
;
24328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24329 if (!SWIG_IsOK(res1
)) {
24330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24332 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24335 (arg1
)->ClearTools();
24336 wxPyEndAllowThreads(__tstate
);
24337 if (PyErr_Occurred()) SWIG_fail
;
24339 resultobj
= SWIG_Py_Void();
24346 SWIGINTERN PyObject
*_wrap_ToolBarBase_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24347 PyObject
*resultobj
= 0;
24348 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24352 PyObject
*swig_obj
[1] ;
24354 if (!args
) SWIG_fail
;
24355 swig_obj
[0] = args
;
24356 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24357 if (!SWIG_IsOK(res1
)) {
24358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24360 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24363 result
= (bool)(arg1
)->Realize();
24364 wxPyEndAllowThreads(__tstate
);
24365 if (PyErr_Occurred()) SWIG_fail
;
24368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24376 SWIGINTERN PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24377 PyObject
*resultobj
= 0;
24378 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24387 PyObject
* obj0
= 0 ;
24388 PyObject
* obj1
= 0 ;
24389 PyObject
* obj2
= 0 ;
24390 char * kwnames
[] = {
24391 (char *) "self",(char *) "id",(char *) "enable", NULL
24394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24396 if (!SWIG_IsOK(res1
)) {
24397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24399 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24400 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24401 if (!SWIG_IsOK(ecode2
)) {
24402 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
24404 arg2
= static_cast< int >(val2
);
24405 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24406 if (!SWIG_IsOK(ecode3
)) {
24407 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
24409 arg3
= static_cast< bool >(val3
);
24411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24412 (arg1
)->EnableTool(arg2
,arg3
);
24413 wxPyEndAllowThreads(__tstate
);
24414 if (PyErr_Occurred()) SWIG_fail
;
24416 resultobj
= SWIG_Py_Void();
24423 SWIGINTERN PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24424 PyObject
*resultobj
= 0;
24425 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24434 PyObject
* obj0
= 0 ;
24435 PyObject
* obj1
= 0 ;
24436 PyObject
* obj2
= 0 ;
24437 char * kwnames
[] = {
24438 (char *) "self",(char *) "id",(char *) "toggle", NULL
24441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24443 if (!SWIG_IsOK(res1
)) {
24444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24446 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24447 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24448 if (!SWIG_IsOK(ecode2
)) {
24449 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
24451 arg2
= static_cast< int >(val2
);
24452 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24453 if (!SWIG_IsOK(ecode3
)) {
24454 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
24456 arg3
= static_cast< bool >(val3
);
24458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24459 (arg1
)->ToggleTool(arg2
,arg3
);
24460 wxPyEndAllowThreads(__tstate
);
24461 if (PyErr_Occurred()) SWIG_fail
;
24463 resultobj
= SWIG_Py_Void();
24470 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24471 PyObject
*resultobj
= 0;
24472 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24481 PyObject
* obj0
= 0 ;
24482 PyObject
* obj1
= 0 ;
24483 PyObject
* obj2
= 0 ;
24484 char * kwnames
[] = {
24485 (char *) "self",(char *) "id",(char *) "toggle", NULL
24488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24490 if (!SWIG_IsOK(res1
)) {
24491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24493 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24494 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24495 if (!SWIG_IsOK(ecode2
)) {
24496 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
24498 arg2
= static_cast< int >(val2
);
24499 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24500 if (!SWIG_IsOK(ecode3
)) {
24501 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
24503 arg3
= static_cast< bool >(val3
);
24505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24506 (arg1
)->SetToggle(arg2
,arg3
);
24507 wxPyEndAllowThreads(__tstate
);
24508 if (PyErr_Occurred()) SWIG_fail
;
24510 resultobj
= SWIG_Py_Void();
24517 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24518 PyObject
*resultobj
= 0;
24519 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24521 PyObject
*result
= 0 ;
24526 PyObject
* obj0
= 0 ;
24527 PyObject
* obj1
= 0 ;
24528 char * kwnames
[] = {
24529 (char *) "self",(char *) "id", NULL
24532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24534 if (!SWIG_IsOK(res1
)) {
24535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24537 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24538 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24539 if (!SWIG_IsOK(ecode2
)) {
24540 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
24542 arg2
= static_cast< int >(val2
);
24544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24545 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
24546 wxPyEndAllowThreads(__tstate
);
24547 if (PyErr_Occurred()) SWIG_fail
;
24549 resultobj
= result
;
24556 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24557 PyObject
*resultobj
= 0;
24558 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24560 PyObject
*arg3
= (PyObject
*) 0 ;
24565 PyObject
* obj0
= 0 ;
24566 PyObject
* obj1
= 0 ;
24567 PyObject
* obj2
= 0 ;
24568 char * kwnames
[] = {
24569 (char *) "self",(char *) "id",(char *) "clientData", NULL
24572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24574 if (!SWIG_IsOK(res1
)) {
24575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24577 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24578 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24579 if (!SWIG_IsOK(ecode2
)) {
24580 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
24582 arg2
= static_cast< int >(val2
);
24585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24586 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
24587 wxPyEndAllowThreads(__tstate
);
24588 if (PyErr_Occurred()) SWIG_fail
;
24590 resultobj
= SWIG_Py_Void();
24597 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24598 PyObject
*resultobj
= 0;
24599 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24606 PyObject
* obj0
= 0 ;
24607 PyObject
* obj1
= 0 ;
24608 char * kwnames
[] = {
24609 (char *) "self",(char *) "id", NULL
24612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24614 if (!SWIG_IsOK(res1
)) {
24615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24617 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24618 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24619 if (!SWIG_IsOK(ecode2
)) {
24620 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
24622 arg2
= static_cast< int >(val2
);
24624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24625 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
24626 wxPyEndAllowThreads(__tstate
);
24627 if (PyErr_Occurred()) SWIG_fail
;
24629 resultobj
= SWIG_From_int(static_cast< int >(result
));
24636 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24637 PyObject
*resultobj
= 0;
24638 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24645 PyObject
* obj0
= 0 ;
24646 PyObject
* obj1
= 0 ;
24647 char * kwnames
[] = {
24648 (char *) "self",(char *) "id", NULL
24651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24653 if (!SWIG_IsOK(res1
)) {
24654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24656 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24657 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24658 if (!SWIG_IsOK(ecode2
)) {
24659 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
24661 arg2
= static_cast< int >(val2
);
24663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24664 result
= (bool)(arg1
)->GetToolState(arg2
);
24665 wxPyEndAllowThreads(__tstate
);
24666 if (PyErr_Occurred()) SWIG_fail
;
24669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24677 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24678 PyObject
*resultobj
= 0;
24679 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24686 PyObject
* obj0
= 0 ;
24687 PyObject
* obj1
= 0 ;
24688 char * kwnames
[] = {
24689 (char *) "self",(char *) "id", NULL
24692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24694 if (!SWIG_IsOK(res1
)) {
24695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24697 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24698 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24699 if (!SWIG_IsOK(ecode2
)) {
24700 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
24702 arg2
= static_cast< int >(val2
);
24704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24705 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
24706 wxPyEndAllowThreads(__tstate
);
24707 if (PyErr_Occurred()) SWIG_fail
;
24710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24718 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24719 PyObject
*resultobj
= 0;
24720 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24722 wxString
*arg3
= 0 ;
24727 bool temp3
= false ;
24728 PyObject
* obj0
= 0 ;
24729 PyObject
* obj1
= 0 ;
24730 PyObject
* obj2
= 0 ;
24731 char * kwnames
[] = {
24732 (char *) "self",(char *) "id",(char *) "helpString", NULL
24735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24737 if (!SWIG_IsOK(res1
)) {
24738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24740 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24741 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24742 if (!SWIG_IsOK(ecode2
)) {
24743 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24745 arg2
= static_cast< int >(val2
);
24747 arg3
= wxString_in_helper(obj2
);
24748 if (arg3
== NULL
) SWIG_fail
;
24752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24753 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
24754 wxPyEndAllowThreads(__tstate
);
24755 if (PyErr_Occurred()) SWIG_fail
;
24757 resultobj
= SWIG_Py_Void();
24772 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24773 PyObject
*resultobj
= 0;
24774 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24781 PyObject
* obj0
= 0 ;
24782 PyObject
* obj1
= 0 ;
24783 char * kwnames
[] = {
24784 (char *) "self",(char *) "id", NULL
24787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24789 if (!SWIG_IsOK(res1
)) {
24790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24792 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24793 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24794 if (!SWIG_IsOK(ecode2
)) {
24795 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24797 arg2
= static_cast< int >(val2
);
24799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24800 result
= (arg1
)->GetToolShortHelp(arg2
);
24801 wxPyEndAllowThreads(__tstate
);
24802 if (PyErr_Occurred()) SWIG_fail
;
24806 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24808 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24817 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24818 PyObject
*resultobj
= 0;
24819 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24821 wxString
*arg3
= 0 ;
24826 bool temp3
= false ;
24827 PyObject
* obj0
= 0 ;
24828 PyObject
* obj1
= 0 ;
24829 PyObject
* obj2
= 0 ;
24830 char * kwnames
[] = {
24831 (char *) "self",(char *) "id",(char *) "helpString", NULL
24834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24836 if (!SWIG_IsOK(res1
)) {
24837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24839 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24840 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24841 if (!SWIG_IsOK(ecode2
)) {
24842 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24844 arg2
= static_cast< int >(val2
);
24846 arg3
= wxString_in_helper(obj2
);
24847 if (arg3
== NULL
) SWIG_fail
;
24851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24852 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
24853 wxPyEndAllowThreads(__tstate
);
24854 if (PyErr_Occurred()) SWIG_fail
;
24856 resultobj
= SWIG_Py_Void();
24871 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24872 PyObject
*resultobj
= 0;
24873 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24880 PyObject
* obj0
= 0 ;
24881 PyObject
* obj1
= 0 ;
24882 char * kwnames
[] = {
24883 (char *) "self",(char *) "id", NULL
24886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24888 if (!SWIG_IsOK(res1
)) {
24889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24891 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24892 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24893 if (!SWIG_IsOK(ecode2
)) {
24894 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24896 arg2
= static_cast< int >(val2
);
24898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24899 result
= (arg1
)->GetToolLongHelp(arg2
);
24900 wxPyEndAllowThreads(__tstate
);
24901 if (PyErr_Occurred()) SWIG_fail
;
24905 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24907 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24916 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24917 PyObject
*resultobj
= 0;
24918 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24927 PyObject
* obj0
= 0 ;
24928 PyObject
* obj1
= 0 ;
24929 PyObject
* obj2
= 0 ;
24930 char * kwnames
[] = {
24931 (char *) "self",(char *) "x",(char *) "y", NULL
24934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24936 if (!SWIG_IsOK(res1
)) {
24937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24939 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24940 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24941 if (!SWIG_IsOK(ecode2
)) {
24942 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
24944 arg2
= static_cast< int >(val2
);
24945 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24946 if (!SWIG_IsOK(ecode3
)) {
24947 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
24949 arg3
= static_cast< int >(val3
);
24951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24952 (arg1
)->SetMargins(arg2
,arg3
);
24953 wxPyEndAllowThreads(__tstate
);
24954 if (PyErr_Occurred()) SWIG_fail
;
24956 resultobj
= SWIG_Py_Void();
24963 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24964 PyObject
*resultobj
= 0;
24965 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24970 PyObject
* obj0
= 0 ;
24971 PyObject
* obj1
= 0 ;
24972 char * kwnames
[] = {
24973 (char *) "self",(char *) "size", NULL
24976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24978 if (!SWIG_IsOK(res1
)) {
24979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24981 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24984 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24988 (arg1
)->SetMargins((wxSize
const &)*arg2
);
24989 wxPyEndAllowThreads(__tstate
);
24990 if (PyErr_Occurred()) SWIG_fail
;
24992 resultobj
= SWIG_Py_Void();
24999 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25000 PyObject
*resultobj
= 0;
25001 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25007 PyObject
* obj0
= 0 ;
25008 PyObject
* obj1
= 0 ;
25009 char * kwnames
[] = {
25010 (char *) "self",(char *) "packing", NULL
25013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25015 if (!SWIG_IsOK(res1
)) {
25016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25018 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25019 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25020 if (!SWIG_IsOK(ecode2
)) {
25021 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
25023 arg2
= static_cast< int >(val2
);
25025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25026 (arg1
)->SetToolPacking(arg2
);
25027 wxPyEndAllowThreads(__tstate
);
25028 if (PyErr_Occurred()) SWIG_fail
;
25030 resultobj
= SWIG_Py_Void();
25037 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25038 PyObject
*resultobj
= 0;
25039 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25045 PyObject
* obj0
= 0 ;
25046 PyObject
* obj1
= 0 ;
25047 char * kwnames
[] = {
25048 (char *) "self",(char *) "separation", NULL
25051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25053 if (!SWIG_IsOK(res1
)) {
25054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25056 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25057 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25058 if (!SWIG_IsOK(ecode2
)) {
25059 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
25061 arg2
= static_cast< int >(val2
);
25063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25064 (arg1
)->SetToolSeparation(arg2
);
25065 wxPyEndAllowThreads(__tstate
);
25066 if (PyErr_Occurred()) SWIG_fail
;
25068 resultobj
= SWIG_Py_Void();
25075 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25076 PyObject
*resultobj
= 0;
25077 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25081 PyObject
*swig_obj
[1] ;
25083 if (!args
) SWIG_fail
;
25084 swig_obj
[0] = args
;
25085 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25086 if (!SWIG_IsOK(res1
)) {
25087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25089 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25092 result
= (arg1
)->GetToolMargins();
25093 wxPyEndAllowThreads(__tstate
);
25094 if (PyErr_Occurred()) SWIG_fail
;
25096 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25103 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25104 PyObject
*resultobj
= 0;
25105 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25109 PyObject
*swig_obj
[1] ;
25111 if (!args
) SWIG_fail
;
25112 swig_obj
[0] = args
;
25113 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25114 if (!SWIG_IsOK(res1
)) {
25115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25117 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25120 result
= (arg1
)->GetMargins();
25121 wxPyEndAllowThreads(__tstate
);
25122 if (PyErr_Occurred()) SWIG_fail
;
25124 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25131 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25132 PyObject
*resultobj
= 0;
25133 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25137 PyObject
*swig_obj
[1] ;
25139 if (!args
) SWIG_fail
;
25140 swig_obj
[0] = args
;
25141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25142 if (!SWIG_IsOK(res1
)) {
25143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25145 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25148 result
= (int)(arg1
)->GetToolPacking();
25149 wxPyEndAllowThreads(__tstate
);
25150 if (PyErr_Occurred()) SWIG_fail
;
25152 resultobj
= SWIG_From_int(static_cast< int >(result
));
25159 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25160 PyObject
*resultobj
= 0;
25161 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25165 PyObject
*swig_obj
[1] ;
25167 if (!args
) SWIG_fail
;
25168 swig_obj
[0] = args
;
25169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25170 if (!SWIG_IsOK(res1
)) {
25171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25173 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25176 result
= (int)(arg1
)->GetToolSeparation();
25177 wxPyEndAllowThreads(__tstate
);
25178 if (PyErr_Occurred()) SWIG_fail
;
25180 resultobj
= SWIG_From_int(static_cast< int >(result
));
25187 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25188 PyObject
*resultobj
= 0;
25189 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25195 PyObject
* obj0
= 0 ;
25196 PyObject
* obj1
= 0 ;
25197 char * kwnames
[] = {
25198 (char *) "self",(char *) "nRows", NULL
25201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25203 if (!SWIG_IsOK(res1
)) {
25204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25206 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25207 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25208 if (!SWIG_IsOK(ecode2
)) {
25209 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
25211 arg2
= static_cast< int >(val2
);
25213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25214 (arg1
)->SetRows(arg2
);
25215 wxPyEndAllowThreads(__tstate
);
25216 if (PyErr_Occurred()) SWIG_fail
;
25218 resultobj
= SWIG_Py_Void();
25225 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25226 PyObject
*resultobj
= 0;
25227 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25236 PyObject
* obj0
= 0 ;
25237 PyObject
* obj1
= 0 ;
25238 PyObject
* obj2
= 0 ;
25239 char * kwnames
[] = {
25240 (char *) "self",(char *) "rows",(char *) "cols", NULL
25243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25245 if (!SWIG_IsOK(res1
)) {
25246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25248 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25249 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25250 if (!SWIG_IsOK(ecode2
)) {
25251 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
25253 arg2
= static_cast< int >(val2
);
25254 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25255 if (!SWIG_IsOK(ecode3
)) {
25256 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
25258 arg3
= static_cast< int >(val3
);
25260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25261 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
25262 wxPyEndAllowThreads(__tstate
);
25263 if (PyErr_Occurred()) SWIG_fail
;
25265 resultobj
= SWIG_Py_Void();
25272 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25273 PyObject
*resultobj
= 0;
25274 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25278 PyObject
*swig_obj
[1] ;
25280 if (!args
) SWIG_fail
;
25281 swig_obj
[0] = args
;
25282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25283 if (!SWIG_IsOK(res1
)) {
25284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25286 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25289 result
= (int)(arg1
)->GetMaxRows();
25290 wxPyEndAllowThreads(__tstate
);
25291 if (PyErr_Occurred()) SWIG_fail
;
25293 resultobj
= SWIG_From_int(static_cast< int >(result
));
25300 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25301 PyObject
*resultobj
= 0;
25302 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25306 PyObject
*swig_obj
[1] ;
25308 if (!args
) SWIG_fail
;
25309 swig_obj
[0] = args
;
25310 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25311 if (!SWIG_IsOK(res1
)) {
25312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25314 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25317 result
= (int)(arg1
)->GetMaxCols();
25318 wxPyEndAllowThreads(__tstate
);
25319 if (PyErr_Occurred()) SWIG_fail
;
25321 resultobj
= SWIG_From_int(static_cast< int >(result
));
25328 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25329 PyObject
*resultobj
= 0;
25330 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25335 PyObject
* obj0
= 0 ;
25336 PyObject
* obj1
= 0 ;
25337 char * kwnames
[] = {
25338 (char *) "self",(char *) "size", NULL
25341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25343 if (!SWIG_IsOK(res1
)) {
25344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25346 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25349 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25353 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
25354 wxPyEndAllowThreads(__tstate
);
25355 if (PyErr_Occurred()) SWIG_fail
;
25357 resultobj
= SWIG_Py_Void();
25364 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25365 PyObject
*resultobj
= 0;
25366 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25370 PyObject
*swig_obj
[1] ;
25372 if (!args
) SWIG_fail
;
25373 swig_obj
[0] = args
;
25374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25375 if (!SWIG_IsOK(res1
)) {
25376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25378 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25381 result
= (arg1
)->GetToolBitmapSize();
25382 wxPyEndAllowThreads(__tstate
);
25383 if (PyErr_Occurred()) SWIG_fail
;
25385 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25392 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25393 PyObject
*resultobj
= 0;
25394 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25398 PyObject
*swig_obj
[1] ;
25400 if (!args
) SWIG_fail
;
25401 swig_obj
[0] = args
;
25402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25403 if (!SWIG_IsOK(res1
)) {
25404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25406 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25409 result
= (arg1
)->GetToolSize();
25410 wxPyEndAllowThreads(__tstate
);
25411 if (PyErr_Occurred()) SWIG_fail
;
25413 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25420 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25421 PyObject
*resultobj
= 0;
25422 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25425 wxToolBarToolBase
*result
= 0 ;
25432 PyObject
* obj0
= 0 ;
25433 PyObject
* obj1
= 0 ;
25434 PyObject
* obj2
= 0 ;
25435 char * kwnames
[] = {
25436 (char *) "self",(char *) "x",(char *) "y", NULL
25439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25441 if (!SWIG_IsOK(res1
)) {
25442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25444 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25445 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25446 if (!SWIG_IsOK(ecode2
)) {
25447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25449 arg2
= static_cast< int >(val2
);
25450 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25451 if (!SWIG_IsOK(ecode3
)) {
25452 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25454 arg3
= static_cast< int >(val3
);
25456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25457 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
25458 wxPyEndAllowThreads(__tstate
);
25459 if (PyErr_Occurred()) SWIG_fail
;
25462 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25470 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25471 PyObject
*resultobj
= 0;
25472 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25474 wxToolBarToolBase
*result
= 0 ;
25479 PyObject
* obj0
= 0 ;
25480 PyObject
* obj1
= 0 ;
25481 char * kwnames
[] = {
25482 (char *) "self",(char *) "toolid", NULL
25485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25487 if (!SWIG_IsOK(res1
)) {
25488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25490 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25491 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25492 if (!SWIG_IsOK(ecode2
)) {
25493 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
25495 arg2
= static_cast< int >(val2
);
25497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25498 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
25499 wxPyEndAllowThreads(__tstate
);
25500 if (PyErr_Occurred()) SWIG_fail
;
25503 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25511 SWIGINTERN PyObject
*_wrap_ToolBarBase_IsVertical(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_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25525 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25528 result
= (bool)(arg1
)->IsVertical();
25529 wxPyEndAllowThreads(__tstate
);
25530 if (PyErr_Occurred()) SWIG_fail
;
25533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25541 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25542 PyObject
*resultobj
= 0;
25543 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25547 PyObject
*swig_obj
[1] ;
25549 if (!args
) SWIG_fail
;
25550 swig_obj
[0] = args
;
25551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25552 if (!SWIG_IsOK(res1
)) {
25553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25555 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25558 result
= (size_t)((wxToolBarBase
const *)arg1
)->GetToolsCount();
25559 wxPyEndAllowThreads(__tstate
);
25560 if (PyErr_Occurred()) SWIG_fail
;
25562 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
25569 SWIGINTERN PyObject
*ToolBarBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25571 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25572 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase
, SWIG_NewClientData(obj
));
25573 return SWIG_Py_Void();
25576 SWIGINTERN PyObject
*_wrap_new_ToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25577 PyObject
*resultobj
= 0;
25578 wxWindow
*arg1
= (wxWindow
*) 0 ;
25579 int arg2
= (int) -1 ;
25580 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25581 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25582 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25583 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25584 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25585 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
25586 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25587 wxToolBar
*result
= 0 ;
25596 bool temp6
= false ;
25597 PyObject
* obj0
= 0 ;
25598 PyObject
* obj1
= 0 ;
25599 PyObject
* obj2
= 0 ;
25600 PyObject
* obj3
= 0 ;
25601 PyObject
* obj4
= 0 ;
25602 PyObject
* obj5
= 0 ;
25603 char * kwnames
[] = {
25604 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25609 if (!SWIG_IsOK(res1
)) {
25610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
25612 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25614 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25615 if (!SWIG_IsOK(ecode2
)) {
25616 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
25618 arg2
= static_cast< int >(val2
);
25623 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25629 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25633 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
25634 if (!SWIG_IsOK(ecode5
)) {
25635 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
25637 arg5
= static_cast< long >(val5
);
25641 arg6
= wxString_in_helper(obj5
);
25642 if (arg6
== NULL
) SWIG_fail
;
25647 if (!wxPyCheckForApp()) SWIG_fail
;
25648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25649 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25650 wxPyEndAllowThreads(__tstate
);
25651 if (PyErr_Occurred()) SWIG_fail
;
25653 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_NEW
| 0 );
25668 SWIGINTERN PyObject
*_wrap_new_PreToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25669 PyObject
*resultobj
= 0;
25670 wxToolBar
*result
= 0 ;
25672 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolBar",0,0,0)) SWIG_fail
;
25674 if (!wxPyCheckForApp()) SWIG_fail
;
25675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25676 result
= (wxToolBar
*)new wxToolBar();
25677 wxPyEndAllowThreads(__tstate
);
25678 if (PyErr_Occurred()) SWIG_fail
;
25680 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_OWN
| 0 );
25687 SWIGINTERN PyObject
*_wrap_ToolBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25688 PyObject
*resultobj
= 0;
25689 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
25690 wxWindow
*arg2
= (wxWindow
*) 0 ;
25691 int arg3
= (int) -1 ;
25692 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25693 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25694 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25695 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25696 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25697 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
25698 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25710 bool temp7
= false ;
25711 PyObject
* obj0
= 0 ;
25712 PyObject
* obj1
= 0 ;
25713 PyObject
* obj2
= 0 ;
25714 PyObject
* obj3
= 0 ;
25715 PyObject
* obj4
= 0 ;
25716 PyObject
* obj5
= 0 ;
25717 PyObject
* obj6
= 0 ;
25718 char * kwnames
[] = {
25719 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
25724 if (!SWIG_IsOK(res1
)) {
25725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
25727 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
25728 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25729 if (!SWIG_IsOK(res2
)) {
25730 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
25732 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25734 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25735 if (!SWIG_IsOK(ecode3
)) {
25736 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
25738 arg3
= static_cast< int >(val3
);
25743 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25749 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25753 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
25754 if (!SWIG_IsOK(ecode6
)) {
25755 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
25757 arg6
= static_cast< long >(val6
);
25761 arg7
= wxString_in_helper(obj6
);
25762 if (arg7
== NULL
) SWIG_fail
;
25767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25768 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25769 wxPyEndAllowThreads(__tstate
);
25770 if (PyErr_Occurred()) SWIG_fail
;
25773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25789 SWIGINTERN PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25790 PyObject
*resultobj
= 0;
25791 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
25792 SwigValueWrapper
<wxVisualAttributes
> result
;
25795 PyObject
* obj0
= 0 ;
25796 char * kwnames
[] = {
25797 (char *) "variant", NULL
25800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
25802 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25803 if (!SWIG_IsOK(ecode1
)) {
25804 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
25806 arg1
= static_cast< wxWindowVariant
>(val1
);
25809 if (!wxPyCheckForApp()) SWIG_fail
;
25810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25811 result
= wxToolBar::GetClassDefaultAttributes(arg1
);
25812 wxPyEndAllowThreads(__tstate
);
25813 if (PyErr_Occurred()) SWIG_fail
;
25815 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
25822 SWIGINTERN PyObject
*ToolBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25824 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25825 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar
, SWIG_NewClientData(obj
));
25826 return SWIG_Py_Void();
25829 SWIGINTERN PyObject
*ToolBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25830 return SWIG_Python_InitShadowInstance(args
);
25833 SWIGINTERN
int ListCtrlNameStr_set(PyObject
*) {
25834 SWIG_Error(SWIG_AttributeError
,"Variable ListCtrlNameStr is read-only.");
25839 SWIGINTERN PyObject
*ListCtrlNameStr_get(void) {
25840 PyObject
*pyobj
= 0;
25844 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
25846 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
25853 SWIGINTERN PyObject
*_wrap_new_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25854 PyObject
*resultobj
= 0;
25855 wxColour
const &arg1_defvalue
= wxNullColour
;
25856 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
25857 wxColour
const &arg2_defvalue
= wxNullColour
;
25858 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
25859 wxFont
const &arg3_defvalue
= wxNullFont
;
25860 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
25861 wxListItemAttr
*result
= 0 ;
25866 PyObject
* obj0
= 0 ;
25867 PyObject
* obj1
= 0 ;
25868 PyObject
* obj2
= 0 ;
25869 char * kwnames
[] = {
25870 (char *) "colText",(char *) "colBack",(char *) "font", NULL
25873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25877 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
25883 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25887 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
25888 if (!SWIG_IsOK(res3
)) {
25889 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
25892 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
25894 arg3
= reinterpret_cast< wxFont
* >(argp3
);
25897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25898 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
25899 wxPyEndAllowThreads(__tstate
);
25900 if (PyErr_Occurred()) SWIG_fail
;
25902 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_NEW
| 0 );
25909 SWIGINTERN PyObject
*_wrap_delete_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25910 PyObject
*resultobj
= 0;
25911 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25914 PyObject
*swig_obj
[1] ;
25916 if (!args
) SWIG_fail
;
25917 swig_obj
[0] = args
;
25918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_DISOWN
| 0 );
25919 if (!SWIG_IsOK(res1
)) {
25920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25922 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25927 wxPyEndAllowThreads(__tstate
);
25928 if (PyErr_Occurred()) SWIG_fail
;
25930 resultobj
= SWIG_Py_Void();
25937 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25938 PyObject
*resultobj
= 0;
25939 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25940 wxColour
*arg2
= 0 ;
25944 PyObject
* obj0
= 0 ;
25945 PyObject
* obj1
= 0 ;
25946 char * kwnames
[] = {
25947 (char *) "self",(char *) "colText", NULL
25950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25952 if (!SWIG_IsOK(res1
)) {
25953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25955 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25958 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25962 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
25963 wxPyEndAllowThreads(__tstate
);
25964 if (PyErr_Occurred()) SWIG_fail
;
25966 resultobj
= SWIG_Py_Void();
25973 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25974 PyObject
*resultobj
= 0;
25975 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25976 wxColour
*arg2
= 0 ;
25980 PyObject
* obj0
= 0 ;
25981 PyObject
* obj1
= 0 ;
25982 char * kwnames
[] = {
25983 (char *) "self",(char *) "colBack", NULL
25986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25988 if (!SWIG_IsOK(res1
)) {
25989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25991 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25994 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25998 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
25999 wxPyEndAllowThreads(__tstate
);
26000 if (PyErr_Occurred()) SWIG_fail
;
26002 resultobj
= SWIG_Py_Void();
26009 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26010 PyObject
*resultobj
= 0;
26011 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26017 PyObject
* obj0
= 0 ;
26018 PyObject
* obj1
= 0 ;
26019 char * kwnames
[] = {
26020 (char *) "self",(char *) "font", NULL
26023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26025 if (!SWIG_IsOK(res1
)) {
26026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26028 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26029 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
26030 if (!SWIG_IsOK(res2
)) {
26031 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26034 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26036 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26039 (arg1
)->SetFont((wxFont
const &)*arg2
);
26040 wxPyEndAllowThreads(__tstate
);
26041 if (PyErr_Occurred()) SWIG_fail
;
26043 resultobj
= SWIG_Py_Void();
26050 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26051 PyObject
*resultobj
= 0;
26052 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26056 PyObject
*swig_obj
[1] ;
26058 if (!args
) SWIG_fail
;
26059 swig_obj
[0] = args
;
26060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26061 if (!SWIG_IsOK(res1
)) {
26062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26064 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26067 result
= (bool)(arg1
)->HasTextColour();
26068 wxPyEndAllowThreads(__tstate
);
26069 if (PyErr_Occurred()) SWIG_fail
;
26072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26080 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26081 PyObject
*resultobj
= 0;
26082 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26086 PyObject
*swig_obj
[1] ;
26088 if (!args
) SWIG_fail
;
26089 swig_obj
[0] = args
;
26090 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26091 if (!SWIG_IsOK(res1
)) {
26092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26094 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26097 result
= (bool)(arg1
)->HasBackgroundColour();
26098 wxPyEndAllowThreads(__tstate
);
26099 if (PyErr_Occurred()) SWIG_fail
;
26102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26110 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26111 PyObject
*resultobj
= 0;
26112 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26116 PyObject
*swig_obj
[1] ;
26118 if (!args
) SWIG_fail
;
26119 swig_obj
[0] = args
;
26120 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26121 if (!SWIG_IsOK(res1
)) {
26122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26124 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26127 result
= (bool)(arg1
)->HasFont();
26128 wxPyEndAllowThreads(__tstate
);
26129 if (PyErr_Occurred()) SWIG_fail
;
26132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26140 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26141 PyObject
*resultobj
= 0;
26142 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26146 PyObject
*swig_obj
[1] ;
26148 if (!args
) SWIG_fail
;
26149 swig_obj
[0] = args
;
26150 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26151 if (!SWIG_IsOK(res1
)) {
26152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26154 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26157 result
= (arg1
)->GetTextColour();
26158 wxPyEndAllowThreads(__tstate
);
26159 if (PyErr_Occurred()) SWIG_fail
;
26161 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26168 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26169 PyObject
*resultobj
= 0;
26170 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26174 PyObject
*swig_obj
[1] ;
26176 if (!args
) SWIG_fail
;
26177 swig_obj
[0] = args
;
26178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26179 if (!SWIG_IsOK(res1
)) {
26180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26182 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26185 result
= (arg1
)->GetBackgroundColour();
26186 wxPyEndAllowThreads(__tstate
);
26187 if (PyErr_Occurred()) SWIG_fail
;
26189 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26196 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26197 PyObject
*resultobj
= 0;
26198 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26202 PyObject
*swig_obj
[1] ;
26204 if (!args
) SWIG_fail
;
26205 swig_obj
[0] = args
;
26206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26207 if (!SWIG_IsOK(res1
)) {
26208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26210 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26213 result
= (arg1
)->GetFont();
26214 wxPyEndAllowThreads(__tstate
);
26215 if (PyErr_Occurred()) SWIG_fail
;
26217 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
26224 SWIGINTERN PyObject
*_wrap_ListItemAttr_AssignFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26225 PyObject
*resultobj
= 0;
26226 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26227 wxListItemAttr
*arg2
= 0 ;
26232 PyObject
* obj0
= 0 ;
26233 PyObject
* obj1
= 0 ;
26234 char * kwnames
[] = {
26235 (char *) "self",(char *) "source", NULL
26238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_AssignFrom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26240 if (!SWIG_IsOK(res1
)) {
26241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26243 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26244 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItemAttr
, 0 | 0);
26245 if (!SWIG_IsOK(res2
)) {
26246 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26249 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26251 arg2
= reinterpret_cast< wxListItemAttr
* >(argp2
);
26253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26254 (arg1
)->AssignFrom((wxListItemAttr
const &)*arg2
);
26255 wxPyEndAllowThreads(__tstate
);
26256 if (PyErr_Occurred()) SWIG_fail
;
26258 resultobj
= SWIG_Py_Void();
26265 SWIGINTERN PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26266 PyObject
*resultobj
= 0;
26267 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26270 PyObject
*swig_obj
[1] ;
26272 if (!args
) SWIG_fail
;
26273 swig_obj
[0] = args
;
26274 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26275 if (!SWIG_IsOK(res1
)) {
26276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26278 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26281 wxListItemAttr_Destroy(arg1
);
26282 wxPyEndAllowThreads(__tstate
);
26283 if (PyErr_Occurred()) SWIG_fail
;
26285 resultobj
= SWIG_Py_Void();
26292 SWIGINTERN PyObject
*ListItemAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26294 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26295 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr
, SWIG_NewClientData(obj
));
26296 return SWIG_Py_Void();
26299 SWIGINTERN PyObject
*ListItemAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26300 return SWIG_Python_InitShadowInstance(args
);
26303 SWIGINTERN PyObject
*_wrap_new_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26304 PyObject
*resultobj
= 0;
26305 wxListItem
*result
= 0 ;
26307 if (!SWIG_Python_UnpackTuple(args
,"new_ListItem",0,0,0)) SWIG_fail
;
26309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26310 result
= (wxListItem
*)new wxListItem();
26311 wxPyEndAllowThreads(__tstate
);
26312 if (PyErr_Occurred()) SWIG_fail
;
26315 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
26323 SWIGINTERN PyObject
*_wrap_delete_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26324 PyObject
*resultobj
= 0;
26325 wxListItem
*arg1
= (wxListItem
*) 0 ;
26328 PyObject
*swig_obj
[1] ;
26330 if (!args
) SWIG_fail
;
26331 swig_obj
[0] = args
;
26332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, SWIG_POINTER_DISOWN
| 0 );
26333 if (!SWIG_IsOK(res1
)) {
26334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
26336 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26341 wxPyEndAllowThreads(__tstate
);
26342 if (PyErr_Occurred()) SWIG_fail
;
26344 resultobj
= SWIG_Py_Void();
26351 SWIGINTERN PyObject
*_wrap_ListItem_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26352 PyObject
*resultobj
= 0;
26353 wxListItem
*arg1
= (wxListItem
*) 0 ;
26356 PyObject
*swig_obj
[1] ;
26358 if (!args
) SWIG_fail
;
26359 swig_obj
[0] = args
;
26360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26361 if (!SWIG_IsOK(res1
)) {
26362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
26364 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26368 wxPyEndAllowThreads(__tstate
);
26369 if (PyErr_Occurred()) SWIG_fail
;
26371 resultobj
= SWIG_Py_Void();
26378 SWIGINTERN PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26379 PyObject
*resultobj
= 0;
26380 wxListItem
*arg1
= (wxListItem
*) 0 ;
26383 PyObject
*swig_obj
[1] ;
26385 if (!args
) SWIG_fail
;
26386 swig_obj
[0] = args
;
26387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26388 if (!SWIG_IsOK(res1
)) {
26389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26391 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26394 (arg1
)->ClearAttributes();
26395 wxPyEndAllowThreads(__tstate
);
26396 if (PyErr_Occurred()) SWIG_fail
;
26398 resultobj
= SWIG_Py_Void();
26405 SWIGINTERN PyObject
*_wrap_ListItem_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26406 PyObject
*resultobj
= 0;
26407 wxListItem
*arg1
= (wxListItem
*) 0 ;
26413 PyObject
* obj0
= 0 ;
26414 PyObject
* obj1
= 0 ;
26415 char * kwnames
[] = {
26416 (char *) "self",(char *) "mask", NULL
26419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26420 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26421 if (!SWIG_IsOK(res1
)) {
26422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26424 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26425 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26426 if (!SWIG_IsOK(ecode2
)) {
26427 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
26429 arg2
= static_cast< long >(val2
);
26431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26432 (arg1
)->SetMask(arg2
);
26433 wxPyEndAllowThreads(__tstate
);
26434 if (PyErr_Occurred()) SWIG_fail
;
26436 resultobj
= SWIG_Py_Void();
26443 SWIGINTERN PyObject
*_wrap_ListItem_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26444 PyObject
*resultobj
= 0;
26445 wxListItem
*arg1
= (wxListItem
*) 0 ;
26451 PyObject
* obj0
= 0 ;
26452 PyObject
* obj1
= 0 ;
26453 char * kwnames
[] = {
26454 (char *) "self",(char *) "id", NULL
26457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26459 if (!SWIG_IsOK(res1
)) {
26460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26462 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26463 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26464 if (!SWIG_IsOK(ecode2
)) {
26465 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
26467 arg2
= static_cast< long >(val2
);
26469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26470 (arg1
)->SetId(arg2
);
26471 wxPyEndAllowThreads(__tstate
);
26472 if (PyErr_Occurred()) SWIG_fail
;
26474 resultobj
= SWIG_Py_Void();
26481 SWIGINTERN PyObject
*_wrap_ListItem_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26482 PyObject
*resultobj
= 0;
26483 wxListItem
*arg1
= (wxListItem
*) 0 ;
26489 PyObject
* obj0
= 0 ;
26490 PyObject
* obj1
= 0 ;
26491 char * kwnames
[] = {
26492 (char *) "self",(char *) "col", NULL
26495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26497 if (!SWIG_IsOK(res1
)) {
26498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26500 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26501 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26502 if (!SWIG_IsOK(ecode2
)) {
26503 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
26505 arg2
= static_cast< int >(val2
);
26507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26508 (arg1
)->SetColumn(arg2
);
26509 wxPyEndAllowThreads(__tstate
);
26510 if (PyErr_Occurred()) SWIG_fail
;
26512 resultobj
= SWIG_Py_Void();
26519 SWIGINTERN PyObject
*_wrap_ListItem_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26520 PyObject
*resultobj
= 0;
26521 wxListItem
*arg1
= (wxListItem
*) 0 ;
26527 PyObject
* obj0
= 0 ;
26528 PyObject
* obj1
= 0 ;
26529 char * kwnames
[] = {
26530 (char *) "self",(char *) "state", NULL
26533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26535 if (!SWIG_IsOK(res1
)) {
26536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26538 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26539 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26540 if (!SWIG_IsOK(ecode2
)) {
26541 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
26543 arg2
= static_cast< long >(val2
);
26545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26546 (arg1
)->SetState(arg2
);
26547 wxPyEndAllowThreads(__tstate
);
26548 if (PyErr_Occurred()) SWIG_fail
;
26550 resultobj
= SWIG_Py_Void();
26557 SWIGINTERN PyObject
*_wrap_ListItem_SetStateMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26558 PyObject
*resultobj
= 0;
26559 wxListItem
*arg1
= (wxListItem
*) 0 ;
26565 PyObject
* obj0
= 0 ;
26566 PyObject
* obj1
= 0 ;
26567 char * kwnames
[] = {
26568 (char *) "self",(char *) "stateMask", NULL
26571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26573 if (!SWIG_IsOK(res1
)) {
26574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26576 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26577 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26578 if (!SWIG_IsOK(ecode2
)) {
26579 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
26581 arg2
= static_cast< long >(val2
);
26583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26584 (arg1
)->SetStateMask(arg2
);
26585 wxPyEndAllowThreads(__tstate
);
26586 if (PyErr_Occurred()) SWIG_fail
;
26588 resultobj
= SWIG_Py_Void();
26595 SWIGINTERN PyObject
*_wrap_ListItem_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26596 PyObject
*resultobj
= 0;
26597 wxListItem
*arg1
= (wxListItem
*) 0 ;
26598 wxString
*arg2
= 0 ;
26601 bool temp2
= false ;
26602 PyObject
* obj0
= 0 ;
26603 PyObject
* obj1
= 0 ;
26604 char * kwnames
[] = {
26605 (char *) "self",(char *) "text", NULL
26608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26610 if (!SWIG_IsOK(res1
)) {
26611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26613 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26615 arg2
= wxString_in_helper(obj1
);
26616 if (arg2
== NULL
) SWIG_fail
;
26620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26621 (arg1
)->SetText((wxString
const &)*arg2
);
26622 wxPyEndAllowThreads(__tstate
);
26623 if (PyErr_Occurred()) SWIG_fail
;
26625 resultobj
= SWIG_Py_Void();
26640 SWIGINTERN PyObject
*_wrap_ListItem_SetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26641 PyObject
*resultobj
= 0;
26642 wxListItem
*arg1
= (wxListItem
*) 0 ;
26648 PyObject
* obj0
= 0 ;
26649 PyObject
* obj1
= 0 ;
26650 char * kwnames
[] = {
26651 (char *) "self",(char *) "image", NULL
26654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26656 if (!SWIG_IsOK(res1
)) {
26657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26659 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26660 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26661 if (!SWIG_IsOK(ecode2
)) {
26662 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
26664 arg2
= static_cast< int >(val2
);
26666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26667 (arg1
)->SetImage(arg2
);
26668 wxPyEndAllowThreads(__tstate
);
26669 if (PyErr_Occurred()) SWIG_fail
;
26671 resultobj
= SWIG_Py_Void();
26678 SWIGINTERN PyObject
*_wrap_ListItem_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26679 PyObject
*resultobj
= 0;
26680 wxListItem
*arg1
= (wxListItem
*) 0 ;
26686 PyObject
* obj0
= 0 ;
26687 PyObject
* obj1
= 0 ;
26688 char * kwnames
[] = {
26689 (char *) "self",(char *) "data", NULL
26692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26694 if (!SWIG_IsOK(res1
)) {
26695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26697 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26698 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26699 if (!SWIG_IsOK(ecode2
)) {
26700 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
26702 arg2
= static_cast< long >(val2
);
26704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26705 (arg1
)->SetData(arg2
);
26706 wxPyEndAllowThreads(__tstate
);
26707 if (PyErr_Occurred()) SWIG_fail
;
26709 resultobj
= SWIG_Py_Void();
26716 SWIGINTERN PyObject
*_wrap_ListItem_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26717 PyObject
*resultobj
= 0;
26718 wxListItem
*arg1
= (wxListItem
*) 0 ;
26724 PyObject
* obj0
= 0 ;
26725 PyObject
* obj1
= 0 ;
26726 char * kwnames
[] = {
26727 (char *) "self",(char *) "width", NULL
26730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26732 if (!SWIG_IsOK(res1
)) {
26733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26735 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26736 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26737 if (!SWIG_IsOK(ecode2
)) {
26738 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
26740 arg2
= static_cast< int >(val2
);
26742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26743 (arg1
)->SetWidth(arg2
);
26744 wxPyEndAllowThreads(__tstate
);
26745 if (PyErr_Occurred()) SWIG_fail
;
26747 resultobj
= SWIG_Py_Void();
26754 SWIGINTERN PyObject
*_wrap_ListItem_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26755 PyObject
*resultobj
= 0;
26756 wxListItem
*arg1
= (wxListItem
*) 0 ;
26757 wxListColumnFormat arg2
;
26762 PyObject
* obj0
= 0 ;
26763 PyObject
* obj1
= 0 ;
26764 char * kwnames
[] = {
26765 (char *) "self",(char *) "align", NULL
26768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26770 if (!SWIG_IsOK(res1
)) {
26771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
26773 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26774 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26775 if (!SWIG_IsOK(ecode2
)) {
26776 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
26778 arg2
= static_cast< wxListColumnFormat
>(val2
);
26780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26781 (arg1
)->SetAlign(arg2
);
26782 wxPyEndAllowThreads(__tstate
);
26783 if (PyErr_Occurred()) SWIG_fail
;
26785 resultobj
= SWIG_Py_Void();
26792 SWIGINTERN PyObject
*_wrap_ListItem_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26793 PyObject
*resultobj
= 0;
26794 wxListItem
*arg1
= (wxListItem
*) 0 ;
26795 wxColour
*arg2
= 0 ;
26799 PyObject
* obj0
= 0 ;
26800 PyObject
* obj1
= 0 ;
26801 char * kwnames
[] = {
26802 (char *) "self",(char *) "colText", NULL
26805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26807 if (!SWIG_IsOK(res1
)) {
26808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26810 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26813 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26817 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
26818 wxPyEndAllowThreads(__tstate
);
26819 if (PyErr_Occurred()) SWIG_fail
;
26821 resultobj
= SWIG_Py_Void();
26828 SWIGINTERN PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26829 PyObject
*resultobj
= 0;
26830 wxListItem
*arg1
= (wxListItem
*) 0 ;
26831 wxColour
*arg2
= 0 ;
26835 PyObject
* obj0
= 0 ;
26836 PyObject
* obj1
= 0 ;
26837 char * kwnames
[] = {
26838 (char *) "self",(char *) "colBack", NULL
26841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26843 if (!SWIG_IsOK(res1
)) {
26844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26846 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26849 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26853 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26854 wxPyEndAllowThreads(__tstate
);
26855 if (PyErr_Occurred()) SWIG_fail
;
26857 resultobj
= SWIG_Py_Void();
26864 SWIGINTERN PyObject
*_wrap_ListItem_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26865 PyObject
*resultobj
= 0;
26866 wxListItem
*arg1
= (wxListItem
*) 0 ;
26872 PyObject
* obj0
= 0 ;
26873 PyObject
* obj1
= 0 ;
26874 char * kwnames
[] = {
26875 (char *) "self",(char *) "font", NULL
26878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26880 if (!SWIG_IsOK(res1
)) {
26881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
26883 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26884 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
26885 if (!SWIG_IsOK(res2
)) {
26886 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26889 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26891 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26894 (arg1
)->SetFont((wxFont
const &)*arg2
);
26895 wxPyEndAllowThreads(__tstate
);
26896 if (PyErr_Occurred()) SWIG_fail
;
26898 resultobj
= SWIG_Py_Void();
26905 SWIGINTERN PyObject
*_wrap_ListItem_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26906 PyObject
*resultobj
= 0;
26907 wxListItem
*arg1
= (wxListItem
*) 0 ;
26911 PyObject
*swig_obj
[1] ;
26913 if (!args
) SWIG_fail
;
26914 swig_obj
[0] = args
;
26915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26916 if (!SWIG_IsOK(res1
)) {
26917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26919 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26922 result
= (long)(arg1
)->GetMask();
26923 wxPyEndAllowThreads(__tstate
);
26924 if (PyErr_Occurred()) SWIG_fail
;
26926 resultobj
= SWIG_From_long(static_cast< long >(result
));
26933 SWIGINTERN PyObject
*_wrap_ListItem_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26934 PyObject
*resultobj
= 0;
26935 wxListItem
*arg1
= (wxListItem
*) 0 ;
26939 PyObject
*swig_obj
[1] ;
26941 if (!args
) SWIG_fail
;
26942 swig_obj
[0] = args
;
26943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26944 if (!SWIG_IsOK(res1
)) {
26945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26947 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26950 result
= (long)(arg1
)->GetId();
26951 wxPyEndAllowThreads(__tstate
);
26952 if (PyErr_Occurred()) SWIG_fail
;
26954 resultobj
= SWIG_From_long(static_cast< long >(result
));
26961 SWIGINTERN PyObject
*_wrap_ListItem_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26962 PyObject
*resultobj
= 0;
26963 wxListItem
*arg1
= (wxListItem
*) 0 ;
26967 PyObject
*swig_obj
[1] ;
26969 if (!args
) SWIG_fail
;
26970 swig_obj
[0] = args
;
26971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26972 if (!SWIG_IsOK(res1
)) {
26973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26975 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26978 result
= (int)(arg1
)->GetColumn();
26979 wxPyEndAllowThreads(__tstate
);
26980 if (PyErr_Occurred()) SWIG_fail
;
26982 resultobj
= SWIG_From_int(static_cast< int >(result
));
26989 SWIGINTERN PyObject
*_wrap_ListItem_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26990 PyObject
*resultobj
= 0;
26991 wxListItem
*arg1
= (wxListItem
*) 0 ;
26995 PyObject
*swig_obj
[1] ;
26997 if (!args
) SWIG_fail
;
26998 swig_obj
[0] = args
;
26999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27000 if (!SWIG_IsOK(res1
)) {
27001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
27003 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27006 result
= (long)(arg1
)->GetState();
27007 wxPyEndAllowThreads(__tstate
);
27008 if (PyErr_Occurred()) SWIG_fail
;
27010 resultobj
= SWIG_From_long(static_cast< long >(result
));
27017 SWIGINTERN PyObject
*_wrap_ListItem_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27018 PyObject
*resultobj
= 0;
27019 wxListItem
*arg1
= (wxListItem
*) 0 ;
27020 wxString
*result
= 0 ;
27023 PyObject
*swig_obj
[1] ;
27025 if (!args
) SWIG_fail
;
27026 swig_obj
[0] = args
;
27027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27028 if (!SWIG_IsOK(res1
)) {
27029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
27031 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27035 wxString
const &_result_ref
= (arg1
)->GetText();
27036 result
= (wxString
*) &_result_ref
;
27038 wxPyEndAllowThreads(__tstate
);
27039 if (PyErr_Occurred()) SWIG_fail
;
27043 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27045 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27054 SWIGINTERN PyObject
*_wrap_ListItem_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27055 PyObject
*resultobj
= 0;
27056 wxListItem
*arg1
= (wxListItem
*) 0 ;
27060 PyObject
*swig_obj
[1] ;
27062 if (!args
) SWIG_fail
;
27063 swig_obj
[0] = args
;
27064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27065 if (!SWIG_IsOK(res1
)) {
27066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
27068 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27071 result
= (int)(arg1
)->GetImage();
27072 wxPyEndAllowThreads(__tstate
);
27073 if (PyErr_Occurred()) SWIG_fail
;
27075 resultobj
= SWIG_From_int(static_cast< int >(result
));
27082 SWIGINTERN PyObject
*_wrap_ListItem_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27083 PyObject
*resultobj
= 0;
27084 wxListItem
*arg1
= (wxListItem
*) 0 ;
27088 PyObject
*swig_obj
[1] ;
27090 if (!args
) SWIG_fail
;
27091 swig_obj
[0] = args
;
27092 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27093 if (!SWIG_IsOK(res1
)) {
27094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
27096 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27099 result
= (long)(arg1
)->GetData();
27100 wxPyEndAllowThreads(__tstate
);
27101 if (PyErr_Occurred()) SWIG_fail
;
27103 resultobj
= SWIG_From_long(static_cast< long >(result
));
27110 SWIGINTERN PyObject
*_wrap_ListItem_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27111 PyObject
*resultobj
= 0;
27112 wxListItem
*arg1
= (wxListItem
*) 0 ;
27116 PyObject
*swig_obj
[1] ;
27118 if (!args
) SWIG_fail
;
27119 swig_obj
[0] = args
;
27120 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27121 if (!SWIG_IsOK(res1
)) {
27122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27124 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27127 result
= (int)(arg1
)->GetWidth();
27128 wxPyEndAllowThreads(__tstate
);
27129 if (PyErr_Occurred()) SWIG_fail
;
27131 resultobj
= SWIG_From_int(static_cast< int >(result
));
27138 SWIGINTERN PyObject
*_wrap_ListItem_GetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27139 PyObject
*resultobj
= 0;
27140 wxListItem
*arg1
= (wxListItem
*) 0 ;
27141 wxListColumnFormat result
;
27144 PyObject
*swig_obj
[1] ;
27146 if (!args
) SWIG_fail
;
27147 swig_obj
[0] = args
;
27148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27149 if (!SWIG_IsOK(res1
)) {
27150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27152 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27155 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
27156 wxPyEndAllowThreads(__tstate
);
27157 if (PyErr_Occurred()) SWIG_fail
;
27159 resultobj
= SWIG_From_int(static_cast< int >(result
));
27166 SWIGINTERN PyObject
*_wrap_ListItem_GetAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27167 PyObject
*resultobj
= 0;
27168 wxListItem
*arg1
= (wxListItem
*) 0 ;
27169 wxListItemAttr
*result
= 0 ;
27172 PyObject
*swig_obj
[1] ;
27174 if (!args
) SWIG_fail
;
27175 swig_obj
[0] = args
;
27176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27177 if (!SWIG_IsOK(res1
)) {
27178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27180 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27183 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
27184 wxPyEndAllowThreads(__tstate
);
27185 if (PyErr_Occurred()) SWIG_fail
;
27187 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
27194 SWIGINTERN PyObject
*_wrap_ListItem_HasAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27195 PyObject
*resultobj
= 0;
27196 wxListItem
*arg1
= (wxListItem
*) 0 ;
27200 PyObject
*swig_obj
[1] ;
27202 if (!args
) SWIG_fail
;
27203 swig_obj
[0] = args
;
27204 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27205 if (!SWIG_IsOK(res1
)) {
27206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27208 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27211 result
= (bool)(arg1
)->HasAttributes();
27212 wxPyEndAllowThreads(__tstate
);
27213 if (PyErr_Occurred()) SWIG_fail
;
27216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27224 SWIGINTERN PyObject
*_wrap_ListItem_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27225 PyObject
*resultobj
= 0;
27226 wxListItem
*arg1
= (wxListItem
*) 0 ;
27230 PyObject
*swig_obj
[1] ;
27232 if (!args
) SWIG_fail
;
27233 swig_obj
[0] = args
;
27234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27235 if (!SWIG_IsOK(res1
)) {
27236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27238 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27241 result
= ((wxListItem
const *)arg1
)->GetTextColour();
27242 wxPyEndAllowThreads(__tstate
);
27243 if (PyErr_Occurred()) SWIG_fail
;
27245 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27252 SWIGINTERN PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27253 PyObject
*resultobj
= 0;
27254 wxListItem
*arg1
= (wxListItem
*) 0 ;
27258 PyObject
*swig_obj
[1] ;
27260 if (!args
) SWIG_fail
;
27261 swig_obj
[0] = args
;
27262 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27263 if (!SWIG_IsOK(res1
)) {
27264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27266 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27269 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
27270 wxPyEndAllowThreads(__tstate
);
27271 if (PyErr_Occurred()) SWIG_fail
;
27273 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27280 SWIGINTERN PyObject
*_wrap_ListItem_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27281 PyObject
*resultobj
= 0;
27282 wxListItem
*arg1
= (wxListItem
*) 0 ;
27286 PyObject
*swig_obj
[1] ;
27288 if (!args
) SWIG_fail
;
27289 swig_obj
[0] = args
;
27290 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27291 if (!SWIG_IsOK(res1
)) {
27292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
27294 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27297 result
= ((wxListItem
const *)arg1
)->GetFont();
27298 wxPyEndAllowThreads(__tstate
);
27299 if (PyErr_Occurred()) SWIG_fail
;
27301 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
27308 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27309 PyObject
*resultobj
= 0;
27310 wxListItem
*arg1
= (wxListItem
*) 0 ;
27316 PyObject
*swig_obj
[2] ;
27318 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_mask_set",2,2,swig_obj
)) SWIG_fail
;
27319 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27320 if (!SWIG_IsOK(res1
)) {
27321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27323 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27324 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27325 if (!SWIG_IsOK(ecode2
)) {
27326 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
27328 arg2
= static_cast< long >(val2
);
27329 if (arg1
) (arg1
)->m_mask
= arg2
;
27331 resultobj
= SWIG_Py_Void();
27338 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27339 PyObject
*resultobj
= 0;
27340 wxListItem
*arg1
= (wxListItem
*) 0 ;
27344 PyObject
*swig_obj
[1] ;
27346 if (!args
) SWIG_fail
;
27347 swig_obj
[0] = args
;
27348 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27349 if (!SWIG_IsOK(res1
)) {
27350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27352 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27353 result
= (long) ((arg1
)->m_mask
);
27354 resultobj
= SWIG_From_long(static_cast< long >(result
));
27361 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27362 PyObject
*resultobj
= 0;
27363 wxListItem
*arg1
= (wxListItem
*) 0 ;
27369 PyObject
*swig_obj
[2] ;
27371 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_itemId_set",2,2,swig_obj
)) SWIG_fail
;
27372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27373 if (!SWIG_IsOK(res1
)) {
27374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27376 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27377 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27378 if (!SWIG_IsOK(ecode2
)) {
27379 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
27381 arg2
= static_cast< long >(val2
);
27382 if (arg1
) (arg1
)->m_itemId
= arg2
;
27384 resultobj
= SWIG_Py_Void();
27391 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27392 PyObject
*resultobj
= 0;
27393 wxListItem
*arg1
= (wxListItem
*) 0 ;
27397 PyObject
*swig_obj
[1] ;
27399 if (!args
) SWIG_fail
;
27400 swig_obj
[0] = args
;
27401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27402 if (!SWIG_IsOK(res1
)) {
27403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27405 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27406 result
= (long) ((arg1
)->m_itemId
);
27407 resultobj
= SWIG_From_long(static_cast< long >(result
));
27414 SWIGINTERN PyObject
*_wrap_ListItem_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27415 PyObject
*resultobj
= 0;
27416 wxListItem
*arg1
= (wxListItem
*) 0 ;
27422 PyObject
*swig_obj
[2] ;
27424 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27425 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27426 if (!SWIG_IsOK(res1
)) {
27427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27429 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27430 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27431 if (!SWIG_IsOK(ecode2
)) {
27432 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
27434 arg2
= static_cast< int >(val2
);
27435 if (arg1
) (arg1
)->m_col
= arg2
;
27437 resultobj
= SWIG_Py_Void();
27444 SWIGINTERN PyObject
*_wrap_ListItem_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27445 PyObject
*resultobj
= 0;
27446 wxListItem
*arg1
= (wxListItem
*) 0 ;
27450 PyObject
*swig_obj
[1] ;
27452 if (!args
) SWIG_fail
;
27453 swig_obj
[0] = args
;
27454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27455 if (!SWIG_IsOK(res1
)) {
27456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27458 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27459 result
= (int) ((arg1
)->m_col
);
27460 resultobj
= SWIG_From_int(static_cast< int >(result
));
27467 SWIGINTERN PyObject
*_wrap_ListItem_m_state_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27468 PyObject
*resultobj
= 0;
27469 wxListItem
*arg1
= (wxListItem
*) 0 ;
27475 PyObject
*swig_obj
[2] ;
27477 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_state_set",2,2,swig_obj
)) SWIG_fail
;
27478 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27479 if (!SWIG_IsOK(res1
)) {
27480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27482 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27483 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27484 if (!SWIG_IsOK(ecode2
)) {
27485 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
27487 arg2
= static_cast< long >(val2
);
27488 if (arg1
) (arg1
)->m_state
= arg2
;
27490 resultobj
= SWIG_Py_Void();
27497 SWIGINTERN PyObject
*_wrap_ListItem_m_state_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27498 PyObject
*resultobj
= 0;
27499 wxListItem
*arg1
= (wxListItem
*) 0 ;
27503 PyObject
*swig_obj
[1] ;
27505 if (!args
) SWIG_fail
;
27506 swig_obj
[0] = args
;
27507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27508 if (!SWIG_IsOK(res1
)) {
27509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27511 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27512 result
= (long) ((arg1
)->m_state
);
27513 resultobj
= SWIG_From_long(static_cast< long >(result
));
27520 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27521 PyObject
*resultobj
= 0;
27522 wxListItem
*arg1
= (wxListItem
*) 0 ;
27528 PyObject
*swig_obj
[2] ;
27530 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_stateMask_set",2,2,swig_obj
)) SWIG_fail
;
27531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27532 if (!SWIG_IsOK(res1
)) {
27533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27535 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27536 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27537 if (!SWIG_IsOK(ecode2
)) {
27538 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
27540 arg2
= static_cast< long >(val2
);
27541 if (arg1
) (arg1
)->m_stateMask
= arg2
;
27543 resultobj
= SWIG_Py_Void();
27550 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27551 PyObject
*resultobj
= 0;
27552 wxListItem
*arg1
= (wxListItem
*) 0 ;
27556 PyObject
*swig_obj
[1] ;
27558 if (!args
) SWIG_fail
;
27559 swig_obj
[0] = args
;
27560 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27561 if (!SWIG_IsOK(res1
)) {
27562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27564 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27565 result
= (long) ((arg1
)->m_stateMask
);
27566 resultobj
= SWIG_From_long(static_cast< long >(result
));
27573 SWIGINTERN PyObject
*_wrap_ListItem_m_text_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27574 PyObject
*resultobj
= 0;
27575 wxListItem
*arg1
= (wxListItem
*) 0 ;
27576 wxString
*arg2
= (wxString
*) 0 ;
27579 bool temp2
= false ;
27580 PyObject
*swig_obj
[2] ;
27582 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_text_set",2,2,swig_obj
)) SWIG_fail
;
27583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27584 if (!SWIG_IsOK(res1
)) {
27585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27587 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27589 arg2
= wxString_in_helper(swig_obj
[1]);
27590 if (arg2
== NULL
) SWIG_fail
;
27593 if (arg1
) (arg1
)->m_text
= *arg2
;
27595 resultobj
= SWIG_Py_Void();
27610 SWIGINTERN PyObject
*_wrap_ListItem_m_text_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27611 PyObject
*resultobj
= 0;
27612 wxListItem
*arg1
= (wxListItem
*) 0 ;
27613 wxString
*result
= 0 ;
27616 PyObject
*swig_obj
[1] ;
27618 if (!args
) SWIG_fail
;
27619 swig_obj
[0] = args
;
27620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27621 if (!SWIG_IsOK(res1
)) {
27622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27624 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27625 result
= (wxString
*)& ((arg1
)->m_text
);
27628 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27630 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27639 SWIGINTERN PyObject
*_wrap_ListItem_m_image_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27640 PyObject
*resultobj
= 0;
27641 wxListItem
*arg1
= (wxListItem
*) 0 ;
27647 PyObject
*swig_obj
[2] ;
27649 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_image_set",2,2,swig_obj
)) SWIG_fail
;
27650 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27651 if (!SWIG_IsOK(res1
)) {
27652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27654 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27655 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27656 if (!SWIG_IsOK(ecode2
)) {
27657 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
27659 arg2
= static_cast< int >(val2
);
27660 if (arg1
) (arg1
)->m_image
= arg2
;
27662 resultobj
= SWIG_Py_Void();
27669 SWIGINTERN PyObject
*_wrap_ListItem_m_image_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27670 PyObject
*resultobj
= 0;
27671 wxListItem
*arg1
= (wxListItem
*) 0 ;
27675 PyObject
*swig_obj
[1] ;
27677 if (!args
) SWIG_fail
;
27678 swig_obj
[0] = args
;
27679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27680 if (!SWIG_IsOK(res1
)) {
27681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27683 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27684 result
= (int) ((arg1
)->m_image
);
27685 resultobj
= SWIG_From_int(static_cast< int >(result
));
27692 SWIGINTERN PyObject
*_wrap_ListItem_m_data_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27693 PyObject
*resultobj
= 0;
27694 wxListItem
*arg1
= (wxListItem
*) 0 ;
27700 PyObject
*swig_obj
[2] ;
27702 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_data_set",2,2,swig_obj
)) SWIG_fail
;
27703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27704 if (!SWIG_IsOK(res1
)) {
27705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27707 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27708 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27709 if (!SWIG_IsOK(ecode2
)) {
27710 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
27712 arg2
= static_cast< long >(val2
);
27713 if (arg1
) (arg1
)->m_data
= arg2
;
27715 resultobj
= SWIG_Py_Void();
27722 SWIGINTERN PyObject
*_wrap_ListItem_m_data_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27723 PyObject
*resultobj
= 0;
27724 wxListItem
*arg1
= (wxListItem
*) 0 ;
27728 PyObject
*swig_obj
[1] ;
27730 if (!args
) SWIG_fail
;
27731 swig_obj
[0] = args
;
27732 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27733 if (!SWIG_IsOK(res1
)) {
27734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27736 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27737 result
= (long) ((arg1
)->m_data
);
27738 resultobj
= SWIG_From_long(static_cast< long >(result
));
27745 SWIGINTERN PyObject
*_wrap_ListItem_m_format_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27746 PyObject
*resultobj
= 0;
27747 wxListItem
*arg1
= (wxListItem
*) 0 ;
27753 PyObject
*swig_obj
[2] ;
27755 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_format_set",2,2,swig_obj
)) SWIG_fail
;
27756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27757 if (!SWIG_IsOK(res1
)) {
27758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27760 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27761 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27762 if (!SWIG_IsOK(ecode2
)) {
27763 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
27765 arg2
= static_cast< int >(val2
);
27766 if (arg1
) (arg1
)->m_format
= arg2
;
27768 resultobj
= SWIG_Py_Void();
27775 SWIGINTERN PyObject
*_wrap_ListItem_m_format_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27776 PyObject
*resultobj
= 0;
27777 wxListItem
*arg1
= (wxListItem
*) 0 ;
27781 PyObject
*swig_obj
[1] ;
27783 if (!args
) SWIG_fail
;
27784 swig_obj
[0] = args
;
27785 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27786 if (!SWIG_IsOK(res1
)) {
27787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27789 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27790 result
= (int) ((arg1
)->m_format
);
27791 resultobj
= SWIG_From_int(static_cast< int >(result
));
27798 SWIGINTERN PyObject
*_wrap_ListItem_m_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27799 PyObject
*resultobj
= 0;
27800 wxListItem
*arg1
= (wxListItem
*) 0 ;
27806 PyObject
*swig_obj
[2] ;
27808 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_width_set",2,2,swig_obj
)) SWIG_fail
;
27809 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27810 if (!SWIG_IsOK(res1
)) {
27811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27813 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27814 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27815 if (!SWIG_IsOK(ecode2
)) {
27816 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
27818 arg2
= static_cast< int >(val2
);
27819 if (arg1
) (arg1
)->m_width
= arg2
;
27821 resultobj
= SWIG_Py_Void();
27828 SWIGINTERN PyObject
*_wrap_ListItem_m_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27829 PyObject
*resultobj
= 0;
27830 wxListItem
*arg1
= (wxListItem
*) 0 ;
27834 PyObject
*swig_obj
[1] ;
27836 if (!args
) SWIG_fail
;
27837 swig_obj
[0] = args
;
27838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27839 if (!SWIG_IsOK(res1
)) {
27840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27842 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27843 result
= (int) ((arg1
)->m_width
);
27844 resultobj
= SWIG_From_int(static_cast< int >(result
));
27851 SWIGINTERN PyObject
*ListItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27853 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27854 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem
, SWIG_NewClientData(obj
));
27855 return SWIG_Py_Void();
27858 SWIGINTERN PyObject
*ListItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27859 return SWIG_Python_InitShadowInstance(args
);
27862 SWIGINTERN PyObject
*_wrap_new_ListEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27863 PyObject
*resultobj
= 0;
27864 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27865 int arg2
= (int) 0 ;
27866 wxListEvent
*result
= 0 ;
27871 PyObject
* obj0
= 0 ;
27872 PyObject
* obj1
= 0 ;
27873 char * kwnames
[] = {
27874 (char *) "commandType",(char *) "id", NULL
27877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27879 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27880 if (!SWIG_IsOK(ecode1
)) {
27881 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
27883 arg1
= static_cast< wxEventType
>(val1
);
27886 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27887 if (!SWIG_IsOK(ecode2
)) {
27888 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
27890 arg2
= static_cast< int >(val2
);
27893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27894 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
27895 wxPyEndAllowThreads(__tstate
);
27896 if (PyErr_Occurred()) SWIG_fail
;
27898 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListEvent
, SWIG_POINTER_NEW
| 0 );
27905 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27906 PyObject
*resultobj
= 0;
27907 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27913 PyObject
*swig_obj
[2] ;
27915 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_code_set",2,2,swig_obj
)) SWIG_fail
;
27916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27917 if (!SWIG_IsOK(res1
)) {
27918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27920 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27921 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27922 if (!SWIG_IsOK(ecode2
)) {
27923 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
27925 arg2
= static_cast< int >(val2
);
27926 if (arg1
) (arg1
)->m_code
= arg2
;
27928 resultobj
= SWIG_Py_Void();
27935 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27936 PyObject
*resultobj
= 0;
27937 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27941 PyObject
*swig_obj
[1] ;
27943 if (!args
) SWIG_fail
;
27944 swig_obj
[0] = args
;
27945 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27946 if (!SWIG_IsOK(res1
)) {
27947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27949 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27950 result
= (int) ((arg1
)->m_code
);
27951 resultobj
= SWIG_From_int(static_cast< int >(result
));
27958 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27959 PyObject
*resultobj
= 0;
27960 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27966 PyObject
*swig_obj
[2] ;
27968 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_oldItemIndex_set",2,2,swig_obj
)) SWIG_fail
;
27969 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27970 if (!SWIG_IsOK(res1
)) {
27971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27973 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27974 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27975 if (!SWIG_IsOK(ecode2
)) {
27976 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
27978 arg2
= static_cast< long >(val2
);
27979 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
27981 resultobj
= SWIG_Py_Void();
27988 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27989 PyObject
*resultobj
= 0;
27990 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27994 PyObject
*swig_obj
[1] ;
27996 if (!args
) SWIG_fail
;
27997 swig_obj
[0] = args
;
27998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27999 if (!SWIG_IsOK(res1
)) {
28000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28002 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28003 result
= (long) ((arg1
)->m_oldItemIndex
);
28004 resultobj
= SWIG_From_long(static_cast< long >(result
));
28011 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28012 PyObject
*resultobj
= 0;
28013 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28019 PyObject
*swig_obj
[2] ;
28021 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_itemIndex_set",2,2,swig_obj
)) SWIG_fail
;
28022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28023 if (!SWIG_IsOK(res1
)) {
28024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28026 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28027 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28028 if (!SWIG_IsOK(ecode2
)) {
28029 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
28031 arg2
= static_cast< long >(val2
);
28032 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
28034 resultobj
= SWIG_Py_Void();
28041 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28042 PyObject
*resultobj
= 0;
28043 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28047 PyObject
*swig_obj
[1] ;
28049 if (!args
) SWIG_fail
;
28050 swig_obj
[0] = args
;
28051 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28052 if (!SWIG_IsOK(res1
)) {
28053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28055 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28056 result
= (long) ((arg1
)->m_itemIndex
);
28057 resultobj
= SWIG_From_long(static_cast< long >(result
));
28064 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28065 PyObject
*resultobj
= 0;
28066 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28072 PyObject
*swig_obj
[2] ;
28074 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_col_set",2,2,swig_obj
)) SWIG_fail
;
28075 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28076 if (!SWIG_IsOK(res1
)) {
28077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28079 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28080 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28081 if (!SWIG_IsOK(ecode2
)) {
28082 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
28084 arg2
= static_cast< int >(val2
);
28085 if (arg1
) (arg1
)->m_col
= arg2
;
28087 resultobj
= SWIG_Py_Void();
28094 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28095 PyObject
*resultobj
= 0;
28096 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28100 PyObject
*swig_obj
[1] ;
28102 if (!args
) SWIG_fail
;
28103 swig_obj
[0] = args
;
28104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28105 if (!SWIG_IsOK(res1
)) {
28106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28108 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28109 result
= (int) ((arg1
)->m_col
);
28110 resultobj
= SWIG_From_int(static_cast< int >(result
));
28117 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28118 PyObject
*resultobj
= 0;
28119 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28120 wxPoint
*arg2
= (wxPoint
*) 0 ;
28125 PyObject
*swig_obj
[2] ;
28127 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_pointDrag_set",2,2,swig_obj
)) SWIG_fail
;
28128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28129 if (!SWIG_IsOK(res1
)) {
28130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28132 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28133 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPoint
, 0 | 0 );
28134 if (!SWIG_IsOK(res2
)) {
28135 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
28137 arg2
= reinterpret_cast< wxPoint
* >(argp2
);
28138 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
28140 resultobj
= SWIG_Py_Void();
28147 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28148 PyObject
*resultobj
= 0;
28149 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28150 wxPoint
*result
= 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_wxListEvent
, 0 | 0 );
28158 if (!SWIG_IsOK(res1
)) {
28159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28161 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28162 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
28163 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
28170 SWIGINTERN PyObject
*_wrap_ListEvent_m_item_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28171 PyObject
*resultobj
= 0;
28172 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28173 wxListItem
*result
= 0 ;
28176 PyObject
*swig_obj
[1] ;
28178 if (!args
) SWIG_fail
;
28179 swig_obj
[0] = args
;
28180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28181 if (!SWIG_IsOK(res1
)) {
28182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28184 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28185 result
= (wxListItem
*)& ((arg1
)->m_item
);
28187 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28195 SWIGINTERN PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28196 PyObject
*resultobj
= 0;
28197 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28201 PyObject
*swig_obj
[1] ;
28203 if (!args
) SWIG_fail
;
28204 swig_obj
[0] = args
;
28205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28206 if (!SWIG_IsOK(res1
)) {
28207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
28209 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28212 result
= (int)(arg1
)->GetKeyCode();
28213 wxPyEndAllowThreads(__tstate
);
28214 if (PyErr_Occurred()) SWIG_fail
;
28216 resultobj
= SWIG_From_int(static_cast< int >(result
));
28223 SWIGINTERN PyObject
*_wrap_ListEvent_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28224 PyObject
*resultobj
= 0;
28225 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28229 PyObject
*swig_obj
[1] ;
28231 if (!args
) SWIG_fail
;
28232 swig_obj
[0] = args
;
28233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28234 if (!SWIG_IsOK(res1
)) {
28235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
28237 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28240 result
= (long)(arg1
)->GetIndex();
28241 wxPyEndAllowThreads(__tstate
);
28242 if (PyErr_Occurred()) SWIG_fail
;
28244 resultobj
= SWIG_From_long(static_cast< long >(result
));
28251 SWIGINTERN PyObject
*_wrap_ListEvent_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28252 PyObject
*resultobj
= 0;
28253 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28257 PyObject
*swig_obj
[1] ;
28259 if (!args
) SWIG_fail
;
28260 swig_obj
[0] = args
;
28261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28262 if (!SWIG_IsOK(res1
)) {
28263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
28265 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28268 result
= (int)(arg1
)->GetColumn();
28269 wxPyEndAllowThreads(__tstate
);
28270 if (PyErr_Occurred()) SWIG_fail
;
28272 resultobj
= SWIG_From_int(static_cast< int >(result
));
28279 SWIGINTERN PyObject
*_wrap_ListEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28280 PyObject
*resultobj
= 0;
28281 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28285 PyObject
*swig_obj
[1] ;
28287 if (!args
) SWIG_fail
;
28288 swig_obj
[0] = args
;
28289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28290 if (!SWIG_IsOK(res1
)) {
28291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
28293 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28296 result
= (arg1
)->GetPoint();
28297 wxPyEndAllowThreads(__tstate
);
28298 if (PyErr_Occurred()) SWIG_fail
;
28300 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
28307 SWIGINTERN PyObject
*_wrap_ListEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28308 PyObject
*resultobj
= 0;
28309 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28310 wxString
*result
= 0 ;
28313 PyObject
*swig_obj
[1] ;
28315 if (!args
) SWIG_fail
;
28316 swig_obj
[0] = args
;
28317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28318 if (!SWIG_IsOK(res1
)) {
28319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
28321 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28325 wxString
const &_result_ref
= (arg1
)->GetLabel();
28326 result
= (wxString
*) &_result_ref
;
28328 wxPyEndAllowThreads(__tstate
);
28329 if (PyErr_Occurred()) SWIG_fail
;
28333 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28335 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28344 SWIGINTERN PyObject
*_wrap_ListEvent_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28345 PyObject
*resultobj
= 0;
28346 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28347 wxString
*result
= 0 ;
28350 PyObject
*swig_obj
[1] ;
28352 if (!args
) SWIG_fail
;
28353 swig_obj
[0] = args
;
28354 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28355 if (!SWIG_IsOK(res1
)) {
28356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
28358 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28362 wxString
const &_result_ref
= (arg1
)->GetText();
28363 result
= (wxString
*) &_result_ref
;
28365 wxPyEndAllowThreads(__tstate
);
28366 if (PyErr_Occurred()) SWIG_fail
;
28370 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28372 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28381 SWIGINTERN PyObject
*_wrap_ListEvent_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28382 PyObject
*resultobj
= 0;
28383 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28387 PyObject
*swig_obj
[1] ;
28389 if (!args
) SWIG_fail
;
28390 swig_obj
[0] = args
;
28391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28392 if (!SWIG_IsOK(res1
)) {
28393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
28395 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28398 result
= (int)(arg1
)->GetImage();
28399 wxPyEndAllowThreads(__tstate
);
28400 if (PyErr_Occurred()) SWIG_fail
;
28402 resultobj
= SWIG_From_int(static_cast< int >(result
));
28409 SWIGINTERN PyObject
*_wrap_ListEvent_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28410 PyObject
*resultobj
= 0;
28411 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28415 PyObject
*swig_obj
[1] ;
28417 if (!args
) SWIG_fail
;
28418 swig_obj
[0] = args
;
28419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28420 if (!SWIG_IsOK(res1
)) {
28421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
28423 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28426 result
= (long)(arg1
)->GetData();
28427 wxPyEndAllowThreads(__tstate
);
28428 if (PyErr_Occurred()) SWIG_fail
;
28430 resultobj
= SWIG_From_long(static_cast< long >(result
));
28437 SWIGINTERN PyObject
*_wrap_ListEvent_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28438 PyObject
*resultobj
= 0;
28439 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28443 PyObject
*swig_obj
[1] ;
28445 if (!args
) SWIG_fail
;
28446 swig_obj
[0] = args
;
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_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
28451 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28454 result
= (long)(arg1
)->GetMask();
28455 wxPyEndAllowThreads(__tstate
);
28456 if (PyErr_Occurred()) SWIG_fail
;
28458 resultobj
= SWIG_From_long(static_cast< long >(result
));
28465 SWIGINTERN PyObject
*_wrap_ListEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28466 PyObject
*resultobj
= 0;
28467 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28468 wxListItem
*result
= 0 ;
28471 PyObject
*swig_obj
[1] ;
28473 if (!args
) SWIG_fail
;
28474 swig_obj
[0] = args
;
28475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28476 if (!SWIG_IsOK(res1
)) {
28477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
28479 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28483 wxListItem
const &_result_ref
= (arg1
)->GetItem();
28484 result
= (wxListItem
*) &_result_ref
;
28486 wxPyEndAllowThreads(__tstate
);
28487 if (PyErr_Occurred()) SWIG_fail
;
28489 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, 0 | 0 );
28496 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28497 PyObject
*resultobj
= 0;
28498 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28502 PyObject
*swig_obj
[1] ;
28504 if (!args
) SWIG_fail
;
28505 swig_obj
[0] = args
;
28506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28507 if (!SWIG_IsOK(res1
)) {
28508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
28510 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28513 result
= (long)(arg1
)->GetCacheFrom();
28514 wxPyEndAllowThreads(__tstate
);
28515 if (PyErr_Occurred()) SWIG_fail
;
28517 resultobj
= SWIG_From_long(static_cast< long >(result
));
28524 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28525 PyObject
*resultobj
= 0;
28526 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28530 PyObject
*swig_obj
[1] ;
28532 if (!args
) SWIG_fail
;
28533 swig_obj
[0] = args
;
28534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28535 if (!SWIG_IsOK(res1
)) {
28536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
28538 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28541 result
= (long)(arg1
)->GetCacheTo();
28542 wxPyEndAllowThreads(__tstate
);
28543 if (PyErr_Occurred()) SWIG_fail
;
28545 resultobj
= SWIG_From_long(static_cast< long >(result
));
28552 SWIGINTERN PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28553 PyObject
*resultobj
= 0;
28554 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28558 PyObject
*swig_obj
[1] ;
28560 if (!args
) SWIG_fail
;
28561 swig_obj
[0] = args
;
28562 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28563 if (!SWIG_IsOK(res1
)) {
28564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
28566 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28569 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
28570 wxPyEndAllowThreads(__tstate
);
28571 if (PyErr_Occurred()) SWIG_fail
;
28574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28582 SWIGINTERN PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28583 PyObject
*resultobj
= 0;
28584 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28590 PyObject
* obj0
= 0 ;
28591 PyObject
* obj1
= 0 ;
28592 char * kwnames
[] = {
28593 (char *) "self",(char *) "editCancelled", NULL
28596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28598 if (!SWIG_IsOK(res1
)) {
28599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
28601 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28602 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28603 if (!SWIG_IsOK(ecode2
)) {
28604 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
28606 arg2
= static_cast< bool >(val2
);
28608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28609 (arg1
)->SetEditCanceled(arg2
);
28610 wxPyEndAllowThreads(__tstate
);
28611 if (PyErr_Occurred()) SWIG_fail
;
28613 resultobj
= SWIG_Py_Void();
28620 SWIGINTERN PyObject
*ListEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28622 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28623 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent
, SWIG_NewClientData(obj
));
28624 return SWIG_Py_Void();
28627 SWIGINTERN PyObject
*ListEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28628 return SWIG_Python_InitShadowInstance(args
);
28631 SWIGINTERN PyObject
*_wrap_new_ListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28632 PyObject
*resultobj
= 0;
28633 wxWindow
*arg1
= (wxWindow
*) 0 ;
28634 int arg2
= (int) -1 ;
28635 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28636 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28637 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28638 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28639 long arg5
= (long) wxLC_ICON
;
28640 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28641 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28642 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
28643 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28644 wxPyListCtrl
*result
= 0 ;
28655 bool temp7
= false ;
28656 PyObject
* obj0
= 0 ;
28657 PyObject
* obj1
= 0 ;
28658 PyObject
* obj2
= 0 ;
28659 PyObject
* obj3
= 0 ;
28660 PyObject
* obj4
= 0 ;
28661 PyObject
* obj5
= 0 ;
28662 PyObject
* obj6
= 0 ;
28663 char * kwnames
[] = {
28664 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28669 if (!SWIG_IsOK(res1
)) {
28670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
28672 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28674 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28675 if (!SWIG_IsOK(ecode2
)) {
28676 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
28678 arg2
= static_cast< int >(val2
);
28683 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28689 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28693 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28694 if (!SWIG_IsOK(ecode5
)) {
28695 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
28697 arg5
= static_cast< long >(val5
);
28700 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
28701 if (!SWIG_IsOK(res6
)) {
28702 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28705 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28707 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
28711 arg7
= wxString_in_helper(obj6
);
28712 if (arg7
== NULL
) SWIG_fail
;
28717 if (!wxPyCheckForApp()) SWIG_fail
;
28718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28719 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28720 wxPyEndAllowThreads(__tstate
);
28721 if (PyErr_Occurred()) SWIG_fail
;
28723 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_NEW
| 0 );
28738 SWIGINTERN PyObject
*_wrap_new_PreListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28739 PyObject
*resultobj
= 0;
28740 wxPyListCtrl
*result
= 0 ;
28742 if (!SWIG_Python_UnpackTuple(args
,"new_PreListCtrl",0,0,0)) SWIG_fail
;
28744 if (!wxPyCheckForApp()) SWIG_fail
;
28745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28746 result
= (wxPyListCtrl
*)new wxPyListCtrl();
28747 wxPyEndAllowThreads(__tstate
);
28748 if (PyErr_Occurred()) SWIG_fail
;
28750 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_OWN
| 0 );
28757 SWIGINTERN PyObject
*_wrap_ListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28758 PyObject
*resultobj
= 0;
28759 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28760 wxWindow
*arg2
= (wxWindow
*) 0 ;
28761 int arg3
= (int) -1 ;
28762 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28763 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28764 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28765 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28766 long arg6
= (long) wxLC_ICON
;
28767 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
28768 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
28769 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
28770 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28784 bool temp8
= false ;
28785 PyObject
* obj0
= 0 ;
28786 PyObject
* obj1
= 0 ;
28787 PyObject
* obj2
= 0 ;
28788 PyObject
* obj3
= 0 ;
28789 PyObject
* obj4
= 0 ;
28790 PyObject
* obj5
= 0 ;
28791 PyObject
* obj6
= 0 ;
28792 PyObject
* obj7
= 0 ;
28793 char * kwnames
[] = {
28794 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28799 if (!SWIG_IsOK(res1
)) {
28800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28802 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28803 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28804 if (!SWIG_IsOK(res2
)) {
28805 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
28807 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28809 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28810 if (!SWIG_IsOK(ecode3
)) {
28811 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
28813 arg3
= static_cast< int >(val3
);
28818 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28824 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28828 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28829 if (!SWIG_IsOK(ecode6
)) {
28830 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
28832 arg6
= static_cast< long >(val6
);
28835 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
28836 if (!SWIG_IsOK(res7
)) {
28837 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28840 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28842 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
28846 arg8
= wxString_in_helper(obj7
);
28847 if (arg8
== NULL
) SWIG_fail
;
28852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28853 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
28854 wxPyEndAllowThreads(__tstate
);
28855 if (PyErr_Occurred()) SWIG_fail
;
28858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28874 SWIGINTERN PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28875 PyObject
*resultobj
= 0;
28876 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28877 PyObject
*arg2
= (PyObject
*) 0 ;
28878 PyObject
*arg3
= (PyObject
*) 0 ;
28881 PyObject
* obj0
= 0 ;
28882 PyObject
* obj1
= 0 ;
28883 PyObject
* obj2
= 0 ;
28884 char * kwnames
[] = {
28885 (char *) "self",(char *) "self",(char *) "_class", NULL
28888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28890 if (!SWIG_IsOK(res1
)) {
28891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28893 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28898 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28899 wxPyEndAllowThreads(__tstate
);
28900 if (PyErr_Occurred()) SWIG_fail
;
28902 resultobj
= SWIG_Py_Void();
28909 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28910 PyObject
*resultobj
= 0;
28911 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28913 wxListItem
*result
= 0 ;
28918 PyObject
* obj0
= 0 ;
28919 PyObject
* obj1
= 0 ;
28920 char * kwnames
[] = {
28921 (char *) "self",(char *) "col", NULL
28924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28926 if (!SWIG_IsOK(res1
)) {
28927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28929 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28930 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28931 if (!SWIG_IsOK(ecode2
)) {
28932 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
28934 arg2
= static_cast< int >(val2
);
28936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28937 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
28938 wxPyEndAllowThreads(__tstate
);
28939 if (PyErr_Occurred()) SWIG_fail
;
28942 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28950 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28951 PyObject
*resultobj
= 0;
28952 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28954 wxListItem
*arg3
= 0 ;
28962 PyObject
* obj0
= 0 ;
28963 PyObject
* obj1
= 0 ;
28964 PyObject
* obj2
= 0 ;
28965 char * kwnames
[] = {
28966 (char *) "self",(char *) "col",(char *) "item", NULL
28969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28971 if (!SWIG_IsOK(res1
)) {
28972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28974 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28975 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28976 if (!SWIG_IsOK(ecode2
)) {
28977 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
28979 arg2
= static_cast< int >(val2
);
28980 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
28981 if (!SWIG_IsOK(res3
)) {
28982 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
28985 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
28987 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
28989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28990 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
28991 wxPyEndAllowThreads(__tstate
);
28992 if (PyErr_Occurred()) SWIG_fail
;
28995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29003 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29004 PyObject
*resultobj
= 0;
29005 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29012 PyObject
* obj0
= 0 ;
29013 PyObject
* obj1
= 0 ;
29014 char * kwnames
[] = {
29015 (char *) "self",(char *) "col", NULL
29018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29020 if (!SWIG_IsOK(res1
)) {
29021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29023 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29024 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29025 if (!SWIG_IsOK(ecode2
)) {
29026 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29028 arg2
= static_cast< int >(val2
);
29030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29031 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
29032 wxPyEndAllowThreads(__tstate
);
29033 if (PyErr_Occurred()) SWIG_fail
;
29035 resultobj
= SWIG_From_int(static_cast< int >(result
));
29042 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29043 PyObject
*resultobj
= 0;
29044 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29054 PyObject
* obj0
= 0 ;
29055 PyObject
* obj1
= 0 ;
29056 PyObject
* obj2
= 0 ;
29057 char * kwnames
[] = {
29058 (char *) "self",(char *) "col",(char *) "width", NULL
29061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29063 if (!SWIG_IsOK(res1
)) {
29064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29066 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29067 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29068 if (!SWIG_IsOK(ecode2
)) {
29069 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29071 arg2
= static_cast< int >(val2
);
29072 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29073 if (!SWIG_IsOK(ecode3
)) {
29074 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
29076 arg3
= static_cast< int >(val3
);
29078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29079 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
29080 wxPyEndAllowThreads(__tstate
);
29081 if (PyErr_Occurred()) SWIG_fail
;
29084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29092 SWIGINTERN PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29093 PyObject
*resultobj
= 0;
29094 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29098 PyObject
*swig_obj
[1] ;
29100 if (!args
) SWIG_fail
;
29101 swig_obj
[0] = args
;
29102 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29103 if (!SWIG_IsOK(res1
)) {
29104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29106 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29109 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
29110 wxPyEndAllowThreads(__tstate
);
29111 if (PyErr_Occurred()) SWIG_fail
;
29113 resultobj
= SWIG_From_int(static_cast< int >(result
));
29120 SWIGINTERN PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29121 PyObject
*resultobj
= 0;
29122 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29126 PyObject
*swig_obj
[1] ;
29128 if (!args
) SWIG_fail
;
29129 swig_obj
[0] = args
;
29130 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29131 if (!SWIG_IsOK(res1
)) {
29132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29134 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29137 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
29138 wxPyEndAllowThreads(__tstate
);
29139 if (PyErr_Occurred()) SWIG_fail
;
29141 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29148 SWIGINTERN PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29149 PyObject
*resultobj
= 0;
29150 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29151 wxTextCtrl
*result
= 0 ;
29154 PyObject
*swig_obj
[1] ;
29156 if (!args
) SWIG_fail
;
29157 swig_obj
[0] = args
;
29158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29159 if (!SWIG_IsOK(res1
)) {
29160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29162 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29165 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
29166 wxPyEndAllowThreads(__tstate
);
29167 if (PyErr_Occurred()) SWIG_fail
;
29170 resultobj
= wxPyMake_wxObject(result
, 0);
29178 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29179 PyObject
*resultobj
= 0;
29180 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29182 int arg3
= (int) 0 ;
29183 wxListItem
*result
= 0 ;
29190 PyObject
* obj0
= 0 ;
29191 PyObject
* obj1
= 0 ;
29192 PyObject
* obj2
= 0 ;
29193 char * kwnames
[] = {
29194 (char *) "self",(char *) "itemId",(char *) "col", NULL
29197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29199 if (!SWIG_IsOK(res1
)) {
29200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29202 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29203 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29204 if (!SWIG_IsOK(ecode2
)) {
29205 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
29207 arg2
= static_cast< long >(val2
);
29209 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29210 if (!SWIG_IsOK(ecode3
)) {
29211 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
29213 arg3
= static_cast< int >(val3
);
29216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29217 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
29218 wxPyEndAllowThreads(__tstate
);
29219 if (PyErr_Occurred()) SWIG_fail
;
29222 resultobj
= wxPyMake_wxObject(result
, (bool)0);
29230 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29231 PyObject
*resultobj
= 0;
29232 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29233 wxListItem
*arg2
= 0 ;
29239 PyObject
* obj0
= 0 ;
29240 PyObject
* obj1
= 0 ;
29241 char * kwnames
[] = {
29242 (char *) "self",(char *) "info", NULL
29245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29247 if (!SWIG_IsOK(res1
)) {
29248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29250 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29251 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
29252 if (!SWIG_IsOK(res2
)) {
29253 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29256 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29258 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
29260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29261 result
= (bool)(arg1
)->SetItem(*arg2
);
29262 wxPyEndAllowThreads(__tstate
);
29263 if (PyErr_Occurred()) SWIG_fail
;
29266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29274 SWIGINTERN PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29275 PyObject
*resultobj
= 0;
29276 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29279 wxString
*arg4
= 0 ;
29280 int arg5
= (int) -1 ;
29288 bool temp4
= false ;
29291 PyObject
* obj0
= 0 ;
29292 PyObject
* obj1
= 0 ;
29293 PyObject
* obj2
= 0 ;
29294 PyObject
* obj3
= 0 ;
29295 PyObject
* obj4
= 0 ;
29296 char * kwnames
[] = {
29297 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
29300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29302 if (!SWIG_IsOK(res1
)) {
29303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29305 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29306 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29307 if (!SWIG_IsOK(ecode2
)) {
29308 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
29310 arg2
= static_cast< long >(val2
);
29311 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29312 if (!SWIG_IsOK(ecode3
)) {
29313 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
29315 arg3
= static_cast< int >(val3
);
29317 arg4
= wxString_in_helper(obj3
);
29318 if (arg4
== NULL
) SWIG_fail
;
29322 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29323 if (!SWIG_IsOK(ecode5
)) {
29324 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
29326 arg5
= static_cast< int >(val5
);
29329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29330 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
29331 wxPyEndAllowThreads(__tstate
);
29332 if (PyErr_Occurred()) SWIG_fail
;
29334 resultobj
= SWIG_From_long(static_cast< long >(result
));
29349 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29350 PyObject
*resultobj
= 0;
29351 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29361 PyObject
* obj0
= 0 ;
29362 PyObject
* obj1
= 0 ;
29363 PyObject
* obj2
= 0 ;
29364 char * kwnames
[] = {
29365 (char *) "self",(char *) "item",(char *) "stateMask", NULL
29368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29370 if (!SWIG_IsOK(res1
)) {
29371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29373 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29374 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29375 if (!SWIG_IsOK(ecode2
)) {
29376 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
29378 arg2
= static_cast< long >(val2
);
29379 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29380 if (!SWIG_IsOK(ecode3
)) {
29381 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
29383 arg3
= static_cast< long >(val3
);
29385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29386 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
29387 wxPyEndAllowThreads(__tstate
);
29388 if (PyErr_Occurred()) SWIG_fail
;
29390 resultobj
= SWIG_From_int(static_cast< int >(result
));
29397 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29398 PyObject
*resultobj
= 0;
29399 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29412 PyObject
* obj0
= 0 ;
29413 PyObject
* obj1
= 0 ;
29414 PyObject
* obj2
= 0 ;
29415 PyObject
* obj3
= 0 ;
29416 char * kwnames
[] = {
29417 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
29420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29422 if (!SWIG_IsOK(res1
)) {
29423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29425 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29426 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29427 if (!SWIG_IsOK(ecode2
)) {
29428 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
29430 arg2
= static_cast< long >(val2
);
29431 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29432 if (!SWIG_IsOK(ecode3
)) {
29433 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
29435 arg3
= static_cast< long >(val3
);
29436 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
29437 if (!SWIG_IsOK(ecode4
)) {
29438 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
29440 arg4
= static_cast< long >(val4
);
29442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29443 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
29444 wxPyEndAllowThreads(__tstate
);
29445 if (PyErr_Occurred()) SWIG_fail
;
29448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29456 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29457 PyObject
*resultobj
= 0;
29458 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29461 int arg4
= (int) -1 ;
29471 PyObject
* obj0
= 0 ;
29472 PyObject
* obj1
= 0 ;
29473 PyObject
* obj2
= 0 ;
29474 PyObject
* obj3
= 0 ;
29475 char * kwnames
[] = {
29476 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
29479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29481 if (!SWIG_IsOK(res1
)) {
29482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29484 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29485 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29486 if (!SWIG_IsOK(ecode2
)) {
29487 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
29489 arg2
= static_cast< long >(val2
);
29490 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29491 if (!SWIG_IsOK(ecode3
)) {
29492 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
29494 arg3
= static_cast< int >(val3
);
29496 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29497 if (!SWIG_IsOK(ecode4
)) {
29498 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
29500 arg4
= static_cast< int >(val4
);
29503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29504 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
29505 wxPyEndAllowThreads(__tstate
);
29506 if (PyErr_Occurred()) SWIG_fail
;
29509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29517 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29518 PyObject
*resultobj
= 0;
29519 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29532 PyObject
* obj0
= 0 ;
29533 PyObject
* obj1
= 0 ;
29534 PyObject
* obj2
= 0 ;
29535 PyObject
* obj3
= 0 ;
29536 char * kwnames
[] = {
29537 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
29540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29542 if (!SWIG_IsOK(res1
)) {
29543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29545 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29546 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29547 if (!SWIG_IsOK(ecode2
)) {
29548 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
29550 arg2
= static_cast< long >(val2
);
29551 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29552 if (!SWIG_IsOK(ecode3
)) {
29553 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
29555 arg3
= static_cast< long >(val3
);
29556 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29557 if (!SWIG_IsOK(ecode4
)) {
29558 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
29560 arg4
= static_cast< int >(val4
);
29562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29563 result
= (bool)(arg1
)->SetItemColumnImage(arg2
,arg3
,arg4
);
29564 wxPyEndAllowThreads(__tstate
);
29565 if (PyErr_Occurred()) SWIG_fail
;
29568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29576 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29577 PyObject
*resultobj
= 0;
29578 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29585 PyObject
* obj0
= 0 ;
29586 PyObject
* obj1
= 0 ;
29587 char * kwnames
[] = {
29588 (char *) "self",(char *) "item", NULL
29591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29593 if (!SWIG_IsOK(res1
)) {
29594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29596 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29597 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29598 if (!SWIG_IsOK(ecode2
)) {
29599 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
29601 arg2
= static_cast< long >(val2
);
29603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29604 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
29605 wxPyEndAllowThreads(__tstate
);
29606 if (PyErr_Occurred()) SWIG_fail
;
29610 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29612 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29621 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29622 PyObject
*resultobj
= 0;
29623 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29625 wxString
*arg3
= 0 ;
29630 bool temp3
= false ;
29631 PyObject
* obj0
= 0 ;
29632 PyObject
* obj1
= 0 ;
29633 PyObject
* obj2
= 0 ;
29634 char * kwnames
[] = {
29635 (char *) "self",(char *) "item",(char *) "str", NULL
29638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29640 if (!SWIG_IsOK(res1
)) {
29641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29643 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29644 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29645 if (!SWIG_IsOK(ecode2
)) {
29646 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
29648 arg2
= static_cast< long >(val2
);
29650 arg3
= wxString_in_helper(obj2
);
29651 if (arg3
== NULL
) SWIG_fail
;
29655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29656 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
29657 wxPyEndAllowThreads(__tstate
);
29658 if (PyErr_Occurred()) SWIG_fail
;
29660 resultobj
= SWIG_Py_Void();
29675 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29676 PyObject
*resultobj
= 0;
29677 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29684 PyObject
* obj0
= 0 ;
29685 PyObject
* obj1
= 0 ;
29686 char * kwnames
[] = {
29687 (char *) "self",(char *) "item", NULL
29690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29692 if (!SWIG_IsOK(res1
)) {
29693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29695 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29696 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29697 if (!SWIG_IsOK(ecode2
)) {
29698 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
29700 arg2
= static_cast< long >(val2
);
29702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29703 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
29704 wxPyEndAllowThreads(__tstate
);
29705 if (PyErr_Occurred()) SWIG_fail
;
29707 resultobj
= SWIG_From_long(static_cast< long >(result
));
29714 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29715 PyObject
*resultobj
= 0;
29716 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29726 PyObject
* obj0
= 0 ;
29727 PyObject
* obj1
= 0 ;
29728 PyObject
* obj2
= 0 ;
29729 char * kwnames
[] = {
29730 (char *) "self",(char *) "item",(char *) "data", NULL
29733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29735 if (!SWIG_IsOK(res1
)) {
29736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29738 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29739 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29740 if (!SWIG_IsOK(ecode2
)) {
29741 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
29743 arg2
= static_cast< long >(val2
);
29744 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29745 if (!SWIG_IsOK(ecode3
)) {
29746 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
29748 arg3
= static_cast< long >(val3
);
29750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29751 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
29752 wxPyEndAllowThreads(__tstate
);
29753 if (PyErr_Occurred()) SWIG_fail
;
29756 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29764 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29765 PyObject
*resultobj
= 0;
29766 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29773 PyObject
* obj0
= 0 ;
29774 PyObject
* obj1
= 0 ;
29775 char * kwnames
[] = {
29776 (char *) "self",(char *) "item", NULL
29779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29781 if (!SWIG_IsOK(res1
)) {
29782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29784 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29785 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29786 if (!SWIG_IsOK(ecode2
)) {
29787 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
29789 arg2
= static_cast< long >(val2
);
29791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29792 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
29793 wxPyEndAllowThreads(__tstate
);
29794 if (PyErr_Occurred()) SWIG_fail
;
29796 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
29803 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29804 PyObject
*resultobj
= 0;
29805 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29807 int arg3
= (int) wxLIST_RECT_BOUNDS
;
29815 PyObject
* obj0
= 0 ;
29816 PyObject
* obj1
= 0 ;
29817 PyObject
* obj2
= 0 ;
29818 char * kwnames
[] = {
29819 (char *) "self",(char *) "item",(char *) "code", NULL
29822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29824 if (!SWIG_IsOK(res1
)) {
29825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29827 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29828 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29829 if (!SWIG_IsOK(ecode2
)) {
29830 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
29832 arg2
= static_cast< long >(val2
);
29834 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29835 if (!SWIG_IsOK(ecode3
)) {
29836 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
29838 arg3
= static_cast< int >(val3
);
29841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29842 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
29843 wxPyEndAllowThreads(__tstate
);
29844 if (PyErr_Occurred()) SWIG_fail
;
29846 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29853 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29854 PyObject
*resultobj
= 0;
29855 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29857 wxPoint
*arg3
= 0 ;
29864 PyObject
* obj0
= 0 ;
29865 PyObject
* obj1
= 0 ;
29866 PyObject
* obj2
= 0 ;
29867 char * kwnames
[] = {
29868 (char *) "self",(char *) "item",(char *) "pos", NULL
29871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29873 if (!SWIG_IsOK(res1
)) {
29874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29876 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29877 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29878 if (!SWIG_IsOK(ecode2
)) {
29879 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
29881 arg2
= static_cast< long >(val2
);
29884 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29888 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
29889 wxPyEndAllowThreads(__tstate
);
29890 if (PyErr_Occurred()) SWIG_fail
;
29893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29901 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29902 PyObject
*resultobj
= 0;
29903 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29907 PyObject
*swig_obj
[1] ;
29909 if (!args
) SWIG_fail
;
29910 swig_obj
[0] = args
;
29911 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29912 if (!SWIG_IsOK(res1
)) {
29913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29915 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29918 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
29919 wxPyEndAllowThreads(__tstate
);
29920 if (PyErr_Occurred()) SWIG_fail
;
29922 resultobj
= SWIG_From_int(static_cast< int >(result
));
29929 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29930 PyObject
*resultobj
= 0;
29931 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29935 PyObject
*swig_obj
[1] ;
29937 if (!args
) SWIG_fail
;
29938 swig_obj
[0] = args
;
29939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29940 if (!SWIG_IsOK(res1
)) {
29941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29943 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29946 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
29947 wxPyEndAllowThreads(__tstate
);
29948 if (PyErr_Occurred()) SWIG_fail
;
29950 resultobj
= SWIG_From_int(static_cast< int >(result
));
29957 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29958 PyObject
*resultobj
= 0;
29959 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29963 PyObject
*swig_obj
[1] ;
29965 if (!args
) SWIG_fail
;
29966 swig_obj
[0] = args
;
29967 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29968 if (!SWIG_IsOK(res1
)) {
29969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29971 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29974 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
29975 wxPyEndAllowThreads(__tstate
);
29976 if (PyErr_Occurred()) SWIG_fail
;
29978 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
29985 SWIGINTERN PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29986 PyObject
*resultobj
= 0;
29987 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29991 PyObject
*swig_obj
[1] ;
29993 if (!args
) SWIG_fail
;
29994 swig_obj
[0] = args
;
29995 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29996 if (!SWIG_IsOK(res1
)) {
29997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29999 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30002 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
30003 wxPyEndAllowThreads(__tstate
);
30004 if (PyErr_Occurred()) SWIG_fail
;
30006 resultobj
= SWIG_From_int(static_cast< int >(result
));
30013 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30014 PyObject
*resultobj
= 0;
30015 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30019 PyObject
*swig_obj
[1] ;
30021 if (!args
) SWIG_fail
;
30022 swig_obj
[0] = args
;
30023 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30024 if (!SWIG_IsOK(res1
)) {
30025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30027 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30030 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
30031 wxPyEndAllowThreads(__tstate
);
30032 if (PyErr_Occurred()) SWIG_fail
;
30034 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
30041 SWIGINTERN PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30042 PyObject
*resultobj
= 0;
30043 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30044 wxColour
*arg2
= 0 ;
30048 PyObject
* obj0
= 0 ;
30049 PyObject
* obj1
= 0 ;
30050 char * kwnames
[] = {
30051 (char *) "self",(char *) "col", NULL
30054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30056 if (!SWIG_IsOK(res1
)) {
30057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30059 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30062 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30066 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
30067 wxPyEndAllowThreads(__tstate
);
30068 if (PyErr_Occurred()) SWIG_fail
;
30070 resultobj
= SWIG_Py_Void();
30077 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30078 PyObject
*resultobj
= 0;
30079 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30083 PyObject
*swig_obj
[1] ;
30085 if (!args
) SWIG_fail
;
30086 swig_obj
[0] = args
;
30087 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30088 if (!SWIG_IsOK(res1
)) {
30089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30091 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30094 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
30095 wxPyEndAllowThreads(__tstate
);
30096 if (PyErr_Occurred()) SWIG_fail
;
30098 resultobj
= SWIG_From_long(static_cast< long >(result
));
30105 SWIGINTERN PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30106 PyObject
*resultobj
= 0;
30107 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30109 bool arg3
= (bool) true ;
30116 PyObject
* obj0
= 0 ;
30117 PyObject
* obj1
= 0 ;
30118 PyObject
* obj2
= 0 ;
30119 char * kwnames
[] = {
30120 (char *) "self",(char *) "style",(char *) "add", NULL
30123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30125 if (!SWIG_IsOK(res1
)) {
30126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30128 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30129 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30130 if (!SWIG_IsOK(ecode2
)) {
30131 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
30133 arg2
= static_cast< long >(val2
);
30135 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30136 if (!SWIG_IsOK(ecode3
)) {
30137 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
30139 arg3
= static_cast< bool >(val3
);
30142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30143 (arg1
)->SetSingleStyle(arg2
,arg3
);
30144 wxPyEndAllowThreads(__tstate
);
30145 if (PyErr_Occurred()) SWIG_fail
;
30147 resultobj
= SWIG_Py_Void();
30154 SWIGINTERN PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30155 PyObject
*resultobj
= 0;
30156 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30158 int arg3
= (int) wxLIST_NEXT_ALL
;
30159 int arg4
= (int) wxLIST_STATE_DONTCARE
;
30169 PyObject
* obj0
= 0 ;
30170 PyObject
* obj1
= 0 ;
30171 PyObject
* obj2
= 0 ;
30172 PyObject
* obj3
= 0 ;
30173 char * kwnames
[] = {
30174 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
30177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30178 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30179 if (!SWIG_IsOK(res1
)) {
30180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30182 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30183 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30184 if (!SWIG_IsOK(ecode2
)) {
30185 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
30187 arg2
= static_cast< long >(val2
);
30189 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30190 if (!SWIG_IsOK(ecode3
)) {
30191 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
30193 arg3
= static_cast< int >(val3
);
30196 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30197 if (!SWIG_IsOK(ecode4
)) {
30198 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
30200 arg4
= static_cast< int >(val4
);
30203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30204 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
30205 wxPyEndAllowThreads(__tstate
);
30206 if (PyErr_Occurred()) SWIG_fail
;
30208 resultobj
= SWIG_From_long(static_cast< long >(result
));
30215 SWIGINTERN PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30216 PyObject
*resultobj
= 0;
30217 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30219 wxImageList
*result
= 0 ;
30224 PyObject
* obj0
= 0 ;
30225 PyObject
* obj1
= 0 ;
30226 char * kwnames
[] = {
30227 (char *) "self",(char *) "which", NULL
30230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30232 if (!SWIG_IsOK(res1
)) {
30233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30235 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30236 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30237 if (!SWIG_IsOK(ecode2
)) {
30238 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
30240 arg2
= static_cast< int >(val2
);
30242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30243 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
30244 wxPyEndAllowThreads(__tstate
);
30245 if (PyErr_Occurred()) SWIG_fail
;
30248 resultobj
= wxPyMake_wxObject(result
, (bool)0);
30256 SWIGINTERN PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30257 PyObject
*resultobj
= 0;
30258 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30259 wxImageList
*arg2
= (wxImageList
*) 0 ;
30267 PyObject
* obj0
= 0 ;
30268 PyObject
* obj1
= 0 ;
30269 PyObject
* obj2
= 0 ;
30270 char * kwnames
[] = {
30271 (char *) "self",(char *) "imageList",(char *) "which", NULL
30274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30276 if (!SWIG_IsOK(res1
)) {
30277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30279 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30280 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30281 if (!SWIG_IsOK(res2
)) {
30282 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30284 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
30285 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30286 if (!SWIG_IsOK(ecode3
)) {
30287 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
30289 arg3
= static_cast< int >(val3
);
30291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30292 (arg1
)->SetImageList(arg2
,arg3
);
30293 wxPyEndAllowThreads(__tstate
);
30294 if (PyErr_Occurred()) SWIG_fail
;
30296 resultobj
= SWIG_Py_Void();
30303 SWIGINTERN PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30304 PyObject
*resultobj
= 0;
30305 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30306 wxImageList
*arg2
= (wxImageList
*) 0 ;
30313 PyObject
* obj0
= 0 ;
30314 PyObject
* obj1
= 0 ;
30315 PyObject
* obj2
= 0 ;
30316 char * kwnames
[] = {
30317 (char *) "self",(char *) "imageList",(char *) "which", NULL
30320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30322 if (!SWIG_IsOK(res1
)) {
30323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30325 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30326 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
30327 if (!SWIG_IsOK(res2
)) {
30328 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30330 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30331 if (!SWIG_IsOK(ecode3
)) {
30332 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
30334 arg3
= static_cast< int >(val3
);
30336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30337 (arg1
)->AssignImageList(arg2
,arg3
);
30338 wxPyEndAllowThreads(__tstate
);
30339 if (PyErr_Occurred()) SWIG_fail
;
30341 resultobj
= SWIG_Py_Void();
30348 SWIGINTERN PyObject
*_wrap_ListCtrl_InReportView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30349 PyObject
*resultobj
= 0;
30350 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30354 PyObject
*swig_obj
[1] ;
30356 if (!args
) SWIG_fail
;
30357 swig_obj
[0] = args
;
30358 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30359 if (!SWIG_IsOK(res1
)) {
30360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30362 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30365 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
30366 wxPyEndAllowThreads(__tstate
);
30367 if (PyErr_Occurred()) SWIG_fail
;
30370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30378 SWIGINTERN PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30379 PyObject
*resultobj
= 0;
30380 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30384 PyObject
*swig_obj
[1] ;
30386 if (!args
) SWIG_fail
;
30387 swig_obj
[0] = args
;
30388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30389 if (!SWIG_IsOK(res1
)) {
30390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30392 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30395 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
30396 wxPyEndAllowThreads(__tstate
);
30397 if (PyErr_Occurred()) SWIG_fail
;
30400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30408 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30409 PyObject
*resultobj
= 0;
30410 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30416 PyObject
* obj0
= 0 ;
30417 PyObject
* obj1
= 0 ;
30418 char * kwnames
[] = {
30419 (char *) "self",(char *) "item", NULL
30422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30424 if (!SWIG_IsOK(res1
)) {
30425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30427 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30428 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30429 if (!SWIG_IsOK(ecode2
)) {
30430 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
30432 arg2
= static_cast< long >(val2
);
30434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30435 (arg1
)->RefreshItem(arg2
);
30436 wxPyEndAllowThreads(__tstate
);
30437 if (PyErr_Occurred()) SWIG_fail
;
30439 resultobj
= SWIG_Py_Void();
30446 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30447 PyObject
*resultobj
= 0;
30448 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30457 PyObject
* obj0
= 0 ;
30458 PyObject
* obj1
= 0 ;
30459 PyObject
* obj2
= 0 ;
30460 char * kwnames
[] = {
30461 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
30464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30466 if (!SWIG_IsOK(res1
)) {
30467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30469 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30470 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30471 if (!SWIG_IsOK(ecode2
)) {
30472 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "2"" of type '" "long""'");
30474 arg2
= static_cast< long >(val2
);
30475 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30476 if (!SWIG_IsOK(ecode3
)) {
30477 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
30479 arg3
= static_cast< long >(val3
);
30481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30482 (arg1
)->RefreshItems(arg2
,arg3
);
30483 wxPyEndAllowThreads(__tstate
);
30484 if (PyErr_Occurred()) SWIG_fail
;
30486 resultobj
= SWIG_Py_Void();
30493 SWIGINTERN PyObject
*_wrap_ListCtrl_Arrange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30494 PyObject
*resultobj
= 0;
30495 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30496 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
30502 PyObject
* obj0
= 0 ;
30503 PyObject
* obj1
= 0 ;
30504 char * kwnames
[] = {
30505 (char *) "self",(char *) "flag", NULL
30508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30510 if (!SWIG_IsOK(res1
)) {
30511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30513 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30515 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30516 if (!SWIG_IsOK(ecode2
)) {
30517 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
30519 arg2
= static_cast< int >(val2
);
30522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30523 result
= (bool)(arg1
)->Arrange(arg2
);
30524 wxPyEndAllowThreads(__tstate
);
30525 if (PyErr_Occurred()) SWIG_fail
;
30528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30536 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30537 PyObject
*resultobj
= 0;
30538 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30545 PyObject
* obj0
= 0 ;
30546 PyObject
* obj1
= 0 ;
30547 char * kwnames
[] = {
30548 (char *) "self",(char *) "item", NULL
30551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30553 if (!SWIG_IsOK(res1
)) {
30554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30556 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30557 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30558 if (!SWIG_IsOK(ecode2
)) {
30559 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
30561 arg2
= static_cast< long >(val2
);
30563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30564 result
= (bool)(arg1
)->DeleteItem(arg2
);
30565 wxPyEndAllowThreads(__tstate
);
30566 if (PyErr_Occurred()) SWIG_fail
;
30569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30577 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30578 PyObject
*resultobj
= 0;
30579 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30583 PyObject
*swig_obj
[1] ;
30585 if (!args
) SWIG_fail
;
30586 swig_obj
[0] = args
;
30587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30588 if (!SWIG_IsOK(res1
)) {
30589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30591 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30594 result
= (bool)(arg1
)->DeleteAllItems();
30595 wxPyEndAllowThreads(__tstate
);
30596 if (PyErr_Occurred()) SWIG_fail
;
30599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30607 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30608 PyObject
*resultobj
= 0;
30609 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30616 PyObject
* obj0
= 0 ;
30617 PyObject
* obj1
= 0 ;
30618 char * kwnames
[] = {
30619 (char *) "self",(char *) "col", NULL
30622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30624 if (!SWIG_IsOK(res1
)) {
30625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30627 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30628 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30629 if (!SWIG_IsOK(ecode2
)) {
30630 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
30632 arg2
= static_cast< int >(val2
);
30634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30635 result
= (bool)(arg1
)->DeleteColumn(arg2
);
30636 wxPyEndAllowThreads(__tstate
);
30637 if (PyErr_Occurred()) SWIG_fail
;
30640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30648 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30649 PyObject
*resultobj
= 0;
30650 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30654 PyObject
*swig_obj
[1] ;
30656 if (!args
) SWIG_fail
;
30657 swig_obj
[0] = args
;
30658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30659 if (!SWIG_IsOK(res1
)) {
30660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30662 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30665 result
= (bool)(arg1
)->DeleteAllColumns();
30666 wxPyEndAllowThreads(__tstate
);
30667 if (PyErr_Occurred()) SWIG_fail
;
30670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30678 SWIGINTERN PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30679 PyObject
*resultobj
= 0;
30680 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30683 PyObject
*swig_obj
[1] ;
30685 if (!args
) SWIG_fail
;
30686 swig_obj
[0] = args
;
30687 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30688 if (!SWIG_IsOK(res1
)) {
30689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30691 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30694 (arg1
)->ClearAll();
30695 wxPyEndAllowThreads(__tstate
);
30696 if (PyErr_Occurred()) SWIG_fail
;
30698 resultobj
= SWIG_Py_Void();
30705 SWIGINTERN PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30706 PyObject
*resultobj
= 0;
30707 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30709 wxTextCtrl
*result
= 0 ;
30714 PyObject
* obj0
= 0 ;
30715 PyObject
* obj1
= 0 ;
30716 char * kwnames
[] = {
30717 (char *) "self",(char *) "item", NULL
30720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30722 if (!SWIG_IsOK(res1
)) {
30723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30725 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30726 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30727 if (!SWIG_IsOK(ecode2
)) {
30728 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
30730 arg2
= static_cast< long >(val2
);
30732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30733 result
= (wxTextCtrl
*)(arg1
)->EditLabel(arg2
);
30734 wxPyEndAllowThreads(__tstate
);
30735 if (PyErr_Occurred()) SWIG_fail
;
30738 resultobj
= wxPyMake_wxObject(result
, 0);
30746 SWIGINTERN PyObject
*_wrap_ListCtrl_EndEditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30747 PyObject
*resultobj
= 0;
30748 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30755 PyObject
* obj0
= 0 ;
30756 PyObject
* obj1
= 0 ;
30757 char * kwnames
[] = {
30758 (char *) "self",(char *) "cancel", NULL
30761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30763 if (!SWIG_IsOK(res1
)) {
30764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EndEditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30766 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30767 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
30768 if (!SWIG_IsOK(ecode2
)) {
30769 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EndEditLabel" "', expected argument " "2"" of type '" "bool""'");
30771 arg2
= static_cast< bool >(val2
);
30773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30774 result
= (bool)(arg1
)->EndEditLabel(arg2
);
30775 wxPyEndAllowThreads(__tstate
);
30776 if (PyErr_Occurred()) SWIG_fail
;
30779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30787 SWIGINTERN PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30788 PyObject
*resultobj
= 0;
30789 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30796 PyObject
* obj0
= 0 ;
30797 PyObject
* obj1
= 0 ;
30798 char * kwnames
[] = {
30799 (char *) "self",(char *) "item", NULL
30802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30804 if (!SWIG_IsOK(res1
)) {
30805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30807 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30808 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30809 if (!SWIG_IsOK(ecode2
)) {
30810 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
30812 arg2
= static_cast< long >(val2
);
30814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30815 result
= (bool)(arg1
)->EnsureVisible(arg2
);
30816 wxPyEndAllowThreads(__tstate
);
30817 if (PyErr_Occurred()) SWIG_fail
;
30820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30828 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30829 PyObject
*resultobj
= 0;
30830 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30832 wxString
*arg3
= 0 ;
30833 bool arg4
= (bool) false ;
30839 bool temp3
= false ;
30842 PyObject
* obj0
= 0 ;
30843 PyObject
* obj1
= 0 ;
30844 PyObject
* obj2
= 0 ;
30845 PyObject
* obj3
= 0 ;
30846 char * kwnames
[] = {
30847 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
30850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30852 if (!SWIG_IsOK(res1
)) {
30853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30855 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30856 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30857 if (!SWIG_IsOK(ecode2
)) {
30858 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
30860 arg2
= static_cast< long >(val2
);
30862 arg3
= wxString_in_helper(obj2
);
30863 if (arg3
== NULL
) SWIG_fail
;
30867 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
30868 if (!SWIG_IsOK(ecode4
)) {
30869 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
30871 arg4
= static_cast< bool >(val4
);
30874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30875 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
30876 wxPyEndAllowThreads(__tstate
);
30877 if (PyErr_Occurred()) SWIG_fail
;
30879 resultobj
= SWIG_From_long(static_cast< long >(result
));
30894 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30895 PyObject
*resultobj
= 0;
30896 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30906 PyObject
* obj0
= 0 ;
30907 PyObject
* obj1
= 0 ;
30908 PyObject
* obj2
= 0 ;
30909 char * kwnames
[] = {
30910 (char *) "self",(char *) "start",(char *) "data", NULL
30913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30915 if (!SWIG_IsOK(res1
)) {
30916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30918 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30919 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30920 if (!SWIG_IsOK(ecode2
)) {
30921 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
30923 arg2
= static_cast< long >(val2
);
30924 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30925 if (!SWIG_IsOK(ecode3
)) {
30926 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
30928 arg3
= static_cast< long >(val3
);
30930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30931 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
30932 wxPyEndAllowThreads(__tstate
);
30933 if (PyErr_Occurred()) SWIG_fail
;
30935 resultobj
= SWIG_From_long(static_cast< long >(result
));
30942 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30943 PyObject
*resultobj
= 0;
30944 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30946 wxPoint
*arg3
= 0 ;
30956 PyObject
* obj0
= 0 ;
30957 PyObject
* obj1
= 0 ;
30958 PyObject
* obj2
= 0 ;
30959 PyObject
* obj3
= 0 ;
30960 char * kwnames
[] = {
30961 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
30964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30966 if (!SWIG_IsOK(res1
)) {
30967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30969 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30970 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30971 if (!SWIG_IsOK(ecode2
)) {
30972 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
30974 arg2
= static_cast< long >(val2
);
30977 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30979 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30980 if (!SWIG_IsOK(ecode4
)) {
30981 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
30983 arg4
= static_cast< int >(val4
);
30985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30986 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
30987 wxPyEndAllowThreads(__tstate
);
30988 if (PyErr_Occurred()) SWIG_fail
;
30990 resultobj
= SWIG_From_long(static_cast< long >(result
));
30997 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30998 PyObject
*resultobj
= 0;
30999 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31000 wxPoint
*arg2
= 0 ;
31007 int res3
= SWIG_TMPOBJ
;
31008 PyObject
* obj0
= 0 ;
31009 PyObject
* obj1
= 0 ;
31010 char * kwnames
[] = {
31011 (char *) "self",(char *) "point", NULL
31015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31017 if (!SWIG_IsOK(res1
)) {
31018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31020 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31023 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31027 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
31028 wxPyEndAllowThreads(__tstate
);
31029 if (PyErr_Occurred()) SWIG_fail
;
31031 resultobj
= SWIG_From_long(static_cast< long >(result
));
31032 if (SWIG_IsTmpObj(res3
)) {
31033 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31035 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31036 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31044 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTestSubItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31045 PyObject
*resultobj
= 0;
31046 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31047 wxPoint
*arg2
= 0 ;
31049 long *arg4
= (long *) 0 ;
31055 int res3
= SWIG_TMPOBJ
;
31057 int res4
= SWIG_TMPOBJ
;
31058 PyObject
* obj0
= 0 ;
31059 PyObject
* obj1
= 0 ;
31060 char * kwnames
[] = {
31061 (char *) "self",(char *) "point", NULL
31066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTestSubItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31068 if (!SWIG_IsOK(res1
)) {
31069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTestSubItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31071 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31074 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31078 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
,arg4
);
31079 wxPyEndAllowThreads(__tstate
);
31080 if (PyErr_Occurred()) SWIG_fail
;
31082 resultobj
= SWIG_From_long(static_cast< long >(result
));
31083 if (SWIG_IsTmpObj(res3
)) {
31084 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31086 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31087 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31089 if (SWIG_IsTmpObj(res4
)) {
31090 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
31092 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31093 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
31101 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31102 PyObject
*resultobj
= 0;
31103 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31104 wxListItem
*arg2
= 0 ;
31110 PyObject
* obj0
= 0 ;
31111 PyObject
* obj1
= 0 ;
31112 char * kwnames
[] = {
31113 (char *) "self",(char *) "info", NULL
31116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31118 if (!SWIG_IsOK(res1
)) {
31119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31121 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31122 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
31123 if (!SWIG_IsOK(res2
)) {
31124 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31127 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31129 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
31131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31132 result
= (long)(arg1
)->InsertItem(*arg2
);
31133 wxPyEndAllowThreads(__tstate
);
31134 if (PyErr_Occurred()) SWIG_fail
;
31136 resultobj
= SWIG_From_long(static_cast< long >(result
));
31143 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31144 PyObject
*resultobj
= 0;
31145 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31147 wxString
*arg3
= 0 ;
31148 int arg4
= (int) -1 ;
31154 bool temp3
= false ;
31157 PyObject
* obj0
= 0 ;
31158 PyObject
* obj1
= 0 ;
31159 PyObject
* obj2
= 0 ;
31160 PyObject
* obj3
= 0 ;
31161 char * kwnames
[] = {
31162 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31167 if (!SWIG_IsOK(res1
)) {
31168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31170 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31171 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31172 if (!SWIG_IsOK(ecode2
)) {
31173 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
31175 arg2
= static_cast< long >(val2
);
31177 arg3
= wxString_in_helper(obj2
);
31178 if (arg3
== NULL
) SWIG_fail
;
31182 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31183 if (!SWIG_IsOK(ecode4
)) {
31184 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
31186 arg4
= static_cast< int >(val4
);
31189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31190 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31191 wxPyEndAllowThreads(__tstate
);
31192 if (PyErr_Occurred()) SWIG_fail
;
31194 resultobj
= SWIG_From_long(static_cast< long >(result
));
31209 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31210 PyObject
*resultobj
= 0;
31211 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31221 PyObject
* obj0
= 0 ;
31222 PyObject
* obj1
= 0 ;
31223 PyObject
* obj2
= 0 ;
31224 char * kwnames
[] = {
31225 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
31228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31230 if (!SWIG_IsOK(res1
)) {
31231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31233 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31234 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31235 if (!SWIG_IsOK(ecode2
)) {
31236 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
31238 arg2
= static_cast< long >(val2
);
31239 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31240 if (!SWIG_IsOK(ecode3
)) {
31241 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
31243 arg3
= static_cast< int >(val3
);
31245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31246 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
31247 wxPyEndAllowThreads(__tstate
);
31248 if (PyErr_Occurred()) SWIG_fail
;
31250 resultobj
= SWIG_From_long(static_cast< long >(result
));
31257 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31258 PyObject
*resultobj
= 0;
31259 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31261 wxString
*arg3
= 0 ;
31268 bool temp3
= false ;
31271 PyObject
* obj0
= 0 ;
31272 PyObject
* obj1
= 0 ;
31273 PyObject
* obj2
= 0 ;
31274 PyObject
* obj3
= 0 ;
31275 char * kwnames
[] = {
31276 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31281 if (!SWIG_IsOK(res1
)) {
31282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31284 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31285 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31286 if (!SWIG_IsOK(ecode2
)) {
31287 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
31289 arg2
= static_cast< long >(val2
);
31291 arg3
= wxString_in_helper(obj2
);
31292 if (arg3
== NULL
) SWIG_fail
;
31295 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31296 if (!SWIG_IsOK(ecode4
)) {
31297 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
31299 arg4
= static_cast< int >(val4
);
31301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31302 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31303 wxPyEndAllowThreads(__tstate
);
31304 if (PyErr_Occurred()) SWIG_fail
;
31306 resultobj
= SWIG_From_long(static_cast< long >(result
));
31321 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31322 PyObject
*resultobj
= 0;
31323 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31325 wxListItem
*arg3
= 0 ;
31333 PyObject
* obj0
= 0 ;
31334 PyObject
* obj1
= 0 ;
31335 PyObject
* obj2
= 0 ;
31336 char * kwnames
[] = {
31337 (char *) "self",(char *) "col",(char *) "info", NULL
31340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31342 if (!SWIG_IsOK(res1
)) {
31343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31345 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31346 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31347 if (!SWIG_IsOK(ecode2
)) {
31348 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
31350 arg2
= static_cast< long >(val2
);
31351 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
31352 if (!SWIG_IsOK(res3
)) {
31353 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31356 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31358 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
31360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31361 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
31362 wxPyEndAllowThreads(__tstate
);
31363 if (PyErr_Occurred()) SWIG_fail
;
31365 resultobj
= SWIG_From_long(static_cast< long >(result
));
31372 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31373 PyObject
*resultobj
= 0;
31374 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31376 wxString
*arg3
= 0 ;
31377 int arg4
= (int) wxLIST_FORMAT_LEFT
;
31378 int arg5
= (int) -1 ;
31384 bool temp3
= false ;
31389 PyObject
* obj0
= 0 ;
31390 PyObject
* obj1
= 0 ;
31391 PyObject
* obj2
= 0 ;
31392 PyObject
* obj3
= 0 ;
31393 PyObject
* obj4
= 0 ;
31394 char * kwnames
[] = {
31395 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
31398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31400 if (!SWIG_IsOK(res1
)) {
31401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31403 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31404 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31405 if (!SWIG_IsOK(ecode2
)) {
31406 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
31408 arg2
= static_cast< long >(val2
);
31410 arg3
= wxString_in_helper(obj2
);
31411 if (arg3
== NULL
) SWIG_fail
;
31415 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31416 if (!SWIG_IsOK(ecode4
)) {
31417 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
31419 arg4
= static_cast< int >(val4
);
31422 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31423 if (!SWIG_IsOK(ecode5
)) {
31424 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
31426 arg5
= static_cast< int >(val5
);
31429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31430 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
31431 wxPyEndAllowThreads(__tstate
);
31432 if (PyErr_Occurred()) SWIG_fail
;
31434 resultobj
= SWIG_From_long(static_cast< long >(result
));
31449 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31450 PyObject
*resultobj
= 0;
31451 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31457 PyObject
* obj0
= 0 ;
31458 PyObject
* obj1
= 0 ;
31459 char * kwnames
[] = {
31460 (char *) "self",(char *) "count", NULL
31463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31465 if (!SWIG_IsOK(res1
)) {
31466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31468 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31469 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31470 if (!SWIG_IsOK(ecode2
)) {
31471 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
31473 arg2
= static_cast< long >(val2
);
31475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31476 (arg1
)->SetItemCount(arg2
);
31477 wxPyEndAllowThreads(__tstate
);
31478 if (PyErr_Occurred()) SWIG_fail
;
31480 resultobj
= SWIG_Py_Void();
31487 SWIGINTERN PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31488 PyObject
*resultobj
= 0;
31489 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31499 PyObject
* obj0
= 0 ;
31500 PyObject
* obj1
= 0 ;
31501 PyObject
* obj2
= 0 ;
31502 char * kwnames
[] = {
31503 (char *) "self",(char *) "dx",(char *) "dy", NULL
31506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31508 if (!SWIG_IsOK(res1
)) {
31509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31511 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31512 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31513 if (!SWIG_IsOK(ecode2
)) {
31514 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
31516 arg2
= static_cast< int >(val2
);
31517 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31518 if (!SWIG_IsOK(ecode3
)) {
31519 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
31521 arg3
= static_cast< int >(val3
);
31523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31524 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
31525 wxPyEndAllowThreads(__tstate
);
31526 if (PyErr_Occurred()) SWIG_fail
;
31529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31537 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31538 PyObject
*resultobj
= 0;
31539 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31541 wxColour
*arg3
= 0 ;
31547 PyObject
* obj0
= 0 ;
31548 PyObject
* obj1
= 0 ;
31549 PyObject
* obj2
= 0 ;
31550 char * kwnames
[] = {
31551 (char *) "self",(char *) "item",(char *) "col", NULL
31554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31556 if (!SWIG_IsOK(res1
)) {
31557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31559 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31560 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31561 if (!SWIG_IsOK(ecode2
)) {
31562 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31564 arg2
= static_cast< long >(val2
);
31567 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31571 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
31572 wxPyEndAllowThreads(__tstate
);
31573 if (PyErr_Occurred()) SWIG_fail
;
31575 resultobj
= SWIG_Py_Void();
31582 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31583 PyObject
*resultobj
= 0;
31584 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31591 PyObject
* obj0
= 0 ;
31592 PyObject
* obj1
= 0 ;
31593 char * kwnames
[] = {
31594 (char *) "self",(char *) "item", NULL
31597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31599 if (!SWIG_IsOK(res1
)) {
31600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31602 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31603 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31604 if (!SWIG_IsOK(ecode2
)) {
31605 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31607 arg2
= static_cast< long >(val2
);
31609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31610 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
31611 wxPyEndAllowThreads(__tstate
);
31612 if (PyErr_Occurred()) SWIG_fail
;
31614 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31621 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31622 PyObject
*resultobj
= 0;
31623 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31625 wxColour
*arg3
= 0 ;
31631 PyObject
* obj0
= 0 ;
31632 PyObject
* obj1
= 0 ;
31633 PyObject
* obj2
= 0 ;
31634 char * kwnames
[] = {
31635 (char *) "self",(char *) "item",(char *) "col", NULL
31638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31640 if (!SWIG_IsOK(res1
)) {
31641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31643 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31644 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31645 if (!SWIG_IsOK(ecode2
)) {
31646 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31648 arg2
= static_cast< long >(val2
);
31651 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31655 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
31656 wxPyEndAllowThreads(__tstate
);
31657 if (PyErr_Occurred()) SWIG_fail
;
31659 resultobj
= SWIG_Py_Void();
31666 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31667 PyObject
*resultobj
= 0;
31668 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31675 PyObject
* obj0
= 0 ;
31676 PyObject
* obj1
= 0 ;
31677 char * kwnames
[] = {
31678 (char *) "self",(char *) "item", NULL
31681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31683 if (!SWIG_IsOK(res1
)) {
31684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31686 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31687 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31688 if (!SWIG_IsOK(ecode2
)) {
31689 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31691 arg2
= static_cast< long >(val2
);
31693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31694 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
31695 wxPyEndAllowThreads(__tstate
);
31696 if (PyErr_Occurred()) SWIG_fail
;
31698 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31705 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31706 PyObject
*resultobj
= 0;
31707 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31716 PyObject
* obj0
= 0 ;
31717 PyObject
* obj1
= 0 ;
31718 PyObject
* obj2
= 0 ;
31719 char * kwnames
[] = {
31720 (char *) "self",(char *) "item",(char *) "f", NULL
31723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31725 if (!SWIG_IsOK(res1
)) {
31726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31728 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31729 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31730 if (!SWIG_IsOK(ecode2
)) {
31731 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
31733 arg2
= static_cast< long >(val2
);
31734 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
31735 if (!SWIG_IsOK(res3
)) {
31736 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31739 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31741 arg3
= reinterpret_cast< wxFont
* >(argp3
);
31743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31744 (arg1
)->SetItemFont(arg2
,(wxFont
const &)*arg3
);
31745 wxPyEndAllowThreads(__tstate
);
31746 if (PyErr_Occurred()) SWIG_fail
;
31748 resultobj
= SWIG_Py_Void();
31755 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31756 PyObject
*resultobj
= 0;
31757 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31764 PyObject
* obj0
= 0 ;
31765 PyObject
* obj1
= 0 ;
31766 char * kwnames
[] = {
31767 (char *) "self",(char *) "item", NULL
31770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31772 if (!SWIG_IsOK(res1
)) {
31773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31775 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31776 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31777 if (!SWIG_IsOK(ecode2
)) {
31778 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
31780 arg2
= static_cast< long >(val2
);
31782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31783 result
= ((wxPyListCtrl
const *)arg1
)->GetItemFont(arg2
);
31784 wxPyEndAllowThreads(__tstate
);
31785 if (PyErr_Occurred()) SWIG_fail
;
31787 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
31794 SWIGINTERN PyObject
*_wrap_ListCtrl_SortItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31795 PyObject
*resultobj
= 0;
31796 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31797 PyObject
*arg2
= (PyObject
*) 0 ;
31801 PyObject
* obj0
= 0 ;
31802 PyObject
* obj1
= 0 ;
31803 char * kwnames
[] = {
31804 (char *) "self",(char *) "func", NULL
31807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31809 if (!SWIG_IsOK(res1
)) {
31810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31812 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31816 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
31817 wxPyEndAllowThreads(__tstate
);
31818 if (PyErr_Occurred()) SWIG_fail
;
31821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31829 SWIGINTERN PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31830 PyObject
*resultobj
= 0;
31831 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31832 wxWindow
*result
= 0 ;
31835 PyObject
*swig_obj
[1] ;
31837 if (!args
) SWIG_fail
;
31838 swig_obj
[0] = args
;
31839 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31840 if (!SWIG_IsOK(res1
)) {
31841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31843 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31846 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
31847 wxPyEndAllowThreads(__tstate
);
31848 if (PyErr_Occurred()) SWIG_fail
;
31851 resultobj
= wxPyMake_wxObject(result
, 0);
31859 SWIGINTERN PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31860 PyObject
*resultobj
= 0;
31861 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
31862 SwigValueWrapper
<wxVisualAttributes
> result
;
31865 PyObject
* obj0
= 0 ;
31866 char * kwnames
[] = {
31867 (char *) "variant", NULL
31870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
31872 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31873 if (!SWIG_IsOK(ecode1
)) {
31874 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
31876 arg1
= static_cast< wxWindowVariant
>(val1
);
31879 if (!wxPyCheckForApp()) SWIG_fail
;
31880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31881 result
= wxPyListCtrl::GetClassDefaultAttributes(arg1
);
31882 wxPyEndAllowThreads(__tstate
);
31883 if (PyErr_Occurred()) SWIG_fail
;
31885 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
31892 SWIGINTERN PyObject
*ListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31894 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31895 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl
, SWIG_NewClientData(obj
));
31896 return SWIG_Py_Void();
31899 SWIGINTERN PyObject
*ListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31900 return SWIG_Python_InitShadowInstance(args
);
31903 SWIGINTERN PyObject
*_wrap_new_ListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31904 PyObject
*resultobj
= 0;
31905 wxWindow
*arg1
= (wxWindow
*) 0 ;
31906 int arg2
= (int) -1 ;
31907 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31908 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31909 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31910 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31911 long arg5
= (long) wxLC_REPORT
;
31912 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
31913 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
31914 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
31915 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31916 wxListView
*result
= 0 ;
31927 bool temp7
= false ;
31928 PyObject
* obj0
= 0 ;
31929 PyObject
* obj1
= 0 ;
31930 PyObject
* obj2
= 0 ;
31931 PyObject
* obj3
= 0 ;
31932 PyObject
* obj4
= 0 ;
31933 PyObject
* obj5
= 0 ;
31934 PyObject
* obj6
= 0 ;
31935 char * kwnames
[] = {
31936 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31941 if (!SWIG_IsOK(res1
)) {
31942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
31944 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31946 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31947 if (!SWIG_IsOK(ecode2
)) {
31948 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
31950 arg2
= static_cast< int >(val2
);
31955 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31961 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31965 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
31966 if (!SWIG_IsOK(ecode5
)) {
31967 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
31969 arg5
= static_cast< long >(val5
);
31972 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
31973 if (!SWIG_IsOK(res6
)) {
31974 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
31977 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
31979 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
31983 arg7
= wxString_in_helper(obj6
);
31984 if (arg7
== NULL
) SWIG_fail
;
31989 if (!wxPyCheckForApp()) SWIG_fail
;
31990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31991 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
31992 wxPyEndAllowThreads(__tstate
);
31993 if (PyErr_Occurred()) SWIG_fail
;
31995 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_NEW
| 0 );
32010 SWIGINTERN PyObject
*_wrap_new_PreListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32011 PyObject
*resultobj
= 0;
32012 wxListView
*result
= 0 ;
32014 if (!SWIG_Python_UnpackTuple(args
,"new_PreListView",0,0,0)) SWIG_fail
;
32016 if (!wxPyCheckForApp()) SWIG_fail
;
32017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32018 result
= (wxListView
*)new wxListView();
32019 wxPyEndAllowThreads(__tstate
);
32020 if (PyErr_Occurred()) SWIG_fail
;
32022 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_OWN
| 0 );
32029 SWIGINTERN PyObject
*_wrap_ListView_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32030 PyObject
*resultobj
= 0;
32031 wxListView
*arg1
= (wxListView
*) 0 ;
32032 wxWindow
*arg2
= (wxWindow
*) 0 ;
32033 int arg3
= (int) -1 ;
32034 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
32035 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
32036 wxSize
const &arg5_defvalue
= wxDefaultSize
;
32037 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
32038 long arg6
= (long) wxLC_REPORT
;
32039 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
32040 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
32041 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
32042 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
32056 bool temp8
= false ;
32057 PyObject
* obj0
= 0 ;
32058 PyObject
* obj1
= 0 ;
32059 PyObject
* obj2
= 0 ;
32060 PyObject
* obj3
= 0 ;
32061 PyObject
* obj4
= 0 ;
32062 PyObject
* obj5
= 0 ;
32063 PyObject
* obj6
= 0 ;
32064 PyObject
* obj7
= 0 ;
32065 char * kwnames
[] = {
32066 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
32070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32071 if (!SWIG_IsOK(res1
)) {
32072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
32074 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32075 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32076 if (!SWIG_IsOK(res2
)) {
32077 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
32079 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
32081 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32082 if (!SWIG_IsOK(ecode3
)) {
32083 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
32085 arg3
= static_cast< int >(val3
);
32090 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32096 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
32100 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
32101 if (!SWIG_IsOK(ecode6
)) {
32102 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
32104 arg6
= static_cast< long >(val6
);
32107 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
32108 if (!SWIG_IsOK(res7
)) {
32109 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32112 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32114 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
32118 arg8
= wxString_in_helper(obj7
);
32119 if (arg8
== NULL
) SWIG_fail
;
32124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32125 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
32126 wxPyEndAllowThreads(__tstate
);
32127 if (PyErr_Occurred()) SWIG_fail
;
32130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32146 SWIGINTERN PyObject
*_wrap_ListView_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32147 PyObject
*resultobj
= 0;
32148 wxListView
*arg1
= (wxListView
*) 0 ;
32150 bool arg3
= (bool) true ;
32157 PyObject
* obj0
= 0 ;
32158 PyObject
* obj1
= 0 ;
32159 PyObject
* obj2
= 0 ;
32160 char * kwnames
[] = {
32161 (char *) "self",(char *) "n",(char *) "on", NULL
32164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32166 if (!SWIG_IsOK(res1
)) {
32167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
32169 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32170 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32171 if (!SWIG_IsOK(ecode2
)) {
32172 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
32174 arg2
= static_cast< long >(val2
);
32176 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
32177 if (!SWIG_IsOK(ecode3
)) {
32178 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
32180 arg3
= static_cast< bool >(val3
);
32183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32184 (arg1
)->Select(arg2
,arg3
);
32185 wxPyEndAllowThreads(__tstate
);
32186 if (PyErr_Occurred()) SWIG_fail
;
32188 resultobj
= SWIG_Py_Void();
32195 SWIGINTERN PyObject
*_wrap_ListView_Focus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32196 PyObject
*resultobj
= 0;
32197 wxListView
*arg1
= (wxListView
*) 0 ;
32203 PyObject
* obj0
= 0 ;
32204 PyObject
* obj1
= 0 ;
32205 char * kwnames
[] = {
32206 (char *) "self",(char *) "index", NULL
32209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32211 if (!SWIG_IsOK(res1
)) {
32212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
32214 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32215 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32216 if (!SWIG_IsOK(ecode2
)) {
32217 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
32219 arg2
= static_cast< long >(val2
);
32221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32222 (arg1
)->Focus(arg2
);
32223 wxPyEndAllowThreads(__tstate
);
32224 if (PyErr_Occurred()) SWIG_fail
;
32226 resultobj
= SWIG_Py_Void();
32233 SWIGINTERN PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32234 PyObject
*resultobj
= 0;
32235 wxListView
*arg1
= (wxListView
*) 0 ;
32239 PyObject
*swig_obj
[1] ;
32241 if (!args
) SWIG_fail
;
32242 swig_obj
[0] = args
;
32243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32244 if (!SWIG_IsOK(res1
)) {
32245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
32247 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32250 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
32251 wxPyEndAllowThreads(__tstate
);
32252 if (PyErr_Occurred()) SWIG_fail
;
32254 resultobj
= SWIG_From_long(static_cast< long >(result
));
32261 SWIGINTERN PyObject
*_wrap_ListView_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32262 PyObject
*resultobj
= 0;
32263 wxListView
*arg1
= (wxListView
*) 0 ;
32270 PyObject
* obj0
= 0 ;
32271 PyObject
* obj1
= 0 ;
32272 char * kwnames
[] = {
32273 (char *) "self",(char *) "item", NULL
32276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32278 if (!SWIG_IsOK(res1
)) {
32279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32281 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32282 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32283 if (!SWIG_IsOK(ecode2
)) {
32284 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
32286 arg2
= static_cast< long >(val2
);
32288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32289 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
32290 wxPyEndAllowThreads(__tstate
);
32291 if (PyErr_Occurred()) SWIG_fail
;
32293 resultobj
= SWIG_From_long(static_cast< long >(result
));
32300 SWIGINTERN PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32301 PyObject
*resultobj
= 0;
32302 wxListView
*arg1
= (wxListView
*) 0 ;
32306 PyObject
*swig_obj
[1] ;
32308 if (!args
) SWIG_fail
;
32309 swig_obj
[0] = args
;
32310 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32311 if (!SWIG_IsOK(res1
)) {
32312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32314 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32317 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
32318 wxPyEndAllowThreads(__tstate
);
32319 if (PyErr_Occurred()) SWIG_fail
;
32321 resultobj
= SWIG_From_long(static_cast< long >(result
));
32328 SWIGINTERN PyObject
*_wrap_ListView_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32329 PyObject
*resultobj
= 0;
32330 wxListView
*arg1
= (wxListView
*) 0 ;
32337 PyObject
* obj0
= 0 ;
32338 PyObject
* obj1
= 0 ;
32339 char * kwnames
[] = {
32340 (char *) "self",(char *) "index", NULL
32343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32345 if (!SWIG_IsOK(res1
)) {
32346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
32348 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32349 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32350 if (!SWIG_IsOK(ecode2
)) {
32351 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
32353 arg2
= static_cast< long >(val2
);
32355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32356 result
= (bool)(arg1
)->IsSelected(arg2
);
32357 wxPyEndAllowThreads(__tstate
);
32358 if (PyErr_Occurred()) SWIG_fail
;
32361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32369 SWIGINTERN PyObject
*_wrap_ListView_SetColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32370 PyObject
*resultobj
= 0;
32371 wxListView
*arg1
= (wxListView
*) 0 ;
32380 PyObject
* obj0
= 0 ;
32381 PyObject
* obj1
= 0 ;
32382 PyObject
* obj2
= 0 ;
32383 char * kwnames
[] = {
32384 (char *) "self",(char *) "col",(char *) "image", NULL
32387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32389 if (!SWIG_IsOK(res1
)) {
32390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32392 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32393 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32394 if (!SWIG_IsOK(ecode2
)) {
32395 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
32397 arg2
= static_cast< int >(val2
);
32398 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32399 if (!SWIG_IsOK(ecode3
)) {
32400 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
32402 arg3
= static_cast< int >(val3
);
32404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32405 (arg1
)->SetColumnImage(arg2
,arg3
);
32406 wxPyEndAllowThreads(__tstate
);
32407 if (PyErr_Occurred()) SWIG_fail
;
32409 resultobj
= SWIG_Py_Void();
32416 SWIGINTERN PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32417 PyObject
*resultobj
= 0;
32418 wxListView
*arg1
= (wxListView
*) 0 ;
32424 PyObject
* obj0
= 0 ;
32425 PyObject
* obj1
= 0 ;
32426 char * kwnames
[] = {
32427 (char *) "self",(char *) "col", NULL
32430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32432 if (!SWIG_IsOK(res1
)) {
32433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32435 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32436 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32437 if (!SWIG_IsOK(ecode2
)) {
32438 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
32440 arg2
= static_cast< int >(val2
);
32442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32443 (arg1
)->ClearColumnImage(arg2
);
32444 wxPyEndAllowThreads(__tstate
);
32445 if (PyErr_Occurred()) SWIG_fail
;
32447 resultobj
= SWIG_Py_Void();
32454 SWIGINTERN PyObject
*ListView_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32456 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32457 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView
, SWIG_NewClientData(obj
));
32458 return SWIG_Py_Void();
32461 SWIGINTERN PyObject
*ListView_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32462 return SWIG_Python_InitShadowInstance(args
);
32465 SWIGINTERN
int TreeCtrlNameStr_set(PyObject
*) {
32466 SWIG_Error(SWIG_AttributeError
,"Variable TreeCtrlNameStr is read-only.");
32471 SWIGINTERN PyObject
*TreeCtrlNameStr_get(void) {
32472 PyObject
*pyobj
= 0;
32476 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32478 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32485 SWIGINTERN PyObject
*_wrap_new_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32486 PyObject
*resultobj
= 0;
32487 wxTreeItemId
*result
= 0 ;
32489 if (!SWIG_Python_UnpackTuple(args
,"new_TreeItemId",0,0,0)) SWIG_fail
;
32491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32492 result
= (wxTreeItemId
*)new wxTreeItemId();
32493 wxPyEndAllowThreads(__tstate
);
32494 if (PyErr_Occurred()) SWIG_fail
;
32496 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_NEW
| 0 );
32503 SWIGINTERN PyObject
*_wrap_delete_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32504 PyObject
*resultobj
= 0;
32505 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32508 PyObject
*swig_obj
[1] ;
32510 if (!args
) SWIG_fail
;
32511 swig_obj
[0] = args
;
32512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_DISOWN
| 0 );
32513 if (!SWIG_IsOK(res1
)) {
32514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32516 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32521 wxPyEndAllowThreads(__tstate
);
32522 if (PyErr_Occurred()) SWIG_fail
;
32524 resultobj
= SWIG_Py_Void();
32531 SWIGINTERN PyObject
*_wrap_TreeItemId_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32532 PyObject
*resultobj
= 0;
32533 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32537 PyObject
*swig_obj
[1] ;
32539 if (!args
) SWIG_fail
;
32540 swig_obj
[0] = args
;
32541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32542 if (!SWIG_IsOK(res1
)) {
32543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
32545 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32548 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
32549 wxPyEndAllowThreads(__tstate
);
32550 if (PyErr_Occurred()) SWIG_fail
;
32553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32561 SWIGINTERN PyObject
*_wrap_TreeItemId___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32562 PyObject
*resultobj
= 0;
32563 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32564 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32570 PyObject
* obj0
= 0 ;
32571 PyObject
* obj1
= 0 ;
32572 char * kwnames
[] = {
32573 (char *) "self",(char *) "other", NULL
32576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32578 if (!SWIG_IsOK(res1
)) {
32579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32581 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32582 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32583 if (!SWIG_IsOK(res2
)) {
32584 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32586 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32589 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
32590 wxPyEndAllowThreads(__tstate
);
32591 if (PyErr_Occurred()) SWIG_fail
;
32594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32602 SWIGINTERN PyObject
*_wrap_TreeItemId___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32603 PyObject
*resultobj
= 0;
32604 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32605 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32611 PyObject
* obj0
= 0 ;
32612 PyObject
* obj1
= 0 ;
32613 char * kwnames
[] = {
32614 (char *) "self",(char *) "other", NULL
32617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32619 if (!SWIG_IsOK(res1
)) {
32620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32622 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32623 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32624 if (!SWIG_IsOK(res2
)) {
32625 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32627 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32630 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
32631 wxPyEndAllowThreads(__tstate
);
32632 if (PyErr_Occurred()) SWIG_fail
;
32635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32643 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32644 PyObject
*resultobj
= 0;
32645 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32646 void *arg2
= (void *) 0 ;
32650 PyObject
*swig_obj
[2] ;
32652 if (!SWIG_Python_UnpackTuple(args
,"TreeItemId_m_pItem_set",2,2,swig_obj
)) SWIG_fail
;
32653 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32654 if (!SWIG_IsOK(res1
)) {
32655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32657 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32658 res2
= SWIG_ConvertPtr(swig_obj
[1],SWIG_as_voidptrptr(&arg2
), 0, SWIG_POINTER_DISOWN
);
32659 if (!SWIG_IsOK(res2
)) {
32660 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
32662 if (arg1
) (arg1
)->m_pItem
= arg2
;
32664 resultobj
= SWIG_Py_Void();
32671 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32672 PyObject
*resultobj
= 0;
32673 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32677 PyObject
*swig_obj
[1] ;
32679 if (!args
) SWIG_fail
;
32680 swig_obj
[0] = args
;
32681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32682 if (!SWIG_IsOK(res1
)) {
32683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32685 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32686 result
= (void *) ((arg1
)->m_pItem
);
32687 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
32694 SWIGINTERN PyObject
*TreeItemId_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32696 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32697 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId
, SWIG_NewClientData(obj
));
32698 return SWIG_Py_Void();
32701 SWIGINTERN PyObject
*TreeItemId_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32702 return SWIG_Python_InitShadowInstance(args
);
32705 SWIGINTERN PyObject
*_wrap_new_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32706 PyObject
*resultobj
= 0;
32707 PyObject
*arg1
= (PyObject
*) NULL
;
32708 wxPyTreeItemData
*result
= 0 ;
32709 PyObject
* obj0
= 0 ;
32710 char * kwnames
[] = {
32711 (char *) "obj", NULL
32714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) SWIG_fail
;
32719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32720 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
32721 wxPyEndAllowThreads(__tstate
);
32722 if (PyErr_Occurred()) SWIG_fail
;
32724 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_NEW
| 0 );
32731 SWIGINTERN PyObject
*_wrap_delete_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32732 PyObject
*resultobj
= 0;
32733 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32736 PyObject
*swig_obj
[1] ;
32738 if (!args
) SWIG_fail
;
32739 swig_obj
[0] = args
;
32740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
32741 if (!SWIG_IsOK(res1
)) {
32742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32744 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32749 wxPyEndAllowThreads(__tstate
);
32750 if (PyErr_Occurred()) SWIG_fail
;
32752 resultobj
= SWIG_Py_Void();
32759 SWIGINTERN PyObject
*_wrap_TreeItemData_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32760 PyObject
*resultobj
= 0;
32761 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32762 PyObject
*result
= 0 ;
32765 PyObject
*swig_obj
[1] ;
32767 if (!args
) SWIG_fail
;
32768 swig_obj
[0] = args
;
32769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32770 if (!SWIG_IsOK(res1
)) {
32771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32773 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32776 result
= (PyObject
*)(arg1
)->GetData();
32777 wxPyEndAllowThreads(__tstate
);
32778 if (PyErr_Occurred()) SWIG_fail
;
32780 resultobj
= result
;
32787 SWIGINTERN PyObject
*_wrap_TreeItemData_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32788 PyObject
*resultobj
= 0;
32789 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32790 PyObject
*arg2
= (PyObject
*) 0 ;
32793 PyObject
* obj0
= 0 ;
32794 PyObject
* obj1
= 0 ;
32795 char * kwnames
[] = {
32796 (char *) "self",(char *) "obj", NULL
32799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32801 if (!SWIG_IsOK(res1
)) {
32802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32804 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32808 (arg1
)->SetData(arg2
);
32809 wxPyEndAllowThreads(__tstate
);
32810 if (PyErr_Occurred()) SWIG_fail
;
32812 resultobj
= SWIG_Py_Void();
32819 SWIGINTERN PyObject
*_wrap_TreeItemData_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32820 PyObject
*resultobj
= 0;
32821 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32822 wxTreeItemId
*result
= 0 ;
32825 PyObject
*swig_obj
[1] ;
32827 if (!args
) SWIG_fail
;
32828 swig_obj
[0] = args
;
32829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32830 if (!SWIG_IsOK(res1
)) {
32831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32833 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32837 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
32838 result
= (wxTreeItemId
*) &_result_ref
;
32840 wxPyEndAllowThreads(__tstate
);
32841 if (PyErr_Occurred()) SWIG_fail
;
32843 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32850 SWIGINTERN PyObject
*_wrap_TreeItemData_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32851 PyObject
*resultobj
= 0;
32852 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32853 wxTreeItemId
*arg2
= 0 ;
32858 PyObject
* obj0
= 0 ;
32859 PyObject
* obj1
= 0 ;
32860 char * kwnames
[] = {
32861 (char *) "self",(char *) "id", NULL
32864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32866 if (!SWIG_IsOK(res1
)) {
32867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32869 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32870 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32871 if (!SWIG_IsOK(res2
)) {
32872 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32875 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32877 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32880 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
32881 wxPyEndAllowThreads(__tstate
);
32882 if (PyErr_Occurred()) SWIG_fail
;
32884 resultobj
= SWIG_Py_Void();
32891 SWIGINTERN PyObject
*_wrap_TreeItemData_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32892 PyObject
*resultobj
= 0;
32893 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32896 PyObject
*swig_obj
[1] ;
32898 if (!args
) SWIG_fail
;
32899 swig_obj
[0] = args
;
32900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32901 if (!SWIG_IsOK(res1
)) {
32902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32904 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32907 wxPyTreeItemData_Destroy(arg1
);
32908 wxPyEndAllowThreads(__tstate
);
32909 if (PyErr_Occurred()) SWIG_fail
;
32911 resultobj
= SWIG_Py_Void();
32918 SWIGINTERN PyObject
*TreeItemData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32920 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32921 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData
, SWIG_NewClientData(obj
));
32922 return SWIG_Py_Void();
32925 SWIGINTERN PyObject
*TreeItemData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32926 return SWIG_Python_InitShadowInstance(args
);
32929 SWIGINTERN
int NullTreeItemId_set(PyObject
*_val
) {
32932 int res
= SWIG_ConvertPtr(_val
, &argp
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32933 if (!SWIG_IsOK(res
)) {
32934 SWIG_exception_fail(SWIG_ArgError(res
), "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
32937 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
32939 wxTreeItemId
* temp
;
32940 temp
= reinterpret_cast< wxTreeItemId
* >(argp
);
32941 wxNullTreeItemId
= *temp
;
32942 if (SWIG_IsNewObj(res
)) delete temp
;
32951 SWIGINTERN PyObject
*NullTreeItemId_get(void) {
32952 PyObject
*pyobj
= 0;
32954 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullTreeItemId
), SWIGTYPE_p_wxTreeItemId
, 0 );
32959 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
32960 PyObject
*resultobj
= 0;
32961 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
32962 int arg2
= (int) 0 ;
32963 wxTreeEvent
*result
= 0 ;
32969 if ((nobjs
< 0) || (nobjs
> 2)) SWIG_fail
;
32971 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
32972 if (!SWIG_IsOK(ecode1
)) {
32973 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
32975 arg1
= static_cast< wxEventType
>(val1
);
32978 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
32979 if (!SWIG_IsOK(ecode2
)) {
32980 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
32982 arg2
= static_cast< int >(val2
);
32985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32986 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
32987 wxPyEndAllowThreads(__tstate
);
32988 if (PyErr_Occurred()) SWIG_fail
;
32990 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
32997 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
32998 PyObject
*resultobj
= 0;
33000 wxPyTreeCtrl
*arg2
= (wxPyTreeCtrl
*) 0 ;
33001 wxTreeItemId
&arg3_defvalue
= wxNullTreeItemId
;
33002 wxTreeItemId
*arg3
= (wxTreeItemId
*) &arg3_defvalue
;
33003 wxTreeEvent
*result
= 0 ;
33011 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
33012 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
33013 if (!SWIG_IsOK(ecode1
)) {
33014 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33016 arg1
= static_cast< wxEventType
>(val1
);
33017 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33018 if (!SWIG_IsOK(res2
)) {
33019 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "wxPyTreeCtrl *""'");
33021 arg2
= reinterpret_cast< wxPyTreeCtrl
* >(argp2
);
33023 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 );
33024 if (!SWIG_IsOK(res3
)) {
33025 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33028 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33030 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
33033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33034 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
,*arg3
);
33035 wxPyEndAllowThreads(__tstate
);
33036 if (PyErr_Occurred()) SWIG_fail
;
33038 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
33045 SWIGINTERN PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
) {
33049 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_TreeEvent",0,3,argv
))) SWIG_fail
;
33051 if ((argc
>= 0) && (argc
<= 2)) {
33056 int res
= SWIG_AsVal_int(argv
[1], NULL
);
33057 _v
= SWIG_CheckState(res
);
33060 if (!_v
) goto check_1
;
33062 return _wrap_new_TreeEvent__SWIG_0(self
, argc
, argv
);
33066 if ((argc
>= 2) && (argc
<= 3)) {
33067 return _wrap_new_TreeEvent__SWIG_1(self
, argc
, argv
);
33071 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TreeEvent'");
33076 SWIGINTERN PyObject
*_wrap_TreeEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33077 PyObject
*resultobj
= 0;
33078 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33079 wxTreeItemId result
;
33082 PyObject
*swig_obj
[1] ;
33084 if (!args
) SWIG_fail
;
33085 swig_obj
[0] = args
;
33086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33087 if (!SWIG_IsOK(res1
)) {
33088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33090 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33093 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
33094 wxPyEndAllowThreads(__tstate
);
33095 if (PyErr_Occurred()) SWIG_fail
;
33097 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33104 SWIGINTERN PyObject
*_wrap_TreeEvent_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33105 PyObject
*resultobj
= 0;
33106 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33107 wxTreeItemId
*arg2
= 0 ;
33112 PyObject
* obj0
= 0 ;
33113 PyObject
* obj1
= 0 ;
33114 char * kwnames
[] = {
33115 (char *) "self",(char *) "item", NULL
33118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33120 if (!SWIG_IsOK(res1
)) {
33121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33123 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33124 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33125 if (!SWIG_IsOK(res2
)) {
33126 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33129 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33131 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33134 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
33135 wxPyEndAllowThreads(__tstate
);
33136 if (PyErr_Occurred()) SWIG_fail
;
33138 resultobj
= SWIG_Py_Void();
33145 SWIGINTERN PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33146 PyObject
*resultobj
= 0;
33147 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33148 wxTreeItemId result
;
33151 PyObject
*swig_obj
[1] ;
33153 if (!args
) SWIG_fail
;
33154 swig_obj
[0] = args
;
33155 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33156 if (!SWIG_IsOK(res1
)) {
33157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33159 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33162 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
33163 wxPyEndAllowThreads(__tstate
);
33164 if (PyErr_Occurred()) SWIG_fail
;
33166 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33173 SWIGINTERN PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33174 PyObject
*resultobj
= 0;
33175 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33176 wxTreeItemId
*arg2
= 0 ;
33181 PyObject
* obj0
= 0 ;
33182 PyObject
* obj1
= 0 ;
33183 char * kwnames
[] = {
33184 (char *) "self",(char *) "item", NULL
33187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33189 if (!SWIG_IsOK(res1
)) {
33190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33192 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33193 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33194 if (!SWIG_IsOK(res2
)) {
33195 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33198 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33200 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33203 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
33204 wxPyEndAllowThreads(__tstate
);
33205 if (PyErr_Occurred()) SWIG_fail
;
33207 resultobj
= SWIG_Py_Void();
33214 SWIGINTERN PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33215 PyObject
*resultobj
= 0;
33216 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33220 PyObject
*swig_obj
[1] ;
33222 if (!args
) SWIG_fail
;
33223 swig_obj
[0] = args
;
33224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33225 if (!SWIG_IsOK(res1
)) {
33226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33228 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33231 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
33232 wxPyEndAllowThreads(__tstate
);
33233 if (PyErr_Occurred()) SWIG_fail
;
33235 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
33242 SWIGINTERN PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33243 PyObject
*resultobj
= 0;
33244 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33245 wxPoint
*arg2
= 0 ;
33249 PyObject
* obj0
= 0 ;
33250 PyObject
* obj1
= 0 ;
33251 char * kwnames
[] = {
33252 (char *) "self",(char *) "pt", NULL
33255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33257 if (!SWIG_IsOK(res1
)) {
33258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33260 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33263 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33267 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
33268 wxPyEndAllowThreads(__tstate
);
33269 if (PyErr_Occurred()) SWIG_fail
;
33271 resultobj
= SWIG_Py_Void();
33278 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33279 PyObject
*resultobj
= 0;
33280 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33281 wxKeyEvent
*result
= 0 ;
33284 PyObject
*swig_obj
[1] ;
33286 if (!args
) SWIG_fail
;
33287 swig_obj
[0] = args
;
33288 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33289 if (!SWIG_IsOK(res1
)) {
33290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33292 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33296 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
33297 result
= (wxKeyEvent
*) &_result_ref
;
33299 wxPyEndAllowThreads(__tstate
);
33300 if (PyErr_Occurred()) SWIG_fail
;
33302 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
33309 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33310 PyObject
*resultobj
= 0;
33311 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33315 PyObject
*swig_obj
[1] ;
33317 if (!args
) SWIG_fail
;
33318 swig_obj
[0] = args
;
33319 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33320 if (!SWIG_IsOK(res1
)) {
33321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33323 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33326 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
33327 wxPyEndAllowThreads(__tstate
);
33328 if (PyErr_Occurred()) SWIG_fail
;
33330 resultobj
= SWIG_From_int(static_cast< int >(result
));
33337 SWIGINTERN PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33338 PyObject
*resultobj
= 0;
33339 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33340 wxKeyEvent
*arg2
= 0 ;
33345 PyObject
* obj0
= 0 ;
33346 PyObject
* obj1
= 0 ;
33347 char * kwnames
[] = {
33348 (char *) "self",(char *) "evt", NULL
33351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33353 if (!SWIG_IsOK(res1
)) {
33354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33356 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33357 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
33358 if (!SWIG_IsOK(res2
)) {
33359 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33362 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33364 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
33366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33367 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
33368 wxPyEndAllowThreads(__tstate
);
33369 if (PyErr_Occurred()) SWIG_fail
;
33371 resultobj
= SWIG_Py_Void();
33378 SWIGINTERN PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33379 PyObject
*resultobj
= 0;
33380 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33381 wxString
*result
= 0 ;
33384 PyObject
*swig_obj
[1] ;
33386 if (!args
) SWIG_fail
;
33387 swig_obj
[0] = args
;
33388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33389 if (!SWIG_IsOK(res1
)) {
33390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33392 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33396 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
33397 result
= (wxString
*) &_result_ref
;
33399 wxPyEndAllowThreads(__tstate
);
33400 if (PyErr_Occurred()) SWIG_fail
;
33404 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33406 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33415 SWIGINTERN PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33416 PyObject
*resultobj
= 0;
33417 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33418 wxString
*arg2
= 0 ;
33421 bool temp2
= false ;
33422 PyObject
* obj0
= 0 ;
33423 PyObject
* obj1
= 0 ;
33424 char * kwnames
[] = {
33425 (char *) "self",(char *) "label", NULL
33428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33430 if (!SWIG_IsOK(res1
)) {
33431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33433 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33435 arg2
= wxString_in_helper(obj1
);
33436 if (arg2
== NULL
) SWIG_fail
;
33440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33441 (arg1
)->SetLabel((wxString
const &)*arg2
);
33442 wxPyEndAllowThreads(__tstate
);
33443 if (PyErr_Occurred()) SWIG_fail
;
33445 resultobj
= SWIG_Py_Void();
33460 SWIGINTERN PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33461 PyObject
*resultobj
= 0;
33462 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33466 PyObject
*swig_obj
[1] ;
33468 if (!args
) SWIG_fail
;
33469 swig_obj
[0] = args
;
33470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33471 if (!SWIG_IsOK(res1
)) {
33472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33474 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33477 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
33478 wxPyEndAllowThreads(__tstate
);
33479 if (PyErr_Occurred()) SWIG_fail
;
33482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33490 SWIGINTERN PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33491 PyObject
*resultobj
= 0;
33492 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33498 PyObject
* obj0
= 0 ;
33499 PyObject
* obj1
= 0 ;
33500 char * kwnames
[] = {
33501 (char *) "self",(char *) "editCancelled", NULL
33504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33506 if (!SWIG_IsOK(res1
)) {
33507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33509 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33510 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33511 if (!SWIG_IsOK(ecode2
)) {
33512 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
33514 arg2
= static_cast< bool >(val2
);
33516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33517 (arg1
)->SetEditCanceled(arg2
);
33518 wxPyEndAllowThreads(__tstate
);
33519 if (PyErr_Occurred()) SWIG_fail
;
33521 resultobj
= SWIG_Py_Void();
33528 SWIGINTERN PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33529 PyObject
*resultobj
= 0;
33530 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33531 wxString
*arg2
= 0 ;
33534 bool temp2
= false ;
33535 PyObject
* obj0
= 0 ;
33536 PyObject
* obj1
= 0 ;
33537 char * kwnames
[] = {
33538 (char *) "self",(char *) "toolTip", NULL
33541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33543 if (!SWIG_IsOK(res1
)) {
33544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33546 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33548 arg2
= wxString_in_helper(obj1
);
33549 if (arg2
== NULL
) SWIG_fail
;
33553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33554 (arg1
)->SetToolTip((wxString
const &)*arg2
);
33555 wxPyEndAllowThreads(__tstate
);
33556 if (PyErr_Occurred()) SWIG_fail
;
33558 resultobj
= SWIG_Py_Void();
33573 SWIGINTERN PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33574 PyObject
*resultobj
= 0;
33575 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33579 PyObject
*swig_obj
[1] ;
33581 if (!args
) SWIG_fail
;
33582 swig_obj
[0] = args
;
33583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33584 if (!SWIG_IsOK(res1
)) {
33585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33587 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33590 result
= (arg1
)->GetToolTip();
33591 wxPyEndAllowThreads(__tstate
);
33592 if (PyErr_Occurred()) SWIG_fail
;
33596 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33598 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33607 SWIGINTERN PyObject
*TreeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33609 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33610 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent
, SWIG_NewClientData(obj
));
33611 return SWIG_Py_Void();
33614 SWIGINTERN PyObject
*TreeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33615 return SWIG_Python_InitShadowInstance(args
);
33618 SWIGINTERN PyObject
*_wrap_new_TreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33619 PyObject
*resultobj
= 0;
33620 wxWindow
*arg1
= (wxWindow
*) 0 ;
33621 int arg2
= (int) -1 ;
33622 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33623 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33624 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33625 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33626 long arg5
= (long) wxTR_DEFAULT_STYLE
;
33627 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33628 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33629 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
33630 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33631 wxPyTreeCtrl
*result
= 0 ;
33642 bool temp7
= false ;
33643 PyObject
* obj0
= 0 ;
33644 PyObject
* obj1
= 0 ;
33645 PyObject
* obj2
= 0 ;
33646 PyObject
* obj3
= 0 ;
33647 PyObject
* obj4
= 0 ;
33648 PyObject
* obj5
= 0 ;
33649 PyObject
* obj6
= 0 ;
33650 char * kwnames
[] = {
33651 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33656 if (!SWIG_IsOK(res1
)) {
33657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
33659 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33661 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33662 if (!SWIG_IsOK(ecode2
)) {
33663 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
33665 arg2
= static_cast< int >(val2
);
33670 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33676 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33680 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
33681 if (!SWIG_IsOK(ecode5
)) {
33682 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
33684 arg5
= static_cast< long >(val5
);
33687 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
33688 if (!SWIG_IsOK(res6
)) {
33689 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33692 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33694 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
33698 arg7
= wxString_in_helper(obj6
);
33699 if (arg7
== NULL
) SWIG_fail
;
33704 if (!wxPyCheckForApp()) SWIG_fail
;
33705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33706 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33707 wxPyEndAllowThreads(__tstate
);
33708 if (PyErr_Occurred()) SWIG_fail
;
33710 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_NEW
| 0 );
33725 SWIGINTERN PyObject
*_wrap_new_PreTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33726 PyObject
*resultobj
= 0;
33727 wxPyTreeCtrl
*result
= 0 ;
33729 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreeCtrl",0,0,0)) SWIG_fail
;
33731 if (!wxPyCheckForApp()) SWIG_fail
;
33732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33733 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
33734 wxPyEndAllowThreads(__tstate
);
33735 if (PyErr_Occurred()) SWIG_fail
;
33737 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_OWN
| 0 );
33744 SWIGINTERN PyObject
*_wrap_TreeCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33745 PyObject
*resultobj
= 0;
33746 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33747 wxWindow
*arg2
= (wxWindow
*) 0 ;
33748 int arg3
= (int) -1 ;
33749 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33750 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33751 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33752 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33753 long arg6
= (long) wxTR_DEFAULT_STYLE
;
33754 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
33755 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
33756 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
33757 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
33771 bool temp8
= false ;
33772 PyObject
* obj0
= 0 ;
33773 PyObject
* obj1
= 0 ;
33774 PyObject
* obj2
= 0 ;
33775 PyObject
* obj3
= 0 ;
33776 PyObject
* obj4
= 0 ;
33777 PyObject
* obj5
= 0 ;
33778 PyObject
* obj6
= 0 ;
33779 PyObject
* obj7
= 0 ;
33780 char * kwnames
[] = {
33781 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
33785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33786 if (!SWIG_IsOK(res1
)) {
33787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33789 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33790 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33791 if (!SWIG_IsOK(res2
)) {
33792 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
33794 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33796 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33797 if (!SWIG_IsOK(ecode3
)) {
33798 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
33800 arg3
= static_cast< int >(val3
);
33805 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33811 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33815 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
33816 if (!SWIG_IsOK(ecode6
)) {
33817 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
33819 arg6
= static_cast< long >(val6
);
33822 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
33823 if (!SWIG_IsOK(res7
)) {
33824 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33827 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33829 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
33833 arg8
= wxString_in_helper(obj7
);
33834 if (arg8
== NULL
) SWIG_fail
;
33839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33840 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
33841 wxPyEndAllowThreads(__tstate
);
33842 if (PyErr_Occurred()) SWIG_fail
;
33845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33861 SWIGINTERN PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33862 PyObject
*resultobj
= 0;
33863 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33864 PyObject
*arg2
= (PyObject
*) 0 ;
33865 PyObject
*arg3
= (PyObject
*) 0 ;
33868 PyObject
* obj0
= 0 ;
33869 PyObject
* obj1
= 0 ;
33870 PyObject
* obj2
= 0 ;
33871 char * kwnames
[] = {
33872 (char *) "self",(char *) "self",(char *) "_class", NULL
33875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33877 if (!SWIG_IsOK(res1
)) {
33878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33880 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33885 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33886 wxPyEndAllowThreads(__tstate
);
33887 if (PyErr_Occurred()) SWIG_fail
;
33889 resultobj
= SWIG_Py_Void();
33896 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33897 PyObject
*resultobj
= 0;
33898 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33899 unsigned int result
;
33902 PyObject
*swig_obj
[1] ;
33904 if (!args
) SWIG_fail
;
33905 swig_obj
[0] = args
;
33906 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33907 if (!SWIG_IsOK(res1
)) {
33908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33910 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33913 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetCount();
33914 wxPyEndAllowThreads(__tstate
);
33915 if (PyErr_Occurred()) SWIG_fail
;
33917 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33924 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33925 PyObject
*resultobj
= 0;
33926 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33927 unsigned int result
;
33930 PyObject
*swig_obj
[1] ;
33932 if (!args
) SWIG_fail
;
33933 swig_obj
[0] = args
;
33934 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33935 if (!SWIG_IsOK(res1
)) {
33936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33938 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33941 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
33942 wxPyEndAllowThreads(__tstate
);
33943 if (PyErr_Occurred()) SWIG_fail
;
33945 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33952 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33953 PyObject
*resultobj
= 0;
33954 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33955 unsigned int arg2
;
33958 unsigned int val2
;
33960 PyObject
* obj0
= 0 ;
33961 PyObject
* obj1
= 0 ;
33962 char * kwnames
[] = {
33963 (char *) "self",(char *) "indent", NULL
33966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33968 if (!SWIG_IsOK(res1
)) {
33969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33971 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33972 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
33973 if (!SWIG_IsOK(ecode2
)) {
33974 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
33976 arg2
= static_cast< unsigned int >(val2
);
33978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33979 (arg1
)->SetIndent(arg2
);
33980 wxPyEndAllowThreads(__tstate
);
33981 if (PyErr_Occurred()) SWIG_fail
;
33983 resultobj
= SWIG_Py_Void();
33990 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33991 PyObject
*resultobj
= 0;
33992 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33993 unsigned int result
;
33996 PyObject
*swig_obj
[1] ;
33998 if (!args
) SWIG_fail
;
33999 swig_obj
[0] = args
;
34000 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34001 if (!SWIG_IsOK(res1
)) {
34002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34004 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34007 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
34008 wxPyEndAllowThreads(__tstate
);
34009 if (PyErr_Occurred()) SWIG_fail
;
34011 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34018 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34019 PyObject
*resultobj
= 0;
34020 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34021 unsigned int arg2
;
34024 unsigned int val2
;
34026 PyObject
* obj0
= 0 ;
34027 PyObject
* obj1
= 0 ;
34028 char * kwnames
[] = {
34029 (char *) "self",(char *) "spacing", NULL
34032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34034 if (!SWIG_IsOK(res1
)) {
34035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34037 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34038 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
34039 if (!SWIG_IsOK(ecode2
)) {
34040 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
34042 arg2
= static_cast< unsigned int >(val2
);
34044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34045 (arg1
)->SetSpacing(arg2
);
34046 wxPyEndAllowThreads(__tstate
);
34047 if (PyErr_Occurred()) SWIG_fail
;
34049 resultobj
= SWIG_Py_Void();
34056 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34057 PyObject
*resultobj
= 0;
34058 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34059 wxImageList
*result
= 0 ;
34062 PyObject
*swig_obj
[1] ;
34064 if (!args
) SWIG_fail
;
34065 swig_obj
[0] = args
;
34066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34067 if (!SWIG_IsOK(res1
)) {
34068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34070 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34073 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
34074 wxPyEndAllowThreads(__tstate
);
34075 if (PyErr_Occurred()) SWIG_fail
;
34078 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34086 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34087 PyObject
*resultobj
= 0;
34088 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34089 wxImageList
*result
= 0 ;
34092 PyObject
*swig_obj
[1] ;
34094 if (!args
) SWIG_fail
;
34095 swig_obj
[0] = args
;
34096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34097 if (!SWIG_IsOK(res1
)) {
34098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34100 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34103 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
34104 wxPyEndAllowThreads(__tstate
);
34105 if (PyErr_Occurred()) SWIG_fail
;
34108 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34116 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34117 PyObject
*resultobj
= 0;
34118 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34119 wxImageList
*arg2
= (wxImageList
*) 0 ;
34124 PyObject
* obj0
= 0 ;
34125 PyObject
* obj1
= 0 ;
34126 char * kwnames
[] = {
34127 (char *) "self",(char *) "imageList", NULL
34130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34132 if (!SWIG_IsOK(res1
)) {
34133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34135 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34136 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34137 if (!SWIG_IsOK(res2
)) {
34138 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34140 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34143 (arg1
)->SetImageList(arg2
);
34144 wxPyEndAllowThreads(__tstate
);
34145 if (PyErr_Occurred()) SWIG_fail
;
34147 resultobj
= SWIG_Py_Void();
34154 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34155 PyObject
*resultobj
= 0;
34156 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34157 wxImageList
*arg2
= (wxImageList
*) 0 ;
34162 PyObject
* obj0
= 0 ;
34163 PyObject
* obj1
= 0 ;
34164 char * kwnames
[] = {
34165 (char *) "self",(char *) "imageList", NULL
34168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34170 if (!SWIG_IsOK(res1
)) {
34171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34173 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34174 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34175 if (!SWIG_IsOK(res2
)) {
34176 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34178 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34181 (arg1
)->SetStateImageList(arg2
);
34182 wxPyEndAllowThreads(__tstate
);
34183 if (PyErr_Occurred()) SWIG_fail
;
34185 resultobj
= SWIG_Py_Void();
34192 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34193 PyObject
*resultobj
= 0;
34194 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34195 wxImageList
*arg2
= (wxImageList
*) 0 ;
34199 PyObject
* obj0
= 0 ;
34200 PyObject
* obj1
= 0 ;
34201 char * kwnames
[] = {
34202 (char *) "self",(char *) "imageList", NULL
34205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34207 if (!SWIG_IsOK(res1
)) {
34208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34210 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34211 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34212 if (!SWIG_IsOK(res2
)) {
34213 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34217 (arg1
)->AssignImageList(arg2
);
34218 wxPyEndAllowThreads(__tstate
);
34219 if (PyErr_Occurred()) SWIG_fail
;
34221 resultobj
= SWIG_Py_Void();
34228 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34229 PyObject
*resultobj
= 0;
34230 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34231 wxImageList
*arg2
= (wxImageList
*) 0 ;
34235 PyObject
* obj0
= 0 ;
34236 PyObject
* obj1
= 0 ;
34237 char * kwnames
[] = {
34238 (char *) "self",(char *) "imageList", NULL
34241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34243 if (!SWIG_IsOK(res1
)) {
34244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34246 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34247 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34248 if (!SWIG_IsOK(res2
)) {
34249 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34253 (arg1
)->AssignStateImageList(arg2
);
34254 wxPyEndAllowThreads(__tstate
);
34255 if (PyErr_Occurred()) SWIG_fail
;
34257 resultobj
= SWIG_Py_Void();
34264 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34265 PyObject
*resultobj
= 0;
34266 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34267 wxTreeItemId
*arg2
= 0 ;
34273 PyObject
* obj0
= 0 ;
34274 PyObject
* obj1
= 0 ;
34275 char * kwnames
[] = {
34276 (char *) "self",(char *) "item", NULL
34279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34281 if (!SWIG_IsOK(res1
)) {
34282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34284 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34285 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34286 if (!SWIG_IsOK(res2
)) {
34287 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34290 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34292 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34295 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
34296 wxPyEndAllowThreads(__tstate
);
34297 if (PyErr_Occurred()) SWIG_fail
;
34301 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34303 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34312 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34313 PyObject
*resultobj
= 0;
34314 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34315 wxTreeItemId
*arg2
= 0 ;
34316 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34324 PyObject
* obj0
= 0 ;
34325 PyObject
* obj1
= 0 ;
34326 PyObject
* obj2
= 0 ;
34327 char * kwnames
[] = {
34328 (char *) "self",(char *) "item",(char *) "which", NULL
34331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34333 if (!SWIG_IsOK(res1
)) {
34334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34336 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34337 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34338 if (!SWIG_IsOK(res2
)) {
34339 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34342 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34344 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34346 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34347 if (!SWIG_IsOK(ecode3
)) {
34348 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
34350 arg3
= static_cast< wxTreeItemIcon
>(val3
);
34353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34354 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,arg3
);
34355 wxPyEndAllowThreads(__tstate
);
34356 if (PyErr_Occurred()) SWIG_fail
;
34358 resultobj
= SWIG_From_int(static_cast< int >(result
));
34365 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34366 PyObject
*resultobj
= 0;
34367 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34368 wxTreeItemId
*arg2
= 0 ;
34369 wxPyTreeItemData
*result
= 0 ;
34374 PyObject
* obj0
= 0 ;
34375 PyObject
* obj1
= 0 ;
34376 char * kwnames
[] = {
34377 (char *) "self",(char *) "item", NULL
34380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34382 if (!SWIG_IsOK(res1
)) {
34383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34385 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34386 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34387 if (!SWIG_IsOK(res2
)) {
34388 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34391 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34393 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34396 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
34397 wxPyEndAllowThreads(__tstate
);
34398 if (PyErr_Occurred()) SWIG_fail
;
34400 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
34407 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34408 PyObject
*resultobj
= 0;
34409 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34410 wxTreeItemId
*arg2
= 0 ;
34411 PyObject
*result
= 0 ;
34416 PyObject
* obj0
= 0 ;
34417 PyObject
* obj1
= 0 ;
34418 char * kwnames
[] = {
34419 (char *) "self",(char *) "item", NULL
34422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34424 if (!SWIG_IsOK(res1
)) {
34425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34427 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34428 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34429 if (!SWIG_IsOK(res2
)) {
34430 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34433 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34435 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34438 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
34439 wxPyEndAllowThreads(__tstate
);
34440 if (PyErr_Occurred()) SWIG_fail
;
34442 resultobj
= result
;
34449 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34450 PyObject
*resultobj
= 0;
34451 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34452 wxTreeItemId
*arg2
= 0 ;
34458 PyObject
* obj0
= 0 ;
34459 PyObject
* obj1
= 0 ;
34460 char * kwnames
[] = {
34461 (char *) "self",(char *) "item", NULL
34464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34466 if (!SWIG_IsOK(res1
)) {
34467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34469 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34470 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34471 if (!SWIG_IsOK(res2
)) {
34472 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34475 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34477 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34480 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
34481 wxPyEndAllowThreads(__tstate
);
34482 if (PyErr_Occurred()) SWIG_fail
;
34484 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34491 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34492 PyObject
*resultobj
= 0;
34493 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34494 wxTreeItemId
*arg2
= 0 ;
34500 PyObject
* obj0
= 0 ;
34501 PyObject
* obj1
= 0 ;
34502 char * kwnames
[] = {
34503 (char *) "self",(char *) "item", NULL
34506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34508 if (!SWIG_IsOK(res1
)) {
34509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34511 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34512 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34513 if (!SWIG_IsOK(res2
)) {
34514 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34517 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34519 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34522 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
34523 wxPyEndAllowThreads(__tstate
);
34524 if (PyErr_Occurred()) SWIG_fail
;
34526 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34533 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34534 PyObject
*resultobj
= 0;
34535 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34536 wxTreeItemId
*arg2
= 0 ;
34542 PyObject
* obj0
= 0 ;
34543 PyObject
* obj1
= 0 ;
34544 char * kwnames
[] = {
34545 (char *) "self",(char *) "item", NULL
34548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34549 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34550 if (!SWIG_IsOK(res1
)) {
34551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34553 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34554 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34555 if (!SWIG_IsOK(res2
)) {
34556 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34559 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34561 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34564 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
34565 wxPyEndAllowThreads(__tstate
);
34566 if (PyErr_Occurred()) SWIG_fail
;
34568 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
34575 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34576 PyObject
*resultobj
= 0;
34577 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34578 wxTreeItemId
*arg2
= 0 ;
34579 wxString
*arg3
= 0 ;
34584 bool temp3
= false ;
34585 PyObject
* obj0
= 0 ;
34586 PyObject
* obj1
= 0 ;
34587 PyObject
* obj2
= 0 ;
34588 char * kwnames
[] = {
34589 (char *) "self",(char *) "item",(char *) "text", NULL
34592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34594 if (!SWIG_IsOK(res1
)) {
34595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34597 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34598 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34599 if (!SWIG_IsOK(res2
)) {
34600 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34603 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34605 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34607 arg3
= wxString_in_helper(obj2
);
34608 if (arg3
== NULL
) SWIG_fail
;
34612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34613 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
34614 wxPyEndAllowThreads(__tstate
);
34615 if (PyErr_Occurred()) SWIG_fail
;
34617 resultobj
= SWIG_Py_Void();
34632 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34633 PyObject
*resultobj
= 0;
34634 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34635 wxTreeItemId
*arg2
= 0 ;
34637 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34646 PyObject
* obj0
= 0 ;
34647 PyObject
* obj1
= 0 ;
34648 PyObject
* obj2
= 0 ;
34649 PyObject
* obj3
= 0 ;
34650 char * kwnames
[] = {
34651 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
34654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34656 if (!SWIG_IsOK(res1
)) {
34657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34659 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34660 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34661 if (!SWIG_IsOK(res2
)) {
34662 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34665 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34667 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34668 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34669 if (!SWIG_IsOK(ecode3
)) {
34670 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
34672 arg3
= static_cast< int >(val3
);
34674 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34675 if (!SWIG_IsOK(ecode4
)) {
34676 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
34678 arg4
= static_cast< wxTreeItemIcon
>(val4
);
34681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34682 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,arg4
);
34683 wxPyEndAllowThreads(__tstate
);
34684 if (PyErr_Occurred()) SWIG_fail
;
34686 resultobj
= SWIG_Py_Void();
34693 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34694 PyObject
*resultobj
= 0;
34695 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34696 wxTreeItemId
*arg2
= 0 ;
34697 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
34703 PyObject
* obj0
= 0 ;
34704 PyObject
* obj1
= 0 ;
34705 PyObject
* obj2
= 0 ;
34706 char * kwnames
[] = {
34707 (char *) "self",(char *) "item",(char *) "data", NULL
34710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34712 if (!SWIG_IsOK(res1
)) {
34713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34715 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34716 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34717 if (!SWIG_IsOK(res2
)) {
34718 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34721 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34723 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34724 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
34725 if (!SWIG_IsOK(res3
)) {
34726 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
34729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34730 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34731 wxPyEndAllowThreads(__tstate
);
34732 if (PyErr_Occurred()) SWIG_fail
;
34734 resultobj
= SWIG_Py_Void();
34741 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34742 PyObject
*resultobj
= 0;
34743 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34744 wxTreeItemId
*arg2
= 0 ;
34745 PyObject
*arg3
= (PyObject
*) 0 ;
34750 PyObject
* obj0
= 0 ;
34751 PyObject
* obj1
= 0 ;
34752 PyObject
* obj2
= 0 ;
34753 char * kwnames
[] = {
34754 (char *) "self",(char *) "item",(char *) "obj", NULL
34757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) 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_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
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_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34768 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34770 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34774 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34775 wxPyEndAllowThreads(__tstate
);
34776 if (PyErr_Occurred()) SWIG_fail
;
34778 resultobj
= SWIG_Py_Void();
34785 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34786 PyObject
*resultobj
= 0;
34787 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34788 wxTreeItemId
*arg2
= 0 ;
34789 bool arg3
= (bool) true ;
34796 PyObject
* obj0
= 0 ;
34797 PyObject
* obj1
= 0 ;
34798 PyObject
* obj2
= 0 ;
34799 char * kwnames
[] = {
34800 (char *) "self",(char *) "item",(char *) "has", NULL
34803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34805 if (!SWIG_IsOK(res1
)) {
34806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34808 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34809 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34810 if (!SWIG_IsOK(res2
)) {
34811 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34814 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34816 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34818 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34819 if (!SWIG_IsOK(ecode3
)) {
34820 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
34822 arg3
= static_cast< bool >(val3
);
34825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34826 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
34827 wxPyEndAllowThreads(__tstate
);
34828 if (PyErr_Occurred()) SWIG_fail
;
34830 resultobj
= SWIG_Py_Void();
34837 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34838 PyObject
*resultobj
= 0;
34839 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34840 wxTreeItemId
*arg2
= 0 ;
34841 bool arg3
= (bool) true ;
34848 PyObject
* obj0
= 0 ;
34849 PyObject
* obj1
= 0 ;
34850 PyObject
* obj2
= 0 ;
34851 char * kwnames
[] = {
34852 (char *) "self",(char *) "item",(char *) "bold", NULL
34855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34857 if (!SWIG_IsOK(res1
)) {
34858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34860 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34861 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34862 if (!SWIG_IsOK(res2
)) {
34863 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34866 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34868 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34870 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34871 if (!SWIG_IsOK(ecode3
)) {
34872 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
34874 arg3
= static_cast< bool >(val3
);
34877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34878 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
34879 wxPyEndAllowThreads(__tstate
);
34880 if (PyErr_Occurred()) SWIG_fail
;
34882 resultobj
= SWIG_Py_Void();
34889 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34890 PyObject
*resultobj
= 0;
34891 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34892 wxTreeItemId
*arg2
= 0 ;
34893 bool arg3
= (bool) true ;
34900 PyObject
* obj0
= 0 ;
34901 PyObject
* obj1
= 0 ;
34902 PyObject
* obj2
= 0 ;
34903 char * kwnames
[] = {
34904 (char *) "self",(char *) "item",(char *) "highlight", NULL
34907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34909 if (!SWIG_IsOK(res1
)) {
34910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34912 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34913 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34914 if (!SWIG_IsOK(res2
)) {
34915 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34918 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34920 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34922 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34923 if (!SWIG_IsOK(ecode3
)) {
34924 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
34926 arg3
= static_cast< bool >(val3
);
34929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34930 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
34931 wxPyEndAllowThreads(__tstate
);
34932 if (PyErr_Occurred()) SWIG_fail
;
34934 resultobj
= SWIG_Py_Void();
34941 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34942 PyObject
*resultobj
= 0;
34943 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34944 wxTreeItemId
*arg2
= 0 ;
34945 wxColour
*arg3
= 0 ;
34951 PyObject
* obj0
= 0 ;
34952 PyObject
* obj1
= 0 ;
34953 PyObject
* obj2
= 0 ;
34954 char * kwnames
[] = {
34955 (char *) "self",(char *) "item",(char *) "col", NULL
34958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34960 if (!SWIG_IsOK(res1
)) {
34961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34963 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34964 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34965 if (!SWIG_IsOK(res2
)) {
34966 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34969 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34971 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34974 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
34977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34978 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
34979 wxPyEndAllowThreads(__tstate
);
34980 if (PyErr_Occurred()) SWIG_fail
;
34982 resultobj
= SWIG_Py_Void();
34989 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34990 PyObject
*resultobj
= 0;
34991 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34992 wxTreeItemId
*arg2
= 0 ;
34993 wxColour
*arg3
= 0 ;
34999 PyObject
* obj0
= 0 ;
35000 PyObject
* obj1
= 0 ;
35001 PyObject
* obj2
= 0 ;
35002 char * kwnames
[] = {
35003 (char *) "self",(char *) "item",(char *) "col", NULL
35006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35008 if (!SWIG_IsOK(res1
)) {
35009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35011 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35012 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35013 if (!SWIG_IsOK(res2
)) {
35014 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35017 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35019 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35022 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35026 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
35027 wxPyEndAllowThreads(__tstate
);
35028 if (PyErr_Occurred()) SWIG_fail
;
35030 resultobj
= SWIG_Py_Void();
35037 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35038 PyObject
*resultobj
= 0;
35039 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35040 wxTreeItemId
*arg2
= 0 ;
35048 PyObject
* obj0
= 0 ;
35049 PyObject
* obj1
= 0 ;
35050 PyObject
* obj2
= 0 ;
35051 char * kwnames
[] = {
35052 (char *) "self",(char *) "item",(char *) "font", NULL
35055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35057 if (!SWIG_IsOK(res1
)) {
35058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35060 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35061 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35062 if (!SWIG_IsOK(res2
)) {
35063 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35066 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35068 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35069 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
35070 if (!SWIG_IsOK(res3
)) {
35071 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35074 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35076 arg3
= reinterpret_cast< wxFont
* >(argp3
);
35078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35079 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
35080 wxPyEndAllowThreads(__tstate
);
35081 if (PyErr_Occurred()) SWIG_fail
;
35083 resultobj
= SWIG_Py_Void();
35090 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35091 PyObject
*resultobj
= 0;
35092 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35093 wxTreeItemId
*arg2
= 0 ;
35099 PyObject
* obj0
= 0 ;
35100 PyObject
* obj1
= 0 ;
35101 char * kwnames
[] = {
35102 (char *) "self",(char *) "item", NULL
35105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35107 if (!SWIG_IsOK(res1
)) {
35108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35110 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35111 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35112 if (!SWIG_IsOK(res2
)) {
35113 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35116 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35118 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35121 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
35122 wxPyEndAllowThreads(__tstate
);
35123 if (PyErr_Occurred()) SWIG_fail
;
35126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35134 SWIGINTERN PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35135 PyObject
*resultobj
= 0;
35136 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35137 wxTreeItemId
*arg2
= 0 ;
35143 PyObject
* obj0
= 0 ;
35144 PyObject
* obj1
= 0 ;
35145 char * kwnames
[] = {
35146 (char *) "self",(char *) "item", NULL
35149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35151 if (!SWIG_IsOK(res1
)) {
35152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35154 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35155 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35156 if (!SWIG_IsOK(res2
)) {
35157 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35160 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35162 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35165 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
35166 wxPyEndAllowThreads(__tstate
);
35167 if (PyErr_Occurred()) SWIG_fail
;
35170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35178 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35179 PyObject
*resultobj
= 0;
35180 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35181 wxTreeItemId
*arg2
= 0 ;
35187 PyObject
* obj0
= 0 ;
35188 PyObject
* obj1
= 0 ;
35189 char * kwnames
[] = {
35190 (char *) "self",(char *) "item", NULL
35193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35195 if (!SWIG_IsOK(res1
)) {
35196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35198 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35199 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35200 if (!SWIG_IsOK(res2
)) {
35201 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35204 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35206 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35209 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
35210 wxPyEndAllowThreads(__tstate
);
35211 if (PyErr_Occurred()) SWIG_fail
;
35214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35222 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35223 PyObject
*resultobj
= 0;
35224 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35225 wxTreeItemId
*arg2
= 0 ;
35231 PyObject
* obj0
= 0 ;
35232 PyObject
* obj1
= 0 ;
35233 char * kwnames
[] = {
35234 (char *) "self",(char *) "item", NULL
35237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35239 if (!SWIG_IsOK(res1
)) {
35240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35242 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35243 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35244 if (!SWIG_IsOK(res2
)) {
35245 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35248 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35250 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35253 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
35254 wxPyEndAllowThreads(__tstate
);
35255 if (PyErr_Occurred()) SWIG_fail
;
35258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35266 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35267 PyObject
*resultobj
= 0;
35268 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35269 wxTreeItemId
*arg2
= 0 ;
35275 PyObject
* obj0
= 0 ;
35276 PyObject
* obj1
= 0 ;
35277 char * kwnames
[] = {
35278 (char *) "self",(char *) "item", NULL
35281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) 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_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
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_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35292 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35294 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35297 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
35298 wxPyEndAllowThreads(__tstate
);
35299 if (PyErr_Occurred()) SWIG_fail
;
35302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35310 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35311 PyObject
*resultobj
= 0;
35312 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35313 wxTreeItemId
*arg2
= 0 ;
35314 bool arg3
= (bool) true ;
35322 PyObject
* obj0
= 0 ;
35323 PyObject
* obj1
= 0 ;
35324 PyObject
* obj2
= 0 ;
35325 char * kwnames
[] = {
35326 (char *) "self",(char *) "item",(char *) "recursively", NULL
35329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35331 if (!SWIG_IsOK(res1
)) {
35332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35334 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35335 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35336 if (!SWIG_IsOK(res2
)) {
35337 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35340 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35342 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35344 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35345 if (!SWIG_IsOK(ecode3
)) {
35346 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
35348 arg3
= static_cast< bool >(val3
);
35351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35352 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
35353 wxPyEndAllowThreads(__tstate
);
35354 if (PyErr_Occurred()) SWIG_fail
;
35356 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
35363 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35364 PyObject
*resultobj
= 0;
35365 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35366 wxTreeItemId result
;
35369 PyObject
*swig_obj
[1] ;
35371 if (!args
) SWIG_fail
;
35372 swig_obj
[0] = args
;
35373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35374 if (!SWIG_IsOK(res1
)) {
35375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35377 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35380 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
35381 wxPyEndAllowThreads(__tstate
);
35382 if (PyErr_Occurred()) SWIG_fail
;
35384 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35391 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35392 PyObject
*resultobj
= 0;
35393 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35394 wxTreeItemId result
;
35397 PyObject
*swig_obj
[1] ;
35399 if (!args
) SWIG_fail
;
35400 swig_obj
[0] = args
;
35401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35402 if (!SWIG_IsOK(res1
)) {
35403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35405 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35408 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
35409 wxPyEndAllowThreads(__tstate
);
35410 if (PyErr_Occurred()) SWIG_fail
;
35412 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35419 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35420 PyObject
*resultobj
= 0;
35421 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35422 PyObject
*result
= 0 ;
35425 PyObject
*swig_obj
[1] ;
35427 if (!args
) SWIG_fail
;
35428 swig_obj
[0] = args
;
35429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35430 if (!SWIG_IsOK(res1
)) {
35431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35433 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35436 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
35437 wxPyEndAllowThreads(__tstate
);
35438 if (PyErr_Occurred()) SWIG_fail
;
35440 resultobj
= result
;
35447 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35448 PyObject
*resultobj
= 0;
35449 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35450 wxTreeItemId
*arg2
= 0 ;
35451 wxTreeItemId result
;
35456 PyObject
* obj0
= 0 ;
35457 PyObject
* obj1
= 0 ;
35458 char * kwnames
[] = {
35459 (char *) "self",(char *) "item", NULL
35462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35464 if (!SWIG_IsOK(res1
)) {
35465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35467 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35468 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35469 if (!SWIG_IsOK(res2
)) {
35470 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35473 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35475 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35478 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
35479 wxPyEndAllowThreads(__tstate
);
35480 if (PyErr_Occurred()) SWIG_fail
;
35482 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35489 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35490 PyObject
*resultobj
= 0;
35491 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35492 wxTreeItemId
*arg2
= 0 ;
35493 PyObject
*result
= 0 ;
35498 PyObject
* obj0
= 0 ;
35499 PyObject
* obj1
= 0 ;
35500 char * kwnames
[] = {
35501 (char *) "self",(char *) "item", NULL
35504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35506 if (!SWIG_IsOK(res1
)) {
35507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35509 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35510 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35511 if (!SWIG_IsOK(res2
)) {
35512 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35515 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35517 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35520 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
35521 wxPyEndAllowThreads(__tstate
);
35522 if (PyErr_Occurred()) SWIG_fail
;
35524 resultobj
= result
;
35531 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35532 PyObject
*resultobj
= 0;
35533 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35534 wxTreeItemId
*arg2
= 0 ;
35535 void *arg3
= (void *) 0 ;
35536 PyObject
*result
= 0 ;
35542 PyObject
* obj0
= 0 ;
35543 PyObject
* obj1
= 0 ;
35544 PyObject
* obj2
= 0 ;
35545 char * kwnames
[] = {
35546 (char *) "self",(char *) "item",(char *) "cookie", NULL
35549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35551 if (!SWIG_IsOK(res1
)) {
35552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35554 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35555 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35556 if (!SWIG_IsOK(res2
)) {
35557 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35560 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35562 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35563 res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
), 0, 0);
35564 if (!SWIG_IsOK(res3
)) {
35565 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
35568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35569 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35570 wxPyEndAllowThreads(__tstate
);
35571 if (PyErr_Occurred()) SWIG_fail
;
35573 resultobj
= result
;
35580 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35581 PyObject
*resultobj
= 0;
35582 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35583 wxTreeItemId
*arg2
= 0 ;
35584 wxTreeItemId result
;
35589 PyObject
* obj0
= 0 ;
35590 PyObject
* obj1
= 0 ;
35591 char * kwnames
[] = {
35592 (char *) "self",(char *) "item", NULL
35595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35597 if (!SWIG_IsOK(res1
)) {
35598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35600 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35601 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35602 if (!SWIG_IsOK(res2
)) {
35603 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35606 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35608 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35611 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
35612 wxPyEndAllowThreads(__tstate
);
35613 if (PyErr_Occurred()) SWIG_fail
;
35615 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35622 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35623 PyObject
*resultobj
= 0;
35624 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35625 wxTreeItemId
*arg2
= 0 ;
35626 wxTreeItemId result
;
35631 PyObject
* obj0
= 0 ;
35632 PyObject
* obj1
= 0 ;
35633 char * kwnames
[] = {
35634 (char *) "self",(char *) "item", NULL
35637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35639 if (!SWIG_IsOK(res1
)) {
35640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35642 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35643 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35644 if (!SWIG_IsOK(res2
)) {
35645 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35648 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35650 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35653 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
35654 wxPyEndAllowThreads(__tstate
);
35655 if (PyErr_Occurred()) SWIG_fail
;
35657 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35664 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35665 PyObject
*resultobj
= 0;
35666 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35667 wxTreeItemId
*arg2
= 0 ;
35668 wxTreeItemId result
;
35673 PyObject
* obj0
= 0 ;
35674 PyObject
* obj1
= 0 ;
35675 char * kwnames
[] = {
35676 (char *) "self",(char *) "item", NULL
35679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35681 if (!SWIG_IsOK(res1
)) {
35682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35684 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35685 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35686 if (!SWIG_IsOK(res2
)) {
35687 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35690 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35692 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35695 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
35696 wxPyEndAllowThreads(__tstate
);
35697 if (PyErr_Occurred()) SWIG_fail
;
35699 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35706 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35707 PyObject
*resultobj
= 0;
35708 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35709 wxTreeItemId result
;
35712 PyObject
*swig_obj
[1] ;
35714 if (!args
) SWIG_fail
;
35715 swig_obj
[0] = args
;
35716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35717 if (!SWIG_IsOK(res1
)) {
35718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35720 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35723 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
35724 wxPyEndAllowThreads(__tstate
);
35725 if (PyErr_Occurred()) SWIG_fail
;
35727 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35734 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35735 PyObject
*resultobj
= 0;
35736 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35737 wxTreeItemId
*arg2
= 0 ;
35738 wxTreeItemId result
;
35743 PyObject
* obj0
= 0 ;
35744 PyObject
* obj1
= 0 ;
35745 char * kwnames
[] = {
35746 (char *) "self",(char *) "item", NULL
35749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35751 if (!SWIG_IsOK(res1
)) {
35752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35754 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35755 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35756 if (!SWIG_IsOK(res2
)) {
35757 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35760 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35762 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35765 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
35766 wxPyEndAllowThreads(__tstate
);
35767 if (PyErr_Occurred()) SWIG_fail
;
35769 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35776 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35777 PyObject
*resultobj
= 0;
35778 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35779 wxTreeItemId
*arg2
= 0 ;
35780 wxTreeItemId result
;
35785 PyObject
* obj0
= 0 ;
35786 PyObject
* obj1
= 0 ;
35787 char * kwnames
[] = {
35788 (char *) "self",(char *) "item", NULL
35791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35793 if (!SWIG_IsOK(res1
)) {
35794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35796 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35797 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35798 if (!SWIG_IsOK(res2
)) {
35799 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35802 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35804 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35807 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
35808 wxPyEndAllowThreads(__tstate
);
35809 if (PyErr_Occurred()) SWIG_fail
;
35811 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35818 SWIGINTERN PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35819 PyObject
*resultobj
= 0;
35820 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35821 wxString
*arg2
= 0 ;
35822 int arg3
= (int) -1 ;
35823 int arg4
= (int) -1 ;
35824 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
35825 wxTreeItemId result
;
35828 bool temp2
= false ;
35834 PyObject
* obj0
= 0 ;
35835 PyObject
* obj1
= 0 ;
35836 PyObject
* obj2
= 0 ;
35837 PyObject
* obj3
= 0 ;
35838 PyObject
* obj4
= 0 ;
35839 char * kwnames
[] = {
35840 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35845 if (!SWIG_IsOK(res1
)) {
35846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35848 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35850 arg2
= wxString_in_helper(obj1
);
35851 if (arg2
== NULL
) SWIG_fail
;
35855 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35856 if (!SWIG_IsOK(ecode3
)) {
35857 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
35859 arg3
= static_cast< int >(val3
);
35862 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35863 if (!SWIG_IsOK(ecode4
)) {
35864 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
35866 arg4
= static_cast< int >(val4
);
35869 res5
= SWIG_ConvertPtr(obj4
, SWIG_as_voidptrptr(&arg5
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35870 if (!SWIG_IsOK(res5
)) {
35871 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
35875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35876 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
35877 wxPyEndAllowThreads(__tstate
);
35878 if (PyErr_Occurred()) SWIG_fail
;
35880 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35895 SWIGINTERN PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35896 PyObject
*resultobj
= 0;
35897 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35898 wxTreeItemId
*arg2
= 0 ;
35899 wxString
*arg3
= 0 ;
35900 int arg4
= (int) -1 ;
35901 int arg5
= (int) -1 ;
35902 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
35903 wxTreeItemId result
;
35908 bool temp3
= false ;
35914 PyObject
* obj0
= 0 ;
35915 PyObject
* obj1
= 0 ;
35916 PyObject
* obj2
= 0 ;
35917 PyObject
* obj3
= 0 ;
35918 PyObject
* obj4
= 0 ;
35919 PyObject
* obj5
= 0 ;
35920 char * kwnames
[] = {
35921 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
35925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35926 if (!SWIG_IsOK(res1
)) {
35927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35929 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35930 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35931 if (!SWIG_IsOK(res2
)) {
35932 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35935 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35937 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35939 arg3
= wxString_in_helper(obj2
);
35940 if (arg3
== NULL
) SWIG_fail
;
35944 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35945 if (!SWIG_IsOK(ecode4
)) {
35946 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
35948 arg4
= static_cast< int >(val4
);
35951 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35952 if (!SWIG_IsOK(ecode5
)) {
35953 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
35955 arg5
= static_cast< int >(val5
);
35958 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35959 if (!SWIG_IsOK(res6
)) {
35960 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
35964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35965 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
35966 wxPyEndAllowThreads(__tstate
);
35967 if (PyErr_Occurred()) SWIG_fail
;
35969 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35984 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35985 PyObject
*resultobj
= 0;
35986 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35987 wxTreeItemId
*arg2
= 0 ;
35988 wxTreeItemId
*arg3
= 0 ;
35989 wxString
*arg4
= 0 ;
35990 int arg5
= (int) -1 ;
35991 int arg6
= (int) -1 ;
35992 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
35993 wxTreeItemId result
;
36000 bool temp4
= false ;
36006 PyObject
* obj0
= 0 ;
36007 PyObject
* obj1
= 0 ;
36008 PyObject
* obj2
= 0 ;
36009 PyObject
* obj3
= 0 ;
36010 PyObject
* obj4
= 0 ;
36011 PyObject
* obj5
= 0 ;
36012 PyObject
* obj6
= 0 ;
36013 char * kwnames
[] = {
36014 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36019 if (!SWIG_IsOK(res1
)) {
36020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36022 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36023 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36024 if (!SWIG_IsOK(res2
)) {
36025 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36028 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36030 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36031 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36032 if (!SWIG_IsOK(res3
)) {
36033 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36036 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36038 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
36040 arg4
= wxString_in_helper(obj3
);
36041 if (arg4
== NULL
) SWIG_fail
;
36045 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36046 if (!SWIG_IsOK(ecode5
)) {
36047 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
36049 arg5
= static_cast< int >(val5
);
36052 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36053 if (!SWIG_IsOK(ecode6
)) {
36054 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
36056 arg6
= static_cast< int >(val6
);
36059 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36060 if (!SWIG_IsOK(res7
)) {
36061 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36066 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36067 wxPyEndAllowThreads(__tstate
);
36068 if (PyErr_Occurred()) SWIG_fail
;
36070 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36085 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36086 PyObject
*resultobj
= 0;
36087 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36088 wxTreeItemId
*arg2
= 0 ;
36090 wxString
*arg4
= 0 ;
36091 int arg5
= (int) -1 ;
36092 int arg6
= (int) -1 ;
36093 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
36094 wxTreeItemId result
;
36101 bool temp4
= false ;
36107 PyObject
* obj0
= 0 ;
36108 PyObject
* obj1
= 0 ;
36109 PyObject
* obj2
= 0 ;
36110 PyObject
* obj3
= 0 ;
36111 PyObject
* obj4
= 0 ;
36112 PyObject
* obj5
= 0 ;
36113 PyObject
* obj6
= 0 ;
36114 char * kwnames
[] = {
36115 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36120 if (!SWIG_IsOK(res1
)) {
36121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36123 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36124 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36125 if (!SWIG_IsOK(res2
)) {
36126 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36129 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36131 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36132 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
36133 if (!SWIG_IsOK(ecode3
)) {
36134 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
36136 arg3
= static_cast< size_t >(val3
);
36138 arg4
= wxString_in_helper(obj3
);
36139 if (arg4
== NULL
) SWIG_fail
;
36143 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36144 if (!SWIG_IsOK(ecode5
)) {
36145 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
36147 arg5
= static_cast< int >(val5
);
36150 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36151 if (!SWIG_IsOK(ecode6
)) {
36152 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
36154 arg6
= static_cast< int >(val6
);
36157 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36158 if (!SWIG_IsOK(res7
)) {
36159 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36164 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36165 wxPyEndAllowThreads(__tstate
);
36166 if (PyErr_Occurred()) SWIG_fail
;
36168 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36183 SWIGINTERN PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36184 PyObject
*resultobj
= 0;
36185 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36186 wxTreeItemId
*arg2
= 0 ;
36187 wxString
*arg3
= 0 ;
36188 int arg4
= (int) -1 ;
36189 int arg5
= (int) -1 ;
36190 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
36191 wxTreeItemId result
;
36196 bool temp3
= false ;
36202 PyObject
* obj0
= 0 ;
36203 PyObject
* obj1
= 0 ;
36204 PyObject
* obj2
= 0 ;
36205 PyObject
* obj3
= 0 ;
36206 PyObject
* obj4
= 0 ;
36207 PyObject
* obj5
= 0 ;
36208 char * kwnames
[] = {
36209 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36214 if (!SWIG_IsOK(res1
)) {
36215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36217 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36218 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36219 if (!SWIG_IsOK(res2
)) {
36220 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36223 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36225 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36227 arg3
= wxString_in_helper(obj2
);
36228 if (arg3
== NULL
) SWIG_fail
;
36232 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36233 if (!SWIG_IsOK(ecode4
)) {
36234 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
36236 arg4
= static_cast< int >(val4
);
36239 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36240 if (!SWIG_IsOK(ecode5
)) {
36241 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
36243 arg5
= static_cast< int >(val5
);
36246 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36247 if (!SWIG_IsOK(res6
)) {
36248 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36253 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
36254 wxPyEndAllowThreads(__tstate
);
36255 if (PyErr_Occurred()) SWIG_fail
;
36257 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36272 SWIGINTERN PyObject
*_wrap_TreeCtrl_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36273 PyObject
*resultobj
= 0;
36274 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36275 wxTreeItemId
*arg2
= 0 ;
36280 PyObject
* obj0
= 0 ;
36281 PyObject
* obj1
= 0 ;
36282 char * kwnames
[] = {
36283 (char *) "self",(char *) "item", NULL
36286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36288 if (!SWIG_IsOK(res1
)) {
36289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36291 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36292 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36293 if (!SWIG_IsOK(res2
)) {
36294 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36297 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36299 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36302 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
36303 wxPyEndAllowThreads(__tstate
);
36304 if (PyErr_Occurred()) SWIG_fail
;
36306 resultobj
= SWIG_Py_Void();
36313 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36314 PyObject
*resultobj
= 0;
36315 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36316 wxTreeItemId
*arg2
= 0 ;
36321 PyObject
* obj0
= 0 ;
36322 PyObject
* obj1
= 0 ;
36323 char * kwnames
[] = {
36324 (char *) "self",(char *) "item", NULL
36327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36329 if (!SWIG_IsOK(res1
)) {
36330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36332 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36333 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36334 if (!SWIG_IsOK(res2
)) {
36335 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36338 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36340 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36343 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
36344 wxPyEndAllowThreads(__tstate
);
36345 if (PyErr_Occurred()) SWIG_fail
;
36347 resultobj
= SWIG_Py_Void();
36354 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36355 PyObject
*resultobj
= 0;
36356 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36359 PyObject
*swig_obj
[1] ;
36361 if (!args
) SWIG_fail
;
36362 swig_obj
[0] = args
;
36363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36364 if (!SWIG_IsOK(res1
)) {
36365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36367 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36370 (arg1
)->DeleteAllItems();
36371 wxPyEndAllowThreads(__tstate
);
36372 if (PyErr_Occurred()) SWIG_fail
;
36374 resultobj
= SWIG_Py_Void();
36381 SWIGINTERN PyObject
*_wrap_TreeCtrl_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36382 PyObject
*resultobj
= 0;
36383 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36384 wxTreeItemId
*arg2
= 0 ;
36389 PyObject
* obj0
= 0 ;
36390 PyObject
* obj1
= 0 ;
36391 char * kwnames
[] = {
36392 (char *) "self",(char *) "item", NULL
36395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36397 if (!SWIG_IsOK(res1
)) {
36398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36400 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36401 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36402 if (!SWIG_IsOK(res2
)) {
36403 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36406 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36408 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36411 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
36412 wxPyEndAllowThreads(__tstate
);
36413 if (PyErr_Occurred()) SWIG_fail
;
36415 resultobj
= SWIG_Py_Void();
36422 SWIGINTERN PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36423 PyObject
*resultobj
= 0;
36424 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36425 wxTreeItemId
*arg2
= 0 ;
36430 PyObject
* obj0
= 0 ;
36431 PyObject
* obj1
= 0 ;
36432 char * kwnames
[] = {
36433 (char *) "self",(char *) "item", NULL
36436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36438 if (!SWIG_IsOK(res1
)) {
36439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36441 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36442 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36443 if (!SWIG_IsOK(res2
)) {
36444 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36447 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36449 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36452 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
36453 wxPyEndAllowThreads(__tstate
);
36454 if (PyErr_Occurred()) SWIG_fail
;
36456 resultobj
= SWIG_Py_Void();
36463 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36464 PyObject
*resultobj
= 0;
36465 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36466 wxTreeItemId
*arg2
= 0 ;
36471 PyObject
* obj0
= 0 ;
36472 PyObject
* obj1
= 0 ;
36473 char * kwnames
[] = {
36474 (char *) "self",(char *) "item", NULL
36477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36479 if (!SWIG_IsOK(res1
)) {
36480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36482 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36483 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36484 if (!SWIG_IsOK(res2
)) {
36485 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36488 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36490 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36493 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
36494 wxPyEndAllowThreads(__tstate
);
36495 if (PyErr_Occurred()) SWIG_fail
;
36497 resultobj
= SWIG_Py_Void();
36504 SWIGINTERN PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36505 PyObject
*resultobj
= 0;
36506 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36507 wxTreeItemId
*arg2
= 0 ;
36512 PyObject
* obj0
= 0 ;
36513 PyObject
* obj1
= 0 ;
36514 char * kwnames
[] = {
36515 (char *) "self",(char *) "item", NULL
36518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36520 if (!SWIG_IsOK(res1
)) {
36521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36523 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36524 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36525 if (!SWIG_IsOK(res2
)) {
36526 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36529 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36531 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36534 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
36535 wxPyEndAllowThreads(__tstate
);
36536 if (PyErr_Occurred()) SWIG_fail
;
36538 resultobj
= SWIG_Py_Void();
36545 SWIGINTERN PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36546 PyObject
*resultobj
= 0;
36547 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36550 PyObject
*swig_obj
[1] ;
36552 if (!args
) SWIG_fail
;
36553 swig_obj
[0] = args
;
36554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36555 if (!SWIG_IsOK(res1
)) {
36556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36558 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36561 (arg1
)->Unselect();
36562 wxPyEndAllowThreads(__tstate
);
36563 if (PyErr_Occurred()) SWIG_fail
;
36565 resultobj
= SWIG_Py_Void();
36572 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36573 PyObject
*resultobj
= 0;
36574 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36575 wxTreeItemId
*arg2
= 0 ;
36580 PyObject
* obj0
= 0 ;
36581 PyObject
* obj1
= 0 ;
36582 char * kwnames
[] = {
36583 (char *) "self",(char *) "item", NULL
36586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36588 if (!SWIG_IsOK(res1
)) {
36589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36591 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36592 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36593 if (!SWIG_IsOK(res2
)) {
36594 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36597 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36599 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36602 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
36603 wxPyEndAllowThreads(__tstate
);
36604 if (PyErr_Occurred()) SWIG_fail
;
36606 resultobj
= SWIG_Py_Void();
36613 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36614 PyObject
*resultobj
= 0;
36615 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36618 PyObject
*swig_obj
[1] ;
36620 if (!args
) SWIG_fail
;
36621 swig_obj
[0] = args
;
36622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36623 if (!SWIG_IsOK(res1
)) {
36624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36626 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36629 (arg1
)->UnselectAll();
36630 wxPyEndAllowThreads(__tstate
);
36631 if (PyErr_Occurred()) SWIG_fail
;
36633 resultobj
= SWIG_Py_Void();
36640 SWIGINTERN PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36641 PyObject
*resultobj
= 0;
36642 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36643 wxTreeItemId
*arg2
= 0 ;
36644 bool arg3
= (bool) true ;
36651 PyObject
* obj0
= 0 ;
36652 PyObject
* obj1
= 0 ;
36653 PyObject
* obj2
= 0 ;
36654 char * kwnames
[] = {
36655 (char *) "self",(char *) "item",(char *) "select", NULL
36658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36660 if (!SWIG_IsOK(res1
)) {
36661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36663 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36664 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36665 if (!SWIG_IsOK(res2
)) {
36666 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36669 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36671 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36673 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36674 if (!SWIG_IsOK(ecode3
)) {
36675 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
36677 arg3
= static_cast< bool >(val3
);
36680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36681 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
36682 wxPyEndAllowThreads(__tstate
);
36683 if (PyErr_Occurred()) SWIG_fail
;
36685 resultobj
= SWIG_Py_Void();
36692 SWIGINTERN PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36693 PyObject
*resultobj
= 0;
36694 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36695 wxTreeItemId
*arg2
= 0 ;
36700 PyObject
* obj0
= 0 ;
36701 PyObject
* obj1
= 0 ;
36702 char * kwnames
[] = {
36703 (char *) "self",(char *) "item", NULL
36706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36708 if (!SWIG_IsOK(res1
)) {
36709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36711 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36712 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36713 if (!SWIG_IsOK(res2
)) {
36714 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36717 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36719 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36722 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
36723 wxPyEndAllowThreads(__tstate
);
36724 if (PyErr_Occurred()) SWIG_fail
;
36726 resultobj
= SWIG_Py_Void();
36733 SWIGINTERN PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36734 PyObject
*resultobj
= 0;
36735 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36736 wxTreeItemId
*arg2
= 0 ;
36741 PyObject
* obj0
= 0 ;
36742 PyObject
* obj1
= 0 ;
36743 char * kwnames
[] = {
36744 (char *) "self",(char *) "item", NULL
36747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36749 if (!SWIG_IsOK(res1
)) {
36750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36752 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36753 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36754 if (!SWIG_IsOK(res2
)) {
36755 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36758 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36760 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36763 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
36764 wxPyEndAllowThreads(__tstate
);
36765 if (PyErr_Occurred()) SWIG_fail
;
36767 resultobj
= SWIG_Py_Void();
36774 SWIGINTERN PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36775 PyObject
*resultobj
= 0;
36776 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36777 wxTreeItemId
*arg2
= 0 ;
36782 PyObject
* obj0
= 0 ;
36783 PyObject
* obj1
= 0 ;
36784 char * kwnames
[] = {
36785 (char *) "self",(char *) "item", NULL
36788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36790 if (!SWIG_IsOK(res1
)) {
36791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36793 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36794 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36795 if (!SWIG_IsOK(res2
)) {
36796 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36799 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36801 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36804 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
36805 wxPyEndAllowThreads(__tstate
);
36806 if (PyErr_Occurred()) SWIG_fail
;
36808 resultobj
= SWIG_Py_Void();
36815 SWIGINTERN PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36816 PyObject
*resultobj
= 0;
36817 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36818 wxTreeItemId
*arg2
= 0 ;
36823 PyObject
* obj0
= 0 ;
36824 PyObject
* obj1
= 0 ;
36825 char * kwnames
[] = {
36826 (char *) "self",(char *) "item", NULL
36829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36831 if (!SWIG_IsOK(res1
)) {
36832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36834 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36835 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36836 if (!SWIG_IsOK(res2
)) {
36837 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36840 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36842 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36845 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
36846 wxPyEndAllowThreads(__tstate
);
36847 if (PyErr_Occurred()) SWIG_fail
;
36849 resultobj
= SWIG_Py_Void();
36856 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36857 PyObject
*resultobj
= 0;
36858 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36859 wxTextCtrl
*result
= 0 ;
36862 PyObject
*swig_obj
[1] ;
36864 if (!args
) SWIG_fail
;
36865 swig_obj
[0] = args
;
36866 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36867 if (!SWIG_IsOK(res1
)) {
36868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36870 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36873 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
36874 wxPyEndAllowThreads(__tstate
);
36875 if (PyErr_Occurred()) SWIG_fail
;
36878 resultobj
= wxPyMake_wxObject(result
, 0);
36886 SWIGINTERN PyObject
*_wrap_TreeCtrl_EndEditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36887 PyObject
*resultobj
= 0;
36888 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36889 wxTreeItemId
*arg2
= 0 ;
36890 bool arg3
= (bool) false ;
36897 PyObject
* obj0
= 0 ;
36898 PyObject
* obj1
= 0 ;
36899 PyObject
* obj2
= 0 ;
36900 char * kwnames
[] = {
36901 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
36904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36906 if (!SWIG_IsOK(res1
)) {
36907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36909 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36910 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36911 if (!SWIG_IsOK(res2
)) {
36912 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36915 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36917 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36919 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36920 if (!SWIG_IsOK(ecode3
)) {
36921 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "3"" of type '" "bool""'");
36923 arg3
= static_cast< bool >(val3
);
36926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36927 (arg1
)->EndEditLabel((wxTreeItemId
const &)*arg2
,arg3
);
36928 wxPyEndAllowThreads(__tstate
);
36929 if (PyErr_Occurred()) SWIG_fail
;
36931 resultobj
= SWIG_Py_Void();
36938 SWIGINTERN PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36939 PyObject
*resultobj
= 0;
36940 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36941 wxTreeItemId
*arg2
= 0 ;
36946 PyObject
* obj0
= 0 ;
36947 PyObject
* obj1
= 0 ;
36948 char * kwnames
[] = {
36949 (char *) "self",(char *) "item", NULL
36952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36954 if (!SWIG_IsOK(res1
)) {
36955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36957 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36958 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36959 if (!SWIG_IsOK(res2
)) {
36960 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36963 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36965 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36968 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
36969 wxPyEndAllowThreads(__tstate
);
36970 if (PyErr_Occurred()) SWIG_fail
;
36972 resultobj
= SWIG_Py_Void();
36979 SWIGINTERN PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36980 PyObject
*resultobj
= 0;
36981 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36982 wxPoint
*arg2
= 0 ;
36984 wxTreeItemId result
;
36989 int res3
= SWIG_TMPOBJ
;
36990 PyObject
* obj0
= 0 ;
36991 PyObject
* obj1
= 0 ;
36992 char * kwnames
[] = {
36993 (char *) "self",(char *) "point", NULL
36997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36999 if (!SWIG_IsOK(res1
)) {
37000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37002 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37005 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37009 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
37010 wxPyEndAllowThreads(__tstate
);
37011 if (PyErr_Occurred()) SWIG_fail
;
37013 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37014 if (SWIG_IsTmpObj(res3
)) {
37015 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
37017 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
37018 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
37026 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37027 PyObject
*resultobj
= 0;
37028 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37029 wxTreeItemId
*arg2
= 0 ;
37030 bool arg3
= (bool) false ;
37031 PyObject
*result
= 0 ;
37038 PyObject
* obj0
= 0 ;
37039 PyObject
* obj1
= 0 ;
37040 PyObject
* obj2
= 0 ;
37041 char * kwnames
[] = {
37042 (char *) "self",(char *) "item",(char *) "textOnly", NULL
37045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37047 if (!SWIG_IsOK(res1
)) {
37048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37050 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37051 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37052 if (!SWIG_IsOK(res2
)) {
37053 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37056 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37058 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37060 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37061 if (!SWIG_IsOK(ecode3
)) {
37062 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
37064 arg3
= static_cast< bool >(val3
);
37067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37068 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
37069 wxPyEndAllowThreads(__tstate
);
37070 if (PyErr_Occurred()) SWIG_fail
;
37072 resultobj
= result
;
37079 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37080 PyObject
*resultobj
= 0;
37081 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37082 wxTreeItemId
*arg2
= 0 ;
37090 PyObject
* obj0
= 0 ;
37091 PyObject
* obj1
= 0 ;
37092 PyObject
* obj2
= 0 ;
37093 char * kwnames
[] = {
37094 (char *) "self",(char *) "node",(char *) "state", NULL
37097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37099 if (!SWIG_IsOK(res1
)) {
37100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetState" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37102 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37103 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37104 if (!SWIG_IsOK(res2
)) {
37105 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37108 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37110 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37111 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37112 if (!SWIG_IsOK(ecode3
)) {
37113 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetState" "', expected argument " "3"" of type '" "int""'");
37115 arg3
= static_cast< int >(val3
);
37117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37118 (arg1
)->SetState((wxTreeItemId
const &)*arg2
,arg3
);
37119 wxPyEndAllowThreads(__tstate
);
37120 if (PyErr_Occurred()) SWIG_fail
;
37122 resultobj
= SWIG_Py_Void();
37129 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37130 PyObject
*resultobj
= 0;
37131 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37132 wxTreeItemId
*arg2
= 0 ;
37138 PyObject
* obj0
= 0 ;
37139 PyObject
* obj1
= 0 ;
37140 char * kwnames
[] = {
37141 (char *) "self",(char *) "node", NULL
37144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37146 if (!SWIG_IsOK(res1
)) {
37147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetState" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37149 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37150 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37151 if (!SWIG_IsOK(res2
)) {
37152 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37155 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37157 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37160 result
= (int)(arg1
)->GetState((wxTreeItemId
const &)*arg2
);
37161 wxPyEndAllowThreads(__tstate
);
37162 if (PyErr_Occurred()) SWIG_fail
;
37164 resultobj
= SWIG_From_int(static_cast< int >(result
));
37171 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37172 PyObject
*resultobj
= 0;
37173 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
37174 SwigValueWrapper
<wxVisualAttributes
> result
;
37177 PyObject
* obj0
= 0 ;
37178 char * kwnames
[] = {
37179 (char *) "variant", NULL
37182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
37184 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
37185 if (!SWIG_IsOK(ecode1
)) {
37186 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
37188 arg1
= static_cast< wxWindowVariant
>(val1
);
37191 if (!wxPyCheckForApp()) SWIG_fail
;
37192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37193 result
= wxPyTreeCtrl::GetClassDefaultAttributes(arg1
);
37194 wxPyEndAllowThreads(__tstate
);
37195 if (PyErr_Occurred()) SWIG_fail
;
37197 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
37204 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37205 PyObject
*resultobj
= 0;
37206 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37212 PyObject
* obj0
= 0 ;
37213 PyObject
* obj1
= 0 ;
37214 char * kwnames
[] = {
37215 (char *) "self",(char *) "q", NULL
37218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetQuickBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37220 if (!SWIG_IsOK(res1
)) {
37221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37223 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37224 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37225 if (!SWIG_IsOK(ecode2
)) {
37226 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "2"" of type '" "bool""'");
37228 arg2
= static_cast< bool >(val2
);
37230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37231 (arg1
)->SetQuickBestSize(arg2
);
37232 wxPyEndAllowThreads(__tstate
);
37233 if (PyErr_Occurred()) SWIG_fail
;
37235 resultobj
= SWIG_Py_Void();
37242 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37243 PyObject
*resultobj
= 0;
37244 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37248 PyObject
*swig_obj
[1] ;
37250 if (!args
) SWIG_fail
;
37251 swig_obj
[0] = args
;
37252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37253 if (!SWIG_IsOK(res1
)) {
37254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37256 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37259 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->GetQuickBestSize();
37260 wxPyEndAllowThreads(__tstate
);
37261 if (PyErr_Occurred()) SWIG_fail
;
37264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37272 SWIGINTERN PyObject
*TreeCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37274 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37275 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl
, SWIG_NewClientData(obj
));
37276 return SWIG_Py_Void();
37279 SWIGINTERN PyObject
*TreeCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37280 return SWIG_Python_InitShadowInstance(args
);
37283 SWIGINTERN
int DirDialogDefaultFolderStr_set(PyObject
*) {
37284 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogDefaultFolderStr is read-only.");
37289 SWIGINTERN PyObject
*DirDialogDefaultFolderStr_get(void) {
37290 PyObject
*pyobj
= 0;
37294 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37296 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37303 SWIGINTERN PyObject
*_wrap_new_GenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37304 PyObject
*resultobj
= 0;
37305 wxWindow
*arg1
= (wxWindow
*) 0 ;
37306 int arg2
= (int) (int)-1 ;
37307 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
37308 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
37309 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37310 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37311 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37312 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37313 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37314 wxString
const &arg7_defvalue
= wxPyEmptyString
;
37315 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
37316 int arg8
= (int) 0 ;
37317 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
37318 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
37319 wxGenericDirCtrl
*result
= 0 ;
37324 bool temp3
= false ;
37329 bool temp7
= false ;
37332 bool temp9
= false ;
37333 PyObject
* obj0
= 0 ;
37334 PyObject
* obj1
= 0 ;
37335 PyObject
* obj2
= 0 ;
37336 PyObject
* obj3
= 0 ;
37337 PyObject
* obj4
= 0 ;
37338 PyObject
* obj5
= 0 ;
37339 PyObject
* obj6
= 0 ;
37340 PyObject
* obj7
= 0 ;
37341 PyObject
* obj8
= 0 ;
37342 char * kwnames
[] = {
37343 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
37347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37348 if (!SWIG_IsOK(res1
)) {
37349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
37351 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37353 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37354 if (!SWIG_IsOK(ecode2
)) {
37355 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
37357 arg2
= static_cast< int >(val2
);
37361 arg3
= wxString_in_helper(obj2
);
37362 if (arg3
== NULL
) SWIG_fail
;
37369 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37375 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37379 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
37380 if (!SWIG_IsOK(ecode6
)) {
37381 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
37383 arg6
= static_cast< long >(val6
);
37387 arg7
= wxString_in_helper(obj6
);
37388 if (arg7
== NULL
) SWIG_fail
;
37393 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
37394 if (!SWIG_IsOK(ecode8
)) {
37395 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
37397 arg8
= static_cast< int >(val8
);
37401 arg9
= wxString_in_helper(obj8
);
37402 if (arg9
== NULL
) SWIG_fail
;
37407 if (!wxPyCheckForApp()) SWIG_fail
;
37408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37409 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
37410 wxPyEndAllowThreads(__tstate
);
37411 if (PyErr_Occurred()) SWIG_fail
;
37413 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_NEW
| 0 );
37444 SWIGINTERN PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37445 PyObject
*resultobj
= 0;
37446 wxGenericDirCtrl
*result
= 0 ;
37448 if (!SWIG_Python_UnpackTuple(args
,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail
;
37450 if (!wxPyCheckForApp()) SWIG_fail
;
37451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37452 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
37453 wxPyEndAllowThreads(__tstate
);
37454 if (PyErr_Occurred()) SWIG_fail
;
37456 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_OWN
| 0 );
37463 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37464 PyObject
*resultobj
= 0;
37465 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37466 wxWindow
*arg2
= (wxWindow
*) 0 ;
37467 int arg3
= (int) (int)-1 ;
37468 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
37469 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
37470 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
37471 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
37472 wxSize
const &arg6_defvalue
= wxDefaultSize
;
37473 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
37474 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37475 wxString
const &arg8_defvalue
= wxPyEmptyString
;
37476 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
37477 int arg9
= (int) 0 ;
37478 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
37479 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
37487 bool temp4
= false ;
37492 bool temp8
= false ;
37495 bool temp10
= false ;
37496 PyObject
* obj0
= 0 ;
37497 PyObject
* obj1
= 0 ;
37498 PyObject
* obj2
= 0 ;
37499 PyObject
* obj3
= 0 ;
37500 PyObject
* obj4
= 0 ;
37501 PyObject
* obj5
= 0 ;
37502 PyObject
* obj6
= 0 ;
37503 PyObject
* obj7
= 0 ;
37504 PyObject
* obj8
= 0 ;
37505 PyObject
* obj9
= 0 ;
37506 char * kwnames
[] = {
37507 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
37511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37512 if (!SWIG_IsOK(res1
)) {
37513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37515 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37516 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37517 if (!SWIG_IsOK(res2
)) {
37518 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
37520 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
37522 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37523 if (!SWIG_IsOK(ecode3
)) {
37524 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
37526 arg3
= static_cast< int >(val3
);
37530 arg4
= wxString_in_helper(obj3
);
37531 if (arg4
== NULL
) SWIG_fail
;
37538 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
37544 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
37548 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
37549 if (!SWIG_IsOK(ecode7
)) {
37550 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
37552 arg7
= static_cast< long >(val7
);
37556 arg8
= wxString_in_helper(obj7
);
37557 if (arg8
== NULL
) SWIG_fail
;
37562 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
37563 if (!SWIG_IsOK(ecode9
)) {
37564 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
37566 arg9
= static_cast< int >(val9
);
37570 arg10
= wxString_in_helper(obj9
);
37571 if (arg10
== NULL
) SWIG_fail
;
37576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37577 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
37578 wxPyEndAllowThreads(__tstate
);
37579 if (PyErr_Occurred()) SWIG_fail
;
37582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37614 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37615 PyObject
*resultobj
= 0;
37616 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37617 wxString
*arg2
= 0 ;
37621 bool temp2
= false ;
37622 PyObject
* obj0
= 0 ;
37623 PyObject
* obj1
= 0 ;
37624 char * kwnames
[] = {
37625 (char *) "self",(char *) "path", NULL
37628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37630 if (!SWIG_IsOK(res1
)) {
37631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37633 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37635 arg2
= wxString_in_helper(obj1
);
37636 if (arg2
== NULL
) SWIG_fail
;
37640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37641 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
37642 wxPyEndAllowThreads(__tstate
);
37643 if (PyErr_Occurred()) SWIG_fail
;
37646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37662 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_CollapsePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37663 PyObject
*resultobj
= 0;
37664 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37665 wxString
*arg2
= 0 ;
37669 bool temp2
= false ;
37670 PyObject
* obj0
= 0 ;
37671 PyObject
* obj1
= 0 ;
37672 char * kwnames
[] = {
37673 (char *) "self",(char *) "path", NULL
37676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_CollapsePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37678 if (!SWIG_IsOK(res1
)) {
37679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_CollapsePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37681 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37683 arg2
= wxString_in_helper(obj1
);
37684 if (arg2
== NULL
) SWIG_fail
;
37688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37689 result
= (bool)(arg1
)->CollapsePath((wxString
const &)*arg2
);
37690 wxPyEndAllowThreads(__tstate
);
37691 if (PyErr_Occurred()) SWIG_fail
;
37694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37710 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37711 PyObject
*resultobj
= 0;
37712 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37716 PyObject
*swig_obj
[1] ;
37718 if (!args
) SWIG_fail
;
37719 swig_obj
[0] = args
;
37720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37721 if (!SWIG_IsOK(res1
)) {
37722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37724 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37727 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
37728 wxPyEndAllowThreads(__tstate
);
37729 if (PyErr_Occurred()) SWIG_fail
;
37733 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37735 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37744 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37745 PyObject
*resultobj
= 0;
37746 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37747 wxString
*arg2
= 0 ;
37750 bool temp2
= false ;
37751 PyObject
* obj0
= 0 ;
37752 PyObject
* obj1
= 0 ;
37753 char * kwnames
[] = {
37754 (char *) "self",(char *) "path", NULL
37757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37759 if (!SWIG_IsOK(res1
)) {
37760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37762 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37764 arg2
= wxString_in_helper(obj1
);
37765 if (arg2
== NULL
) SWIG_fail
;
37769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37770 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
37771 wxPyEndAllowThreads(__tstate
);
37772 if (PyErr_Occurred()) SWIG_fail
;
37774 resultobj
= SWIG_Py_Void();
37789 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37790 PyObject
*resultobj
= 0;
37791 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37795 PyObject
*swig_obj
[1] ;
37797 if (!args
) SWIG_fail
;
37798 swig_obj
[0] = args
;
37799 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37800 if (!SWIG_IsOK(res1
)) {
37801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37803 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37806 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
37807 wxPyEndAllowThreads(__tstate
);
37808 if (PyErr_Occurred()) SWIG_fail
;
37812 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37814 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37823 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37824 PyObject
*resultobj
= 0;
37825 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37829 PyObject
*swig_obj
[1] ;
37831 if (!args
) SWIG_fail
;
37832 swig_obj
[0] = args
;
37833 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37834 if (!SWIG_IsOK(res1
)) {
37835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37837 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37840 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
37841 wxPyEndAllowThreads(__tstate
);
37842 if (PyErr_Occurred()) SWIG_fail
;
37846 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37848 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37857 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37858 PyObject
*resultobj
= 0;
37859 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37860 wxString
*arg2
= 0 ;
37863 bool temp2
= false ;
37864 PyObject
* obj0
= 0 ;
37865 PyObject
* obj1
= 0 ;
37866 char * kwnames
[] = {
37867 (char *) "self",(char *) "path", NULL
37870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37872 if (!SWIG_IsOK(res1
)) {
37873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37875 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37877 arg2
= wxString_in_helper(obj1
);
37878 if (arg2
== NULL
) SWIG_fail
;
37882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37883 (arg1
)->SetPath((wxString
const &)*arg2
);
37884 wxPyEndAllowThreads(__tstate
);
37885 if (PyErr_Occurred()) SWIG_fail
;
37887 resultobj
= SWIG_Py_Void();
37902 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37903 PyObject
*resultobj
= 0;
37904 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37910 PyObject
* obj0
= 0 ;
37911 PyObject
* obj1
= 0 ;
37912 char * kwnames
[] = {
37913 (char *) "self",(char *) "show", NULL
37916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37918 if (!SWIG_IsOK(res1
)) {
37919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37921 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37922 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37923 if (!SWIG_IsOK(ecode2
)) {
37924 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
37926 arg2
= static_cast< bool >(val2
);
37928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37929 (arg1
)->ShowHidden(arg2
);
37930 wxPyEndAllowThreads(__tstate
);
37931 if (PyErr_Occurred()) SWIG_fail
;
37933 resultobj
= SWIG_Py_Void();
37940 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37941 PyObject
*resultobj
= 0;
37942 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37946 PyObject
*swig_obj
[1] ;
37948 if (!args
) SWIG_fail
;
37949 swig_obj
[0] = args
;
37950 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37951 if (!SWIG_IsOK(res1
)) {
37952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37954 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37957 result
= (bool)(arg1
)->GetShowHidden();
37958 wxPyEndAllowThreads(__tstate
);
37959 if (PyErr_Occurred()) SWIG_fail
;
37962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37970 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37971 PyObject
*resultobj
= 0;
37972 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37976 PyObject
*swig_obj
[1] ;
37978 if (!args
) SWIG_fail
;
37979 swig_obj
[0] = args
;
37980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37981 if (!SWIG_IsOK(res1
)) {
37982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37984 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37987 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
37988 wxPyEndAllowThreads(__tstate
);
37989 if (PyErr_Occurred()) SWIG_fail
;
37993 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37995 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38004 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38005 PyObject
*resultobj
= 0;
38006 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38007 wxString
*arg2
= 0 ;
38010 bool temp2
= false ;
38011 PyObject
* obj0
= 0 ;
38012 PyObject
* obj1
= 0 ;
38013 char * kwnames
[] = {
38014 (char *) "self",(char *) "filter", NULL
38017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38019 if (!SWIG_IsOK(res1
)) {
38020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38022 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38024 arg2
= wxString_in_helper(obj1
);
38025 if (arg2
== NULL
) SWIG_fail
;
38029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38030 (arg1
)->SetFilter((wxString
const &)*arg2
);
38031 wxPyEndAllowThreads(__tstate
);
38032 if (PyErr_Occurred()) SWIG_fail
;
38034 resultobj
= SWIG_Py_Void();
38049 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38050 PyObject
*resultobj
= 0;
38051 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38055 PyObject
*swig_obj
[1] ;
38057 if (!args
) SWIG_fail
;
38058 swig_obj
[0] = args
;
38059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38060 if (!SWIG_IsOK(res1
)) {
38061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38063 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38066 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
38067 wxPyEndAllowThreads(__tstate
);
38068 if (PyErr_Occurred()) SWIG_fail
;
38070 resultobj
= SWIG_From_int(static_cast< int >(result
));
38077 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38078 PyObject
*resultobj
= 0;
38079 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38085 PyObject
* obj0
= 0 ;
38086 PyObject
* obj1
= 0 ;
38087 char * kwnames
[] = {
38088 (char *) "self",(char *) "n", NULL
38091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38093 if (!SWIG_IsOK(res1
)) {
38094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38096 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38097 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38098 if (!SWIG_IsOK(ecode2
)) {
38099 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
38101 arg2
= static_cast< int >(val2
);
38103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38104 (arg1
)->SetFilterIndex(arg2
);
38105 wxPyEndAllowThreads(__tstate
);
38106 if (PyErr_Occurred()) SWIG_fail
;
38108 resultobj
= SWIG_Py_Void();
38115 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38116 PyObject
*resultobj
= 0;
38117 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38118 wxTreeItemId result
;
38121 PyObject
*swig_obj
[1] ;
38123 if (!args
) SWIG_fail
;
38124 swig_obj
[0] = args
;
38125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38126 if (!SWIG_IsOK(res1
)) {
38127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38129 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38132 result
= (arg1
)->GetRootId();
38133 wxPyEndAllowThreads(__tstate
);
38134 if (PyErr_Occurred()) SWIG_fail
;
38136 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38143 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38144 PyObject
*resultobj
= 0;
38145 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38146 wxPyTreeCtrl
*result
= 0 ;
38149 PyObject
*swig_obj
[1] ;
38151 if (!args
) SWIG_fail
;
38152 swig_obj
[0] = args
;
38153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38154 if (!SWIG_IsOK(res1
)) {
38155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38157 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38160 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
38161 wxPyEndAllowThreads(__tstate
);
38162 if (PyErr_Occurred()) SWIG_fail
;
38165 resultobj
= wxPyMake_wxObject(result
, 0);
38173 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38174 PyObject
*resultobj
= 0;
38175 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38176 wxDirFilterListCtrl
*result
= 0 ;
38179 PyObject
*swig_obj
[1] ;
38181 if (!args
) SWIG_fail
;
38182 swig_obj
[0] = args
;
38183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38184 if (!SWIG_IsOK(res1
)) {
38185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38187 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38190 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
38191 wxPyEndAllowThreads(__tstate
);
38192 if (PyErr_Occurred()) SWIG_fail
;
38194 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38201 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38202 PyObject
*resultobj
= 0;
38203 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38204 wxTreeItemId arg2
;
38205 wxString
*arg3
= 0 ;
38207 wxTreeItemId result
;
38212 bool temp3
= false ;
38214 int res4
= SWIG_TMPOBJ
;
38215 PyObject
* obj0
= 0 ;
38216 PyObject
* obj1
= 0 ;
38217 PyObject
* obj2
= 0 ;
38218 char * kwnames
[] = {
38219 (char *) "self",(char *) "parentId",(char *) "path", NULL
38223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38225 if (!SWIG_IsOK(res1
)) {
38226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38228 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38230 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
38231 if (!SWIG_IsOK(res2
)) {
38232 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38235 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38237 wxTreeItemId
* temp
= reinterpret_cast< wxTreeItemId
* >(argp2
);
38239 if (SWIG_IsNewObj(res2
)) delete temp
;
38243 arg3
= wxString_in_helper(obj2
);
38244 if (arg3
== NULL
) SWIG_fail
;
38248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38249 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
38250 wxPyEndAllowThreads(__tstate
);
38251 if (PyErr_Occurred()) SWIG_fail
;
38253 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38254 if (SWIG_IsTmpObj(res4
)) {
38255 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
38257 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38258 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
38274 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38275 PyObject
*resultobj
= 0;
38276 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38279 PyObject
*swig_obj
[1] ;
38281 if (!args
) SWIG_fail
;
38282 swig_obj
[0] = args
;
38283 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38284 if (!SWIG_IsOK(res1
)) {
38285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38287 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38290 (arg1
)->DoResize();
38291 wxPyEndAllowThreads(__tstate
);
38292 if (PyErr_Occurred()) SWIG_fail
;
38294 resultobj
= SWIG_Py_Void();
38301 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38302 PyObject
*resultobj
= 0;
38303 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38306 PyObject
*swig_obj
[1] ;
38308 if (!args
) SWIG_fail
;
38309 swig_obj
[0] = args
;
38310 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38311 if (!SWIG_IsOK(res1
)) {
38312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38314 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38317 (arg1
)->ReCreateTree();
38318 wxPyEndAllowThreads(__tstate
);
38319 if (PyErr_Occurred()) SWIG_fail
;
38321 resultobj
= SWIG_Py_Void();
38328 SWIGINTERN PyObject
*GenericDirCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38330 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38331 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl
, SWIG_NewClientData(obj
));
38332 return SWIG_Py_Void();
38335 SWIGINTERN PyObject
*GenericDirCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38336 return SWIG_Python_InitShadowInstance(args
);
38339 SWIGINTERN PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38340 PyObject
*resultobj
= 0;
38341 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38342 int arg2
= (int) (int)-1 ;
38343 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38344 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38345 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38346 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38347 long arg5
= (long) 0 ;
38348 wxDirFilterListCtrl
*result
= 0 ;
38357 PyObject
* obj0
= 0 ;
38358 PyObject
* obj1
= 0 ;
38359 PyObject
* obj2
= 0 ;
38360 PyObject
* obj3
= 0 ;
38361 PyObject
* obj4
= 0 ;
38362 char * kwnames
[] = {
38363 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38368 if (!SWIG_IsOK(res1
)) {
38369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38371 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38373 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38374 if (!SWIG_IsOK(ecode2
)) {
38375 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
38377 arg2
= static_cast< int >(val2
);
38382 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38388 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38392 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38393 if (!SWIG_IsOK(ecode5
)) {
38394 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
38396 arg5
= static_cast< long >(val5
);
38399 if (!wxPyCheckForApp()) SWIG_fail
;
38400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38401 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
38402 wxPyEndAllowThreads(__tstate
);
38403 if (PyErr_Occurred()) SWIG_fail
;
38405 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_NEW
| 0 );
38412 SWIGINTERN PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38413 PyObject
*resultobj
= 0;
38414 wxDirFilterListCtrl
*result
= 0 ;
38416 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail
;
38418 if (!wxPyCheckForApp()) SWIG_fail
;
38419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38420 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
38421 wxPyEndAllowThreads(__tstate
);
38422 if (PyErr_Occurred()) SWIG_fail
;
38424 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_OWN
| 0 );
38431 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38432 PyObject
*resultobj
= 0;
38433 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38434 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
38435 int arg3
= (int) (int)-1 ;
38436 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
38437 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
38438 wxSize
const &arg5_defvalue
= wxDefaultSize
;
38439 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
38440 long arg6
= (long) 0 ;
38452 PyObject
* obj0
= 0 ;
38453 PyObject
* obj1
= 0 ;
38454 PyObject
* obj2
= 0 ;
38455 PyObject
* obj3
= 0 ;
38456 PyObject
* obj4
= 0 ;
38457 PyObject
* obj5
= 0 ;
38458 char * kwnames
[] = {
38459 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38464 if (!SWIG_IsOK(res1
)) {
38465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38467 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38468 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38469 if (!SWIG_IsOK(res2
)) {
38470 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
38472 arg2
= reinterpret_cast< wxGenericDirCtrl
* >(argp2
);
38474 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38475 if (!SWIG_IsOK(ecode3
)) {
38476 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
38478 arg3
= static_cast< int >(val3
);
38483 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
38489 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
38493 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
38494 if (!SWIG_IsOK(ecode6
)) {
38495 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
38497 arg6
= static_cast< long >(val6
);
38500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38501 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
38502 wxPyEndAllowThreads(__tstate
);
38503 if (PyErr_Occurred()) SWIG_fail
;
38506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38514 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38515 PyObject
*resultobj
= 0;
38516 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38517 wxString
*arg2
= 0 ;
38521 bool temp2
= false ;
38524 PyObject
* obj0
= 0 ;
38525 PyObject
* obj1
= 0 ;
38526 PyObject
* obj2
= 0 ;
38527 char * kwnames
[] = {
38528 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
38531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38533 if (!SWIG_IsOK(res1
)) {
38534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38536 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38538 arg2
= wxString_in_helper(obj1
);
38539 if (arg2
== NULL
) SWIG_fail
;
38542 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38543 if (!SWIG_IsOK(ecode3
)) {
38544 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
38546 arg3
= static_cast< int >(val3
);
38548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38549 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
38550 wxPyEndAllowThreads(__tstate
);
38551 if (PyErr_Occurred()) SWIG_fail
;
38553 resultobj
= SWIG_Py_Void();
38568 SWIGINTERN PyObject
*DirFilterListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38570 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38571 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_NewClientData(obj
));
38572 return SWIG_Py_Void();
38575 SWIGINTERN PyObject
*DirFilterListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38576 return SWIG_Python_InitShadowInstance(args
);
38579 SWIGINTERN PyObject
*_wrap_new_PyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38580 PyObject
*resultobj
= 0;
38581 wxWindow
*arg1
= (wxWindow
*) 0 ;
38582 int arg2
= (int) (int)-1 ;
38583 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38584 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38585 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38586 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38587 long arg5
= (long) 0 ;
38588 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
38589 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
38590 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
38591 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
38592 wxPyControl
*result
= 0 ;
38603 bool temp7
= false ;
38604 PyObject
* obj0
= 0 ;
38605 PyObject
* obj1
= 0 ;
38606 PyObject
* obj2
= 0 ;
38607 PyObject
* obj3
= 0 ;
38608 PyObject
* obj4
= 0 ;
38609 PyObject
* obj5
= 0 ;
38610 PyObject
* obj6
= 0 ;
38611 char * kwnames
[] = {
38612 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
38615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
38616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38617 if (!SWIG_IsOK(res1
)) {
38618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
38620 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38622 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38623 if (!SWIG_IsOK(ecode2
)) {
38624 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
38626 arg2
= static_cast< int >(val2
);
38631 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38637 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38641 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38642 if (!SWIG_IsOK(ecode5
)) {
38643 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
38645 arg5
= static_cast< long >(val5
);
38648 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
38649 if (!SWIG_IsOK(res6
)) {
38650 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38653 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38655 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
38659 arg7
= wxString_in_helper(obj6
);
38660 if (arg7
== NULL
) SWIG_fail
;
38665 if (!wxPyCheckForApp()) SWIG_fail
;
38666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38667 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
38668 wxPyEndAllowThreads(__tstate
);
38669 if (PyErr_Occurred()) SWIG_fail
;
38671 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_NEW
| 0 );
38686 SWIGINTERN PyObject
*_wrap_new_PrePyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38687 PyObject
*resultobj
= 0;
38688 wxPyControl
*result
= 0 ;
38690 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyControl",0,0,0)) SWIG_fail
;
38692 if (!wxPyCheckForApp()) SWIG_fail
;
38693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38694 result
= (wxPyControl
*)new wxPyControl();
38695 wxPyEndAllowThreads(__tstate
);
38696 if (PyErr_Occurred()) SWIG_fail
;
38698 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_OWN
| 0 );
38705 SWIGINTERN PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38706 PyObject
*resultobj
= 0;
38707 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38708 PyObject
*arg2
= (PyObject
*) 0 ;
38709 PyObject
*arg3
= (PyObject
*) 0 ;
38712 PyObject
* obj0
= 0 ;
38713 PyObject
* obj1
= 0 ;
38714 PyObject
* obj2
= 0 ;
38715 char * kwnames
[] = {
38716 (char *) "self",(char *) "self",(char *) "_class", NULL
38719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38721 if (!SWIG_IsOK(res1
)) {
38722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
38724 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38729 (arg1
)->_setCallbackInfo(arg2
,arg3
);
38730 wxPyEndAllowThreads(__tstate
);
38731 if (PyErr_Occurred()) SWIG_fail
;
38733 resultobj
= SWIG_Py_Void();
38740 SWIGINTERN PyObject
*_wrap_PyControl_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38741 PyObject
*resultobj
= 0;
38742 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38747 PyObject
* obj0
= 0 ;
38748 PyObject
* obj1
= 0 ;
38749 char * kwnames
[] = {
38750 (char *) "self",(char *) "size", NULL
38753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38755 if (!SWIG_IsOK(res1
)) {
38756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_SetBestSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38758 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38761 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38765 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
38766 wxPyEndAllowThreads(__tstate
);
38767 if (PyErr_Occurred()) SWIG_fail
;
38769 resultobj
= SWIG_Py_Void();
38776 SWIGINTERN PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38777 PyObject
*resultobj
= 0;
38778 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38779 wxDC
*arg2
= (wxDC
*) 0 ;
38785 PyObject
* obj0
= 0 ;
38786 PyObject
* obj1
= 0 ;
38787 char * kwnames
[] = {
38788 (char *) "self",(char *) "dc", NULL
38791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38793 if (!SWIG_IsOK(res1
)) {
38794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
38796 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38797 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
38798 if (!SWIG_IsOK(res2
)) {
38799 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
38801 arg2
= reinterpret_cast< wxDC
* >(argp2
);
38803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38804 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
38805 wxPyEndAllowThreads(__tstate
);
38806 if (PyErr_Occurred()) SWIG_fail
;
38809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38817 SWIGINTERN PyObject
*_wrap_PyControl_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38818 PyObject
*resultobj
= 0;
38819 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38834 PyObject
* obj0
= 0 ;
38835 PyObject
* obj1
= 0 ;
38836 PyObject
* obj2
= 0 ;
38837 PyObject
* obj3
= 0 ;
38838 PyObject
* obj4
= 0 ;
38839 char * kwnames
[] = {
38840 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
38843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38845 if (!SWIG_IsOK(res1
)) {
38846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
38848 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38849 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38850 if (!SWIG_IsOK(ecode2
)) {
38851 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
38853 arg2
= static_cast< int >(val2
);
38854 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38855 if (!SWIG_IsOK(ecode3
)) {
38856 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
38858 arg3
= static_cast< int >(val3
);
38859 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38860 if (!SWIG_IsOK(ecode4
)) {
38861 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
38863 arg4
= static_cast< int >(val4
);
38864 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38865 if (!SWIG_IsOK(ecode5
)) {
38866 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
38868 arg5
= static_cast< int >(val5
);
38870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38871 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
38872 wxPyEndAllowThreads(__tstate
);
38873 if (PyErr_Occurred()) SWIG_fail
;
38875 resultobj
= SWIG_Py_Void();
38882 SWIGINTERN PyObject
*_wrap_PyControl_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38883 PyObject
*resultobj
= 0;
38884 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38889 int arg6
= (int) wxSIZE_AUTO
;
38902 PyObject
* obj0
= 0 ;
38903 PyObject
* obj1
= 0 ;
38904 PyObject
* obj2
= 0 ;
38905 PyObject
* obj3
= 0 ;
38906 PyObject
* obj4
= 0 ;
38907 PyObject
* obj5
= 0 ;
38908 char * kwnames
[] = {
38909 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
38912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38914 if (!SWIG_IsOK(res1
)) {
38915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38917 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38918 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38919 if (!SWIG_IsOK(ecode2
)) {
38920 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
38922 arg2
= static_cast< int >(val2
);
38923 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38924 if (!SWIG_IsOK(ecode3
)) {
38925 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
38927 arg3
= static_cast< int >(val3
);
38928 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38929 if (!SWIG_IsOK(ecode4
)) {
38930 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
38932 arg4
= static_cast< int >(val4
);
38933 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38934 if (!SWIG_IsOK(ecode5
)) {
38935 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
38937 arg5
= static_cast< int >(val5
);
38939 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
38940 if (!SWIG_IsOK(ecode6
)) {
38941 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
38943 arg6
= static_cast< int >(val6
);
38946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38947 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
38948 wxPyEndAllowThreads(__tstate
);
38949 if (PyErr_Occurred()) SWIG_fail
;
38951 resultobj
= SWIG_Py_Void();
38958 SWIGINTERN PyObject
*_wrap_PyControl_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38959 PyObject
*resultobj
= 0;
38960 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38969 PyObject
* obj0
= 0 ;
38970 PyObject
* obj1
= 0 ;
38971 PyObject
* obj2
= 0 ;
38972 char * kwnames
[] = {
38973 (char *) "self",(char *) "width",(char *) "height", NULL
38976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38978 if (!SWIG_IsOK(res1
)) {
38979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38981 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38982 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38983 if (!SWIG_IsOK(ecode2
)) {
38984 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
38986 arg2
= static_cast< int >(val2
);
38987 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38988 if (!SWIG_IsOK(ecode3
)) {
38989 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
38991 arg3
= static_cast< int >(val3
);
38993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38994 (arg1
)->DoSetClientSize(arg2
,arg3
);
38995 wxPyEndAllowThreads(__tstate
);
38996 if (PyErr_Occurred()) SWIG_fail
;
38998 resultobj
= SWIG_Py_Void();
39005 SWIGINTERN PyObject
*_wrap_PyControl_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39006 PyObject
*resultobj
= 0;
39007 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39016 PyObject
* obj0
= 0 ;
39017 PyObject
* obj1
= 0 ;
39018 PyObject
* obj2
= 0 ;
39019 char * kwnames
[] = {
39020 (char *) "self",(char *) "x",(char *) "y", NULL
39023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39025 if (!SWIG_IsOK(res1
)) {
39026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39028 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39029 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39030 if (!SWIG_IsOK(ecode2
)) {
39031 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
39033 arg2
= static_cast< int >(val2
);
39034 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39035 if (!SWIG_IsOK(ecode3
)) {
39036 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
39038 arg3
= static_cast< int >(val3
);
39040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39041 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
39042 wxPyEndAllowThreads(__tstate
);
39043 if (PyErr_Occurred()) SWIG_fail
;
39045 resultobj
= SWIG_Py_Void();
39052 SWIGINTERN PyObject
*_wrap_PyControl_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39053 PyObject
*resultobj
= 0;
39054 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39055 int *arg2
= (int *) 0 ;
39056 int *arg3
= (int *) 0 ;
39060 int res2
= SWIG_TMPOBJ
;
39062 int res3
= SWIG_TMPOBJ
;
39063 PyObject
*swig_obj
[1] ;
39067 if (!args
) SWIG_fail
;
39068 swig_obj
[0] = args
;
39069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39070 if (!SWIG_IsOK(res1
)) {
39071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39073 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39076 ((wxPyControl
const *)arg1
)->DoGetSize(arg2
,arg3
);
39077 wxPyEndAllowThreads(__tstate
);
39078 if (PyErr_Occurred()) SWIG_fail
;
39080 resultobj
= SWIG_Py_Void();
39081 if (SWIG_IsTmpObj(res2
)) {
39082 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39084 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39085 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39087 if (SWIG_IsTmpObj(res3
)) {
39088 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39090 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39091 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39099 SWIGINTERN PyObject
*_wrap_PyControl_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39100 PyObject
*resultobj
= 0;
39101 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39102 int *arg2
= (int *) 0 ;
39103 int *arg3
= (int *) 0 ;
39107 int res2
= SWIG_TMPOBJ
;
39109 int res3
= SWIG_TMPOBJ
;
39110 PyObject
*swig_obj
[1] ;
39114 if (!args
) SWIG_fail
;
39115 swig_obj
[0] = args
;
39116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39117 if (!SWIG_IsOK(res1
)) {
39118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39120 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39123 ((wxPyControl
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
39124 wxPyEndAllowThreads(__tstate
);
39125 if (PyErr_Occurred()) SWIG_fail
;
39127 resultobj
= SWIG_Py_Void();
39128 if (SWIG_IsTmpObj(res2
)) {
39129 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39131 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39132 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39134 if (SWIG_IsTmpObj(res3
)) {
39135 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39137 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39138 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39146 SWIGINTERN PyObject
*_wrap_PyControl_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39147 PyObject
*resultobj
= 0;
39148 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39149 int *arg2
= (int *) 0 ;
39150 int *arg3
= (int *) 0 ;
39154 int res2
= SWIG_TMPOBJ
;
39156 int res3
= SWIG_TMPOBJ
;
39157 PyObject
*swig_obj
[1] ;
39161 if (!args
) SWIG_fail
;
39162 swig_obj
[0] = args
;
39163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39164 if (!SWIG_IsOK(res1
)) {
39165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39167 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39170 ((wxPyControl
const *)arg1
)->DoGetPosition(arg2
,arg3
);
39171 wxPyEndAllowThreads(__tstate
);
39172 if (PyErr_Occurred()) SWIG_fail
;
39174 resultobj
= SWIG_Py_Void();
39175 if (SWIG_IsTmpObj(res2
)) {
39176 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39178 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39179 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39181 if (SWIG_IsTmpObj(res3
)) {
39182 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39184 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39185 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39193 SWIGINTERN PyObject
*_wrap_PyControl_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39194 PyObject
*resultobj
= 0;
39195 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39199 PyObject
*swig_obj
[1] ;
39201 if (!args
) SWIG_fail
;
39202 swig_obj
[0] = args
;
39203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39204 if (!SWIG_IsOK(res1
)) {
39205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39207 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39210 result
= ((wxPyControl
const *)arg1
)->DoGetVirtualSize();
39211 wxPyEndAllowThreads(__tstate
);
39212 if (PyErr_Occurred()) SWIG_fail
;
39214 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39221 SWIGINTERN PyObject
*_wrap_PyControl_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39222 PyObject
*resultobj
= 0;
39223 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39227 PyObject
*swig_obj
[1] ;
39229 if (!args
) SWIG_fail
;
39230 swig_obj
[0] = args
;
39231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39232 if (!SWIG_IsOK(res1
)) {
39233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39235 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39238 result
= ((wxPyControl
const *)arg1
)->DoGetBestSize();
39239 wxPyEndAllowThreads(__tstate
);
39240 if (PyErr_Occurred()) SWIG_fail
;
39242 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39249 SWIGINTERN PyObject
*_wrap_PyControl_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39250 PyObject
*resultobj
= 0;
39251 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39252 SwigValueWrapper
<wxVisualAttributes
> result
;
39255 PyObject
*swig_obj
[1] ;
39257 if (!args
) SWIG_fail
;
39258 swig_obj
[0] = args
;
39259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39260 if (!SWIG_IsOK(res1
)) {
39261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
39263 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39266 result
= (arg1
)->GetDefaultAttributes();
39267 wxPyEndAllowThreads(__tstate
);
39268 if (PyErr_Occurred()) SWIG_fail
;
39270 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
39277 SWIGINTERN PyObject
*_wrap_PyControl_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39278 PyObject
*resultobj
= 0;
39279 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39282 PyObject
*swig_obj
[1] ;
39284 if (!args
) SWIG_fail
;
39285 swig_obj
[0] = args
;
39286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39287 if (!SWIG_IsOK(res1
)) {
39288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
39290 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39293 (arg1
)->OnInternalIdle();
39294 wxPyEndAllowThreads(__tstate
);
39295 if (PyErr_Occurred()) SWIG_fail
;
39297 resultobj
= SWIG_Py_Void();
39304 SWIGINTERN PyObject
*PyControl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39306 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39307 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl
, SWIG_NewClientData(obj
));
39308 return SWIG_Py_Void();
39311 SWIGINTERN PyObject
*PyControl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39312 return SWIG_Python_InitShadowInstance(args
);
39315 SWIGINTERN PyObject
*_wrap_new_HelpEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39316 PyObject
*resultobj
= 0;
39317 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
39318 int arg2
= (int) 0 ;
39319 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39320 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39321 wxHelpEvent::Origin arg4
= (wxHelpEvent::Origin
) wxHelpEvent::Origin_Unknown
;
39322 wxHelpEvent
*result
= 0 ;
39330 PyObject
* obj0
= 0 ;
39331 PyObject
* obj1
= 0 ;
39332 PyObject
* obj2
= 0 ;
39333 PyObject
* obj3
= 0 ;
39334 char * kwnames
[] = {
39335 (char *) "type",(char *) "winid",(char *) "pt",(char *) "origin", NULL
39338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39340 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
39341 if (!SWIG_IsOK(ecode1
)) {
39342 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
39344 arg1
= static_cast< wxEventType
>(val1
);
39347 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39348 if (!SWIG_IsOK(ecode2
)) {
39349 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
39351 arg2
= static_cast< int >(val2
);
39356 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39360 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39361 if (!SWIG_IsOK(ecode4
)) {
39362 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HelpEvent" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
39364 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
39367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39368 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
,arg4
);
39369 wxPyEndAllowThreads(__tstate
);
39370 if (PyErr_Occurred()) SWIG_fail
;
39372 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_NEW
| 0 );
39379 SWIGINTERN PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39380 PyObject
*resultobj
= 0;
39381 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39385 PyObject
*swig_obj
[1] ;
39387 if (!args
) SWIG_fail
;
39388 swig_obj
[0] = args
;
39389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39390 if (!SWIG_IsOK(res1
)) {
39391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39393 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39396 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
39397 wxPyEndAllowThreads(__tstate
);
39398 if (PyErr_Occurred()) SWIG_fail
;
39400 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
39407 SWIGINTERN PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39408 PyObject
*resultobj
= 0;
39409 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39410 wxPoint
*arg2
= 0 ;
39414 PyObject
* obj0
= 0 ;
39415 PyObject
* obj1
= 0 ;
39416 char * kwnames
[] = {
39417 (char *) "self",(char *) "pos", NULL
39420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39422 if (!SWIG_IsOK(res1
)) {
39423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39425 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39428 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39432 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
39433 wxPyEndAllowThreads(__tstate
);
39434 if (PyErr_Occurred()) SWIG_fail
;
39436 resultobj
= SWIG_Py_Void();
39443 SWIGINTERN PyObject
*_wrap_HelpEvent_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39444 PyObject
*resultobj
= 0;
39445 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39446 wxString
*result
= 0 ;
39449 PyObject
*swig_obj
[1] ;
39451 if (!args
) SWIG_fail
;
39452 swig_obj
[0] = args
;
39453 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39454 if (!SWIG_IsOK(res1
)) {
39455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39457 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39461 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
39462 result
= (wxString
*) &_result_ref
;
39464 wxPyEndAllowThreads(__tstate
);
39465 if (PyErr_Occurred()) SWIG_fail
;
39469 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39471 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39480 SWIGINTERN PyObject
*_wrap_HelpEvent_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39481 PyObject
*resultobj
= 0;
39482 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39483 wxString
*arg2
= 0 ;
39486 bool temp2
= false ;
39487 PyObject
* obj0
= 0 ;
39488 PyObject
* obj1
= 0 ;
39489 char * kwnames
[] = {
39490 (char *) "self",(char *) "link", NULL
39493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39495 if (!SWIG_IsOK(res1
)) {
39496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39498 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39500 arg2
= wxString_in_helper(obj1
);
39501 if (arg2
== NULL
) SWIG_fail
;
39505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39506 (arg1
)->SetLink((wxString
const &)*arg2
);
39507 wxPyEndAllowThreads(__tstate
);
39508 if (PyErr_Occurred()) SWIG_fail
;
39510 resultobj
= SWIG_Py_Void();
39525 SWIGINTERN PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39526 PyObject
*resultobj
= 0;
39527 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39528 wxString
*result
= 0 ;
39531 PyObject
*swig_obj
[1] ;
39533 if (!args
) SWIG_fail
;
39534 swig_obj
[0] = args
;
39535 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39536 if (!SWIG_IsOK(res1
)) {
39537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39539 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39543 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
39544 result
= (wxString
*) &_result_ref
;
39546 wxPyEndAllowThreads(__tstate
);
39547 if (PyErr_Occurred()) SWIG_fail
;
39551 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39553 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39562 SWIGINTERN PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39563 PyObject
*resultobj
= 0;
39564 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39565 wxString
*arg2
= 0 ;
39568 bool temp2
= false ;
39569 PyObject
* obj0
= 0 ;
39570 PyObject
* obj1
= 0 ;
39571 char * kwnames
[] = {
39572 (char *) "self",(char *) "target", NULL
39575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39577 if (!SWIG_IsOK(res1
)) {
39578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39580 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39582 arg2
= wxString_in_helper(obj1
);
39583 if (arg2
== NULL
) SWIG_fail
;
39587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39588 (arg1
)->SetTarget((wxString
const &)*arg2
);
39589 wxPyEndAllowThreads(__tstate
);
39590 if (PyErr_Occurred()) SWIG_fail
;
39592 resultobj
= SWIG_Py_Void();
39607 SWIGINTERN PyObject
*_wrap_HelpEvent_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39608 PyObject
*resultobj
= 0;
39609 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39610 wxHelpEvent::Origin result
;
39613 PyObject
*swig_obj
[1] ;
39615 if (!args
) SWIG_fail
;
39616 swig_obj
[0] = args
;
39617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39618 if (!SWIG_IsOK(res1
)) {
39619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39621 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39624 result
= (wxHelpEvent::Origin
)((wxHelpEvent
const *)arg1
)->GetOrigin();
39625 wxPyEndAllowThreads(__tstate
);
39626 if (PyErr_Occurred()) SWIG_fail
;
39628 resultobj
= SWIG_From_int(static_cast< int >(result
));
39635 SWIGINTERN PyObject
*_wrap_HelpEvent_SetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39636 PyObject
*resultobj
= 0;
39637 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39638 wxHelpEvent::Origin arg2
;
39643 PyObject
* obj0
= 0 ;
39644 PyObject
* obj1
= 0 ;
39645 char * kwnames
[] = {
39646 (char *) "self",(char *) "origin", NULL
39649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetOrigin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39651 if (!SWIG_IsOK(res1
)) {
39652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39654 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39655 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39656 if (!SWIG_IsOK(ecode2
)) {
39657 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "2"" of type '" "wxHelpEvent::Origin""'");
39659 arg2
= static_cast< wxHelpEvent::Origin
>(val2
);
39661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39662 (arg1
)->SetOrigin(arg2
);
39663 wxPyEndAllowThreads(__tstate
);
39664 if (PyErr_Occurred()) SWIG_fail
;
39666 resultobj
= SWIG_Py_Void();
39673 SWIGINTERN PyObject
*HelpEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39675 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39676 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent
, SWIG_NewClientData(obj
));
39677 return SWIG_Py_Void();
39680 SWIGINTERN PyObject
*HelpEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39681 return SWIG_Python_InitShadowInstance(args
);
39684 SWIGINTERN PyObject
*_wrap_new_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39685 PyObject
*resultobj
= 0;
39686 wxWindow
*arg1
= (wxWindow
*) NULL
;
39687 bool arg2
= (bool) true ;
39688 wxContextHelp
*result
= 0 ;
39693 PyObject
* obj0
= 0 ;
39694 PyObject
* obj1
= 0 ;
39695 char * kwnames
[] = {
39696 (char *) "window",(char *) "doNow", NULL
39699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39702 if (!SWIG_IsOK(res1
)) {
39703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
39705 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39708 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
39709 if (!SWIG_IsOK(ecode2
)) {
39710 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
39712 arg2
= static_cast< bool >(val2
);
39715 if (!wxPyCheckForApp()) SWIG_fail
;
39716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39717 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
39718 wxPyEndAllowThreads(__tstate
);
39719 if (PyErr_Occurred()) SWIG_fail
;
39721 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_NEW
| 0 );
39728 SWIGINTERN PyObject
*_wrap_delete_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39729 PyObject
*resultobj
= 0;
39730 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39733 PyObject
*swig_obj
[1] ;
39735 if (!args
) SWIG_fail
;
39736 swig_obj
[0] = args
;
39737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_DISOWN
| 0 );
39738 if (!SWIG_IsOK(res1
)) {
39739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39741 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39746 wxPyEndAllowThreads(__tstate
);
39747 if (PyErr_Occurred()) SWIG_fail
;
39749 resultobj
= SWIG_Py_Void();
39756 SWIGINTERN PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39757 PyObject
*resultobj
= 0;
39758 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39759 wxWindow
*arg2
= (wxWindow
*) NULL
;
39765 PyObject
* obj0
= 0 ;
39766 PyObject
* obj1
= 0 ;
39767 char * kwnames
[] = {
39768 (char *) "self",(char *) "window", NULL
39771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39773 if (!SWIG_IsOK(res1
)) {
39774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39776 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39778 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39779 if (!SWIG_IsOK(res2
)) {
39780 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39782 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39786 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
39787 wxPyEndAllowThreads(__tstate
);
39788 if (PyErr_Occurred()) SWIG_fail
;
39791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39799 SWIGINTERN PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39800 PyObject
*resultobj
= 0;
39801 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39805 PyObject
*swig_obj
[1] ;
39807 if (!args
) SWIG_fail
;
39808 swig_obj
[0] = args
;
39809 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39810 if (!SWIG_IsOK(res1
)) {
39811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39813 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39816 result
= (bool)(arg1
)->EndContextHelp();
39817 wxPyEndAllowThreads(__tstate
);
39818 if (PyErr_Occurred()) SWIG_fail
;
39821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39829 SWIGINTERN PyObject
*ContextHelp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39831 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39832 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp
, SWIG_NewClientData(obj
));
39833 return SWIG_Py_Void();
39836 SWIGINTERN PyObject
*ContextHelp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39837 return SWIG_Python_InitShadowInstance(args
);
39840 SWIGINTERN PyObject
*_wrap_new_ContextHelpButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39841 PyObject
*resultobj
= 0;
39842 wxWindow
*arg1
= (wxWindow
*) 0 ;
39843 int arg2
= (int) wxID_CONTEXT_HELP
;
39844 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39845 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39846 wxSize
const &arg4_defvalue
= wxDefaultSize
;
39847 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
39848 long arg5
= (long) wxBU_AUTODRAW
;
39849 wxContextHelpButton
*result
= 0 ;
39858 PyObject
* obj0
= 0 ;
39859 PyObject
* obj1
= 0 ;
39860 PyObject
* obj2
= 0 ;
39861 PyObject
* obj3
= 0 ;
39862 PyObject
* obj4
= 0 ;
39863 char * kwnames
[] = {
39864 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
39867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39869 if (!SWIG_IsOK(res1
)) {
39870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
39872 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39874 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39875 if (!SWIG_IsOK(ecode2
)) {
39876 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
39878 arg2
= static_cast< int >(val2
);
39883 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39889 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
39893 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
39894 if (!SWIG_IsOK(ecode5
)) {
39895 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
39897 arg5
= static_cast< long >(val5
);
39900 if (!wxPyCheckForApp()) SWIG_fail
;
39901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39902 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
39903 wxPyEndAllowThreads(__tstate
);
39904 if (PyErr_Occurred()) SWIG_fail
;
39906 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelpButton
, SWIG_POINTER_NEW
| 0 );
39913 SWIGINTERN PyObject
*ContextHelpButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39915 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39916 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton
, SWIG_NewClientData(obj
));
39917 return SWIG_Py_Void();
39920 SWIGINTERN PyObject
*ContextHelpButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39921 return SWIG_Python_InitShadowInstance(args
);
39924 SWIGINTERN PyObject
*_wrap_delete_HelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39925 PyObject
*resultobj
= 0;
39926 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39929 PyObject
*swig_obj
[1] ;
39931 if (!args
) SWIG_fail
;
39932 swig_obj
[0] = args
;
39933 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
39934 if (!SWIG_IsOK(res1
)) {
39935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39937 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39942 wxPyEndAllowThreads(__tstate
);
39943 if (PyErr_Occurred()) SWIG_fail
;
39945 resultobj
= SWIG_Py_Void();
39952 SWIGINTERN PyObject
*_wrap_HelpProvider_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39953 PyObject
*resultobj
= 0;
39954 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39955 wxHelpProvider
*result
= 0 ;
39957 PyObject
* obj0
= 0 ;
39958 char * kwnames
[] = {
39959 (char *) "helpProvider", NULL
39962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) SWIG_fail
;
39963 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
39964 if (!SWIG_IsOK(res1
)) {
39965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39969 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
39970 wxPyEndAllowThreads(__tstate
);
39971 if (PyErr_Occurred()) SWIG_fail
;
39973 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_OWN
| 0 );
39980 SWIGINTERN PyObject
*_wrap_HelpProvider_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39981 PyObject
*resultobj
= 0;
39982 wxHelpProvider
*result
= 0 ;
39984 if (!SWIG_Python_UnpackTuple(args
,"HelpProvider_Get",0,0,0)) SWIG_fail
;
39986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39987 result
= (wxHelpProvider
*)wxHelpProvider::Get();
39988 wxPyEndAllowThreads(__tstate
);
39989 if (PyErr_Occurred()) SWIG_fail
;
39991 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39998 SWIGINTERN PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39999 PyObject
*resultobj
= 0;
40000 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40001 wxWindow
*arg2
= (wxWindow
*) 0 ;
40007 PyObject
* obj0
= 0 ;
40008 PyObject
* obj1
= 0 ;
40009 char * kwnames
[] = {
40010 (char *) "self",(char *) "window", NULL
40013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40015 if (!SWIG_IsOK(res1
)) {
40016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40018 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40019 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40020 if (!SWIG_IsOK(res2
)) {
40021 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
40023 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40026 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
40027 wxPyEndAllowThreads(__tstate
);
40028 if (PyErr_Occurred()) SWIG_fail
;
40032 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
40034 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
40043 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40044 PyObject
*resultobj
= 0;
40045 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40046 wxWindow
*arg2
= (wxWindow
*) 0 ;
40052 PyObject
* obj0
= 0 ;
40053 PyObject
* obj1
= 0 ;
40054 char * kwnames
[] = {
40055 (char *) "self",(char *) "window", NULL
40058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40060 if (!SWIG_IsOK(res1
)) {
40061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40063 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40064 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40065 if (!SWIG_IsOK(res2
)) {
40066 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40068 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40071 result
= (bool)(arg1
)->ShowHelp(arg2
);
40072 wxPyEndAllowThreads(__tstate
);
40073 if (PyErr_Occurred()) SWIG_fail
;
40076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40084 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelpAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40085 PyObject
*resultobj
= 0;
40086 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40087 wxWindowBase
*arg2
= (wxWindowBase
*) 0 ;
40088 wxPoint
*arg3
= 0 ;
40089 wxHelpEvent::Origin arg4
;
40098 PyObject
* obj0
= 0 ;
40099 PyObject
* obj1
= 0 ;
40100 PyObject
* obj2
= 0 ;
40101 PyObject
* obj3
= 0 ;
40102 char * kwnames
[] = {
40103 (char *) "self",(char *) "window",(char *) "pt",(char *) "origin", NULL
40106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HelpProvider_ShowHelpAtPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40108 if (!SWIG_IsOK(res1
)) {
40109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40111 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40112 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindowBase
, 0 | 0 );
40113 if (!SWIG_IsOK(res2
)) {
40114 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "2"" of type '" "wxWindowBase *""'");
40116 arg2
= reinterpret_cast< wxWindowBase
* >(argp2
);
40119 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40121 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
40122 if (!SWIG_IsOK(ecode4
)) {
40123 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
40125 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
40127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40128 result
= (bool)(arg1
)->ShowHelpAtPoint(arg2
,(wxPoint
const &)*arg3
,arg4
);
40129 wxPyEndAllowThreads(__tstate
);
40130 if (PyErr_Occurred()) SWIG_fail
;
40133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40141 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40142 PyObject
*resultobj
= 0;
40143 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40144 wxWindow
*arg2
= (wxWindow
*) 0 ;
40145 wxString
*arg3
= 0 ;
40150 bool temp3
= false ;
40151 PyObject
* obj0
= 0 ;
40152 PyObject
* obj1
= 0 ;
40153 PyObject
* obj2
= 0 ;
40154 char * kwnames
[] = {
40155 (char *) "self",(char *) "window",(char *) "text", NULL
40158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40160 if (!SWIG_IsOK(res1
)) {
40161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40163 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40164 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40165 if (!SWIG_IsOK(res2
)) {
40166 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40168 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40170 arg3
= wxString_in_helper(obj2
);
40171 if (arg3
== NULL
) SWIG_fail
;
40175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40176 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40177 wxPyEndAllowThreads(__tstate
);
40178 if (PyErr_Occurred()) SWIG_fail
;
40180 resultobj
= SWIG_Py_Void();
40195 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40196 PyObject
*resultobj
= 0;
40197 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40199 wxString
*arg3
= 0 ;
40204 bool temp3
= false ;
40205 PyObject
* obj0
= 0 ;
40206 PyObject
* obj1
= 0 ;
40207 PyObject
* obj2
= 0 ;
40208 char * kwnames
[] = {
40209 (char *) "self",(char *) "id",(char *) "text", NULL
40212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40214 if (!SWIG_IsOK(res1
)) {
40215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40217 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40218 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40219 if (!SWIG_IsOK(ecode2
)) {
40220 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
40222 arg2
= static_cast< int >(val2
);
40224 arg3
= wxString_in_helper(obj2
);
40225 if (arg3
== NULL
) SWIG_fail
;
40229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40230 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40231 wxPyEndAllowThreads(__tstate
);
40232 if (PyErr_Occurred()) SWIG_fail
;
40234 resultobj
= SWIG_Py_Void();
40249 SWIGINTERN PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40250 PyObject
*resultobj
= 0;
40251 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40252 wxWindow
*arg2
= (wxWindow
*) 0 ;
40257 PyObject
* obj0
= 0 ;
40258 PyObject
* obj1
= 0 ;
40259 char * kwnames
[] = {
40260 (char *) "self",(char *) "window", NULL
40263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40265 if (!SWIG_IsOK(res1
)) {
40266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40268 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40269 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40270 if (!SWIG_IsOK(res2
)) {
40271 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40273 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40276 (arg1
)->RemoveHelp(arg2
);
40277 wxPyEndAllowThreads(__tstate
);
40278 if (PyErr_Occurred()) SWIG_fail
;
40280 resultobj
= SWIG_Py_Void();
40287 SWIGINTERN PyObject
*_wrap_HelpProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40288 PyObject
*resultobj
= 0;
40289 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40292 PyObject
*swig_obj
[1] ;
40294 if (!args
) SWIG_fail
;
40295 swig_obj
[0] = args
;
40296 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40297 if (!SWIG_IsOK(res1
)) {
40298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40300 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40303 wxHelpProvider_Destroy(arg1
);
40304 wxPyEndAllowThreads(__tstate
);
40305 if (PyErr_Occurred()) SWIG_fail
;
40307 resultobj
= SWIG_Py_Void();
40314 SWIGINTERN PyObject
*HelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40316 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40317 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider
, SWIG_NewClientData(obj
));
40318 return SWIG_Py_Void();
40321 SWIGINTERN PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40322 PyObject
*resultobj
= 0;
40323 wxSimpleHelpProvider
*result
= 0 ;
40325 if (!SWIG_Python_UnpackTuple(args
,"new_SimpleHelpProvider",0,0,0)) SWIG_fail
;
40327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40328 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
40329 wxPyEndAllowThreads(__tstate
);
40330 if (PyErr_Occurred()) SWIG_fail
;
40332 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_POINTER_NEW
| 0 );
40339 SWIGINTERN PyObject
*SimpleHelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40341 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40342 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_NewClientData(obj
));
40343 return SWIG_Py_Void();
40346 SWIGINTERN PyObject
*SimpleHelpProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40347 return SWIG_Python_InitShadowInstance(args
);
40350 SWIGINTERN PyObject
*_wrap_new_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40351 PyObject
*resultobj
= 0;
40352 wxBitmap
*arg1
= 0 ;
40353 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40354 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40355 wxGenericDragImage
*result
= 0 ;
40360 PyObject
* obj0
= 0 ;
40361 PyObject
* obj1
= 0 ;
40362 char * kwnames
[] = {
40363 (char *) "image",(char *) "cursor", NULL
40366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40367 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
40368 if (!SWIG_IsOK(res1
)) {
40369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40372 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40374 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
40376 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40377 if (!SWIG_IsOK(res2
)) {
40378 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40381 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40383 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40386 if (!wxPyCheckForApp()) SWIG_fail
;
40387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40388 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
40389 wxPyEndAllowThreads(__tstate
);
40390 if (PyErr_Occurred()) SWIG_fail
;
40392 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_NEW
| 0 );
40399 SWIGINTERN PyObject
*_wrap_new_DragIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40400 PyObject
*resultobj
= 0;
40402 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40403 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40404 wxGenericDragImage
*result
= 0 ;
40409 PyObject
* obj0
= 0 ;
40410 PyObject
* obj1
= 0 ;
40411 char * kwnames
[] = {
40412 (char *) "image",(char *) "cursor", NULL
40415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40416 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
40417 if (!SWIG_IsOK(res1
)) {
40418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40421 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40423 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
40425 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40426 if (!SWIG_IsOK(res2
)) {
40427 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40430 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40432 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40435 if (!wxPyCheckForApp()) SWIG_fail
;
40436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40437 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
40438 wxPyEndAllowThreads(__tstate
);
40439 if (PyErr_Occurred()) SWIG_fail
;
40441 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40448 SWIGINTERN PyObject
*_wrap_new_DragString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40449 PyObject
*resultobj
= 0;
40450 wxString
*arg1
= 0 ;
40451 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40452 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40453 wxGenericDragImage
*result
= 0 ;
40454 bool temp1
= false ;
40457 PyObject
* obj0
= 0 ;
40458 PyObject
* obj1
= 0 ;
40459 char * kwnames
[] = {
40460 (char *) "str",(char *) "cursor", NULL
40463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40465 arg1
= wxString_in_helper(obj0
);
40466 if (arg1
== NULL
) SWIG_fail
;
40470 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40471 if (!SWIG_IsOK(res2
)) {
40472 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40475 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40477 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40480 if (!wxPyCheckForApp()) SWIG_fail
;
40481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40482 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
40483 wxPyEndAllowThreads(__tstate
);
40484 if (PyErr_Occurred()) SWIG_fail
;
40486 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40501 SWIGINTERN PyObject
*_wrap_new_DragTreeItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40502 PyObject
*resultobj
= 0;
40503 wxPyTreeCtrl
*arg1
= 0 ;
40504 wxTreeItemId
*arg2
= 0 ;
40505 wxGenericDragImage
*result
= 0 ;
40510 PyObject
* obj0
= 0 ;
40511 PyObject
* obj1
= 0 ;
40512 char * kwnames
[] = {
40513 (char *) "treeCtrl",(char *) "id", NULL
40516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40517 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0);
40518 if (!SWIG_IsOK(res1
)) {
40519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40522 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40524 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
40525 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 );
40526 if (!SWIG_IsOK(res2
)) {
40527 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40530 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40532 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
40534 if (!wxPyCheckForApp()) SWIG_fail
;
40535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40536 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
40537 wxPyEndAllowThreads(__tstate
);
40538 if (PyErr_Occurred()) SWIG_fail
;
40540 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40547 SWIGINTERN PyObject
*_wrap_new_DragListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40548 PyObject
*resultobj
= 0;
40549 wxPyListCtrl
*arg1
= 0 ;
40551 wxGenericDragImage
*result
= 0 ;
40556 PyObject
* obj0
= 0 ;
40557 PyObject
* obj1
= 0 ;
40558 char * kwnames
[] = {
40559 (char *) "listCtrl",(char *) "id", NULL
40562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40563 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyListCtrl
, 0 | 0);
40564 if (!SWIG_IsOK(res1
)) {
40565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40568 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40570 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
40571 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
40572 if (!SWIG_IsOK(ecode2
)) {
40573 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
40575 arg2
= static_cast< long >(val2
);
40577 if (!wxPyCheckForApp()) SWIG_fail
;
40578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40579 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
40580 wxPyEndAllowThreads(__tstate
);
40581 if (PyErr_Occurred()) SWIG_fail
;
40583 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40590 SWIGINTERN PyObject
*_wrap_delete_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40591 PyObject
*resultobj
= 0;
40592 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40595 PyObject
*swig_obj
[1] ;
40597 if (!args
) SWIG_fail
;
40598 swig_obj
[0] = args
;
40599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_DISOWN
| 0 );
40600 if (!SWIG_IsOK(res1
)) {
40601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40603 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40608 wxPyEndAllowThreads(__tstate
);
40609 if (PyErr_Occurred()) SWIG_fail
;
40611 resultobj
= SWIG_Py_Void();
40618 SWIGINTERN PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40619 PyObject
*resultobj
= 0;
40620 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40621 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
40626 PyObject
* obj0
= 0 ;
40627 PyObject
* obj1
= 0 ;
40628 char * kwnames
[] = {
40629 (char *) "self",(char *) "bitmap", NULL
40632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40634 if (!SWIG_IsOK(res1
)) {
40635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40637 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40638 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
40639 if (!SWIG_IsOK(res2
)) {
40640 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
40642 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
40644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40645 (arg1
)->SetBackingBitmap(arg2
);
40646 wxPyEndAllowThreads(__tstate
);
40647 if (PyErr_Occurred()) SWIG_fail
;
40649 resultobj
= SWIG_Py_Void();
40656 SWIGINTERN PyObject
*_wrap_DragImage_BeginDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40657 PyObject
*resultobj
= 0;
40658 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40659 wxPoint
*arg2
= 0 ;
40660 wxWindow
*arg3
= (wxWindow
*) 0 ;
40661 bool arg4
= (bool) false ;
40662 wxRect
*arg5
= (wxRect
*) NULL
;
40673 PyObject
* obj0
= 0 ;
40674 PyObject
* obj1
= 0 ;
40675 PyObject
* obj2
= 0 ;
40676 PyObject
* obj3
= 0 ;
40677 PyObject
* obj4
= 0 ;
40678 char * kwnames
[] = {
40679 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
40682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40684 if (!SWIG_IsOK(res1
)) {
40685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40687 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40690 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40692 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40693 if (!SWIG_IsOK(res3
)) {
40694 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
40696 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40698 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
40699 if (!SWIG_IsOK(ecode4
)) {
40700 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
40702 arg4
= static_cast< bool >(val4
);
40705 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxRect
, 0 | 0 );
40706 if (!SWIG_IsOK(res5
)) {
40707 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
40709 arg5
= reinterpret_cast< wxRect
* >(argp5
);
40712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40713 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
40714 wxPyEndAllowThreads(__tstate
);
40715 if (PyErr_Occurred()) SWIG_fail
;
40718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40726 SWIGINTERN PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40727 PyObject
*resultobj
= 0;
40728 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40729 wxPoint
*arg2
= 0 ;
40730 wxWindow
*arg3
= (wxWindow
*) 0 ;
40731 wxWindow
*arg4
= (wxWindow
*) 0 ;
40740 PyObject
* obj0
= 0 ;
40741 PyObject
* obj1
= 0 ;
40742 PyObject
* obj2
= 0 ;
40743 PyObject
* obj3
= 0 ;
40744 char * kwnames
[] = {
40745 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
40748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40750 if (!SWIG_IsOK(res1
)) {
40751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40753 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40756 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40758 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40759 if (!SWIG_IsOK(res3
)) {
40760 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
40762 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40763 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40764 if (!SWIG_IsOK(res4
)) {
40765 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
40767 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
40769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40770 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
40771 wxPyEndAllowThreads(__tstate
);
40772 if (PyErr_Occurred()) SWIG_fail
;
40775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40783 SWIGINTERN PyObject
*_wrap_DragImage_EndDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40784 PyObject
*resultobj
= 0;
40785 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40789 PyObject
*swig_obj
[1] ;
40791 if (!args
) SWIG_fail
;
40792 swig_obj
[0] = args
;
40793 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40794 if (!SWIG_IsOK(res1
)) {
40795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40797 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40800 result
= (bool)(arg1
)->EndDrag();
40801 wxPyEndAllowThreads(__tstate
);
40802 if (PyErr_Occurred()) SWIG_fail
;
40805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40813 SWIGINTERN PyObject
*_wrap_DragImage_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40814 PyObject
*resultobj
= 0;
40815 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40816 wxPoint
*arg2
= 0 ;
40821 PyObject
* obj0
= 0 ;
40822 PyObject
* obj1
= 0 ;
40823 char * kwnames
[] = {
40824 (char *) "self",(char *) "pt", NULL
40827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40829 if (!SWIG_IsOK(res1
)) {
40830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40832 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40835 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40839 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
40840 wxPyEndAllowThreads(__tstate
);
40841 if (PyErr_Occurred()) SWIG_fail
;
40844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40852 SWIGINTERN PyObject
*_wrap_DragImage_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40853 PyObject
*resultobj
= 0;
40854 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40858 PyObject
*swig_obj
[1] ;
40860 if (!args
) SWIG_fail
;
40861 swig_obj
[0] = args
;
40862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40863 if (!SWIG_IsOK(res1
)) {
40864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40866 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40869 result
= (bool)(arg1
)->Show();
40870 wxPyEndAllowThreads(__tstate
);
40871 if (PyErr_Occurred()) SWIG_fail
;
40874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40882 SWIGINTERN PyObject
*_wrap_DragImage_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40883 PyObject
*resultobj
= 0;
40884 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40888 PyObject
*swig_obj
[1] ;
40890 if (!args
) SWIG_fail
;
40891 swig_obj
[0] = args
;
40892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40893 if (!SWIG_IsOK(res1
)) {
40894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40896 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40899 result
= (bool)(arg1
)->Hide();
40900 wxPyEndAllowThreads(__tstate
);
40901 if (PyErr_Occurred()) SWIG_fail
;
40904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40912 SWIGINTERN PyObject
*_wrap_DragImage_GetImageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40913 PyObject
*resultobj
= 0;
40914 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40915 wxPoint
*arg2
= 0 ;
40920 PyObject
* obj0
= 0 ;
40921 PyObject
* obj1
= 0 ;
40922 char * kwnames
[] = {
40923 (char *) "self",(char *) "pos", NULL
40926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40928 if (!SWIG_IsOK(res1
)) {
40929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40931 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40934 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40938 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
40939 wxPyEndAllowThreads(__tstate
);
40940 if (PyErr_Occurred()) SWIG_fail
;
40942 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
40949 SWIGINTERN PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40950 PyObject
*resultobj
= 0;
40951 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40953 wxPoint
*arg3
= 0 ;
40960 PyObject
* obj0
= 0 ;
40961 PyObject
* obj1
= 0 ;
40962 PyObject
* obj2
= 0 ;
40963 char * kwnames
[] = {
40964 (char *) "self",(char *) "dc",(char *) "pos", NULL
40967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40969 if (!SWIG_IsOK(res1
)) {
40970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40972 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40973 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
40974 if (!SWIG_IsOK(res2
)) {
40975 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
40978 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
40980 arg2
= reinterpret_cast< wxDC
* >(argp2
);
40983 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40987 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
40988 wxPyEndAllowThreads(__tstate
);
40989 if (PyErr_Occurred()) SWIG_fail
;
40992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41000 SWIGINTERN PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41001 PyObject
*resultobj
= 0;
41002 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41004 wxMemoryDC
*arg3
= 0 ;
41016 PyObject
* obj0
= 0 ;
41017 PyObject
* obj1
= 0 ;
41018 PyObject
* obj2
= 0 ;
41019 PyObject
* obj3
= 0 ;
41020 PyObject
* obj4
= 0 ;
41021 char * kwnames
[] = {
41022 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
41025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41027 if (!SWIG_IsOK(res1
)) {
41028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41030 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41031 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
41032 if (!SWIG_IsOK(res2
)) {
41033 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41036 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41038 arg2
= reinterpret_cast< wxDC
* >(argp2
);
41039 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxMemoryDC
, 0 );
41040 if (!SWIG_IsOK(res3
)) {
41041 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41044 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41046 arg3
= reinterpret_cast< wxMemoryDC
* >(argp3
);
41049 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
41053 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
41056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41057 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
41058 wxPyEndAllowThreads(__tstate
);
41059 if (PyErr_Occurred()) SWIG_fail
;
41062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41070 SWIGINTERN PyObject
*_wrap_DragImage_RedrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41071 PyObject
*resultobj
= 0;
41072 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41073 wxPoint
*arg2
= 0 ;
41074 wxPoint
*arg3
= 0 ;
41086 PyObject
* obj0
= 0 ;
41087 PyObject
* obj1
= 0 ;
41088 PyObject
* obj2
= 0 ;
41089 PyObject
* obj3
= 0 ;
41090 PyObject
* obj4
= 0 ;
41091 char * kwnames
[] = {
41092 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
41095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41097 if (!SWIG_IsOK(res1
)) {
41098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41100 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41103 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41107 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
41109 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
41110 if (!SWIG_IsOK(ecode4
)) {
41111 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
41113 arg4
= static_cast< bool >(val4
);
41114 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
41115 if (!SWIG_IsOK(ecode5
)) {
41116 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
41118 arg5
= static_cast< bool >(val5
);
41120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41121 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
41122 wxPyEndAllowThreads(__tstate
);
41123 if (PyErr_Occurred()) SWIG_fail
;
41126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41134 SWIGINTERN PyObject
*DragImage_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41136 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41137 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage
, SWIG_NewClientData(obj
));
41138 return SWIG_Py_Void();
41141 SWIGINTERN PyObject
*DragImage_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41142 return SWIG_Python_InitShadowInstance(args
);
41145 SWIGINTERN
int DatePickerCtrlNameStr_set(PyObject
*) {
41146 SWIG_Error(SWIG_AttributeError
,"Variable DatePickerCtrlNameStr is read-only.");
41151 SWIGINTERN PyObject
*DatePickerCtrlNameStr_get(void) {
41152 PyObject
*pyobj
= 0;
41156 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
41158 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
41165 SWIGINTERN PyObject
*_wrap_new_DatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41166 PyObject
*resultobj
= 0;
41167 wxWindow
*arg1
= (wxWindow
*) 0 ;
41168 int arg2
= (int) -1 ;
41169 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
41170 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
41171 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
41172 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
41173 wxSize
const &arg5_defvalue
= wxDefaultSize
;
41174 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
41175 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41176 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
41177 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
41178 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
41179 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41180 wxDatePickerCtrl
*result
= 0 ;
41193 bool temp8
= false ;
41194 PyObject
* obj0
= 0 ;
41195 PyObject
* obj1
= 0 ;
41196 PyObject
* obj2
= 0 ;
41197 PyObject
* obj3
= 0 ;
41198 PyObject
* obj4
= 0 ;
41199 PyObject
* obj5
= 0 ;
41200 PyObject
* obj6
= 0 ;
41201 PyObject
* obj7
= 0 ;
41202 char * kwnames
[] = {
41203 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41208 if (!SWIG_IsOK(res1
)) {
41209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41211 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41213 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41214 if (!SWIG_IsOK(ecode2
)) {
41215 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
41217 arg2
= static_cast< int >(val2
);
41220 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41221 if (!SWIG_IsOK(res3
)) {
41222 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41225 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41227 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41232 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
41238 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
41242 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
41243 if (!SWIG_IsOK(ecode6
)) {
41244 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
41246 arg6
= static_cast< long >(val6
);
41249 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
41250 if (!SWIG_IsOK(res7
)) {
41251 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41254 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41256 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
41260 arg8
= wxString_in_helper(obj7
);
41261 if (arg8
== NULL
) SWIG_fail
;
41266 if (!wxPyCheckForApp()) SWIG_fail
;
41267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41268 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
41269 wxPyEndAllowThreads(__tstate
);
41270 if (PyErr_Occurred()) SWIG_fail
;
41272 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_NEW
| 0 );
41287 SWIGINTERN PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41288 PyObject
*resultobj
= 0;
41289 wxDatePickerCtrl
*result
= 0 ;
41291 if (!SWIG_Python_UnpackTuple(args
,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail
;
41293 if (!wxPyCheckForApp()) SWIG_fail
;
41294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41295 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
41296 wxPyEndAllowThreads(__tstate
);
41297 if (PyErr_Occurred()) SWIG_fail
;
41299 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_OWN
| 0 );
41306 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41307 PyObject
*resultobj
= 0;
41308 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41309 wxWindow
*arg2
= (wxWindow
*) 0 ;
41310 int arg3
= (int) -1 ;
41311 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
41312 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
41313 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41314 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41315 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41316 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41317 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41318 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
41319 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
41320 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
41321 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41337 bool temp9
= false ;
41338 PyObject
* obj0
= 0 ;
41339 PyObject
* obj1
= 0 ;
41340 PyObject
* obj2
= 0 ;
41341 PyObject
* obj3
= 0 ;
41342 PyObject
* obj4
= 0 ;
41343 PyObject
* obj5
= 0 ;
41344 PyObject
* obj6
= 0 ;
41345 PyObject
* obj7
= 0 ;
41346 PyObject
* obj8
= 0 ;
41347 char * kwnames
[] = {
41348 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41353 if (!SWIG_IsOK(res1
)) {
41354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41356 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41357 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41358 if (!SWIG_IsOK(res2
)) {
41359 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41361 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41363 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41364 if (!SWIG_IsOK(ecode3
)) {
41365 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41367 arg3
= static_cast< int >(val3
);
41370 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41371 if (!SWIG_IsOK(res4
)) {
41372 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41375 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41377 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
41382 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41388 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41392 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41393 if (!SWIG_IsOK(ecode7
)) {
41394 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
41396 arg7
= static_cast< long >(val7
);
41399 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
41400 if (!SWIG_IsOK(res8
)) {
41401 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41404 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41406 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
41410 arg9
= wxString_in_helper(obj8
);
41411 if (arg9
== NULL
) SWIG_fail
;
41416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41417 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
41418 wxPyEndAllowThreads(__tstate
);
41419 if (PyErr_Occurred()) SWIG_fail
;
41422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41438 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41439 PyObject
*resultobj
= 0;
41440 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41441 wxDateTime
*arg2
= 0 ;
41446 PyObject
* obj0
= 0 ;
41447 PyObject
* obj1
= 0 ;
41448 char * kwnames
[] = {
41449 (char *) "self",(char *) "dt", NULL
41452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41454 if (!SWIG_IsOK(res1
)) {
41455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41457 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41458 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41459 if (!SWIG_IsOK(res2
)) {
41460 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41463 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41465 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41468 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
41469 wxPyEndAllowThreads(__tstate
);
41470 if (PyErr_Occurred()) SWIG_fail
;
41472 resultobj
= SWIG_Py_Void();
41479 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41480 PyObject
*resultobj
= 0;
41481 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41485 PyObject
*swig_obj
[1] ;
41487 if (!args
) SWIG_fail
;
41488 swig_obj
[0] = args
;
41489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41490 if (!SWIG_IsOK(res1
)) {
41491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
41493 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41496 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
41497 wxPyEndAllowThreads(__tstate
);
41498 if (PyErr_Occurred()) SWIG_fail
;
41500 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41507 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41508 PyObject
*resultobj
= 0;
41509 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41510 wxDateTime
*arg2
= 0 ;
41511 wxDateTime
*arg3
= 0 ;
41518 PyObject
* obj0
= 0 ;
41519 PyObject
* obj1
= 0 ;
41520 PyObject
* obj2
= 0 ;
41521 char * kwnames
[] = {
41522 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
41525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41527 if (!SWIG_IsOK(res1
)) {
41528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41530 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41531 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41532 if (!SWIG_IsOK(res2
)) {
41533 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41536 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41538 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41539 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41540 if (!SWIG_IsOK(res3
)) {
41541 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41544 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41546 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41549 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
41550 wxPyEndAllowThreads(__tstate
);
41551 if (PyErr_Occurred()) SWIG_fail
;
41553 resultobj
= SWIG_Py_Void();
41560 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41561 PyObject
*resultobj
= 0;
41562 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41566 PyObject
*swig_obj
[1] ;
41568 if (!args
) SWIG_fail
;
41569 swig_obj
[0] = args
;
41570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41571 if (!SWIG_IsOK(res1
)) {
41572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41574 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41577 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
41578 wxPyEndAllowThreads(__tstate
);
41579 if (PyErr_Occurred()) SWIG_fail
;
41581 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41588 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41589 PyObject
*resultobj
= 0;
41590 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41594 PyObject
*swig_obj
[1] ;
41596 if (!args
) SWIG_fail
;
41597 swig_obj
[0] = args
;
41598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41599 if (!SWIG_IsOK(res1
)) {
41600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41602 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41605 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
41606 wxPyEndAllowThreads(__tstate
);
41607 if (PyErr_Occurred()) SWIG_fail
;
41609 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41616 SWIGINTERN PyObject
*DatePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41618 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41619 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl
, SWIG_NewClientData(obj
));
41620 return SWIG_Py_Void();
41623 SWIGINTERN PyObject
*DatePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41624 return SWIG_Python_InitShadowInstance(args
);
41627 SWIGINTERN
int HyperlinkCtrlNameStr_set(PyObject
*) {
41628 SWIG_Error(SWIG_AttributeError
,"Variable HyperlinkCtrlNameStr is read-only.");
41633 SWIGINTERN PyObject
*HyperlinkCtrlNameStr_get(void) {
41634 PyObject
*pyobj
= 0;
41638 pyobj
= PyUnicode_FromWideChar((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41640 pyobj
= PyString_FromStringAndSize((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41647 SWIGINTERN PyObject
*_wrap_new_HyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41648 PyObject
*resultobj
= 0;
41649 wxWindow
*arg1
= (wxWindow
*) 0 ;
41651 wxString
*arg3
= 0 ;
41652 wxString
*arg4
= 0 ;
41653 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41654 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41655 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41656 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41657 long arg7
= (long) wxHL_DEFAULT_STYLE
;
41658 wxString
const &arg8_defvalue
= wxPyHyperlinkCtrlNameStr
;
41659 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41660 wxHyperlinkCtrl
*result
= 0 ;
41665 bool temp3
= false ;
41666 bool temp4
= false ;
41671 bool temp8
= false ;
41672 PyObject
* obj0
= 0 ;
41673 PyObject
* obj1
= 0 ;
41674 PyObject
* obj2
= 0 ;
41675 PyObject
* obj3
= 0 ;
41676 PyObject
* obj4
= 0 ;
41677 PyObject
* obj5
= 0 ;
41678 PyObject
* obj6
= 0 ;
41679 PyObject
* obj7
= 0 ;
41680 char * kwnames
[] = {
41681 (char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_HyperlinkCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41686 if (!SWIG_IsOK(res1
)) {
41687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41689 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41690 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41691 if (!SWIG_IsOK(ecode2
)) {
41692 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkCtrl" "', expected argument " "2"" of type '" "int""'");
41694 arg2
= static_cast< int >(val2
);
41696 arg3
= wxString_in_helper(obj2
);
41697 if (arg3
== NULL
) SWIG_fail
;
41701 arg4
= wxString_in_helper(obj3
);
41702 if (arg4
== NULL
) SWIG_fail
;
41708 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41714 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41718 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41719 if (!SWIG_IsOK(ecode7
)) {
41720 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_HyperlinkCtrl" "', expected argument " "7"" of type '" "long""'");
41722 arg7
= static_cast< long >(val7
);
41726 arg8
= wxString_in_helper(obj7
);
41727 if (arg8
== NULL
) SWIG_fail
;
41732 if (!wxPyCheckForApp()) SWIG_fail
;
41733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41734 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
41735 wxPyEndAllowThreads(__tstate
);
41736 if (PyErr_Occurred()) SWIG_fail
;
41738 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_NEW
| 0 );
41769 SWIGINTERN PyObject
*_wrap_new_PreHyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41770 PyObject
*resultobj
= 0;
41771 wxHyperlinkCtrl
*result
= 0 ;
41773 if (!SWIG_Python_UnpackTuple(args
,"new_PreHyperlinkCtrl",0,0,0)) SWIG_fail
;
41775 if (!wxPyCheckForApp()) SWIG_fail
;
41776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41777 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl();
41778 wxPyEndAllowThreads(__tstate
);
41779 if (PyErr_Occurred()) SWIG_fail
;
41781 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_OWN
| 0 );
41788 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41789 PyObject
*resultobj
= 0;
41790 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41791 wxWindow
*arg2
= (wxWindow
*) 0 ;
41793 wxString
*arg4
= 0 ;
41794 wxString
*arg5
= 0 ;
41795 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
41796 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
41797 wxSize
const &arg7_defvalue
= wxDefaultSize
;
41798 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
41799 long arg8
= (long) wxHL_DEFAULT_STYLE
;
41800 wxString
const &arg9_defvalue
= wxPyHyperlinkCtrlNameStr
;
41801 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41809 bool temp4
= false ;
41810 bool temp5
= false ;
41815 bool temp9
= false ;
41816 PyObject
* obj0
= 0 ;
41817 PyObject
* obj1
= 0 ;
41818 PyObject
* obj2
= 0 ;
41819 PyObject
* obj3
= 0 ;
41820 PyObject
* obj4
= 0 ;
41821 PyObject
* obj5
= 0 ;
41822 PyObject
* obj6
= 0 ;
41823 PyObject
* obj7
= 0 ;
41824 PyObject
* obj8
= 0 ;
41825 char * kwnames
[] = {
41826 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOO:HyperlinkCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41831 if (!SWIG_IsOK(res1
)) {
41832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41834 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41835 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41836 if (!SWIG_IsOK(res2
)) {
41837 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41839 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41840 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41841 if (!SWIG_IsOK(ecode3
)) {
41842 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41844 arg3
= static_cast< int >(val3
);
41846 arg4
= wxString_in_helper(obj3
);
41847 if (arg4
== NULL
) SWIG_fail
;
41851 arg5
= wxString_in_helper(obj4
);
41852 if (arg5
== NULL
) SWIG_fail
;
41858 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
41864 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
41868 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
41869 if (!SWIG_IsOK(ecode8
)) {
41870 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "8"" of type '" "long""'");
41872 arg8
= static_cast< long >(val8
);
41876 arg9
= wxString_in_helper(obj8
);
41877 if (arg9
== NULL
) SWIG_fail
;
41882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41883 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
41884 wxPyEndAllowThreads(__tstate
);
41885 if (PyErr_Occurred()) SWIG_fail
;
41888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41920 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41921 PyObject
*resultobj
= 0;
41922 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41926 PyObject
*swig_obj
[1] ;
41928 if (!args
) SWIG_fail
;
41929 swig_obj
[0] = args
;
41930 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41931 if (!SWIG_IsOK(res1
)) {
41932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41934 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41937 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetHoverColour();
41938 wxPyEndAllowThreads(__tstate
);
41939 if (PyErr_Occurred()) SWIG_fail
;
41941 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
41948 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41949 PyObject
*resultobj
= 0;
41950 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41951 wxColour
*arg2
= 0 ;
41955 PyObject
* obj0
= 0 ;
41956 PyObject
* obj1
= 0 ;
41957 char * kwnames
[] = {
41958 (char *) "self",(char *) "colour", NULL
41961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetHoverColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41963 if (!SWIG_IsOK(res1
)) {
41964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41966 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41969 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
41972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41973 (arg1
)->SetHoverColour((wxColour
const &)*arg2
);
41974 wxPyEndAllowThreads(__tstate
);
41975 if (PyErr_Occurred()) SWIG_fail
;
41977 resultobj
= SWIG_Py_Void();
41984 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41985 PyObject
*resultobj
= 0;
41986 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41990 PyObject
*swig_obj
[1] ;
41992 if (!args
) SWIG_fail
;
41993 swig_obj
[0] = args
;
41994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41995 if (!SWIG_IsOK(res1
)) {
41996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41998 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42001 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetNormalColour();
42002 wxPyEndAllowThreads(__tstate
);
42003 if (PyErr_Occurred()) SWIG_fail
;
42005 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42012 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42013 PyObject
*resultobj
= 0;
42014 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42015 wxColour
*arg2
= 0 ;
42019 PyObject
* obj0
= 0 ;
42020 PyObject
* obj1
= 0 ;
42021 char * kwnames
[] = {
42022 (char *) "self",(char *) "colour", NULL
42025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetNormalColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42027 if (!SWIG_IsOK(res1
)) {
42028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42030 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42033 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42037 (arg1
)->SetNormalColour((wxColour
const &)*arg2
);
42038 wxPyEndAllowThreads(__tstate
);
42039 if (PyErr_Occurred()) SWIG_fail
;
42041 resultobj
= SWIG_Py_Void();
42048 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42049 PyObject
*resultobj
= 0;
42050 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42054 PyObject
*swig_obj
[1] ;
42056 if (!args
) SWIG_fail
;
42057 swig_obj
[0] = args
;
42058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42059 if (!SWIG_IsOK(res1
)) {
42060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42062 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42065 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetVisitedColour();
42066 wxPyEndAllowThreads(__tstate
);
42067 if (PyErr_Occurred()) SWIG_fail
;
42069 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42076 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42077 PyObject
*resultobj
= 0;
42078 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42079 wxColour
*arg2
= 0 ;
42083 PyObject
* obj0
= 0 ;
42084 PyObject
* obj1
= 0 ;
42085 char * kwnames
[] = {
42086 (char *) "self",(char *) "colour", NULL
42089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetVisitedColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42091 if (!SWIG_IsOK(res1
)) {
42092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42094 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42097 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42101 (arg1
)->SetVisitedColour((wxColour
const &)*arg2
);
42102 wxPyEndAllowThreads(__tstate
);
42103 if (PyErr_Occurred()) SWIG_fail
;
42105 resultobj
= SWIG_Py_Void();
42112 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42113 PyObject
*resultobj
= 0;
42114 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42118 PyObject
*swig_obj
[1] ;
42120 if (!args
) SWIG_fail
;
42121 swig_obj
[0] = args
;
42122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42123 if (!SWIG_IsOK(res1
)) {
42124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42126 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42129 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetURL();
42130 wxPyEndAllowThreads(__tstate
);
42131 if (PyErr_Occurred()) SWIG_fail
;
42135 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42137 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42146 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42147 PyObject
*resultobj
= 0;
42148 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42149 wxString
*arg2
= 0 ;
42152 bool temp2
= false ;
42153 PyObject
* obj0
= 0 ;
42154 PyObject
* obj1
= 0 ;
42155 char * kwnames
[] = {
42156 (char *) "self",(char *) "url", NULL
42159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42161 if (!SWIG_IsOK(res1
)) {
42162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42164 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42166 arg2
= wxString_in_helper(obj1
);
42167 if (arg2
== NULL
) SWIG_fail
;
42171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42172 (arg1
)->SetURL((wxString
const &)*arg2
);
42173 wxPyEndAllowThreads(__tstate
);
42174 if (PyErr_Occurred()) SWIG_fail
;
42176 resultobj
= SWIG_Py_Void();
42191 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42192 PyObject
*resultobj
= 0;
42193 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42194 bool arg2
= (bool) true ;
42199 PyObject
* obj0
= 0 ;
42200 PyObject
* obj1
= 0 ;
42201 char * kwnames
[] = {
42202 (char *) "self",(char *) "visited", NULL
42205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HyperlinkCtrl_SetVisited",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42207 if (!SWIG_IsOK(res1
)) {
42208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42210 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42212 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42213 if (!SWIG_IsOK(ecode2
)) {
42214 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "2"" of type '" "bool""'");
42216 arg2
= static_cast< bool >(val2
);
42219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42220 (arg1
)->SetVisited(arg2
);
42221 wxPyEndAllowThreads(__tstate
);
42222 if (PyErr_Occurred()) SWIG_fail
;
42224 resultobj
= SWIG_Py_Void();
42231 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42232 PyObject
*resultobj
= 0;
42233 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42237 PyObject
*swig_obj
[1] ;
42239 if (!args
) SWIG_fail
;
42240 swig_obj
[0] = args
;
42241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42242 if (!SWIG_IsOK(res1
)) {
42243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42245 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42248 result
= (bool)((wxHyperlinkCtrl
const *)arg1
)->GetVisited();
42249 wxPyEndAllowThreads(__tstate
);
42250 if (PyErr_Occurred()) SWIG_fail
;
42253 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42261 SWIGINTERN PyObject
*HyperlinkCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42263 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42264 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_NewClientData(obj
));
42265 return SWIG_Py_Void();
42268 SWIGINTERN PyObject
*HyperlinkCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42269 return SWIG_Python_InitShadowInstance(args
);
42272 SWIGINTERN PyObject
*_wrap_new_HyperlinkEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42273 PyObject
*resultobj
= 0;
42274 wxObject
*arg1
= (wxObject
*) 0 ;
42276 wxString
*arg3
= 0 ;
42277 wxHyperlinkEvent
*result
= 0 ;
42282 bool temp3
= false ;
42283 PyObject
* obj0
= 0 ;
42284 PyObject
* obj1
= 0 ;
42285 PyObject
* obj2
= 0 ;
42286 char * kwnames
[] = {
42287 (char *) "generator",(char *) "id",(char *) "url", NULL
42290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_HyperlinkEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
42291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
42292 if (!SWIG_IsOK(res1
)) {
42293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkEvent" "', expected argument " "1"" of type '" "wxObject *""'");
42295 arg1
= reinterpret_cast< wxObject
* >(argp1
);
42296 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42297 if (!SWIG_IsOK(ecode2
)) {
42298 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkEvent" "', expected argument " "2"" of type '" "int""'");
42300 arg2
= static_cast< int >(val2
);
42302 arg3
= wxString_in_helper(obj2
);
42303 if (arg3
== NULL
) SWIG_fail
;
42307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42308 result
= (wxHyperlinkEvent
*)new wxHyperlinkEvent(arg1
,arg2
,(wxString
const &)*arg3
);
42309 wxPyEndAllowThreads(__tstate
);
42310 if (PyErr_Occurred()) SWIG_fail
;
42312 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkEvent
, SWIG_POINTER_NEW
| 0 );
42327 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42328 PyObject
*resultobj
= 0;
42329 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42333 PyObject
*swig_obj
[1] ;
42335 if (!args
) SWIG_fail
;
42336 swig_obj
[0] = args
;
42337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42338 if (!SWIG_IsOK(res1
)) {
42339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent const *""'");
42341 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42344 result
= ((wxHyperlinkEvent
const *)arg1
)->GetURL();
42345 wxPyEndAllowThreads(__tstate
);
42346 if (PyErr_Occurred()) SWIG_fail
;
42350 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42352 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42361 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42362 PyObject
*resultobj
= 0;
42363 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42364 wxString
*arg2
= 0 ;
42367 bool temp2
= false ;
42368 PyObject
* obj0
= 0 ;
42369 PyObject
* obj1
= 0 ;
42370 char * kwnames
[] = {
42371 (char *) "self",(char *) "url", NULL
42374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkEvent_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42376 if (!SWIG_IsOK(res1
)) {
42377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent *""'");
42379 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42381 arg2
= wxString_in_helper(obj1
);
42382 if (arg2
== NULL
) SWIG_fail
;
42386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42387 (arg1
)->SetURL((wxString
const &)*arg2
);
42388 wxPyEndAllowThreads(__tstate
);
42389 if (PyErr_Occurred()) SWIG_fail
;
42391 resultobj
= SWIG_Py_Void();
42406 SWIGINTERN PyObject
*HyperlinkEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42408 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42409 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkEvent
, SWIG_NewClientData(obj
));
42410 return SWIG_Py_Void();
42413 SWIGINTERN PyObject
*HyperlinkEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42414 return SWIG_Python_InitShadowInstance(args
);
42417 SWIGINTERN PyObject
*_wrap_PickerBase_CreateBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42418 PyObject
*resultobj
= 0;
42419 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42420 wxWindow
*arg2
= (wxWindow
*) 0 ;
42422 wxString
const &arg4_defvalue
= wxEmptyString
;
42423 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
42424 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
42425 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
42426 wxSize
const &arg6_defvalue
= wxDefaultSize
;
42427 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
42428 long arg7
= (long) 0 ;
42429 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
42430 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
42431 wxString
const &arg9_defvalue
= wxButtonNameStr
;
42432 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
42440 bool temp4
= false ;
42447 bool temp9
= false ;
42448 PyObject
* obj0
= 0 ;
42449 PyObject
* obj1
= 0 ;
42450 PyObject
* obj2
= 0 ;
42451 PyObject
* obj3
= 0 ;
42452 PyObject
* obj4
= 0 ;
42453 PyObject
* obj5
= 0 ;
42454 PyObject
* obj6
= 0 ;
42455 PyObject
* obj7
= 0 ;
42456 PyObject
* obj8
= 0 ;
42457 char * kwnames
[] = {
42458 (char *) "self",(char *) "parent",(char *) "id",(char *) "text",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:PickerBase_CreateBase",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
42462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42463 if (!SWIG_IsOK(res1
)) {
42464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_CreateBase" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42466 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42467 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42468 if (!SWIG_IsOK(res2
)) {
42469 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PickerBase_CreateBase" "', expected argument " "2"" of type '" "wxWindow *""'");
42471 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
42472 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42473 if (!SWIG_IsOK(ecode3
)) {
42474 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PickerBase_CreateBase" "', expected argument " "3"" of type '" "int""'");
42476 arg3
= static_cast< int >(val3
);
42479 arg4
= wxString_in_helper(obj3
);
42480 if (arg4
== NULL
) SWIG_fail
;
42487 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
42493 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
42497 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
42498 if (!SWIG_IsOK(ecode7
)) {
42499 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PickerBase_CreateBase" "', expected argument " "7"" of type '" "long""'");
42501 arg7
= static_cast< long >(val7
);
42504 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
42505 if (!SWIG_IsOK(res8
)) {
42506 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42509 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42511 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
42515 arg9
= wxString_in_helper(obj8
);
42516 if (arg9
== NULL
) SWIG_fail
;
42521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42522 result
= (bool)(arg1
)->CreateBase(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
42523 wxPyEndAllowThreads(__tstate
);
42524 if (PyErr_Occurred()) SWIG_fail
;
42527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42551 SWIGINTERN PyObject
*_wrap_PickerBase_SetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42552 PyObject
*resultobj
= 0;
42553 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42559 PyObject
* obj0
= 0 ;
42560 PyObject
* obj1
= 0 ;
42561 char * kwnames
[] = {
42562 (char *) "self",(char *) "newmargin", NULL
42565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetInternalMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42567 if (!SWIG_IsOK(res1
)) {
42568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42570 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42571 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42572 if (!SWIG_IsOK(ecode2
)) {
42573 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "2"" of type '" "int""'");
42575 arg2
= static_cast< int >(val2
);
42577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42578 (arg1
)->SetInternalMargin(arg2
);
42579 wxPyEndAllowThreads(__tstate
);
42580 if (PyErr_Occurred()) SWIG_fail
;
42582 resultobj
= SWIG_Py_Void();
42589 SWIGINTERN PyObject
*_wrap_PickerBase_GetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42590 PyObject
*resultobj
= 0;
42591 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42595 PyObject
*swig_obj
[1] ;
42597 if (!args
) SWIG_fail
;
42598 swig_obj
[0] = args
;
42599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42600 if (!SWIG_IsOK(res1
)) {
42601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42603 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42606 result
= (int)((wxPickerBase
const *)arg1
)->GetInternalMargin();
42607 wxPyEndAllowThreads(__tstate
);
42608 if (PyErr_Occurred()) SWIG_fail
;
42610 resultobj
= SWIG_From_int(static_cast< int >(result
));
42617 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42618 PyObject
*resultobj
= 0;
42619 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42625 PyObject
* obj0
= 0 ;
42626 PyObject
* obj1
= 0 ;
42627 char * kwnames
[] = {
42628 (char *) "self",(char *) "prop", NULL
42631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetTextCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42633 if (!SWIG_IsOK(res1
)) {
42634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42636 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42637 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42638 if (!SWIG_IsOK(ecode2
)) {
42639 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42641 arg2
= static_cast< int >(val2
);
42643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42644 (arg1
)->SetTextCtrlProportion(arg2
);
42645 wxPyEndAllowThreads(__tstate
);
42646 if (PyErr_Occurred()) SWIG_fail
;
42648 resultobj
= SWIG_Py_Void();
42655 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42656 PyObject
*resultobj
= 0;
42657 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42661 PyObject
*swig_obj
[1] ;
42663 if (!args
) SWIG_fail
;
42664 swig_obj
[0] = args
;
42665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42666 if (!SWIG_IsOK(res1
)) {
42667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42669 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42672 result
= (int)((wxPickerBase
const *)arg1
)->GetTextCtrlProportion();
42673 wxPyEndAllowThreads(__tstate
);
42674 if (PyErr_Occurred()) SWIG_fail
;
42676 resultobj
= SWIG_From_int(static_cast< int >(result
));
42683 SWIGINTERN PyObject
*_wrap_PickerBase_IsTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42684 PyObject
*resultobj
= 0;
42685 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42689 PyObject
*swig_obj
[1] ;
42691 if (!args
) SWIG_fail
;
42692 swig_obj
[0] = args
;
42693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42694 if (!SWIG_IsOK(res1
)) {
42695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42697 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42700 result
= (bool)((wxPickerBase
const *)arg1
)->IsTextCtrlGrowable();
42701 wxPyEndAllowThreads(__tstate
);
42702 if (PyErr_Occurred()) SWIG_fail
;
42705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42713 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42714 PyObject
*resultobj
= 0;
42715 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42716 bool arg2
= (bool) true ;
42721 PyObject
* obj0
= 0 ;
42722 PyObject
* obj1
= 0 ;
42723 char * kwnames
[] = {
42724 (char *) "self",(char *) "grow", NULL
42727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetTextCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42729 if (!SWIG_IsOK(res1
)) {
42730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42732 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42734 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42735 if (!SWIG_IsOK(ecode2
)) {
42736 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
42738 arg2
= static_cast< bool >(val2
);
42741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42742 (arg1
)->SetTextCtrlGrowable(arg2
);
42743 wxPyEndAllowThreads(__tstate
);
42744 if (PyErr_Occurred()) SWIG_fail
;
42746 resultobj
= SWIG_Py_Void();
42753 SWIGINTERN PyObject
*_wrap_PickerBase_IsPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42754 PyObject
*resultobj
= 0;
42755 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42759 PyObject
*swig_obj
[1] ;
42761 if (!args
) SWIG_fail
;
42762 swig_obj
[0] = args
;
42763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42764 if (!SWIG_IsOK(res1
)) {
42765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42767 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42770 result
= (bool)((wxPickerBase
const *)arg1
)->IsPickerCtrlGrowable();
42771 wxPyEndAllowThreads(__tstate
);
42772 if (PyErr_Occurred()) SWIG_fail
;
42775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42783 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42784 PyObject
*resultobj
= 0;
42785 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42786 bool arg2
= (bool) true ;
42791 PyObject
* obj0
= 0 ;
42792 PyObject
* obj1
= 0 ;
42793 char * kwnames
[] = {
42794 (char *) "self",(char *) "grow", NULL
42797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetPickerCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42799 if (!SWIG_IsOK(res1
)) {
42800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42802 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42804 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42805 if (!SWIG_IsOK(ecode2
)) {
42806 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
42808 arg2
= static_cast< bool >(val2
);
42811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42812 (arg1
)->SetPickerCtrlGrowable(arg2
);
42813 wxPyEndAllowThreads(__tstate
);
42814 if (PyErr_Occurred()) SWIG_fail
;
42816 resultobj
= SWIG_Py_Void();
42823 SWIGINTERN PyObject
*_wrap_PickerBase_HasTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42824 PyObject
*resultobj
= 0;
42825 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42829 PyObject
*swig_obj
[1] ;
42831 if (!args
) SWIG_fail
;
42832 swig_obj
[0] = args
;
42833 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42834 if (!SWIG_IsOK(res1
)) {
42835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_HasTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42837 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42840 result
= (bool)((wxPickerBase
const *)arg1
)->HasTextCtrl();
42841 wxPyEndAllowThreads(__tstate
);
42842 if (PyErr_Occurred()) SWIG_fail
;
42845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42853 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42854 PyObject
*resultobj
= 0;
42855 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42856 wxTextCtrl
*result
= 0 ;
42859 PyObject
*swig_obj
[1] ;
42861 if (!args
) SWIG_fail
;
42862 swig_obj
[0] = args
;
42863 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42864 if (!SWIG_IsOK(res1
)) {
42865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42867 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42870 result
= (wxTextCtrl
*)(arg1
)->GetTextCtrl();
42871 wxPyEndAllowThreads(__tstate
);
42872 if (PyErr_Occurred()) SWIG_fail
;
42875 resultobj
= wxPyMake_wxObject(result
, 0);
42883 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42884 PyObject
*resultobj
= 0;
42885 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42886 wxControl
*result
= 0 ;
42889 PyObject
*swig_obj
[1] ;
42891 if (!args
) SWIG_fail
;
42892 swig_obj
[0] = args
;
42893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42894 if (!SWIG_IsOK(res1
)) {
42895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42897 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42900 result
= (wxControl
*)(arg1
)->GetPickerCtrl();
42901 wxPyEndAllowThreads(__tstate
);
42902 if (PyErr_Occurred()) SWIG_fail
;
42905 resultobj
= wxPyMake_wxObject(result
, 0);
42913 SWIGINTERN PyObject
*PickerBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42915 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42916 SWIG_TypeNewClientData(SWIGTYPE_p_wxPickerBase
, SWIG_NewClientData(obj
));
42917 return SWIG_Py_Void();
42920 SWIGINTERN
int ColourPickerCtrlNameStr_set(PyObject
*) {
42921 SWIG_Error(SWIG_AttributeError
,"Variable ColourPickerCtrlNameStr is read-only.");
42926 SWIGINTERN PyObject
*ColourPickerCtrlNameStr_get(void) {
42927 PyObject
*pyobj
= 0;
42931 pyobj
= PyUnicode_FromWideChar((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
42933 pyobj
= PyString_FromStringAndSize((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
42940 SWIGINTERN PyObject
*_wrap_new_ColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42941 PyObject
*resultobj
= 0;
42942 wxWindow
*arg1
= (wxWindow
*) 0 ;
42943 int arg2
= (int) -1 ;
42944 wxColour
const &arg3_defvalue
= *wxBLACK
;
42945 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
42946 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
42947 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
42948 wxSize
const &arg5_defvalue
= wxDefaultSize
;
42949 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
42950 long arg6
= (long) wxCLRP_DEFAULT_STYLE
;
42951 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
42952 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
42953 wxString
const &arg8_defvalue
= wxPyColourPickerCtrlNameStr
;
42954 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
42955 wxColourPickerCtrl
*result
= 0 ;
42967 bool temp8
= false ;
42968 PyObject
* obj0
= 0 ;
42969 PyObject
* obj1
= 0 ;
42970 PyObject
* obj2
= 0 ;
42971 PyObject
* obj3
= 0 ;
42972 PyObject
* obj4
= 0 ;
42973 PyObject
* obj5
= 0 ;
42974 PyObject
* obj6
= 0 ;
42975 PyObject
* obj7
= 0 ;
42976 char * kwnames
[] = {
42977 (char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ColourPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
42981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42982 if (!SWIG_IsOK(res1
)) {
42983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
42985 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
42987 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42988 if (!SWIG_IsOK(ecode2
)) {
42989 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerCtrl" "', expected argument " "2"" of type '" "int""'");
42991 arg2
= static_cast< int >(val2
);
42996 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43002 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
43008 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
43012 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
43013 if (!SWIG_IsOK(ecode6
)) {
43014 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ColourPickerCtrl" "', expected argument " "6"" of type '" "long""'");
43016 arg6
= static_cast< long >(val6
);
43019 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
43020 if (!SWIG_IsOK(res7
)) {
43021 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43024 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43026 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
43030 arg8
= wxString_in_helper(obj7
);
43031 if (arg8
== NULL
) SWIG_fail
;
43036 if (!wxPyCheckForApp()) SWIG_fail
;
43037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43038 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl(arg1
,arg2
,(wxColour
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
43039 wxPyEndAllowThreads(__tstate
);
43040 if (PyErr_Occurred()) SWIG_fail
;
43042 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_NEW
| 0 );
43057 SWIGINTERN PyObject
*_wrap_new_PreColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43058 PyObject
*resultobj
= 0;
43059 wxColourPickerCtrl
*result
= 0 ;
43061 if (!SWIG_Python_UnpackTuple(args
,"new_PreColourPickerCtrl",0,0,0)) SWIG_fail
;
43063 if (!wxPyCheckForApp()) SWIG_fail
;
43064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43065 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl();
43066 wxPyEndAllowThreads(__tstate
);
43067 if (PyErr_Occurred()) SWIG_fail
;
43069 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_OWN
| 0 );
43076 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43077 PyObject
*resultobj
= 0;
43078 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43079 wxWindow
*arg2
= (wxWindow
*) 0 ;
43081 wxColour
const &arg4_defvalue
= *wxBLACK
;
43082 wxColour
*arg4
= (wxColour
*) &arg4_defvalue
;
43083 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
43084 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
43085 wxSize
const &arg6_defvalue
= wxDefaultSize
;
43086 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
43087 long arg7
= (long) wxCLRP_DEFAULT_STYLE
;
43088 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
43089 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
43090 wxString
const &arg9_defvalue
= wxPyColourPickerCtrlNameStr
;
43091 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
43106 bool temp9
= false ;
43107 PyObject
* obj0
= 0 ;
43108 PyObject
* obj1
= 0 ;
43109 PyObject
* obj2
= 0 ;
43110 PyObject
* obj3
= 0 ;
43111 PyObject
* obj4
= 0 ;
43112 PyObject
* obj5
= 0 ;
43113 PyObject
* obj6
= 0 ;
43114 PyObject
* obj7
= 0 ;
43115 PyObject
* obj8
= 0 ;
43116 char * kwnames
[] = {
43117 (char *) "self",(char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ColourPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
43121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43122 if (!SWIG_IsOK(res1
)) {
43123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43125 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43126 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43127 if (!SWIG_IsOK(res2
)) {
43128 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43130 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43131 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43132 if (!SWIG_IsOK(ecode3
)) {
43133 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43135 arg3
= static_cast< int >(val3
);
43139 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
43145 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
43151 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
43155 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
43156 if (!SWIG_IsOK(ecode7
)) {
43157 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
43159 arg7
= static_cast< long >(val7
);
43162 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
43163 if (!SWIG_IsOK(res8
)) {
43164 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43167 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43169 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
43173 arg9
= wxString_in_helper(obj8
);
43174 if (arg9
== NULL
) SWIG_fail
;
43179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43180 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
43181 wxPyEndAllowThreads(__tstate
);
43182 if (PyErr_Occurred()) SWIG_fail
;
43185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43201 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43202 PyObject
*resultobj
= 0;
43203 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43207 PyObject
*swig_obj
[1] ;
43209 if (!args
) SWIG_fail
;
43210 swig_obj
[0] = args
;
43211 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43212 if (!SWIG_IsOK(res1
)) {
43213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_GetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl const *""'");
43215 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43218 result
= ((wxColourPickerCtrl
const *)arg1
)->GetColour();
43219 wxPyEndAllowThreads(__tstate
);
43220 if (PyErr_Occurred()) SWIG_fail
;
43222 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43229 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43230 PyObject
*resultobj
= 0;
43231 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43232 wxColour
*arg2
= 0 ;
43236 PyObject
* obj0
= 0 ;
43237 PyObject
* obj1
= 0 ;
43238 char * kwnames
[] = {
43239 (char *) "self",(char *) "col", NULL
43242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerCtrl_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43244 if (!SWIG_IsOK(res1
)) {
43245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_SetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43247 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43250 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43254 (arg1
)->SetColour((wxColour
const &)*arg2
);
43255 wxPyEndAllowThreads(__tstate
);
43256 if (PyErr_Occurred()) SWIG_fail
;
43258 resultobj
= SWIG_Py_Void();
43265 SWIGINTERN PyObject
*ColourPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43267 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43268 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerCtrl
, SWIG_NewClientData(obj
));
43269 return SWIG_Py_Void();
43272 SWIGINTERN PyObject
*ColourPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43273 return SWIG_Python_InitShadowInstance(args
);
43276 SWIGINTERN PyObject
*_wrap_new_ColourPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43277 PyObject
*resultobj
= 0;
43278 wxObject
*arg1
= (wxObject
*) 0 ;
43280 wxColour
*arg3
= 0 ;
43281 wxColourPickerEvent
*result
= 0 ;
43287 PyObject
* obj0
= 0 ;
43288 PyObject
* obj1
= 0 ;
43289 PyObject
* obj2
= 0 ;
43290 char * kwnames
[] = {
43291 (char *) "generator",(char *) "id",(char *) "col", NULL
43294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ColourPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
43295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
43296 if (!SWIG_IsOK(res1
)) {
43297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
43299 arg1
= reinterpret_cast< wxObject
* >(argp1
);
43300 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43301 if (!SWIG_IsOK(ecode2
)) {
43302 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerEvent" "', expected argument " "2"" of type '" "int""'");
43304 arg2
= static_cast< int >(val2
);
43307 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43311 result
= (wxColourPickerEvent
*)new wxColourPickerEvent(arg1
,arg2
,(wxColour
const &)*arg3
);
43312 wxPyEndAllowThreads(__tstate
);
43313 if (PyErr_Occurred()) SWIG_fail
;
43315 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerEvent
, SWIG_POINTER_NEW
| 0 );
43322 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43323 PyObject
*resultobj
= 0;
43324 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43328 PyObject
*swig_obj
[1] ;
43330 if (!args
) SWIG_fail
;
43331 swig_obj
[0] = args
;
43332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43333 if (!SWIG_IsOK(res1
)) {
43334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_GetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent const *""'");
43336 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43339 result
= ((wxColourPickerEvent
const *)arg1
)->GetColour();
43340 wxPyEndAllowThreads(__tstate
);
43341 if (PyErr_Occurred()) SWIG_fail
;
43343 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43350 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43351 PyObject
*resultobj
= 0;
43352 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43353 wxColour
*arg2
= 0 ;
43357 PyObject
* obj0
= 0 ;
43358 PyObject
* obj1
= 0 ;
43359 char * kwnames
[] = {
43360 (char *) "self",(char *) "c", NULL
43363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerEvent_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43365 if (!SWIG_IsOK(res1
)) {
43366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_SetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent *""'");
43368 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43371 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43375 (arg1
)->SetColour((wxColour
const &)*arg2
);
43376 wxPyEndAllowThreads(__tstate
);
43377 if (PyErr_Occurred()) SWIG_fail
;
43379 resultobj
= SWIG_Py_Void();
43386 SWIGINTERN PyObject
*ColourPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43388 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43389 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerEvent
, SWIG_NewClientData(obj
));
43390 return SWIG_Py_Void();
43393 SWIGINTERN PyObject
*ColourPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43394 return SWIG_Python_InitShadowInstance(args
);
43397 SWIGINTERN
int FilePickerCtrlNameStr_set(PyObject
*) {
43398 SWIG_Error(SWIG_AttributeError
,"Variable FilePickerCtrlNameStr is read-only.");
43403 SWIGINTERN PyObject
*FilePickerCtrlNameStr_get(void) {
43404 PyObject
*pyobj
= 0;
43408 pyobj
= PyUnicode_FromWideChar((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43410 pyobj
= PyString_FromStringAndSize((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43417 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
43418 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
43423 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
43424 PyObject
*pyobj
= 0;
43428 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43430 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43437 SWIGINTERN
int DirPickerCtrlNameStr_set(PyObject
*) {
43438 SWIG_Error(SWIG_AttributeError
,"Variable DirPickerCtrlNameStr is read-only.");
43443 SWIGINTERN PyObject
*DirPickerCtrlNameStr_get(void) {
43444 PyObject
*pyobj
= 0;
43448 pyobj
= PyUnicode_FromWideChar((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43450 pyobj
= PyString_FromStringAndSize((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43457 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
43458 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
43463 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
43464 PyObject
*pyobj
= 0;
43468 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43470 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43477 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
43478 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
43483 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
43484 PyObject
*pyobj
= 0;
43488 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43490 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43497 SWIGINTERN PyObject
*_wrap_new_FilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43498 PyObject
*resultobj
= 0;
43499 wxWindow
*arg1
= (wxWindow
*) 0 ;
43500 int arg2
= (int) -1 ;
43501 wxString
const &arg3_defvalue
= wxPyEmptyString
;
43502 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
43503 wxString
const &arg4_defvalue
= wxPyFileSelectorPromptStr
;
43504 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43505 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
43506 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43507 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
43508 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
43509 wxSize
const &arg7_defvalue
= wxDefaultSize
;
43510 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
43511 long arg8
= (long) wxFLP_DEFAULT_STYLE
;
43512 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
43513 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
43514 wxString
const &arg10_defvalue
= wxPyFilePickerCtrlNameStr
;
43515 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
43516 wxFilePickerCtrl
*result
= 0 ;
43521 bool temp3
= false ;
43522 bool temp4
= false ;
43523 bool temp5
= false ;
43530 bool temp10
= false ;
43531 PyObject
* obj0
= 0 ;
43532 PyObject
* obj1
= 0 ;
43533 PyObject
* obj2
= 0 ;
43534 PyObject
* obj3
= 0 ;
43535 PyObject
* obj4
= 0 ;
43536 PyObject
* obj5
= 0 ;
43537 PyObject
* obj6
= 0 ;
43538 PyObject
* obj7
= 0 ;
43539 PyObject
* obj8
= 0 ;
43540 PyObject
* obj9
= 0 ;
43541 char * kwnames
[] = {
43542 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_FilePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
43546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43547 if (!SWIG_IsOK(res1
)) {
43548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FilePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43550 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43552 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43553 if (!SWIG_IsOK(ecode2
)) {
43554 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FilePickerCtrl" "', expected argument " "2"" of type '" "int""'");
43556 arg2
= static_cast< int >(val2
);
43560 arg3
= wxString_in_helper(obj2
);
43561 if (arg3
== NULL
) SWIG_fail
;
43567 arg4
= wxString_in_helper(obj3
);
43568 if (arg4
== NULL
) SWIG_fail
;
43574 arg5
= wxString_in_helper(obj4
);
43575 if (arg5
== NULL
) SWIG_fail
;
43582 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
43588 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
43592 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
43593 if (!SWIG_IsOK(ecode8
)) {
43594 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_FilePickerCtrl" "', expected argument " "8"" of type '" "long""'");
43596 arg8
= static_cast< long >(val8
);
43599 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
43600 if (!SWIG_IsOK(res9
)) {
43601 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43604 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43606 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
43610 arg10
= wxString_in_helper(obj9
);
43611 if (arg10
== NULL
) SWIG_fail
;
43616 if (!wxPyCheckForApp()) SWIG_fail
;
43617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43618 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
);
43619 wxPyEndAllowThreads(__tstate
);
43620 if (PyErr_Occurred()) SWIG_fail
;
43622 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_NEW
| 0 );
43661 SWIGINTERN PyObject
*_wrap_new_PreFilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43662 PyObject
*resultobj
= 0;
43663 wxFilePickerCtrl
*result
= 0 ;
43665 if (!SWIG_Python_UnpackTuple(args
,"new_PreFilePickerCtrl",0,0,0)) SWIG_fail
;
43667 if (!wxPyCheckForApp()) SWIG_fail
;
43668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43669 result
= (wxFilePickerCtrl
*)new wxFilePickerCtrl();
43670 wxPyEndAllowThreads(__tstate
);
43671 if (PyErr_Occurred()) SWIG_fail
;
43673 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_OWN
| 0 );
43680 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43681 PyObject
*resultobj
= 0;
43682 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43683 wxWindow
*arg2
= (wxWindow
*) 0 ;
43684 int arg3
= (int) -1 ;
43685 wxString
const &arg4_defvalue
= wxPyEmptyString
;
43686 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43687 wxString
const &arg5_defvalue
= wxPyFileSelectorPromptStr
;
43688 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43689 wxString
const &arg6_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
43690 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
43691 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
43692 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
43693 wxSize
const &arg8_defvalue
= wxDefaultSize
;
43694 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
43695 long arg9
= (long) wxFLP_DEFAULT_STYLE
;
43696 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
43697 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
43698 wxString
const &arg11_defvalue
= wxPyFilePickerCtrlNameStr
;
43699 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
43707 bool temp4
= false ;
43708 bool temp5
= false ;
43709 bool temp6
= false ;
43716 bool temp11
= false ;
43717 PyObject
* obj0
= 0 ;
43718 PyObject
* obj1
= 0 ;
43719 PyObject
* obj2
= 0 ;
43720 PyObject
* obj3
= 0 ;
43721 PyObject
* obj4
= 0 ;
43722 PyObject
* obj5
= 0 ;
43723 PyObject
* obj6
= 0 ;
43724 PyObject
* obj7
= 0 ;
43725 PyObject
* obj8
= 0 ;
43726 PyObject
* obj9
= 0 ;
43727 PyObject
* obj10
= 0 ;
43728 char * kwnames
[] = {
43729 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:FilePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
43733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43734 if (!SWIG_IsOK(res1
)) {
43735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_Create" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
43737 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43738 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43739 if (!SWIG_IsOK(res2
)) {
43740 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FilePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43742 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43744 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43745 if (!SWIG_IsOK(ecode3
)) {
43746 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FilePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43748 arg3
= static_cast< int >(val3
);
43752 arg4
= wxString_in_helper(obj3
);
43753 if (arg4
== NULL
) SWIG_fail
;
43759 arg5
= wxString_in_helper(obj4
);
43760 if (arg5
== NULL
) SWIG_fail
;
43766 arg6
= wxString_in_helper(obj5
);
43767 if (arg6
== NULL
) SWIG_fail
;
43774 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
43780 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
43784 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
43785 if (!SWIG_IsOK(ecode9
)) {
43786 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "FilePickerCtrl_Create" "', expected argument " "9"" of type '" "long""'");
43788 arg9
= static_cast< long >(val9
);
43791 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
43792 if (!SWIG_IsOK(res10
)) {
43793 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
43796 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
43798 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
43802 arg11
= wxString_in_helper(obj10
);
43803 if (arg11
== NULL
) SWIG_fail
;
43808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43809 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
);
43810 wxPyEndAllowThreads(__tstate
);
43811 if (PyErr_Occurred()) SWIG_fail
;
43814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43854 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43855 PyObject
*resultobj
= 0;
43856 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43860 PyObject
*swig_obj
[1] ;
43862 if (!args
) SWIG_fail
;
43863 swig_obj
[0] = args
;
43864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43865 if (!SWIG_IsOK(res1
)) {
43866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
43868 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43871 result
= ((wxFilePickerCtrl
const *)arg1
)->GetPath();
43872 wxPyEndAllowThreads(__tstate
);
43873 if (PyErr_Occurred()) SWIG_fail
;
43877 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
43879 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
43888 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43889 PyObject
*resultobj
= 0;
43890 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43891 wxString
*arg2
= 0 ;
43894 bool temp2
= false ;
43895 PyObject
* obj0
= 0 ;
43896 PyObject
* obj1
= 0 ;
43897 char * kwnames
[] = {
43898 (char *) "self",(char *) "str", NULL
43901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43903 if (!SWIG_IsOK(res1
)) {
43904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
43906 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43908 arg2
= wxString_in_helper(obj1
);
43909 if (arg2
== NULL
) SWIG_fail
;
43913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43914 (arg1
)->SetPath((wxString
const &)*arg2
);
43915 wxPyEndAllowThreads(__tstate
);
43916 if (PyErr_Occurred()) SWIG_fail
;
43918 resultobj
= SWIG_Py_Void();
43933 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43934 PyObject
*resultobj
= 0;
43935 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43936 wxString
*arg2
= 0 ;
43940 bool temp2
= false ;
43941 PyObject
* obj0
= 0 ;
43942 PyObject
* obj1
= 0 ;
43943 char * kwnames
[] = {
43944 (char *) "self",(char *) "path", NULL
43947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43949 if (!SWIG_IsOK(res1
)) {
43950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
43952 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43954 arg2
= wxString_in_helper(obj1
);
43955 if (arg2
== NULL
) SWIG_fail
;
43959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43960 result
= (bool)((wxFilePickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
43961 wxPyEndAllowThreads(__tstate
);
43962 if (PyErr_Occurred()) SWIG_fail
;
43965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43981 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43982 PyObject
*resultobj
= 0;
43983 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43987 PyObject
*swig_obj
[1] ;
43989 if (!args
) SWIG_fail
;
43990 swig_obj
[0] = args
;
43991 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43992 if (!SWIG_IsOK(res1
)) {
43993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
43995 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43998 result
= ((wxFilePickerCtrl
const *)arg1
)->GetTextCtrlValue();
43999 wxPyEndAllowThreads(__tstate
);
44000 if (PyErr_Occurred()) SWIG_fail
;
44004 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44006 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44015 SWIGINTERN PyObject
*FilePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44017 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44018 SWIG_TypeNewClientData(SWIGTYPE_p_wxFilePickerCtrl
, SWIG_NewClientData(obj
));
44019 return SWIG_Py_Void();
44022 SWIGINTERN PyObject
*FilePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44023 return SWIG_Python_InitShadowInstance(args
);
44026 SWIGINTERN PyObject
*_wrap_new_DirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44027 PyObject
*resultobj
= 0;
44028 wxWindow
*arg1
= (wxWindow
*) 0 ;
44029 int arg2
= (int) -1 ;
44030 wxString
const &arg3_defvalue
= wxPyEmptyString
;
44031 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
44032 wxString
const &arg4_defvalue
= wxPyDirSelectorPromptStr
;
44033 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44034 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
44035 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
44036 wxSize
const &arg6_defvalue
= wxDefaultSize
;
44037 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
44038 long arg7
= (long) wxDIRP_DEFAULT_STYLE
;
44039 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
44040 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
44041 wxString
const &arg9_defvalue
= wxPyDirPickerCtrlNameStr
;
44042 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
44043 wxDirPickerCtrl
*result
= 0 ;
44048 bool temp3
= false ;
44049 bool temp4
= false ;
44056 bool temp9
= false ;
44057 PyObject
* obj0
= 0 ;
44058 PyObject
* obj1
= 0 ;
44059 PyObject
* obj2
= 0 ;
44060 PyObject
* obj3
= 0 ;
44061 PyObject
* obj4
= 0 ;
44062 PyObject
* obj5
= 0 ;
44063 PyObject
* obj6
= 0 ;
44064 PyObject
* obj7
= 0 ;
44065 PyObject
* obj8
= 0 ;
44066 char * kwnames
[] = {
44067 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_DirPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
44071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44072 if (!SWIG_IsOK(res1
)) {
44073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44075 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44077 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44078 if (!SWIG_IsOK(ecode2
)) {
44079 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44081 arg2
= static_cast< int >(val2
);
44085 arg3
= wxString_in_helper(obj2
);
44086 if (arg3
== NULL
) SWIG_fail
;
44092 arg4
= wxString_in_helper(obj3
);
44093 if (arg4
== NULL
) SWIG_fail
;
44100 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
44106 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
44110 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
44111 if (!SWIG_IsOK(ecode7
)) {
44112 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_DirPickerCtrl" "', expected argument " "7"" of type '" "long""'");
44114 arg7
= static_cast< long >(val7
);
44117 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
44118 if (!SWIG_IsOK(res8
)) {
44119 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44122 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44124 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
44128 arg9
= wxString_in_helper(obj8
);
44129 if (arg9
== NULL
) SWIG_fail
;
44134 if (!wxPyCheckForApp()) SWIG_fail
;
44135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44136 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
);
44137 wxPyEndAllowThreads(__tstate
);
44138 if (PyErr_Occurred()) SWIG_fail
;
44140 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_NEW
| 0 );
44171 SWIGINTERN PyObject
*_wrap_new_PreDirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44172 PyObject
*resultobj
= 0;
44173 wxDirPickerCtrl
*result
= 0 ;
44175 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirPickerCtrl",0,0,0)) SWIG_fail
;
44177 if (!wxPyCheckForApp()) SWIG_fail
;
44178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44179 result
= (wxDirPickerCtrl
*)new wxDirPickerCtrl();
44180 wxPyEndAllowThreads(__tstate
);
44181 if (PyErr_Occurred()) SWIG_fail
;
44183 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_OWN
| 0 );
44190 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44191 PyObject
*resultobj
= 0;
44192 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44193 wxWindow
*arg2
= (wxWindow
*) 0 ;
44194 int arg3
= (int) -1 ;
44195 wxString
const &arg4_defvalue
= wxPyEmptyString
;
44196 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44197 wxString
const &arg5_defvalue
= wxPyDirSelectorPromptStr
;
44198 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
44199 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
44200 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
44201 wxSize
const &arg7_defvalue
= wxDefaultSize
;
44202 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
44203 long arg8
= (long) wxDIRP_DEFAULT_STYLE
;
44204 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
44205 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
44206 wxString
const &arg10_defvalue
= wxPyDirPickerCtrlNameStr
;
44207 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
44215 bool temp4
= false ;
44216 bool temp5
= false ;
44223 bool temp10
= false ;
44224 PyObject
* obj0
= 0 ;
44225 PyObject
* obj1
= 0 ;
44226 PyObject
* obj2
= 0 ;
44227 PyObject
* obj3
= 0 ;
44228 PyObject
* obj4
= 0 ;
44229 PyObject
* obj5
= 0 ;
44230 PyObject
* obj6
= 0 ;
44231 PyObject
* obj7
= 0 ;
44232 PyObject
* obj8
= 0 ;
44233 PyObject
* obj9
= 0 ;
44234 char * kwnames
[] = {
44235 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:DirPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
44239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44240 if (!SWIG_IsOK(res1
)) {
44241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_Create" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44243 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44244 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44245 if (!SWIG_IsOK(res2
)) {
44246 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44248 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44250 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44251 if (!SWIG_IsOK(ecode3
)) {
44252 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44254 arg3
= static_cast< int >(val3
);
44258 arg4
= wxString_in_helper(obj3
);
44259 if (arg4
== NULL
) SWIG_fail
;
44265 arg5
= wxString_in_helper(obj4
);
44266 if (arg5
== NULL
) SWIG_fail
;
44273 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
44279 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
44283 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
44284 if (!SWIG_IsOK(ecode8
)) {
44285 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DirPickerCtrl_Create" "', expected argument " "8"" of type '" "long""'");
44287 arg8
= static_cast< long >(val8
);
44290 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
44291 if (!SWIG_IsOK(res9
)) {
44292 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44295 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44297 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
44301 arg10
= wxString_in_helper(obj9
);
44302 if (arg10
== NULL
) SWIG_fail
;
44307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44308 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
);
44309 wxPyEndAllowThreads(__tstate
);
44310 if (PyErr_Occurred()) SWIG_fail
;
44313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44345 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44346 PyObject
*resultobj
= 0;
44347 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44351 PyObject
*swig_obj
[1] ;
44353 if (!args
) SWIG_fail
;
44354 swig_obj
[0] = args
;
44355 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44356 if (!SWIG_IsOK(res1
)) {
44357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44359 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44362 result
= ((wxDirPickerCtrl
const *)arg1
)->GetPath();
44363 wxPyEndAllowThreads(__tstate
);
44364 if (PyErr_Occurred()) SWIG_fail
;
44368 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44370 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44379 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44380 PyObject
*resultobj
= 0;
44381 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44382 wxString
*arg2
= 0 ;
44385 bool temp2
= false ;
44386 PyObject
* obj0
= 0 ;
44387 PyObject
* obj1
= 0 ;
44388 char * kwnames
[] = {
44389 (char *) "self",(char *) "str", NULL
44392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44394 if (!SWIG_IsOK(res1
)) {
44395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44397 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44399 arg2
= wxString_in_helper(obj1
);
44400 if (arg2
== NULL
) SWIG_fail
;
44404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44405 (arg1
)->SetPath((wxString
const &)*arg2
);
44406 wxPyEndAllowThreads(__tstate
);
44407 if (PyErr_Occurred()) SWIG_fail
;
44409 resultobj
= SWIG_Py_Void();
44424 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44425 PyObject
*resultobj
= 0;
44426 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44427 wxString
*arg2
= 0 ;
44431 bool temp2
= false ;
44432 PyObject
* obj0
= 0 ;
44433 PyObject
* obj1
= 0 ;
44434 char * kwnames
[] = {
44435 (char *) "self",(char *) "path", NULL
44438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44440 if (!SWIG_IsOK(res1
)) {
44441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44443 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44445 arg2
= wxString_in_helper(obj1
);
44446 if (arg2
== NULL
) SWIG_fail
;
44450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44451 result
= (bool)((wxDirPickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
44452 wxPyEndAllowThreads(__tstate
);
44453 if (PyErr_Occurred()) SWIG_fail
;
44456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44472 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44473 PyObject
*resultobj
= 0;
44474 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44478 PyObject
*swig_obj
[1] ;
44480 if (!args
) SWIG_fail
;
44481 swig_obj
[0] = args
;
44482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44483 if (!SWIG_IsOK(res1
)) {
44484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44486 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44489 result
= ((wxDirPickerCtrl
const *)arg1
)->GetTextCtrlValue();
44490 wxPyEndAllowThreads(__tstate
);
44491 if (PyErr_Occurred()) SWIG_fail
;
44495 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44497 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44506 SWIGINTERN PyObject
*DirPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44508 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44509 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirPickerCtrl
, SWIG_NewClientData(obj
));
44510 return SWIG_Py_Void();
44513 SWIGINTERN PyObject
*DirPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44514 return SWIG_Python_InitShadowInstance(args
);
44517 SWIGINTERN PyObject
*_wrap_new_FileDirPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44518 PyObject
*resultobj
= 0;
44520 wxObject
*arg2
= (wxObject
*) 0 ;
44522 wxString
*arg4
= 0 ;
44523 wxFileDirPickerEvent
*result
= 0 ;
44530 bool temp4
= false ;
44531 PyObject
* obj0
= 0 ;
44532 PyObject
* obj1
= 0 ;
44533 PyObject
* obj2
= 0 ;
44534 PyObject
* obj3
= 0 ;
44535 char * kwnames
[] = {
44536 (char *) "type",(char *) "generator",(char *) "id",(char *) "path", NULL
44539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileDirPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
44540 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
44541 if (!SWIG_IsOK(ecode1
)) {
44542 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FileDirPickerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
44544 arg1
= static_cast< wxEventType
>(val1
);
44545 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxObject
, 0 | 0 );
44546 if (!SWIG_IsOK(res2
)) {
44547 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FileDirPickerEvent" "', expected argument " "2"" of type '" "wxObject *""'");
44549 arg2
= reinterpret_cast< wxObject
* >(argp2
);
44550 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44551 if (!SWIG_IsOK(ecode3
)) {
44552 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FileDirPickerEvent" "', expected argument " "3"" of type '" "int""'");
44554 arg3
= static_cast< int >(val3
);
44556 arg4
= wxString_in_helper(obj3
);
44557 if (arg4
== NULL
) SWIG_fail
;
44561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44562 result
= (wxFileDirPickerEvent
*)new wxFileDirPickerEvent(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
44563 wxPyEndAllowThreads(__tstate
);
44564 if (PyErr_Occurred()) SWIG_fail
;
44566 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_POINTER_NEW
| 0 );
44581 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44582 PyObject
*resultobj
= 0;
44583 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
44587 PyObject
*swig_obj
[1] ;
44589 if (!args
) SWIG_fail
;
44590 swig_obj
[0] = args
;
44591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
44592 if (!SWIG_IsOK(res1
)) {
44593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_GetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent const *""'");
44595 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
44597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44598 result
= ((wxFileDirPickerEvent
const *)arg1
)->GetPath();
44599 wxPyEndAllowThreads(__tstate
);
44600 if (PyErr_Occurred()) SWIG_fail
;
44604 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44606 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44615 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44616 PyObject
*resultobj
= 0;
44617 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
44618 wxString
*arg2
= 0 ;
44621 bool temp2
= false ;
44622 PyObject
* obj0
= 0 ;
44623 PyObject
* obj1
= 0 ;
44624 char * kwnames
[] = {
44625 (char *) "self",(char *) "p", NULL
44628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDirPickerEvent_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
44630 if (!SWIG_IsOK(res1
)) {
44631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_SetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent *""'");
44633 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
44635 arg2
= wxString_in_helper(obj1
);
44636 if (arg2
== NULL
) SWIG_fail
;
44640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44641 (arg1
)->SetPath((wxString
const &)*arg2
);
44642 wxPyEndAllowThreads(__tstate
);
44643 if (PyErr_Occurred()) SWIG_fail
;
44645 resultobj
= SWIG_Py_Void();
44660 SWIGINTERN PyObject
*FileDirPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44662 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44663 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_NewClientData(obj
));
44664 return SWIG_Py_Void();
44667 SWIGINTERN PyObject
*FileDirPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44668 return SWIG_Python_InitShadowInstance(args
);
44671 SWIGINTERN
int FontPickerCtrlNameStr_set(PyObject
*) {
44672 SWIG_Error(SWIG_AttributeError
,"Variable FontPickerCtrlNameStr is read-only.");
44677 SWIGINTERN PyObject
*FontPickerCtrlNameStr_get(void) {
44678 PyObject
*pyobj
= 0;
44682 pyobj
= PyUnicode_FromWideChar((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
44684 pyobj
= PyString_FromStringAndSize((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
44691 SWIGINTERN PyObject
*_wrap_new_FontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44692 PyObject
*resultobj
= 0;
44693 wxWindow
*arg1
= (wxWindow
*) 0 ;
44694 int arg2
= (int) -1 ;
44695 wxFont
const &arg3_defvalue
= *wxNORMAL_FONT
;
44696 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
44697 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
44698 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
44699 wxSize
const &arg5_defvalue
= wxDefaultSize
;
44700 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
44701 long arg6
= (long) wxFNTP_DEFAULT_STYLE
;
44702 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
44703 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
44704 wxString
const &arg8_defvalue
= wxPyFontPickerCtrlNameStr
;
44705 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
44706 wxFontPickerCtrl
*result
= 0 ;
44719 bool temp8
= false ;
44720 PyObject
* obj0
= 0 ;
44721 PyObject
* obj1
= 0 ;
44722 PyObject
* obj2
= 0 ;
44723 PyObject
* obj3
= 0 ;
44724 PyObject
* obj4
= 0 ;
44725 PyObject
* obj5
= 0 ;
44726 PyObject
* obj6
= 0 ;
44727 PyObject
* obj7
= 0 ;
44728 char * kwnames
[] = {
44729 (char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_FontPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
44733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44734 if (!SWIG_IsOK(res1
)) {
44735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44737 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44739 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44740 if (!SWIG_IsOK(ecode2
)) {
44741 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44743 arg2
= static_cast< int >(val2
);
44746 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
44747 if (!SWIG_IsOK(res3
)) {
44748 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
44751 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
44753 arg3
= reinterpret_cast< wxFont
* >(argp3
);
44758 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
44764 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
44768 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
44769 if (!SWIG_IsOK(ecode6
)) {
44770 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FontPickerCtrl" "', expected argument " "6"" of type '" "long""'");
44772 arg6
= static_cast< long >(val6
);
44775 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
44776 if (!SWIG_IsOK(res7
)) {
44777 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
44780 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
44782 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
44786 arg8
= wxString_in_helper(obj7
);
44787 if (arg8
== NULL
) SWIG_fail
;
44792 if (!wxPyCheckForApp()) SWIG_fail
;
44793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44794 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl(arg1
,arg2
,(wxFont
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
44795 wxPyEndAllowThreads(__tstate
);
44796 if (PyErr_Occurred()) SWIG_fail
;
44798 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_NEW
| 0 );
44813 SWIGINTERN PyObject
*_wrap_new_PreFontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44814 PyObject
*resultobj
= 0;
44815 wxFontPickerCtrl
*result
= 0 ;
44817 if (!SWIG_Python_UnpackTuple(args
,"new_PreFontPickerCtrl",0,0,0)) SWIG_fail
;
44819 if (!wxPyCheckForApp()) SWIG_fail
;
44820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44821 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl();
44822 wxPyEndAllowThreads(__tstate
);
44823 if (PyErr_Occurred()) SWIG_fail
;
44825 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_OWN
| 0 );
44832 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44833 PyObject
*resultobj
= 0;
44834 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
44835 wxWindow
*arg2
= (wxWindow
*) 0 ;
44836 int arg3
= (int) -1 ;
44837 wxFont
const &arg4_defvalue
= *wxNORMAL_FONT
;
44838 wxFont
*arg4
= (wxFont
*) &arg4_defvalue
;
44839 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
44840 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
44841 wxSize
const &arg6_defvalue
= wxDefaultSize
;
44842 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
44843 long arg7
= (long) wxFNTP_DEFAULT_STYLE
;
44844 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
44845 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
44846 wxString
const &arg9_defvalue
= wxPyFontPickerCtrlNameStr
;
44847 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
44863 bool temp9
= false ;
44864 PyObject
* obj0
= 0 ;
44865 PyObject
* obj1
= 0 ;
44866 PyObject
* obj2
= 0 ;
44867 PyObject
* obj3
= 0 ;
44868 PyObject
* obj4
= 0 ;
44869 PyObject
* obj5
= 0 ;
44870 PyObject
* obj6
= 0 ;
44871 PyObject
* obj7
= 0 ;
44872 PyObject
* obj8
= 0 ;
44873 char * kwnames
[] = {
44874 (char *) "self",(char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:FontPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
44878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
44879 if (!SWIG_IsOK(res1
)) {
44880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_Create" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
44882 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
44883 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44884 if (!SWIG_IsOK(res2
)) {
44885 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44887 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44889 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44890 if (!SWIG_IsOK(ecode3
)) {
44891 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44893 arg3
= static_cast< int >(val3
);
44896 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxFont
, 0 | 0);
44897 if (!SWIG_IsOK(res4
)) {
44898 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
44901 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
44903 arg4
= reinterpret_cast< wxFont
* >(argp4
);
44908 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
44914 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
44918 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
44919 if (!SWIG_IsOK(ecode7
)) {
44920 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "FontPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
44922 arg7
= static_cast< long >(val7
);
44925 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
44926 if (!SWIG_IsOK(res8
)) {
44927 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
44930 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
44932 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
44936 arg9
= wxString_in_helper(obj8
);
44937 if (arg9
== NULL
) SWIG_fail
;
44942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44943 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxFont
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
44944 wxPyEndAllowThreads(__tstate
);
44945 if (PyErr_Occurred()) SWIG_fail
;
44948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44964 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44965 PyObject
*resultobj
= 0;
44966 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
44970 PyObject
*swig_obj
[1] ;
44972 if (!args
) SWIG_fail
;
44973 swig_obj
[0] = args
;
44974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
44975 if (!SWIG_IsOK(res1
)) {
44976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
44978 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
44980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44981 result
= ((wxFontPickerCtrl
const *)arg1
)->GetSelectedFont();
44982 wxPyEndAllowThreads(__tstate
);
44983 if (PyErr_Occurred()) SWIG_fail
;
44985 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
44992 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44993 PyObject
*resultobj
= 0;
44994 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45000 PyObject
* obj0
= 0 ;
45001 PyObject
* obj1
= 0 ;
45002 char * kwnames
[] = {
45003 (char *) "self",(char *) "f", NULL
45006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetSelectedFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45008 if (!SWIG_IsOK(res1
)) {
45009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45011 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45012 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
45013 if (!SWIG_IsOK(res2
)) {
45014 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45017 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45019 arg2
= reinterpret_cast< wxFont
* >(argp2
);
45021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45022 (arg1
)->SetSelectedFont((wxFont
const &)*arg2
);
45023 wxPyEndAllowThreads(__tstate
);
45024 if (PyErr_Occurred()) SWIG_fail
;
45026 resultobj
= SWIG_Py_Void();
45033 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45034 PyObject
*resultobj
= 0;
45035 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45036 unsigned int arg2
;
45039 unsigned int val2
;
45041 PyObject
* obj0
= 0 ;
45042 PyObject
* obj1
= 0 ;
45043 char * kwnames
[] = {
45044 (char *) "self",(char *) "max", NULL
45047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetMaxPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45049 if (!SWIG_IsOK(res1
)) {
45050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45052 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45053 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
45054 if (!SWIG_IsOK(ecode2
)) {
45055 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "2"" of type '" "unsigned int""'");
45057 arg2
= static_cast< unsigned int >(val2
);
45059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45060 (arg1
)->SetMaxPointSize(arg2
);
45061 wxPyEndAllowThreads(__tstate
);
45062 if (PyErr_Occurred()) SWIG_fail
;
45064 resultobj
= SWIG_Py_Void();
45071 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45072 PyObject
*resultobj
= 0;
45073 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45074 unsigned int result
;
45077 PyObject
*swig_obj
[1] ;
45079 if (!args
) SWIG_fail
;
45080 swig_obj
[0] = args
;
45081 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45082 if (!SWIG_IsOK(res1
)) {
45083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45085 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45088 result
= (unsigned int)((wxFontPickerCtrl
const *)arg1
)->GetMaxPointSize();
45089 wxPyEndAllowThreads(__tstate
);
45090 if (PyErr_Occurred()) SWIG_fail
;
45092 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
45099 SWIGINTERN PyObject
*FontPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45101 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45102 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerCtrl
, SWIG_NewClientData(obj
));
45103 return SWIG_Py_Void();
45106 SWIGINTERN PyObject
*FontPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45107 return SWIG_Python_InitShadowInstance(args
);
45110 SWIGINTERN PyObject
*_wrap_new_FontPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45111 PyObject
*resultobj
= 0;
45112 wxObject
*arg1
= (wxObject
*) 0 ;
45115 wxFontPickerEvent
*result
= 0 ;
45122 PyObject
* obj0
= 0 ;
45123 PyObject
* obj1
= 0 ;
45124 PyObject
* obj2
= 0 ;
45125 char * kwnames
[] = {
45126 (char *) "generator",(char *) "id",(char *) "f", NULL
45129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_FontPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
45131 if (!SWIG_IsOK(res1
)) {
45132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
45134 arg1
= reinterpret_cast< wxObject
* >(argp1
);
45135 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45136 if (!SWIG_IsOK(ecode2
)) {
45137 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerEvent" "', expected argument " "2"" of type '" "int""'");
45139 arg2
= static_cast< int >(val2
);
45140 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
45141 if (!SWIG_IsOK(res3
)) {
45142 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45145 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45147 arg3
= reinterpret_cast< wxFont
* >(argp3
);
45149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45150 result
= (wxFontPickerEvent
*)new wxFontPickerEvent(arg1
,arg2
,(wxFont
const &)*arg3
);
45151 wxPyEndAllowThreads(__tstate
);
45152 if (PyErr_Occurred()) SWIG_fail
;
45154 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerEvent
, SWIG_POINTER_NEW
| 0 );
45161 SWIGINTERN PyObject
*_wrap_FontPickerEvent_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45162 PyObject
*resultobj
= 0;
45163 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45167 PyObject
*swig_obj
[1] ;
45169 if (!args
) SWIG_fail
;
45170 swig_obj
[0] = args
;
45171 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45172 if (!SWIG_IsOK(res1
)) {
45173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_GetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent const *""'");
45175 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45178 result
= ((wxFontPickerEvent
const *)arg1
)->GetFont();
45179 wxPyEndAllowThreads(__tstate
);
45180 if (PyErr_Occurred()) SWIG_fail
;
45182 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
45189 SWIGINTERN PyObject
*_wrap_FontPickerEvent_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45190 PyObject
*resultobj
= 0;
45191 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45197 PyObject
* obj0
= 0 ;
45198 PyObject
* obj1
= 0 ;
45199 char * kwnames
[] = {
45200 (char *) "self",(char *) "c", NULL
45203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerEvent_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45205 if (!SWIG_IsOK(res1
)) {
45206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent *""'");
45208 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45209 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
45210 if (!SWIG_IsOK(res2
)) {
45211 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45214 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45216 arg2
= reinterpret_cast< wxFont
* >(argp2
);
45218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45219 (arg1
)->SetFont((wxFont
const &)*arg2
);
45220 wxPyEndAllowThreads(__tstate
);
45221 if (PyErr_Occurred()) SWIG_fail
;
45223 resultobj
= SWIG_Py_Void();
45230 SWIGINTERN PyObject
*FontPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45232 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45233 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerEvent
, SWIG_NewClientData(obj
));
45234 return SWIG_Py_Void();
45237 SWIGINTERN PyObject
*FontPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45238 return SWIG_Python_InitShadowInstance(args
);
45241 static PyMethodDef SwigMethods
[] = {
45242 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45243 { (char *)"new_PreButton", (PyCFunction
)_wrap_new_PreButton
, METH_NOARGS
, NULL
},
45244 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45245 { (char *)"Button_SetDefault", (PyCFunction
)_wrap_Button_SetDefault
, METH_O
, NULL
},
45246 { (char *)"Button_GetDefaultSize", (PyCFunction
)_wrap_Button_GetDefaultSize
, METH_NOARGS
, NULL
},
45247 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45248 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
45249 { (char *)"Button_swiginit", Button_swiginit
, METH_VARARGS
, NULL
},
45250 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45251 { (char *)"new_PreBitmapButton", (PyCFunction
)_wrap_new_PreBitmapButton
, METH_NOARGS
, NULL
},
45252 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45253 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
)_wrap_BitmapButton_GetBitmapLabel
, METH_O
, NULL
},
45254 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
)_wrap_BitmapButton_GetBitmapDisabled
, METH_O
, NULL
},
45255 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
)_wrap_BitmapButton_GetBitmapFocus
, METH_O
, NULL
},
45256 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
)_wrap_BitmapButton_GetBitmapSelected
, METH_O
, NULL
},
45257 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction
)_wrap_BitmapButton_GetBitmapHover
, METH_O
, NULL
},
45258 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45259 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45260 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45261 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45262 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction
) _wrap_BitmapButton_SetBitmapHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45263 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45264 { (char *)"BitmapButton_GetMarginX", (PyCFunction
)_wrap_BitmapButton_GetMarginX
, METH_O
, NULL
},
45265 { (char *)"BitmapButton_GetMarginY", (PyCFunction
)_wrap_BitmapButton_GetMarginY
, METH_O
, NULL
},
45266 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
45267 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit
, METH_VARARGS
, NULL
},
45268 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45269 { (char *)"new_PreCheckBox", (PyCFunction
)_wrap_new_PreCheckBox
, METH_NOARGS
, NULL
},
45270 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45271 { (char *)"CheckBox_GetValue", (PyCFunction
)_wrap_CheckBox_GetValue
, METH_O
, NULL
},
45272 { (char *)"CheckBox_IsChecked", (PyCFunction
)_wrap_CheckBox_IsChecked
, METH_O
, NULL
},
45273 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45274 { (char *)"CheckBox_Get3StateValue", (PyCFunction
)_wrap_CheckBox_Get3StateValue
, METH_O
, NULL
},
45275 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45276 { (char *)"CheckBox_Is3State", (PyCFunction
)_wrap_CheckBox_Is3State
, METH_O
, NULL
},
45277 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
)_wrap_CheckBox_Is3rdStateAllowedForUser
, METH_O
, NULL
},
45278 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45279 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
45280 { (char *)"CheckBox_swiginit", CheckBox_swiginit
, METH_VARARGS
, NULL
},
45281 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45282 { (char *)"new_PreChoice", (PyCFunction
)_wrap_new_PreChoice
, METH_NOARGS
, NULL
},
45283 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45284 { (char *)"Choice_GetCurrentSelection", (PyCFunction
)_wrap_Choice_GetCurrentSelection
, METH_O
, NULL
},
45285 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45286 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
45287 { (char *)"Choice_swiginit", Choice_swiginit
, METH_VARARGS
, NULL
},
45288 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45289 { (char *)"new_PreComboBox", (PyCFunction
)_wrap_new_PreComboBox
, METH_NOARGS
, NULL
},
45290 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45291 { (char *)"ComboBox_GetValue", (PyCFunction
)_wrap_ComboBox_GetValue
, METH_O
, NULL
},
45292 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45293 { (char *)"ComboBox_Copy", (PyCFunction
)_wrap_ComboBox_Copy
, METH_O
, NULL
},
45294 { (char *)"ComboBox_Cut", (PyCFunction
)_wrap_ComboBox_Cut
, METH_O
, NULL
},
45295 { (char *)"ComboBox_Paste", (PyCFunction
)_wrap_ComboBox_Paste
, METH_O
, NULL
},
45296 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45297 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
)_wrap_ComboBox_GetInsertionPoint
, METH_O
, NULL
},
45298 { (char *)"ComboBox_GetLastPosition", (PyCFunction
)_wrap_ComboBox_GetLastPosition
, METH_O
, NULL
},
45299 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45300 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45301 { (char *)"ComboBox_GetMark", (PyCFunction
)_wrap_ComboBox_GetMark
, METH_O
, NULL
},
45302 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction
)_wrap_ComboBox_GetCurrentSelection
, METH_O
, NULL
},
45303 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45304 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45305 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45306 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
)_wrap_ComboBox_SetInsertionPointEnd
, METH_O
, NULL
},
45307 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45308 { (char *)"ComboBox_IsEditable", (PyCFunction
)_wrap_ComboBox_IsEditable
, METH_O
, NULL
},
45309 { (char *)"ComboBox_Undo", (PyCFunction
)_wrap_ComboBox_Undo
, METH_O
, NULL
},
45310 { (char *)"ComboBox_Redo", (PyCFunction
)_wrap_ComboBox_Redo
, METH_O
, NULL
},
45311 { (char *)"ComboBox_SelectAll", (PyCFunction
)_wrap_ComboBox_SelectAll
, METH_O
, NULL
},
45312 { (char *)"ComboBox_CanCopy", (PyCFunction
)_wrap_ComboBox_CanCopy
, METH_O
, NULL
},
45313 { (char *)"ComboBox_CanCut", (PyCFunction
)_wrap_ComboBox_CanCut
, METH_O
, NULL
},
45314 { (char *)"ComboBox_CanPaste", (PyCFunction
)_wrap_ComboBox_CanPaste
, METH_O
, NULL
},
45315 { (char *)"ComboBox_CanUndo", (PyCFunction
)_wrap_ComboBox_CanUndo
, METH_O
, NULL
},
45316 { (char *)"ComboBox_CanRedo", (PyCFunction
)_wrap_ComboBox_CanRedo
, METH_O
, NULL
},
45317 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45318 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
45319 { (char *)"ComboBox_swiginit", ComboBox_swiginit
, METH_VARARGS
, NULL
},
45320 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45321 { (char *)"new_PreGauge", (PyCFunction
)_wrap_new_PreGauge
, METH_NOARGS
, NULL
},
45322 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45323 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45324 { (char *)"Gauge_GetRange", (PyCFunction
)_wrap_Gauge_GetRange
, METH_O
, NULL
},
45325 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45326 { (char *)"Gauge_GetValue", (PyCFunction
)_wrap_Gauge_GetValue
, METH_O
, NULL
},
45327 { (char *)"Gauge_IsVertical", (PyCFunction
)_wrap_Gauge_IsVertical
, METH_O
, NULL
},
45328 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45329 { (char *)"Gauge_GetShadowWidth", (PyCFunction
)_wrap_Gauge_GetShadowWidth
, METH_O
, NULL
},
45330 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45331 { (char *)"Gauge_GetBezelFace", (PyCFunction
)_wrap_Gauge_GetBezelFace
, METH_O
, NULL
},
45332 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45333 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
45334 { (char *)"Gauge_swiginit", Gauge_swiginit
, METH_VARARGS
, NULL
},
45335 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45336 { (char *)"new_PreStaticBox", (PyCFunction
)_wrap_new_PreStaticBox
, METH_NOARGS
, NULL
},
45337 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45338 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45339 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
45340 { (char *)"StaticBox_swiginit", StaticBox_swiginit
, METH_VARARGS
, NULL
},
45341 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45342 { (char *)"new_PreStaticLine", (PyCFunction
)_wrap_new_PreStaticLine
, METH_NOARGS
, NULL
},
45343 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45344 { (char *)"StaticLine_IsVertical", (PyCFunction
)_wrap_StaticLine_IsVertical
, METH_O
, NULL
},
45345 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
)_wrap_StaticLine_GetDefaultSize
, METH_NOARGS
, NULL
},
45346 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45347 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
45348 { (char *)"StaticLine_swiginit", StaticLine_swiginit
, METH_VARARGS
, NULL
},
45349 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45350 { (char *)"new_PreStaticText", (PyCFunction
)_wrap_new_PreStaticText
, METH_NOARGS
, NULL
},
45351 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45352 { (char *)"StaticText_Wrap", (PyCFunction
) _wrap_StaticText_Wrap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45353 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45354 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
45355 { (char *)"StaticText_swiginit", StaticText_swiginit
, METH_VARARGS
, NULL
},
45356 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45357 { (char *)"new_PreStaticBitmap", (PyCFunction
)_wrap_new_PreStaticBitmap
, METH_NOARGS
, NULL
},
45358 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45359 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
)_wrap_StaticBitmap_GetBitmap
, METH_O
, NULL
},
45360 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45361 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45362 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45363 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
45364 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit
, METH_VARARGS
, NULL
},
45365 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45366 { (char *)"new_PreListBox", (PyCFunction
)_wrap_new_PreListBox
, METH_NOARGS
, NULL
},
45367 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45368 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45369 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45370 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45371 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45372 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45373 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45374 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45375 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45376 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45377 { (char *)"ListBox_GetSelections", (PyCFunction
)_wrap_ListBox_GetSelections
, METH_O
, NULL
},
45378 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45379 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45380 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45381 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45382 { (char *)"ListBox_IsSorted", (PyCFunction
)_wrap_ListBox_IsSorted
, METH_O
, NULL
},
45383 { (char *)"ListBox_HitTest", (PyCFunction
) _wrap_ListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45384 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45385 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45386 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45387 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45388 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
45389 { (char *)"ListBox_swiginit", ListBox_swiginit
, METH_VARARGS
, NULL
},
45390 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45391 { (char *)"new_PreCheckListBox", (PyCFunction
)_wrap_new_PreCheckListBox
, METH_NOARGS
, NULL
},
45392 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45393 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45394 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45395 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
)_wrap_CheckListBox_GetItemHeight
, METH_O
, NULL
},
45396 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
45397 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit
, METH_VARARGS
, NULL
},
45398 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45399 { (char *)"delete_TextAttr", (PyCFunction
)_wrap_delete_TextAttr
, METH_O
, NULL
},
45400 { (char *)"TextAttr_Init", (PyCFunction
)_wrap_TextAttr_Init
, METH_O
, NULL
},
45401 { (char *)"TextAttr_Merge", (PyCFunction
) _wrap_TextAttr_Merge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45402 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45403 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45404 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45405 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45406 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45407 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45408 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45409 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45410 { (char *)"TextAttr_HasTextColour", (PyCFunction
)_wrap_TextAttr_HasTextColour
, METH_O
, NULL
},
45411 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
)_wrap_TextAttr_HasBackgroundColour
, METH_O
, NULL
},
45412 { (char *)"TextAttr_HasFont", (PyCFunction
)_wrap_TextAttr_HasFont
, METH_O
, NULL
},
45413 { (char *)"TextAttr_HasAlignment", (PyCFunction
)_wrap_TextAttr_HasAlignment
, METH_O
, NULL
},
45414 { (char *)"TextAttr_HasTabs", (PyCFunction
)_wrap_TextAttr_HasTabs
, METH_O
, NULL
},
45415 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
)_wrap_TextAttr_HasLeftIndent
, METH_O
, NULL
},
45416 { (char *)"TextAttr_HasRightIndent", (PyCFunction
)_wrap_TextAttr_HasRightIndent
, METH_O
, NULL
},
45417 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45418 { (char *)"TextAttr_GetTextColour", (PyCFunction
)_wrap_TextAttr_GetTextColour
, METH_O
, NULL
},
45419 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
)_wrap_TextAttr_GetBackgroundColour
, METH_O
, NULL
},
45420 { (char *)"TextAttr_GetFont", (PyCFunction
)_wrap_TextAttr_GetFont
, METH_O
, NULL
},
45421 { (char *)"TextAttr_GetAlignment", (PyCFunction
)_wrap_TextAttr_GetAlignment
, METH_O
, NULL
},
45422 { (char *)"TextAttr_GetTabs", (PyCFunction
)_wrap_TextAttr_GetTabs
, METH_O
, NULL
},
45423 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
)_wrap_TextAttr_GetLeftIndent
, METH_O
, NULL
},
45424 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
)_wrap_TextAttr_GetLeftSubIndent
, METH_O
, NULL
},
45425 { (char *)"TextAttr_GetRightIndent", (PyCFunction
)_wrap_TextAttr_GetRightIndent
, METH_O
, NULL
},
45426 { (char *)"TextAttr_GetFlags", (PyCFunction
)_wrap_TextAttr_GetFlags
, METH_O
, NULL
},
45427 { (char *)"TextAttr_IsDefault", (PyCFunction
)_wrap_TextAttr_IsDefault
, METH_O
, NULL
},
45428 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45429 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
45430 { (char *)"TextAttr_swiginit", TextAttr_swiginit
, METH_VARARGS
, NULL
},
45431 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45432 { (char *)"new_PreTextCtrl", (PyCFunction
)_wrap_new_PreTextCtrl
, METH_NOARGS
, NULL
},
45433 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45434 { (char *)"TextCtrl_GetValue", (PyCFunction
)_wrap_TextCtrl_GetValue
, METH_O
, NULL
},
45435 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45436 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45437 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45438 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45439 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
)_wrap_TextCtrl_GetNumberOfLines
, METH_O
, NULL
},
45440 { (char *)"TextCtrl_IsModified", (PyCFunction
)_wrap_TextCtrl_IsModified
, METH_O
, NULL
},
45441 { (char *)"TextCtrl_IsEditable", (PyCFunction
)_wrap_TextCtrl_IsEditable
, METH_O
, NULL
},
45442 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
)_wrap_TextCtrl_IsSingleLine
, METH_O
, NULL
},
45443 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
)_wrap_TextCtrl_IsMultiLine
, METH_O
, NULL
},
45444 { (char *)"TextCtrl_GetSelection", (PyCFunction
)_wrap_TextCtrl_GetSelection
, METH_O
, NULL
},
45445 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
)_wrap_TextCtrl_GetStringSelection
, METH_O
, NULL
},
45446 { (char *)"TextCtrl_Clear", (PyCFunction
)_wrap_TextCtrl_Clear
, METH_O
, NULL
},
45447 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45448 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45449 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45450 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45451 { (char *)"TextCtrl_MarkDirty", (PyCFunction
)_wrap_TextCtrl_MarkDirty
, METH_O
, NULL
},
45452 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
)_wrap_TextCtrl_DiscardEdits
, METH_O
, NULL
},
45453 { (char *)"TextCtrl_SetModified", (PyCFunction
) _wrap_TextCtrl_SetModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45454 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45455 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45456 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45457 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45458 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45459 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45460 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45461 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
)_wrap_TextCtrl_GetDefaultStyle
, METH_O
, NULL
},
45462 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45463 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45464 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45465 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45466 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45467 { (char *)"TextCtrl_Copy", (PyCFunction
)_wrap_TextCtrl_Copy
, METH_O
, NULL
},
45468 { (char *)"TextCtrl_Cut", (PyCFunction
)_wrap_TextCtrl_Cut
, METH_O
, NULL
},
45469 { (char *)"TextCtrl_Paste", (PyCFunction
)_wrap_TextCtrl_Paste
, METH_O
, NULL
},
45470 { (char *)"TextCtrl_CanCopy", (PyCFunction
)_wrap_TextCtrl_CanCopy
, METH_O
, NULL
},
45471 { (char *)"TextCtrl_CanCut", (PyCFunction
)_wrap_TextCtrl_CanCut
, METH_O
, NULL
},
45472 { (char *)"TextCtrl_CanPaste", (PyCFunction
)_wrap_TextCtrl_CanPaste
, METH_O
, NULL
},
45473 { (char *)"TextCtrl_Undo", (PyCFunction
)_wrap_TextCtrl_Undo
, METH_O
, NULL
},
45474 { (char *)"TextCtrl_Redo", (PyCFunction
)_wrap_TextCtrl_Redo
, METH_O
, NULL
},
45475 { (char *)"TextCtrl_CanUndo", (PyCFunction
)_wrap_TextCtrl_CanUndo
, METH_O
, NULL
},
45476 { (char *)"TextCtrl_CanRedo", (PyCFunction
)_wrap_TextCtrl_CanRedo
, METH_O
, NULL
},
45477 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45478 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
)_wrap_TextCtrl_SetInsertionPointEnd
, METH_O
, NULL
},
45479 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
)_wrap_TextCtrl_GetInsertionPoint
, METH_O
, NULL
},
45480 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
)_wrap_TextCtrl_GetLastPosition
, METH_O
, NULL
},
45481 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45482 { (char *)"TextCtrl_SelectAll", (PyCFunction
)_wrap_TextCtrl_SelectAll
, METH_O
, NULL
},
45483 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45484 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction
) _wrap_TextCtrl_ShowNativeCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45485 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction
)_wrap_TextCtrl_HideNativeCaret
, METH_O
, NULL
},
45486 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45487 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45488 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45489 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
45490 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit
, METH_VARARGS
, NULL
},
45491 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45492 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
)_wrap_TextUrlEvent_GetMouseEvent
, METH_O
, NULL
},
45493 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
)_wrap_TextUrlEvent_GetURLStart
, METH_O
, NULL
},
45494 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
)_wrap_TextUrlEvent_GetURLEnd
, METH_O
, NULL
},
45495 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
45496 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit
, METH_VARARGS
, NULL
},
45497 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45498 { (char *)"new_PreScrollBar", (PyCFunction
)_wrap_new_PreScrollBar
, METH_NOARGS
, NULL
},
45499 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45500 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
)_wrap_ScrollBar_GetThumbPosition
, METH_O
, NULL
},
45501 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
)_wrap_ScrollBar_GetThumbSize
, METH_O
, NULL
},
45502 { (char *)"ScrollBar_GetPageSize", (PyCFunction
)_wrap_ScrollBar_GetPageSize
, METH_O
, NULL
},
45503 { (char *)"ScrollBar_GetRange", (PyCFunction
)_wrap_ScrollBar_GetRange
, METH_O
, NULL
},
45504 { (char *)"ScrollBar_IsVertical", (PyCFunction
)_wrap_ScrollBar_IsVertical
, METH_O
, NULL
},
45505 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45506 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45507 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
45508 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit
, METH_VARARGS
, NULL
},
45509 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45510 { (char *)"new_PreSpinButton", (PyCFunction
)_wrap_new_PreSpinButton
, METH_NOARGS
, NULL
},
45511 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45512 { (char *)"SpinButton_GetValue", (PyCFunction
)_wrap_SpinButton_GetValue
, METH_O
, NULL
},
45513 { (char *)"SpinButton_GetMin", (PyCFunction
)_wrap_SpinButton_GetMin
, METH_O
, NULL
},
45514 { (char *)"SpinButton_GetMax", (PyCFunction
)_wrap_SpinButton_GetMax
, METH_O
, NULL
},
45515 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45516 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45517 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45518 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45519 { (char *)"SpinButton_IsVertical", (PyCFunction
)_wrap_SpinButton_IsVertical
, METH_O
, NULL
},
45520 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45521 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
45522 { (char *)"SpinButton_swiginit", SpinButton_swiginit
, METH_VARARGS
, NULL
},
45523 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45524 { (char *)"new_PreSpinCtrl", (PyCFunction
)_wrap_new_PreSpinCtrl
, METH_NOARGS
, NULL
},
45525 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45526 { (char *)"SpinCtrl_GetValue", (PyCFunction
)_wrap_SpinCtrl_GetValue
, METH_O
, NULL
},
45527 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45528 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45529 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45530 { (char *)"SpinCtrl_GetMin", (PyCFunction
)_wrap_SpinCtrl_GetMin
, METH_O
, NULL
},
45531 { (char *)"SpinCtrl_GetMax", (PyCFunction
)_wrap_SpinCtrl_GetMax
, METH_O
, NULL
},
45532 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45533 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45534 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
45535 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit
, METH_VARARGS
, NULL
},
45536 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45537 { (char *)"SpinEvent_GetPosition", (PyCFunction
)_wrap_SpinEvent_GetPosition
, METH_O
, NULL
},
45538 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45539 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
45540 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit
, METH_VARARGS
, NULL
},
45541 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45542 { (char *)"new_PreRadioBox", (PyCFunction
)_wrap_new_PreRadioBox
, METH_NOARGS
, NULL
},
45543 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45544 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45545 { (char *)"RadioBox_GetSelection", (PyCFunction
)_wrap_RadioBox_GetSelection
, METH_O
, NULL
},
45546 { (char *)"RadioBox_GetStringSelection", (PyCFunction
)_wrap_RadioBox_GetStringSelection
, METH_O
, NULL
},
45547 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45548 { (char *)"RadioBox_GetCount", (PyCFunction
)_wrap_RadioBox_GetCount
, METH_O
, NULL
},
45549 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45550 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45551 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45552 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45553 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45554 { (char *)"RadioBox_IsItemEnabled", (PyCFunction
) _wrap_RadioBox_IsItemEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45555 { (char *)"RadioBox_IsItemShown", (PyCFunction
) _wrap_RadioBox_IsItemShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45556 { (char *)"RadioBox_GetColumnCount", (PyCFunction
)_wrap_RadioBox_GetColumnCount
, METH_O
, NULL
},
45557 { (char *)"RadioBox_GetRowCount", (PyCFunction
)_wrap_RadioBox_GetRowCount
, METH_O
, NULL
},
45558 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45559 { (char *)"RadioBox_SetItemToolTip", (PyCFunction
) _wrap_RadioBox_SetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45560 { (char *)"RadioBox_GetItemToolTip", (PyCFunction
) _wrap_RadioBox_GetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45561 { (char *)"RadioBox_SetItemHelpText", (PyCFunction
) _wrap_RadioBox_SetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45562 { (char *)"RadioBox_GetItemHelpText", (PyCFunction
) _wrap_RadioBox_GetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45563 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45564 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
45565 { (char *)"RadioBox_swiginit", RadioBox_swiginit
, METH_VARARGS
, NULL
},
45566 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45567 { (char *)"new_PreRadioButton", (PyCFunction
)_wrap_new_PreRadioButton
, METH_NOARGS
, NULL
},
45568 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45569 { (char *)"RadioButton_GetValue", (PyCFunction
)_wrap_RadioButton_GetValue
, METH_O
, NULL
},
45570 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45571 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45572 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
45573 { (char *)"RadioButton_swiginit", RadioButton_swiginit
, METH_VARARGS
, NULL
},
45574 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45575 { (char *)"new_PreSlider", (PyCFunction
)_wrap_new_PreSlider
, METH_NOARGS
, NULL
},
45576 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45577 { (char *)"Slider_GetValue", (PyCFunction
)_wrap_Slider_GetValue
, METH_O
, NULL
},
45578 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45579 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45580 { (char *)"Slider_GetMin", (PyCFunction
)_wrap_Slider_GetMin
, METH_O
, NULL
},
45581 { (char *)"Slider_GetMax", (PyCFunction
)_wrap_Slider_GetMax
, METH_O
, NULL
},
45582 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45583 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45584 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45585 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45586 { (char *)"Slider_GetLineSize", (PyCFunction
)_wrap_Slider_GetLineSize
, METH_O
, NULL
},
45587 { (char *)"Slider_GetPageSize", (PyCFunction
)_wrap_Slider_GetPageSize
, METH_O
, NULL
},
45588 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45589 { (char *)"Slider_GetThumbLength", (PyCFunction
)_wrap_Slider_GetThumbLength
, METH_O
, NULL
},
45590 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45591 { (char *)"Slider_GetTickFreq", (PyCFunction
)_wrap_Slider_GetTickFreq
, METH_O
, NULL
},
45592 { (char *)"Slider_ClearTicks", (PyCFunction
)_wrap_Slider_ClearTicks
, METH_O
, NULL
},
45593 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45594 { (char *)"Slider_ClearSel", (PyCFunction
)_wrap_Slider_ClearSel
, METH_O
, NULL
},
45595 { (char *)"Slider_GetSelEnd", (PyCFunction
)_wrap_Slider_GetSelEnd
, METH_O
, NULL
},
45596 { (char *)"Slider_GetSelStart", (PyCFunction
)_wrap_Slider_GetSelStart
, METH_O
, NULL
},
45597 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45598 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45599 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
45600 { (char *)"Slider_swiginit", Slider_swiginit
, METH_VARARGS
, NULL
},
45601 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45602 { (char *)"new_PreToggleButton", (PyCFunction
)_wrap_new_PreToggleButton
, METH_NOARGS
, NULL
},
45603 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45604 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45605 { (char *)"ToggleButton_GetValue", (PyCFunction
)_wrap_ToggleButton_GetValue
, METH_O
, NULL
},
45606 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45607 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
45608 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit
, METH_VARARGS
, NULL
},
45609 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
)_wrap_BookCtrlBase_GetPageCount
, METH_O
, NULL
},
45610 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45611 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetCurrentPage
, METH_O
, NULL
},
45612 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
)_wrap_BookCtrlBase_GetSelection
, METH_O
, NULL
},
45613 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45614 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45615 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45616 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45617 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
)_wrap_BookCtrlBase_GetImageList
, METH_O
, NULL
},
45618 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45619 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45620 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45621 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45622 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction
)_wrap_BookCtrlBase_GetInternalBorder
, METH_O
, NULL
},
45623 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction
) _wrap_BookCtrlBase_SetInternalBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45624 { (char *)"BookCtrlBase_IsVertical", (PyCFunction
)_wrap_BookCtrlBase_IsVertical
, METH_O
, NULL
},
45625 { (char *)"BookCtrlBase_SetControlMargin", (PyCFunction
) _wrap_BookCtrlBase_SetControlMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45626 { (char *)"BookCtrlBase_GetControlMargin", (PyCFunction
)_wrap_BookCtrlBase_GetControlMargin
, METH_O
, NULL
},
45627 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_SetFitToCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45628 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetFitToCurrentPage
, METH_O
, NULL
},
45629 { (char *)"BookCtrlBase_GetControlSizer", (PyCFunction
)_wrap_BookCtrlBase_GetControlSizer
, METH_O
, NULL
},
45630 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45631 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45632 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
)_wrap_BookCtrlBase_DeleteAllPages
, METH_O
, NULL
},
45633 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45634 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45635 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45636 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45637 { (char *)"BookCtrlBase_HitTest", (PyCFunction
) _wrap_BookCtrlBase_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45638 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45639 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
45640 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45641 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetSelection
, METH_O
, NULL
},
45642 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45643 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetOldSelection
, METH_O
, NULL
},
45644 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45645 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
45646 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit
, METH_VARARGS
, NULL
},
45647 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45648 { (char *)"new_PreNotebook", (PyCFunction
)_wrap_new_PreNotebook
, METH_NOARGS
, NULL
},
45649 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45650 { (char *)"Notebook_GetRowCount", (PyCFunction
)_wrap_Notebook_GetRowCount
, METH_O
, NULL
},
45651 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45652 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45653 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
)_wrap_Notebook_GetThemeBackgroundColour
, METH_O
, NULL
},
45654 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45655 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
45656 { (char *)"Notebook_swiginit", Notebook_swiginit
, METH_VARARGS
, NULL
},
45657 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45658 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
45659 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit
, METH_VARARGS
, NULL
},
45660 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45661 { (char *)"new_PreListbook", (PyCFunction
)_wrap_new_PreListbook
, METH_NOARGS
, NULL
},
45662 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45663 { (char *)"Listbook_GetListView", (PyCFunction
)_wrap_Listbook_GetListView
, METH_O
, NULL
},
45664 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
45665 { (char *)"Listbook_swiginit", Listbook_swiginit
, METH_VARARGS
, NULL
},
45666 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45667 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
45668 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit
, METH_VARARGS
, NULL
},
45669 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45670 { (char *)"new_PreChoicebook", (PyCFunction
)_wrap_new_PreChoicebook
, METH_NOARGS
, NULL
},
45671 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45672 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
)_wrap_Choicebook_GetChoiceCtrl
, METH_O
, NULL
},
45673 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
45674 { (char *)"Choicebook_swiginit", Choicebook_swiginit
, METH_VARARGS
, NULL
},
45675 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45676 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
45677 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit
, METH_VARARGS
, NULL
},
45678 { (char *)"new_Treebook", (PyCFunction
) _wrap_new_Treebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45679 { (char *)"new_PreTreebook", (PyCFunction
)_wrap_new_PreTreebook
, METH_NOARGS
, NULL
},
45680 { (char *)"Treebook_Create", (PyCFunction
) _wrap_Treebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45681 { (char *)"Treebook_InsertSubPage", (PyCFunction
) _wrap_Treebook_InsertSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45682 { (char *)"Treebook_AddSubPage", (PyCFunction
) _wrap_Treebook_AddSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45683 { (char *)"Treebook_IsNodeExpanded", (PyCFunction
) _wrap_Treebook_IsNodeExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45684 { (char *)"Treebook_ExpandNode", (PyCFunction
) _wrap_Treebook_ExpandNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45685 { (char *)"Treebook_CollapseNode", (PyCFunction
) _wrap_Treebook_CollapseNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45686 { (char *)"Treebook_GetPageParent", (PyCFunction
) _wrap_Treebook_GetPageParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45687 { (char *)"Treebook_GetTreeCtrl", (PyCFunction
)_wrap_Treebook_GetTreeCtrl
, METH_O
, NULL
},
45688 { (char *)"Treebook_swigregister", Treebook_swigregister
, METH_VARARGS
, NULL
},
45689 { (char *)"Treebook_swiginit", Treebook_swiginit
, METH_VARARGS
, NULL
},
45690 { (char *)"new_TreebookEvent", (PyCFunction
) _wrap_new_TreebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45691 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister
, METH_VARARGS
, NULL
},
45692 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit
, METH_VARARGS
, NULL
},
45693 { (char *)"new_Toolbook", (PyCFunction
) _wrap_new_Toolbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45694 { (char *)"new_PreToolbook", (PyCFunction
)_wrap_new_PreToolbook
, METH_NOARGS
, NULL
},
45695 { (char *)"Toolbook_Create", (PyCFunction
) _wrap_Toolbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45696 { (char *)"Toolbook_GetToolBar", (PyCFunction
)_wrap_Toolbook_GetToolBar
, METH_O
, NULL
},
45697 { (char *)"Toolbook_Realize", (PyCFunction
)_wrap_Toolbook_Realize
, METH_O
, NULL
},
45698 { (char *)"Toolbook_swigregister", Toolbook_swigregister
, METH_VARARGS
, NULL
},
45699 { (char *)"Toolbook_swiginit", Toolbook_swiginit
, METH_VARARGS
, NULL
},
45700 { (char *)"new_ToolbookEvent", (PyCFunction
) _wrap_new_ToolbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45701 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister
, METH_VARARGS
, NULL
},
45702 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit
, METH_VARARGS
, NULL
},
45703 { (char *)"ToolBarToolBase_GetId", (PyCFunction
)_wrap_ToolBarToolBase_GetId
, METH_O
, NULL
},
45704 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
)_wrap_ToolBarToolBase_GetControl
, METH_O
, NULL
},
45705 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
)_wrap_ToolBarToolBase_GetToolBar
, METH_O
, NULL
},
45706 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
)_wrap_ToolBarToolBase_IsButton
, METH_O
, NULL
},
45707 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
)_wrap_ToolBarToolBase_IsControl
, METH_O
, NULL
},
45708 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
)_wrap_ToolBarToolBase_IsSeparator
, METH_O
, NULL
},
45709 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
)_wrap_ToolBarToolBase_GetStyle
, METH_O
, NULL
},
45710 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
)_wrap_ToolBarToolBase_GetKind
, METH_O
, NULL
},
45711 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
)_wrap_ToolBarToolBase_IsEnabled
, METH_O
, NULL
},
45712 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
)_wrap_ToolBarToolBase_IsToggled
, METH_O
, NULL
},
45713 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
)_wrap_ToolBarToolBase_CanBeToggled
, METH_O
, NULL
},
45714 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetNormalBitmap
, METH_O
, NULL
},
45715 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetDisabledBitmap
, METH_O
, NULL
},
45716 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetBitmap
, METH_O
, NULL
},
45717 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
)_wrap_ToolBarToolBase_GetLabel
, METH_O
, NULL
},
45718 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetShortHelp
, METH_O
, NULL
},
45719 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetLongHelp
, METH_O
, NULL
},
45720 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45721 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
)_wrap_ToolBarToolBase_Toggle
, METH_O
, NULL
},
45722 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45723 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45724 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45725 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45726 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45727 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45728 { (char *)"ToolBarToolBase_Detach", (PyCFunction
)_wrap_ToolBarToolBase_Detach
, METH_O
, NULL
},
45729 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45730 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
)_wrap_ToolBarToolBase_GetClientData
, METH_O
, NULL
},
45731 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45732 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
45733 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45734 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45735 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45736 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45737 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45738 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45739 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45740 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
)_wrap_ToolBarBase_AddSeparator
, METH_O
, NULL
},
45741 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45742 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45743 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45744 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45745 { (char *)"ToolBarBase_ClearTools", (PyCFunction
)_wrap_ToolBarBase_ClearTools
, METH_O
, NULL
},
45746 { (char *)"ToolBarBase_Realize", (PyCFunction
)_wrap_ToolBarBase_Realize
, METH_O
, NULL
},
45747 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45748 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45749 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45750 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45751 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45752 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45753 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45754 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45755 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45756 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45757 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45758 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45759 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45760 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45761 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45762 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45763 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
)_wrap_ToolBarBase_GetToolMargins
, METH_O
, NULL
},
45764 { (char *)"ToolBarBase_GetMargins", (PyCFunction
)_wrap_ToolBarBase_GetMargins
, METH_O
, NULL
},
45765 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
)_wrap_ToolBarBase_GetToolPacking
, METH_O
, NULL
},
45766 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
)_wrap_ToolBarBase_GetToolSeparation
, METH_O
, NULL
},
45767 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45768 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45769 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
)_wrap_ToolBarBase_GetMaxRows
, METH_O
, NULL
},
45770 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
)_wrap_ToolBarBase_GetMaxCols
, METH_O
, NULL
},
45771 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45772 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
)_wrap_ToolBarBase_GetToolBitmapSize
, METH_O
, NULL
},
45773 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
)_wrap_ToolBarBase_GetToolSize
, METH_O
, NULL
},
45774 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45775 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45776 { (char *)"ToolBarBase_IsVertical", (PyCFunction
)_wrap_ToolBarBase_IsVertical
, METH_O
, NULL
},
45777 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction
)_wrap_ToolBarBase_GetToolsCount
, METH_O
, NULL
},
45778 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
45779 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45780 { (char *)"new_PreToolBar", (PyCFunction
)_wrap_new_PreToolBar
, METH_NOARGS
, NULL
},
45781 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45782 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45783 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
45784 { (char *)"ToolBar_swiginit", ToolBar_swiginit
, METH_VARARGS
, NULL
},
45785 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45786 { (char *)"delete_ListItemAttr", (PyCFunction
)_wrap_delete_ListItemAttr
, METH_O
, NULL
},
45787 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45788 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45789 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45790 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
)_wrap_ListItemAttr_HasTextColour
, METH_O
, NULL
},
45791 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_HasBackgroundColour
, METH_O
, NULL
},
45792 { (char *)"ListItemAttr_HasFont", (PyCFunction
)_wrap_ListItemAttr_HasFont
, METH_O
, NULL
},
45793 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
)_wrap_ListItemAttr_GetTextColour
, METH_O
, NULL
},
45794 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_GetBackgroundColour
, METH_O
, NULL
},
45795 { (char *)"ListItemAttr_GetFont", (PyCFunction
)_wrap_ListItemAttr_GetFont
, METH_O
, NULL
},
45796 { (char *)"ListItemAttr_AssignFrom", (PyCFunction
) _wrap_ListItemAttr_AssignFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45797 { (char *)"ListItemAttr_Destroy", (PyCFunction
)_wrap_ListItemAttr_Destroy
, METH_O
, NULL
},
45798 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
45799 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit
, METH_VARARGS
, NULL
},
45800 { (char *)"new_ListItem", (PyCFunction
)_wrap_new_ListItem
, METH_NOARGS
, NULL
},
45801 { (char *)"delete_ListItem", (PyCFunction
)_wrap_delete_ListItem
, METH_O
, NULL
},
45802 { (char *)"ListItem_Clear", (PyCFunction
)_wrap_ListItem_Clear
, METH_O
, NULL
},
45803 { (char *)"ListItem_ClearAttributes", (PyCFunction
)_wrap_ListItem_ClearAttributes
, METH_O
, NULL
},
45804 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45805 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45806 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45807 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45808 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45809 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45810 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45811 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45812 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45813 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45814 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45815 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45816 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45817 { (char *)"ListItem_GetMask", (PyCFunction
)_wrap_ListItem_GetMask
, METH_O
, NULL
},
45818 { (char *)"ListItem_GetId", (PyCFunction
)_wrap_ListItem_GetId
, METH_O
, NULL
},
45819 { (char *)"ListItem_GetColumn", (PyCFunction
)_wrap_ListItem_GetColumn
, METH_O
, NULL
},
45820 { (char *)"ListItem_GetState", (PyCFunction
)_wrap_ListItem_GetState
, METH_O
, NULL
},
45821 { (char *)"ListItem_GetText", (PyCFunction
)_wrap_ListItem_GetText
, METH_O
, NULL
},
45822 { (char *)"ListItem_GetImage", (PyCFunction
)_wrap_ListItem_GetImage
, METH_O
, NULL
},
45823 { (char *)"ListItem_GetData", (PyCFunction
)_wrap_ListItem_GetData
, METH_O
, NULL
},
45824 { (char *)"ListItem_GetWidth", (PyCFunction
)_wrap_ListItem_GetWidth
, METH_O
, NULL
},
45825 { (char *)"ListItem_GetAlign", (PyCFunction
)_wrap_ListItem_GetAlign
, METH_O
, NULL
},
45826 { (char *)"ListItem_GetAttributes", (PyCFunction
)_wrap_ListItem_GetAttributes
, METH_O
, NULL
},
45827 { (char *)"ListItem_HasAttributes", (PyCFunction
)_wrap_ListItem_HasAttributes
, METH_O
, NULL
},
45828 { (char *)"ListItem_GetTextColour", (PyCFunction
)_wrap_ListItem_GetTextColour
, METH_O
, NULL
},
45829 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
)_wrap_ListItem_GetBackgroundColour
, METH_O
, NULL
},
45830 { (char *)"ListItem_GetFont", (PyCFunction
)_wrap_ListItem_GetFont
, METH_O
, NULL
},
45831 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set
, METH_VARARGS
, NULL
},
45832 { (char *)"ListItem_m_mask_get", (PyCFunction
)_wrap_ListItem_m_mask_get
, METH_O
, NULL
},
45833 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set
, METH_VARARGS
, NULL
},
45834 { (char *)"ListItem_m_itemId_get", (PyCFunction
)_wrap_ListItem_m_itemId_get
, METH_O
, NULL
},
45835 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set
, METH_VARARGS
, NULL
},
45836 { (char *)"ListItem_m_col_get", (PyCFunction
)_wrap_ListItem_m_col_get
, METH_O
, NULL
},
45837 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set
, METH_VARARGS
, NULL
},
45838 { (char *)"ListItem_m_state_get", (PyCFunction
)_wrap_ListItem_m_state_get
, METH_O
, NULL
},
45839 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set
, METH_VARARGS
, NULL
},
45840 { (char *)"ListItem_m_stateMask_get", (PyCFunction
)_wrap_ListItem_m_stateMask_get
, METH_O
, NULL
},
45841 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set
, METH_VARARGS
, NULL
},
45842 { (char *)"ListItem_m_text_get", (PyCFunction
)_wrap_ListItem_m_text_get
, METH_O
, NULL
},
45843 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set
, METH_VARARGS
, NULL
},
45844 { (char *)"ListItem_m_image_get", (PyCFunction
)_wrap_ListItem_m_image_get
, METH_O
, NULL
},
45845 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set
, METH_VARARGS
, NULL
},
45846 { (char *)"ListItem_m_data_get", (PyCFunction
)_wrap_ListItem_m_data_get
, METH_O
, NULL
},
45847 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set
, METH_VARARGS
, NULL
},
45848 { (char *)"ListItem_m_format_get", (PyCFunction
)_wrap_ListItem_m_format_get
, METH_O
, NULL
},
45849 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set
, METH_VARARGS
, NULL
},
45850 { (char *)"ListItem_m_width_get", (PyCFunction
)_wrap_ListItem_m_width_get
, METH_O
, NULL
},
45851 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
45852 { (char *)"ListItem_swiginit", ListItem_swiginit
, METH_VARARGS
, NULL
},
45853 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45854 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set
, METH_VARARGS
, NULL
},
45855 { (char *)"ListEvent_m_code_get", (PyCFunction
)_wrap_ListEvent_m_code_get
, METH_O
, NULL
},
45856 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
, NULL
},
45857 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
)_wrap_ListEvent_m_oldItemIndex_get
, METH_O
, NULL
},
45858 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
, NULL
},
45859 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
)_wrap_ListEvent_m_itemIndex_get
, METH_O
, NULL
},
45860 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set
, METH_VARARGS
, NULL
},
45861 { (char *)"ListEvent_m_col_get", (PyCFunction
)_wrap_ListEvent_m_col_get
, METH_O
, NULL
},
45862 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
, NULL
},
45863 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
)_wrap_ListEvent_m_pointDrag_get
, METH_O
, NULL
},
45864 { (char *)"ListEvent_m_item_get", (PyCFunction
)_wrap_ListEvent_m_item_get
, METH_O
, NULL
},
45865 { (char *)"ListEvent_GetKeyCode", (PyCFunction
)_wrap_ListEvent_GetKeyCode
, METH_O
, NULL
},
45866 { (char *)"ListEvent_GetIndex", (PyCFunction
)_wrap_ListEvent_GetIndex
, METH_O
, NULL
},
45867 { (char *)"ListEvent_GetColumn", (PyCFunction
)_wrap_ListEvent_GetColumn
, METH_O
, NULL
},
45868 { (char *)"ListEvent_GetPoint", (PyCFunction
)_wrap_ListEvent_GetPoint
, METH_O
, NULL
},
45869 { (char *)"ListEvent_GetLabel", (PyCFunction
)_wrap_ListEvent_GetLabel
, METH_O
, NULL
},
45870 { (char *)"ListEvent_GetText", (PyCFunction
)_wrap_ListEvent_GetText
, METH_O
, NULL
},
45871 { (char *)"ListEvent_GetImage", (PyCFunction
)_wrap_ListEvent_GetImage
, METH_O
, NULL
},
45872 { (char *)"ListEvent_GetData", (PyCFunction
)_wrap_ListEvent_GetData
, METH_O
, NULL
},
45873 { (char *)"ListEvent_GetMask", (PyCFunction
)_wrap_ListEvent_GetMask
, METH_O
, NULL
},
45874 { (char *)"ListEvent_GetItem", (PyCFunction
)_wrap_ListEvent_GetItem
, METH_O
, NULL
},
45875 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
)_wrap_ListEvent_GetCacheFrom
, METH_O
, NULL
},
45876 { (char *)"ListEvent_GetCacheTo", (PyCFunction
)_wrap_ListEvent_GetCacheTo
, METH_O
, NULL
},
45877 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
)_wrap_ListEvent_IsEditCancelled
, METH_O
, NULL
},
45878 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45879 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
45880 { (char *)"ListEvent_swiginit", ListEvent_swiginit
, METH_VARARGS
, NULL
},
45881 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45882 { (char *)"new_PreListCtrl", (PyCFunction
)_wrap_new_PreListCtrl
, METH_NOARGS
, NULL
},
45883 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45884 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45885 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45886 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45887 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45888 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45889 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
)_wrap_ListCtrl_GetCountPerPage
, METH_O
, NULL
},
45890 { (char *)"ListCtrl_GetViewRect", (PyCFunction
)_wrap_ListCtrl_GetViewRect
, METH_O
, NULL
},
45891 { (char *)"ListCtrl_GetEditControl", (PyCFunction
)_wrap_ListCtrl_GetEditControl
, METH_O
, NULL
},
45892 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45893 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45894 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45895 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45896 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45897 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45898 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction
) _wrap_ListCtrl_SetItemColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45899 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45900 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45901 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45902 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45903 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45904 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45905 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45906 { (char *)"ListCtrl_GetItemCount", (PyCFunction
)_wrap_ListCtrl_GetItemCount
, METH_O
, NULL
},
45907 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
)_wrap_ListCtrl_GetColumnCount
, METH_O
, NULL
},
45908 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
)_wrap_ListCtrl_GetItemSpacing
, METH_O
, NULL
},
45909 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
)_wrap_ListCtrl_GetSelectedItemCount
, METH_O
, NULL
},
45910 { (char *)"ListCtrl_GetTextColour", (PyCFunction
)_wrap_ListCtrl_GetTextColour
, METH_O
, NULL
},
45911 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45912 { (char *)"ListCtrl_GetTopItem", (PyCFunction
)_wrap_ListCtrl_GetTopItem
, METH_O
, NULL
},
45913 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45914 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45915 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45916 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45917 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45918 { (char *)"ListCtrl_InReportView", (PyCFunction
)_wrap_ListCtrl_InReportView
, METH_O
, NULL
},
45919 { (char *)"ListCtrl_IsVirtual", (PyCFunction
)_wrap_ListCtrl_IsVirtual
, METH_O
, NULL
},
45920 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45921 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45922 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45923 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45924 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
)_wrap_ListCtrl_DeleteAllItems
, METH_O
, NULL
},
45925 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45926 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
)_wrap_ListCtrl_DeleteAllColumns
, METH_O
, NULL
},
45927 { (char *)"ListCtrl_ClearAll", (PyCFunction
)_wrap_ListCtrl_ClearAll
, METH_O
, NULL
},
45928 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45929 { (char *)"ListCtrl_EndEditLabel", (PyCFunction
) _wrap_ListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45930 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45931 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45932 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45933 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45934 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45935 { (char *)"ListCtrl_HitTestSubItem", (PyCFunction
) _wrap_ListCtrl_HitTestSubItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45936 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45937 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45938 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45939 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45940 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45941 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45942 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45943 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45944 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45945 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45946 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45947 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45948 { (char *)"ListCtrl_SetItemFont", (PyCFunction
) _wrap_ListCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45949 { (char *)"ListCtrl_GetItemFont", (PyCFunction
) _wrap_ListCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45950 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45951 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
)_wrap_ListCtrl_GetMainWindow
, METH_O
, NULL
},
45952 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45953 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
45954 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit
, METH_VARARGS
, NULL
},
45955 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45956 { (char *)"new_PreListView", (PyCFunction
)_wrap_new_PreListView
, METH_NOARGS
, NULL
},
45957 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45958 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45959 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45960 { (char *)"ListView_GetFocusedItem", (PyCFunction
)_wrap_ListView_GetFocusedItem
, METH_O
, NULL
},
45961 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45962 { (char *)"ListView_GetFirstSelected", (PyCFunction
)_wrap_ListView_GetFirstSelected
, METH_O
, NULL
},
45963 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45964 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45965 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45966 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
45967 { (char *)"ListView_swiginit", ListView_swiginit
, METH_VARARGS
, NULL
},
45968 { (char *)"new_TreeItemId", (PyCFunction
)_wrap_new_TreeItemId
, METH_NOARGS
, NULL
},
45969 { (char *)"delete_TreeItemId", (PyCFunction
)_wrap_delete_TreeItemId
, METH_O
, NULL
},
45970 { (char *)"TreeItemId_IsOk", (PyCFunction
)_wrap_TreeItemId_IsOk
, METH_O
, NULL
},
45971 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45972 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45973 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
, NULL
},
45974 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
)_wrap_TreeItemId_m_pItem_get
, METH_O
, NULL
},
45975 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
45976 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit
, METH_VARARGS
, NULL
},
45977 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45978 { (char *)"delete_TreeItemData", (PyCFunction
)_wrap_delete_TreeItemData
, METH_O
, NULL
},
45979 { (char *)"TreeItemData_GetData", (PyCFunction
)_wrap_TreeItemData_GetData
, METH_O
, NULL
},
45980 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45981 { (char *)"TreeItemData_GetId", (PyCFunction
)_wrap_TreeItemData_GetId
, METH_O
, NULL
},
45982 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45983 { (char *)"TreeItemData_Destroy", (PyCFunction
)_wrap_TreeItemData_Destroy
, METH_O
, NULL
},
45984 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
45985 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit
, METH_VARARGS
, NULL
},
45986 { (char *)"new_TreeEvent", _wrap_new_TreeEvent
, METH_VARARGS
, NULL
},
45987 { (char *)"TreeEvent_GetItem", (PyCFunction
)_wrap_TreeEvent_GetItem
, METH_O
, NULL
},
45988 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45989 { (char *)"TreeEvent_GetOldItem", (PyCFunction
)_wrap_TreeEvent_GetOldItem
, METH_O
, NULL
},
45990 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45991 { (char *)"TreeEvent_GetPoint", (PyCFunction
)_wrap_TreeEvent_GetPoint
, METH_O
, NULL
},
45992 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45993 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
)_wrap_TreeEvent_GetKeyEvent
, METH_O
, NULL
},
45994 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
)_wrap_TreeEvent_GetKeyCode
, METH_O
, NULL
},
45995 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45996 { (char *)"TreeEvent_GetLabel", (PyCFunction
)_wrap_TreeEvent_GetLabel
, METH_O
, NULL
},
45997 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45998 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
)_wrap_TreeEvent_IsEditCancelled
, METH_O
, NULL
},
45999 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46000 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46001 { (char *)"TreeEvent_GetToolTip", (PyCFunction
)_wrap_TreeEvent_GetToolTip
, METH_O
, NULL
},
46002 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
46003 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit
, METH_VARARGS
, NULL
},
46004 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46005 { (char *)"new_PreTreeCtrl", (PyCFunction
)_wrap_new_PreTreeCtrl
, METH_NOARGS
, NULL
},
46006 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46007 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46008 { (char *)"TreeCtrl_GetCount", (PyCFunction
)_wrap_TreeCtrl_GetCount
, METH_O
, NULL
},
46009 { (char *)"TreeCtrl_GetIndent", (PyCFunction
)_wrap_TreeCtrl_GetIndent
, METH_O
, NULL
},
46010 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46011 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
)_wrap_TreeCtrl_GetSpacing
, METH_O
, NULL
},
46012 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46013 { (char *)"TreeCtrl_GetImageList", (PyCFunction
)_wrap_TreeCtrl_GetImageList
, METH_O
, NULL
},
46014 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
)_wrap_TreeCtrl_GetStateImageList
, METH_O
, NULL
},
46015 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46016 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46017 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46018 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46019 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46020 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46021 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46022 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46023 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46024 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46025 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46026 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46027 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46028 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46029 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46030 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46031 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46032 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46033 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46034 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46035 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46036 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46037 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46038 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46039 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46040 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46041 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46042 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
)_wrap_TreeCtrl_GetRootItem
, METH_O
, NULL
},
46043 { (char *)"TreeCtrl_GetSelection", (PyCFunction
)_wrap_TreeCtrl_GetSelection
, METH_O
, NULL
},
46044 { (char *)"TreeCtrl_GetSelections", (PyCFunction
)_wrap_TreeCtrl_GetSelections
, METH_O
, NULL
},
46045 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46046 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46047 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46048 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46049 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46050 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46051 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
)_wrap_TreeCtrl_GetFirstVisibleItem
, METH_O
, NULL
},
46052 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46053 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46054 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46055 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46056 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46057 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46058 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46059 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46060 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46061 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
)_wrap_TreeCtrl_DeleteAllItems
, METH_O
, NULL
},
46062 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46063 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46064 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46065 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46066 { (char *)"TreeCtrl_Unselect", (PyCFunction
)_wrap_TreeCtrl_Unselect
, METH_O
, NULL
},
46067 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46068 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
)_wrap_TreeCtrl_UnselectAll
, METH_O
, NULL
},
46069 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46070 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46071 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46072 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46073 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46074 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
)_wrap_TreeCtrl_GetEditControl
, METH_O
, NULL
},
46075 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction
) _wrap_TreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46076 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46077 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46078 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46079 { (char *)"TreeCtrl_SetState", (PyCFunction
) _wrap_TreeCtrl_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46080 { (char *)"TreeCtrl_GetState", (PyCFunction
) _wrap_TreeCtrl_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46081 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46082 { (char *)"TreeCtrl_SetQuickBestSize", (PyCFunction
) _wrap_TreeCtrl_SetQuickBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46083 { (char *)"TreeCtrl_GetQuickBestSize", (PyCFunction
)_wrap_TreeCtrl_GetQuickBestSize
, METH_O
, NULL
},
46084 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
46085 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit
, METH_VARARGS
, NULL
},
46086 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46087 { (char *)"new_PreGenericDirCtrl", (PyCFunction
)_wrap_new_PreGenericDirCtrl
, METH_NOARGS
, NULL
},
46088 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46089 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46090 { (char *)"GenericDirCtrl_CollapsePath", (PyCFunction
) _wrap_GenericDirCtrl_CollapsePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46091 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
)_wrap_GenericDirCtrl_GetDefaultPath
, METH_O
, NULL
},
46092 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46093 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
)_wrap_GenericDirCtrl_GetPath
, METH_O
, NULL
},
46094 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
)_wrap_GenericDirCtrl_GetFilePath
, METH_O
, NULL
},
46095 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46096 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46097 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
)_wrap_GenericDirCtrl_GetShowHidden
, METH_O
, NULL
},
46098 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
)_wrap_GenericDirCtrl_GetFilter
, METH_O
, NULL
},
46099 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46100 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterIndex
, METH_O
, NULL
},
46101 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46102 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
)_wrap_GenericDirCtrl_GetRootId
, METH_O
, NULL
},
46103 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetTreeCtrl
, METH_O
, NULL
},
46104 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterListCtrl
, METH_O
, NULL
},
46105 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46106 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
)_wrap_GenericDirCtrl_DoResize
, METH_O
, NULL
},
46107 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
)_wrap_GenericDirCtrl_ReCreateTree
, METH_O
, NULL
},
46108 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
46109 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit
, METH_VARARGS
, NULL
},
46110 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46111 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
)_wrap_new_PreDirFilterListCtrl
, METH_NOARGS
, NULL
},
46112 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46113 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46114 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
46115 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit
, METH_VARARGS
, NULL
},
46116 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46117 { (char *)"new_PrePyControl", (PyCFunction
)_wrap_new_PrePyControl
, METH_NOARGS
, NULL
},
46118 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46119 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46120 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46121 { (char *)"PyControl_DoMoveWindow", (PyCFunction
) _wrap_PyControl_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46122 { (char *)"PyControl_DoSetSize", (PyCFunction
) _wrap_PyControl_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46123 { (char *)"PyControl_DoSetClientSize", (PyCFunction
) _wrap_PyControl_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46124 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46125 { (char *)"PyControl_DoGetSize", (PyCFunction
)_wrap_PyControl_DoGetSize
, METH_O
, NULL
},
46126 { (char *)"PyControl_DoGetClientSize", (PyCFunction
)_wrap_PyControl_DoGetClientSize
, METH_O
, NULL
},
46127 { (char *)"PyControl_DoGetPosition", (PyCFunction
)_wrap_PyControl_DoGetPosition
, METH_O
, NULL
},
46128 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction
)_wrap_PyControl_DoGetVirtualSize
, METH_O
, NULL
},
46129 { (char *)"PyControl_DoGetBestSize", (PyCFunction
)_wrap_PyControl_DoGetBestSize
, METH_O
, NULL
},
46130 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction
)_wrap_PyControl_GetDefaultAttributes
, METH_O
, NULL
},
46131 { (char *)"PyControl_OnInternalIdle", (PyCFunction
)_wrap_PyControl_OnInternalIdle
, METH_O
, NULL
},
46132 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
46133 { (char *)"PyControl_swiginit", PyControl_swiginit
, METH_VARARGS
, NULL
},
46134 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46135 { (char *)"HelpEvent_GetPosition", (PyCFunction
)_wrap_HelpEvent_GetPosition
, METH_O
, NULL
},
46136 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46137 { (char *)"HelpEvent_GetLink", (PyCFunction
)_wrap_HelpEvent_GetLink
, METH_O
, NULL
},
46138 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46139 { (char *)"HelpEvent_GetTarget", (PyCFunction
)_wrap_HelpEvent_GetTarget
, METH_O
, NULL
},
46140 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46141 { (char *)"HelpEvent_GetOrigin", (PyCFunction
)_wrap_HelpEvent_GetOrigin
, METH_O
, NULL
},
46142 { (char *)"HelpEvent_SetOrigin", (PyCFunction
) _wrap_HelpEvent_SetOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46143 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
46144 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit
, METH_VARARGS
, NULL
},
46145 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46146 { (char *)"delete_ContextHelp", (PyCFunction
)_wrap_delete_ContextHelp
, METH_O
, NULL
},
46147 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46148 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
)_wrap_ContextHelp_EndContextHelp
, METH_O
, NULL
},
46149 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
46150 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit
, METH_VARARGS
, NULL
},
46151 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46152 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
46153 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit
, METH_VARARGS
, NULL
},
46154 { (char *)"delete_HelpProvider", (PyCFunction
)_wrap_delete_HelpProvider
, METH_O
, NULL
},
46155 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46156 { (char *)"HelpProvider_Get", (PyCFunction
)_wrap_HelpProvider_Get
, METH_NOARGS
, NULL
},
46157 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46158 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46159 { (char *)"HelpProvider_ShowHelpAtPoint", (PyCFunction
) _wrap_HelpProvider_ShowHelpAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46160 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46161 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46162 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46163 { (char *)"HelpProvider_Destroy", (PyCFunction
)_wrap_HelpProvider_Destroy
, METH_O
, NULL
},
46164 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
46165 { (char *)"new_SimpleHelpProvider", (PyCFunction
)_wrap_new_SimpleHelpProvider
, METH_NOARGS
, NULL
},
46166 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
46167 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit
, METH_VARARGS
, NULL
},
46168 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46169 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46170 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46171 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46172 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46173 { (char *)"delete_DragImage", (PyCFunction
)_wrap_delete_DragImage
, METH_O
, NULL
},
46174 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46175 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46176 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46177 { (char *)"DragImage_EndDrag", (PyCFunction
)_wrap_DragImage_EndDrag
, METH_O
, NULL
},
46178 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46179 { (char *)"DragImage_Show", (PyCFunction
)_wrap_DragImage_Show
, METH_O
, NULL
},
46180 { (char *)"DragImage_Hide", (PyCFunction
)_wrap_DragImage_Hide
, METH_O
, NULL
},
46181 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46182 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46183 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46184 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46185 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
46186 { (char *)"DragImage_swiginit", DragImage_swiginit
, METH_VARARGS
, NULL
},
46187 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46188 { (char *)"new_PreDatePickerCtrl", (PyCFunction
)_wrap_new_PreDatePickerCtrl
, METH_NOARGS
, NULL
},
46189 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46190 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46191 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
)_wrap_DatePickerCtrl_GetValue
, METH_O
, NULL
},
46192 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46193 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetLowerLimit
, METH_O
, NULL
},
46194 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetUpperLimit
, METH_O
, NULL
},
46195 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46196 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46197 { (char *)"new_HyperlinkCtrl", (PyCFunction
) _wrap_new_HyperlinkCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46198 { (char *)"new_PreHyperlinkCtrl", (PyCFunction
)_wrap_new_PreHyperlinkCtrl
, METH_NOARGS
, NULL
},
46199 { (char *)"HyperlinkCtrl_Create", (PyCFunction
) _wrap_HyperlinkCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46200 { (char *)"HyperlinkCtrl_GetHoverColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetHoverColour
, METH_O
, NULL
},
46201 { (char *)"HyperlinkCtrl_SetHoverColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetHoverColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46202 { (char *)"HyperlinkCtrl_GetNormalColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetNormalColour
, METH_O
, NULL
},
46203 { (char *)"HyperlinkCtrl_SetNormalColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetNormalColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46204 { (char *)"HyperlinkCtrl_GetVisitedColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisitedColour
, METH_O
, NULL
},
46205 { (char *)"HyperlinkCtrl_SetVisitedColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisitedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46206 { (char *)"HyperlinkCtrl_GetURL", (PyCFunction
)_wrap_HyperlinkCtrl_GetURL
, METH_O
, NULL
},
46207 { (char *)"HyperlinkCtrl_SetURL", (PyCFunction
) _wrap_HyperlinkCtrl_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46208 { (char *)"HyperlinkCtrl_SetVisited", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisited
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46209 { (char *)"HyperlinkCtrl_GetVisited", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisited
, METH_O
, NULL
},
46210 { (char *)"HyperlinkCtrl_swigregister", HyperlinkCtrl_swigregister
, METH_VARARGS
, NULL
},
46211 { (char *)"HyperlinkCtrl_swiginit", HyperlinkCtrl_swiginit
, METH_VARARGS
, NULL
},
46212 { (char *)"new_HyperlinkEvent", (PyCFunction
) _wrap_new_HyperlinkEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46213 { (char *)"HyperlinkEvent_GetURL", (PyCFunction
)_wrap_HyperlinkEvent_GetURL
, METH_O
, NULL
},
46214 { (char *)"HyperlinkEvent_SetURL", (PyCFunction
) _wrap_HyperlinkEvent_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46215 { (char *)"HyperlinkEvent_swigregister", HyperlinkEvent_swigregister
, METH_VARARGS
, NULL
},
46216 { (char *)"HyperlinkEvent_swiginit", HyperlinkEvent_swiginit
, METH_VARARGS
, NULL
},
46217 { (char *)"PickerBase_CreateBase", (PyCFunction
) _wrap_PickerBase_CreateBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46218 { (char *)"PickerBase_SetInternalMargin", (PyCFunction
) _wrap_PickerBase_SetInternalMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46219 { (char *)"PickerBase_GetInternalMargin", (PyCFunction
)_wrap_PickerBase_GetInternalMargin
, METH_O
, NULL
},
46220 { (char *)"PickerBase_SetTextCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetTextCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46221 { (char *)"PickerBase_GetTextCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetTextCtrlProportion
, METH_O
, NULL
},
46222 { (char *)"PickerBase_IsTextCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsTextCtrlGrowable
, METH_O
, NULL
},
46223 { (char *)"PickerBase_SetTextCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetTextCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46224 { (char *)"PickerBase_IsPickerCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsPickerCtrlGrowable
, METH_O
, NULL
},
46225 { (char *)"PickerBase_SetPickerCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46226 { (char *)"PickerBase_HasTextCtrl", (PyCFunction
)_wrap_PickerBase_HasTextCtrl
, METH_O
, NULL
},
46227 { (char *)"PickerBase_GetTextCtrl", (PyCFunction
)_wrap_PickerBase_GetTextCtrl
, METH_O
, NULL
},
46228 { (char *)"PickerBase_GetPickerCtrl", (PyCFunction
)_wrap_PickerBase_GetPickerCtrl
, METH_O
, NULL
},
46229 { (char *)"PickerBase_swigregister", PickerBase_swigregister
, METH_VARARGS
, NULL
},
46230 { (char *)"new_ColourPickerCtrl", (PyCFunction
) _wrap_new_ColourPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46231 { (char *)"new_PreColourPickerCtrl", (PyCFunction
)_wrap_new_PreColourPickerCtrl
, METH_NOARGS
, NULL
},
46232 { (char *)"ColourPickerCtrl_Create", (PyCFunction
) _wrap_ColourPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46233 { (char *)"ColourPickerCtrl_GetColour", (PyCFunction
)_wrap_ColourPickerCtrl_GetColour
, METH_O
, NULL
},
46234 { (char *)"ColourPickerCtrl_SetColour", (PyCFunction
) _wrap_ColourPickerCtrl_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46235 { (char *)"ColourPickerCtrl_swigregister", ColourPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46236 { (char *)"ColourPickerCtrl_swiginit", ColourPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46237 { (char *)"new_ColourPickerEvent", (PyCFunction
) _wrap_new_ColourPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46238 { (char *)"ColourPickerEvent_GetColour", (PyCFunction
)_wrap_ColourPickerEvent_GetColour
, METH_O
, NULL
},
46239 { (char *)"ColourPickerEvent_SetColour", (PyCFunction
) _wrap_ColourPickerEvent_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46240 { (char *)"ColourPickerEvent_swigregister", ColourPickerEvent_swigregister
, METH_VARARGS
, NULL
},
46241 { (char *)"ColourPickerEvent_swiginit", ColourPickerEvent_swiginit
, METH_VARARGS
, NULL
},
46242 { (char *)"new_FilePickerCtrl", (PyCFunction
) _wrap_new_FilePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46243 { (char *)"new_PreFilePickerCtrl", (PyCFunction
)_wrap_new_PreFilePickerCtrl
, METH_NOARGS
, NULL
},
46244 { (char *)"FilePickerCtrl_Create", (PyCFunction
) _wrap_FilePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46245 { (char *)"FilePickerCtrl_GetPath", (PyCFunction
)_wrap_FilePickerCtrl_GetPath
, METH_O
, NULL
},
46246 { (char *)"FilePickerCtrl_SetPath", (PyCFunction
) _wrap_FilePickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46247 { (char *)"FilePickerCtrl_CheckPath", (PyCFunction
) _wrap_FilePickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46248 { (char *)"FilePickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_FilePickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
46249 { (char *)"FilePickerCtrl_swigregister", FilePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46250 { (char *)"FilePickerCtrl_swiginit", FilePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46251 { (char *)"new_DirPickerCtrl", (PyCFunction
) _wrap_new_DirPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46252 { (char *)"new_PreDirPickerCtrl", (PyCFunction
)_wrap_new_PreDirPickerCtrl
, METH_NOARGS
, NULL
},
46253 { (char *)"DirPickerCtrl_Create", (PyCFunction
) _wrap_DirPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46254 { (char *)"DirPickerCtrl_GetPath", (PyCFunction
)_wrap_DirPickerCtrl_GetPath
, METH_O
, NULL
},
46255 { (char *)"DirPickerCtrl_SetPath", (PyCFunction
) _wrap_DirPickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46256 { (char *)"DirPickerCtrl_CheckPath", (PyCFunction
) _wrap_DirPickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46257 { (char *)"DirPickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_DirPickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
46258 { (char *)"DirPickerCtrl_swigregister", DirPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46259 { (char *)"DirPickerCtrl_swiginit", DirPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46260 { (char *)"new_FileDirPickerEvent", (PyCFunction
) _wrap_new_FileDirPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46261 { (char *)"FileDirPickerEvent_GetPath", (PyCFunction
)_wrap_FileDirPickerEvent_GetPath
, METH_O
, NULL
},
46262 { (char *)"FileDirPickerEvent_SetPath", (PyCFunction
) _wrap_FileDirPickerEvent_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46263 { (char *)"FileDirPickerEvent_swigregister", FileDirPickerEvent_swigregister
, METH_VARARGS
, NULL
},
46264 { (char *)"FileDirPickerEvent_swiginit", FileDirPickerEvent_swiginit
, METH_VARARGS
, NULL
},
46265 { (char *)"new_FontPickerCtrl", (PyCFunction
) _wrap_new_FontPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46266 { (char *)"new_PreFontPickerCtrl", (PyCFunction
)_wrap_new_PreFontPickerCtrl
, METH_NOARGS
, NULL
},
46267 { (char *)"FontPickerCtrl_Create", (PyCFunction
) _wrap_FontPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46268 { (char *)"FontPickerCtrl_GetSelectedFont", (PyCFunction
)_wrap_FontPickerCtrl_GetSelectedFont
, METH_O
, NULL
},
46269 { (char *)"FontPickerCtrl_SetSelectedFont", (PyCFunction
) _wrap_FontPickerCtrl_SetSelectedFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46270 { (char *)"FontPickerCtrl_SetMaxPointSize", (PyCFunction
) _wrap_FontPickerCtrl_SetMaxPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46271 { (char *)"FontPickerCtrl_GetMaxPointSize", (PyCFunction
)_wrap_FontPickerCtrl_GetMaxPointSize
, METH_O
, NULL
},
46272 { (char *)"FontPickerCtrl_swigregister", FontPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46273 { (char *)"FontPickerCtrl_swiginit", FontPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46274 { (char *)"new_FontPickerEvent", (PyCFunction
) _wrap_new_FontPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46275 { (char *)"FontPickerEvent_GetFont", (PyCFunction
)_wrap_FontPickerEvent_GetFont
, METH_O
, NULL
},
46276 { (char *)"FontPickerEvent_SetFont", (PyCFunction
) _wrap_FontPickerEvent_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46277 { (char *)"FontPickerEvent_swigregister", FontPickerEvent_swigregister
, METH_VARARGS
, NULL
},
46278 { (char *)"FontPickerEvent_swiginit", FontPickerEvent_swiginit
, METH_VARARGS
, NULL
},
46279 { NULL
, NULL
, 0, NULL
}
46283 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
46285 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
46286 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46288 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
46289 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
46291 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
46292 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
46294 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
46295 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
46297 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
46298 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
46300 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
46301 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
46303 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
46304 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
46306 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
46307 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
46309 static void *_p_wxColourPickerEventTo_p_wxEvent(void *x
) {
46310 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
46312 static void *_p_wxFileDirPickerEventTo_p_wxEvent(void *x
) {
46313 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
46315 static void *_p_wxFontPickerEventTo_p_wxEvent(void *x
) {
46316 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
46318 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
46319 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
46321 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
46322 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
46324 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
46325 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
46327 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
46328 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46330 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
46331 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
46333 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
46334 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
46336 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
46337 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
46339 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
46340 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
46342 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
46343 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
46345 static void *_p_wxTreebookEventTo_p_wxEvent(void *x
) {
46346 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
46348 static void *_p_wxToolbookEventTo_p_wxEvent(void *x
) {
46349 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
46351 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
46352 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
46354 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
46355 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
46357 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
46358 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46360 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
46361 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46363 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
46364 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
46366 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
46367 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
46369 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
46370 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
46372 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
46373 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
46375 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
46376 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
46378 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
46379 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
46381 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
46382 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
46384 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
46385 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
46387 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
46388 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
46390 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
46391 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46393 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
46394 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46396 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
46397 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46399 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
46400 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46402 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
46403 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46405 static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x
) {
46406 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
46408 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
46409 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
46411 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
46412 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
46414 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
46415 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46417 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
46418 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
46420 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
46421 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
46423 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
46424 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46426 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
46427 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46429 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
46430 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
46432 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
46433 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
46435 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
46436 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
46438 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
46439 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
46441 static void *_p_wxColourPickerCtrlTo_p_wxPickerBase(void *x
) {
46442 return (void *)((wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
46444 static void *_p_wxFilePickerCtrlTo_p_wxPickerBase(void *x
) {
46445 return (void *)((wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
46447 static void *_p_wxDirPickerCtrlTo_p_wxPickerBase(void *x
) {
46448 return (void *)((wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
46450 static void *_p_wxFontPickerCtrlTo_p_wxPickerBase(void *x
) {
46451 return (void *)((wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
46453 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
46454 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
46456 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
46457 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46459 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
46460 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
46462 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
46463 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
46465 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
46466 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
46468 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
46469 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
46471 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
46472 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
46474 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
46475 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
46477 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
46478 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
46480 static void *_p_wxPickerBaseTo_p_wxControl(void *x
) {
46481 return (void *)((wxControl
*) ((wxPickerBase
*) x
));
46483 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
46484 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
46486 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
46487 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
46489 static void *_p_wxToolbookTo_p_wxControl(void *x
) {
46490 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxToolbook
*) x
));
46492 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
46493 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
46495 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
46496 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46498 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
46499 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
46501 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
46502 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
46504 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
46505 return (void *)((wxControl
*) ((wxPyControl
*) x
));
46507 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
46508 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
46510 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
46511 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
46513 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
46514 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
46516 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
46517 return (void *)((wxControl
*) ((wxGauge
*) x
));
46519 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
46520 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
46522 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
46523 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
46525 static void *_p_wxListbookTo_p_wxControl(void *x
) {
46526 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
46528 static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x
) {
46529 return (void *)((wxControl
*) ((wxHyperlinkCtrl
*) x
));
46531 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
46532 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
46534 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
46535 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
46537 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
46538 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
46540 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
46541 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
46543 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
46544 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
46546 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
46547 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
46549 static void *_p_wxListViewTo_p_wxControl(void *x
) {
46550 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
46552 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
46553 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
46555 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
46556 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
46558 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
46559 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
46561 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
46562 return (void *)((wxControl
*) ((wxStaticText
*) x
));
46564 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
46565 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
46567 static void *_p_wxSliderTo_p_wxControl(void *x
) {
46568 return (void *)((wxControl
*) ((wxSlider
*) x
));
46570 static void *_p_wxTreebookTo_p_wxControl(void *x
) {
46571 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxTreebook
*) x
));
46573 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
46574 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
46576 static void *_p_wxButtonTo_p_wxControl(void *x
) {
46577 return (void *)((wxControl
*) ((wxButton
*) x
));
46579 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
46580 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
46582 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
46583 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46585 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
46586 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
46588 static void *_p_wxColourPickerCtrlTo_p_wxControl(void *x
) {
46589 return (void *)((wxControl
*) (wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
46591 static void *_p_wxFilePickerCtrlTo_p_wxControl(void *x
) {
46592 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
46594 static void *_p_wxDirPickerCtrlTo_p_wxControl(void *x
) {
46595 return (void *)((wxControl
*) (wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
46597 static void *_p_wxFontPickerCtrlTo_p_wxControl(void *x
) {
46598 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
46600 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
46601 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
46603 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
46604 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
46606 static void *_p_wxComboBoxTo_p_wxChoice(void *x
) {
46607 return (void *)((wxChoice
*) ((wxComboBox
*) x
));
46609 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
46610 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46612 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
46613 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
46615 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
46616 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
46618 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
46619 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
46621 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
46622 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
46624 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
46625 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
46627 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
46628 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
46630 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
46631 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
46633 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x
) {
46634 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
46636 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x
) {
46637 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
46639 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
46640 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
46642 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
46643 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
46645 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x
) {
46646 return (void *)((wxBookCtrlBase
*) ((wxToolbook
*) x
));
46648 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x
) {
46649 return (void *)((wxBookCtrlBase
*) ((wxTreebook
*) x
));
46651 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
46652 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
46654 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
46655 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
46657 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
46658 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
46660 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
46661 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
46663 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
46664 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
46666 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
46667 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
46669 static void *_p_wxPickerBaseTo_p_wxEvtHandler(void *x
) {
46670 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
46672 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
46673 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
46675 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
46676 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
46678 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
46679 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
46681 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x
) {
46682 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
46684 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
46685 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
46687 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
46688 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
46690 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
46691 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
46693 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
46694 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
46696 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
46697 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
46699 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
46700 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46702 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
46703 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
46705 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
46706 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
46708 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
46709 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
46711 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
46712 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
46714 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
46715 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
46717 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
46718 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
46720 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
46721 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
46723 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
46724 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
46726 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
46727 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
46729 static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x
) {
46730 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
46732 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
46733 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
46735 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
46736 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
46738 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
46739 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
46741 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
46742 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
46744 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
46745 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
46747 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
46748 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
46750 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
46751 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
46753 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
46754 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
46756 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
46757 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
46759 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
46760 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
46762 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
46763 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
46765 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
46766 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
46768 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
46769 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
46771 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x
) {
46772 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
46774 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
46775 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
46777 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
46778 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
46780 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
46781 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
46783 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
46784 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46786 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
46787 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
46789 static void *_p_wxColourPickerCtrlTo_p_wxEvtHandler(void *x
) {
46790 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
46792 static void *_p_wxFilePickerCtrlTo_p_wxEvtHandler(void *x
) {
46793 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
46795 static void *_p_wxDirPickerCtrlTo_p_wxEvtHandler(void *x
) {
46796 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
46798 static void *_p_wxFontPickerCtrlTo_p_wxEvtHandler(void *x
) {
46799 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
46801 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
46802 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
46804 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
46805 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
46807 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
46808 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
46810 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
46811 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46813 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
46814 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46816 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
46817 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
46819 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
46820 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
46822 static void *_p_wxToolbookTo_p_wxObject(void *x
) {
46823 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
46825 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
46826 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
46828 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
46829 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
46831 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
46832 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
46834 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
46835 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
46837 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
46838 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
46840 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
46841 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46843 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
46844 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
46846 static void *_p_wxSizerTo_p_wxObject(void *x
) {
46847 return (void *)((wxObject
*) ((wxSizer
*) x
));
46849 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
46850 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46852 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
46853 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
46855 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
46856 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
46858 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
46859 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46861 static void *_p_wxEventTo_p_wxObject(void *x
) {
46862 return (void *)((wxObject
*) ((wxEvent
*) x
));
46864 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
46865 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46867 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
46868 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
46870 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
46871 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
46873 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
46874 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
46876 static void *_p_wxPickerBaseTo_p_wxObject(void *x
) {
46877 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
46879 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
46880 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
46882 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
46883 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46885 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
46886 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
46888 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
46889 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
46891 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
46892 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
46894 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
46895 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46897 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
46898 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46900 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
46901 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46903 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
46904 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46906 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
46907 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
46909 static void *_p_wxControlTo_p_wxObject(void *x
) {
46910 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
46912 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
46913 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
46915 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
46916 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
46918 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
46919 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
46921 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
46922 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
46924 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
46925 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
46927 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
46928 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
46930 static void *_p_wxColourPickerEventTo_p_wxObject(void *x
) {
46931 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
46933 static void *_p_wxFileDirPickerEventTo_p_wxObject(void *x
) {
46934 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
46936 static void *_p_wxFontPickerEventTo_p_wxObject(void *x
) {
46937 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
46939 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
46940 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
46942 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
46943 return (void *)((wxObject
*) ((wxFSFile
*) x
));
46945 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
46946 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
46948 static void *_p_wxTreebookTo_p_wxObject(void *x
) {
46949 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
46951 static void *_p_wxListViewTo_p_wxObject(void *x
) {
46952 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
46954 static void *_p_wxHyperlinkEventTo_p_wxObject(void *x
) {
46955 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
46957 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
46958 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
46960 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
46961 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
46963 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
46964 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
46966 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
46967 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46969 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
46970 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
46972 static void *_p_wxListbookTo_p_wxObject(void *x
) {
46973 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
46975 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
46976 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
46978 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
46979 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
46981 static void *_p_wxSliderTo_p_wxObject(void *x
) {
46982 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
46984 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
46985 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
46987 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
46988 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
46990 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
46991 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
46993 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
46994 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46996 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
46997 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46999 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
47000 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
47002 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
47003 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
47005 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
47006 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
47008 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
47009 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
47011 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
47012 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
47014 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
47015 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
47017 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
47018 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
47020 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
47021 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
47023 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
47024 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
47026 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
47027 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
47029 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
47030 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
47032 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
47033 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
47035 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
47036 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
47038 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
47039 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
47041 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
47042 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
47044 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
47045 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
47047 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
47048 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
47050 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
47051 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
47053 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
47054 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
47056 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
47057 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
47059 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
47060 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
47062 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
47063 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
47065 static void *_p_wxListEventTo_p_wxObject(void *x
) {
47066 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
47068 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
47069 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
47071 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
47072 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
47074 static void *_p_wxButtonTo_p_wxObject(void *x
) {
47075 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
47077 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
47078 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
47080 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
47081 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
47083 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
47084 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
47086 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
47087 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
47089 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
47090 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
47092 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
47093 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
47095 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
47096 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
47098 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
47099 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
47101 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
47102 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
47104 static void *_p_wxListItemTo_p_wxObject(void *x
) {
47105 return (void *)((wxObject
*) ((wxListItem
*) x
));
47107 static void *_p_wxImageTo_p_wxObject(void *x
) {
47108 return (void *)((wxObject
*) ((wxImage
*) x
));
47110 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
47111 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
47113 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
47114 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
47116 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
47117 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
47119 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
47120 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
47122 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
47123 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
47125 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
47126 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
47128 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
47129 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
47131 static void *_p_wxTreebookEventTo_p_wxObject(void *x
) {
47132 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
47134 static void *_p_wxToolbookEventTo_p_wxObject(void *x
) {
47135 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
47137 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
47138 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47140 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
47141 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
47143 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
47144 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
47146 static void *_p_wxWindowTo_p_wxObject(void *x
) {
47147 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
47149 static void *_p_wxMenuTo_p_wxObject(void *x
) {
47150 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
47152 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
47153 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
47155 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
47156 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
47158 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
47159 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47161 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
47162 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
47164 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
47165 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
47167 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
47168 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
47170 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
47171 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
47173 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
47174 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
47176 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
47177 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
47179 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
47180 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
47182 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
47183 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47185 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
47186 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
47188 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
47189 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
47191 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
47192 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
47194 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
47195 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
47197 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
47198 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47200 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
47201 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
47203 static void *_p_wxColourPickerCtrlTo_p_wxObject(void *x
) {
47204 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
47206 static void *_p_wxFilePickerCtrlTo_p_wxObject(void *x
) {
47207 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
47209 static void *_p_wxDirPickerCtrlTo_p_wxObject(void *x
) {
47210 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
47212 static void *_p_wxFontPickerCtrlTo_p_wxObject(void *x
) {
47213 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
47215 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
47216 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
47218 static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x
) {
47219 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
47221 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
47222 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
47224 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
47225 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
47227 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
47228 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
47230 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
47231 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
47233 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
47234 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
47236 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
47237 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
47239 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
47240 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
47242 static void *_p_wxPickerBaseTo_p_wxWindow(void *x
) {
47243 return (void *)((wxWindow
*) (wxControl
*) ((wxPickerBase
*) x
));
47245 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
47246 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
47248 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
47249 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
47251 static void *_p_wxToolbookTo_p_wxWindow(void *x
) {
47252 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
47254 static void *_p_wxControlTo_p_wxWindow(void *x
) {
47255 return (void *)((wxWindow
*) ((wxControl
*) x
));
47257 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
47258 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
47260 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
47261 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
47263 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
47264 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
47266 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
47267 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47269 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
47270 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
47272 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
47273 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
47275 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
47276 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
47278 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
47279 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
47281 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
47282 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
47284 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
47285 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
47287 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
47288 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
47290 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
47291 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
47293 static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x
) {
47294 return (void *)((wxWindow
*) (wxControl
*) ((wxHyperlinkCtrl
*) x
));
47296 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
47297 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
47299 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
47300 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
47302 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
47303 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
47305 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
47306 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
47308 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
47309 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
47311 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
47312 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
47314 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
47315 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
47317 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
47318 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
47320 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
47321 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
47323 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
47324 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
47326 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
47327 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
47329 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
47330 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
47332 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
47333 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
47335 static void *_p_wxTreebookTo_p_wxWindow(void *x
) {
47336 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
47338 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
47339 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
47341 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
47342 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
47344 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
47345 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
47347 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
47348 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
47350 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
47351 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
47353 static void *_p_wxColourPickerCtrlTo_p_wxWindow(void *x
) {
47354 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
47356 static void *_p_wxFilePickerCtrlTo_p_wxWindow(void *x
) {
47357 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
47359 static void *_p_wxDirPickerCtrlTo_p_wxWindow(void *x
) {
47360 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
47362 static void *_p_wxFontPickerCtrlTo_p_wxWindow(void *x
) {
47363 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
47365 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
47366 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
47368 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47369 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
47371 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47372 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
47374 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47375 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
47377 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47378 return (void *)((wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
47380 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47381 return (void *)((wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
47383 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
47384 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47386 static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x
) {
47387 return (void *)((wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
47389 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
47390 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
47392 static void *_p_wxColourPickerEventTo_p_wxCommandEvent(void *x
) {
47393 return (void *)((wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
47395 static void *_p_wxFileDirPickerEventTo_p_wxCommandEvent(void *x
) {
47396 return (void *)((wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
47398 static void *_p_wxFontPickerEventTo_p_wxCommandEvent(void *x
) {
47399 return (void *)((wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
47401 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
47402 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
47404 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
47405 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
47407 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
47408 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47410 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
47411 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47413 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
47414 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47416 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
47417 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
47419 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
47420 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
47422 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
47423 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
47425 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x
) {
47426 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
47428 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x
) {
47429 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
47431 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
47432 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
47434 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
47435 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47437 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
47438 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
47440 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
47441 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
47443 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
47444 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
47446 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
47447 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
47449 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
47450 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
47452 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
47453 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47455 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
47456 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
47458 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x
) {
47459 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxComboBox
*) x
));
47461 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
47462 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47464 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
47465 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
47467 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
47468 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
47470 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
47471 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
47473 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
47474 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
47476 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
47477 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
47478 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};
47479 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
47480 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
47481 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
47482 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
47483 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
47484 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
47485 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
47486 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
47487 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
47488 static swig_type_info _swigt__p_wxBitmapButton
= {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
47489 static swig_type_info _swigt__p_wxBookCtrlBase
= {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
47490 static swig_type_info _swigt__p_wxBookCtrlBaseEvent
= {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
47491 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
47492 static swig_type_info _swigt__p_wxCheckBox
= {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
47493 static swig_type_info _swigt__p_wxCheckListBox
= {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
47494 static swig_type_info _swigt__p_wxChoice
= {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
47495 static swig_type_info _swigt__p_wxChoicebook
= {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
47496 static swig_type_info _swigt__p_wxChoicebookEvent
= {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
47497 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
47498 static swig_type_info _swigt__p_wxColourPickerCtrl
= {"_p_wxColourPickerCtrl", "wxColourPickerCtrl *", 0, 0, (void*)0, 0};
47499 static swig_type_info _swigt__p_wxColourPickerEvent
= {"_p_wxColourPickerEvent", "wxColourPickerEvent *", 0, 0, (void*)0, 0};
47500 static swig_type_info _swigt__p_wxComboBox
= {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
47501 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
47502 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
47503 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
47504 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
47505 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
47506 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
47507 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
47508 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
47509 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
47510 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
47511 static swig_type_info _swigt__p_wxContextHelp
= {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
47512 static swig_type_info _swigt__p_wxContextHelpButton
= {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
47513 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
47514 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
47515 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
47516 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
47517 static swig_type_info _swigt__p_wxDatePickerCtrl
= {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
47518 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
47519 static swig_type_info _swigt__p_wxDirFilterListCtrl
= {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
47520 static swig_type_info _swigt__p_wxDirPickerCtrl
= {"_p_wxDirPickerCtrl", "wxDirPickerCtrl *", 0, 0, (void*)0, 0};
47521 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
47522 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
47523 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
47524 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
47525 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
47526 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
47527 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
47528 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
47529 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
47530 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
47531 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
47532 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
47533 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
47534 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
47535 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
47536 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
47537 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
47538 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
47539 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
47540 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
47541 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
47542 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
47543 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
47544 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
47545 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
47546 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
47547 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
47548 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
47549 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
47550 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
47551 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
47552 static swig_type_info _swigt__p_wxFileDirPickerEvent
= {"_p_wxFileDirPickerEvent", "wxFileDirPickerEvent *", 0, 0, (void*)0, 0};
47553 static swig_type_info _swigt__p_wxFilePickerCtrl
= {"_p_wxFilePickerCtrl", "wxFilePickerCtrl *", 0, 0, (void*)0, 0};
47554 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
47555 static swig_type_info _swigt__p_wxFontPickerCtrl
= {"_p_wxFontPickerCtrl", "wxFontPickerCtrl *", 0, 0, (void*)0, 0};
47556 static swig_type_info _swigt__p_wxFontPickerEvent
= {"_p_wxFontPickerEvent", "wxFontPickerEvent *", 0, 0, (void*)0, 0};
47557 static swig_type_info _swigt__p_wxGauge
= {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
47558 static swig_type_info _swigt__p_wxGenericDirCtrl
= {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
47559 static swig_type_info _swigt__p_wxGenericDragImage
= {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
47560 static swig_type_info _swigt__p_wxHelpEvent
= {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
47561 static swig_type_info _swigt__p_wxHelpProvider
= {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
47562 static swig_type_info _swigt__p_wxHyperlinkCtrl
= {"_p_wxHyperlinkCtrl", "wxHyperlinkCtrl *", 0, 0, (void*)0, 0};
47563 static swig_type_info _swigt__p_wxHyperlinkEvent
= {"_p_wxHyperlinkEvent", "wxHyperlinkEvent *", 0, 0, (void*)0, 0};
47564 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
47565 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
47566 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
47567 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
47568 static swig_type_info _swigt__p_wxListBox
= {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
47569 static swig_type_info _swigt__p_wxListEvent
= {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
47570 static swig_type_info _swigt__p_wxListItem
= {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
47571 static swig_type_info _swigt__p_wxListItemAttr
= {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
47572 static swig_type_info _swigt__p_wxListView
= {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
47573 static swig_type_info _swigt__p_wxListbook
= {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
47574 static swig_type_info _swigt__p_wxListbookEvent
= {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
47575 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
47576 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
47577 static swig_type_info _swigt__p_wxNotebook
= {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
47578 static swig_type_info _swigt__p_wxNotebookEvent
= {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
47579 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
47580 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
47581 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
47582 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
47583 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
47584 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
47585 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
47586 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
47587 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
47588 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
47589 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
47590 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
47591 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
47592 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
47593 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
47594 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
47595 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
47596 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
47597 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
47598 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
47599 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
47600 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
47601 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
47602 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
47603 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
47604 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
47605 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
47606 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
47607 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
47608 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
47609 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
47610 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
47611 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
47612 static swig_type_info _swigt__p_wxPickerBase
= {"_p_wxPickerBase", "wxPickerBase *", 0, 0, (void*)0, 0};
47613 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
47614 static swig_type_info _swigt__p_wxPyControl
= {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
47615 static swig_type_info _swigt__p_wxPyListCtrl
= {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
47616 static swig_type_info _swigt__p_wxPyTreeCtrl
= {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
47617 static swig_type_info _swigt__p_wxPyTreeItemData
= {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
47618 static swig_type_info _swigt__p_wxRadioBox
= {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
47619 static swig_type_info _swigt__p_wxRadioButton
= {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
47620 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
47621 static swig_type_info _swigt__p_wxScrollBar
= {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
47622 static swig_type_info _swigt__p_wxSimpleHelpProvider
= {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
47623 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
47624 static swig_type_info _swigt__p_wxSlider
= {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
47625 static swig_type_info _swigt__p_wxSpinButton
= {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
47626 static swig_type_info _swigt__p_wxSpinCtrl
= {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
47627 static swig_type_info _swigt__p_wxSpinEvent
= {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
47628 static swig_type_info _swigt__p_wxStaticBitmap
= {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
47629 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
47630 static swig_type_info _swigt__p_wxStaticLine
= {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
47631 static swig_type_info _swigt__p_wxStaticText
= {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
47632 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
47633 static swig_type_info _swigt__p_wxTextAttr
= {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
47634 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
47635 static swig_type_info _swigt__p_wxTextUrlEvent
= {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
47636 static swig_type_info _swigt__p_wxToggleButton
= {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
47637 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
47638 static swig_type_info _swigt__p_wxToolBarBase
= {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
47639 static swig_type_info _swigt__p_wxToolBarToolBase
= {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
47640 static swig_type_info _swigt__p_wxToolbook
= {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
47641 static swig_type_info _swigt__p_wxToolbookEvent
= {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
47642 static swig_type_info _swigt__p_wxTreeCtrl
= {"_p_wxTreeCtrl", "wxTreeCtrl *", 0, 0, (void*)0, 0};
47643 static swig_type_info _swigt__p_wxTreeEvent
= {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
47644 static swig_type_info _swigt__p_wxTreeItemId
= {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
47645 static swig_type_info _swigt__p_wxTreebook
= {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
47646 static swig_type_info _swigt__p_wxTreebookEvent
= {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
47647 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
47648 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
47649 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
47650 static swig_type_info _swigt__p_wxWindowBase
= {"_p_wxWindowBase", "wxWindowBase *", 0, 0, (void*)0, 0};
47652 static swig_type_info
*swig_type_initial
[] = {
47655 &_swigt__p_form_ops_t
,
47658 &_swigt__p_unsigned_char
,
47659 &_swigt__p_unsigned_int
,
47660 &_swigt__p_unsigned_long
,
47662 &_swigt__p_wxANIHandler
,
47663 &_swigt__p_wxAcceleratorTable
,
47664 &_swigt__p_wxActivateEvent
,
47665 &_swigt__p_wxArrayInt
,
47666 &_swigt__p_wxArrayString
,
47667 &_swigt__p_wxBMPHandler
,
47668 &_swigt__p_wxBitmap
,
47669 &_swigt__p_wxBitmapButton
,
47670 &_swigt__p_wxBookCtrlBase
,
47671 &_swigt__p_wxBookCtrlBaseEvent
,
47672 &_swigt__p_wxBoxSizer
,
47673 &_swigt__p_wxButton
,
47674 &_swigt__p_wxCURHandler
,
47675 &_swigt__p_wxCheckBox
,
47676 &_swigt__p_wxCheckListBox
,
47677 &_swigt__p_wxChildFocusEvent
,
47678 &_swigt__p_wxChoice
,
47679 &_swigt__p_wxChoicebook
,
47680 &_swigt__p_wxChoicebookEvent
,
47681 &_swigt__p_wxClipboardTextEvent
,
47682 &_swigt__p_wxCloseEvent
,
47683 &_swigt__p_wxColour
,
47684 &_swigt__p_wxColourPickerCtrl
,
47685 &_swigt__p_wxColourPickerEvent
,
47686 &_swigt__p_wxComboBox
,
47687 &_swigt__p_wxCommandEvent
,
47688 &_swigt__p_wxContextHelp
,
47689 &_swigt__p_wxContextHelpButton
,
47690 &_swigt__p_wxContextMenuEvent
,
47691 &_swigt__p_wxControl
,
47692 &_swigt__p_wxControlWithItems
,
47693 &_swigt__p_wxCursor
,
47695 &_swigt__p_wxDateEvent
,
47696 &_swigt__p_wxDatePickerCtrl
,
47697 &_swigt__p_wxDateTime
,
47698 &_swigt__p_wxDirFilterListCtrl
,
47699 &_swigt__p_wxDirPickerCtrl
,
47700 &_swigt__p_wxDisplayChangedEvent
,
47701 &_swigt__p_wxDropFilesEvent
,
47702 &_swigt__p_wxDuplexMode
,
47703 &_swigt__p_wxEraseEvent
,
47704 &_swigt__p_wxEvent
,
47705 &_swigt__p_wxEvtHandler
,
47706 &_swigt__p_wxFSFile
,
47707 &_swigt__p_wxFileDirPickerEvent
,
47708 &_swigt__p_wxFilePickerCtrl
,
47709 &_swigt__p_wxFileSystem
,
47710 &_swigt__p_wxFlexGridSizer
,
47711 &_swigt__p_wxFocusEvent
,
47713 &_swigt__p_wxFontPickerCtrl
,
47714 &_swigt__p_wxFontPickerEvent
,
47715 &_swigt__p_wxGBSizerItem
,
47716 &_swigt__p_wxGIFHandler
,
47717 &_swigt__p_wxGauge
,
47718 &_swigt__p_wxGenericDirCtrl
,
47719 &_swigt__p_wxGenericDragImage
,
47720 &_swigt__p_wxGridBagSizer
,
47721 &_swigt__p_wxGridSizer
,
47722 &_swigt__p_wxHelpEvent
,
47723 &_swigt__p_wxHelpProvider
,
47724 &_swigt__p_wxHyperlinkCtrl
,
47725 &_swigt__p_wxHyperlinkEvent
,
47726 &_swigt__p_wxICOHandler
,
47728 &_swigt__p_wxIconizeEvent
,
47729 &_swigt__p_wxIdleEvent
,
47730 &_swigt__p_wxImage
,
47731 &_swigt__p_wxImageHandler
,
47732 &_swigt__p_wxImageList
,
47733 &_swigt__p_wxIndividualLayoutConstraint
,
47734 &_swigt__p_wxInitDialogEvent
,
47735 &_swigt__p_wxItemContainer
,
47736 &_swigt__p_wxJPEGHandler
,
47737 &_swigt__p_wxKeyEvent
,
47738 &_swigt__p_wxLayoutConstraints
,
47739 &_swigt__p_wxListBox
,
47740 &_swigt__p_wxListEvent
,
47741 &_swigt__p_wxListItem
,
47742 &_swigt__p_wxListItemAttr
,
47743 &_swigt__p_wxListView
,
47744 &_swigt__p_wxListbook
,
47745 &_swigt__p_wxListbookEvent
,
47746 &_swigt__p_wxMaximizeEvent
,
47747 &_swigt__p_wxMemoryDC
,
47749 &_swigt__p_wxMenuBar
,
47750 &_swigt__p_wxMenuEvent
,
47751 &_swigt__p_wxMenuItem
,
47752 &_swigt__p_wxMouseCaptureChangedEvent
,
47753 &_swigt__p_wxMouseEvent
,
47754 &_swigt__p_wxMoveEvent
,
47755 &_swigt__p_wxNavigationKeyEvent
,
47756 &_swigt__p_wxNcPaintEvent
,
47757 &_swigt__p_wxNotebook
,
47758 &_swigt__p_wxNotebookEvent
,
47759 &_swigt__p_wxNotifyEvent
,
47760 &_swigt__p_wxObject
,
47761 &_swigt__p_wxPCXHandler
,
47762 &_swigt__p_wxPNGHandler
,
47763 &_swigt__p_wxPNMHandler
,
47764 &_swigt__p_wxPaintEvent
,
47765 &_swigt__p_wxPaletteChangedEvent
,
47766 &_swigt__p_wxPaperSize
,
47767 &_swigt__p_wxPickerBase
,
47768 &_swigt__p_wxPoint
,
47769 &_swigt__p_wxPyApp
,
47770 &_swigt__p_wxPyCommandEvent
,
47771 &_swigt__p_wxPyControl
,
47772 &_swigt__p_wxPyEvent
,
47773 &_swigt__p_wxPyImageHandler
,
47774 &_swigt__p_wxPyListCtrl
,
47775 &_swigt__p_wxPySizer
,
47776 &_swigt__p_wxPyTreeCtrl
,
47777 &_swigt__p_wxPyTreeItemData
,
47778 &_swigt__p_wxPyValidator
,
47779 &_swigt__p_wxQueryNewPaletteEvent
,
47780 &_swigt__p_wxRadioBox
,
47781 &_swigt__p_wxRadioButton
,
47783 &_swigt__p_wxScrollBar
,
47784 &_swigt__p_wxScrollEvent
,
47785 &_swigt__p_wxScrollWinEvent
,
47786 &_swigt__p_wxSetCursorEvent
,
47787 &_swigt__p_wxShowEvent
,
47788 &_swigt__p_wxSimpleHelpProvider
,
47790 &_swigt__p_wxSizeEvent
,
47791 &_swigt__p_wxSizer
,
47792 &_swigt__p_wxSizerItem
,
47793 &_swigt__p_wxSlider
,
47794 &_swigt__p_wxSpinButton
,
47795 &_swigt__p_wxSpinCtrl
,
47796 &_swigt__p_wxSpinEvent
,
47797 &_swigt__p_wxStaticBitmap
,
47798 &_swigt__p_wxStaticBox
,
47799 &_swigt__p_wxStaticBoxSizer
,
47800 &_swigt__p_wxStaticLine
,
47801 &_swigt__p_wxStaticText
,
47802 &_swigt__p_wxStdDialogButtonSizer
,
47803 &_swigt__p_wxString
,
47804 &_swigt__p_wxSysColourChangedEvent
,
47805 &_swigt__p_wxTIFFHandler
,
47806 &_swigt__p_wxTextAttr
,
47807 &_swigt__p_wxTextCtrl
,
47808 &_swigt__p_wxTextUrlEvent
,
47809 &_swigt__p_wxToggleButton
,
47810 &_swigt__p_wxToolBar
,
47811 &_swigt__p_wxToolBarBase
,
47812 &_swigt__p_wxToolBarToolBase
,
47813 &_swigt__p_wxToolbook
,
47814 &_swigt__p_wxToolbookEvent
,
47815 &_swigt__p_wxTreeCtrl
,
47816 &_swigt__p_wxTreeEvent
,
47817 &_swigt__p_wxTreeItemId
,
47818 &_swigt__p_wxTreebook
,
47819 &_swigt__p_wxTreebookEvent
,
47820 &_swigt__p_wxUpdateUIEvent
,
47821 &_swigt__p_wxValidator
,
47822 &_swigt__p_wxVisualAttributes
,
47823 &_swigt__p_wxWindow
,
47824 &_swigt__p_wxWindowBase
,
47825 &_swigt__p_wxWindowCreateEvent
,
47826 &_swigt__p_wxWindowDestroyEvent
,
47827 &_swigt__p_wxXPMHandler
,
47830 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
47831 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
47832 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
47833 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
47834 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
47835 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
47836 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
47837 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
47838 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
47839 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
47840 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
47841 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
47842 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}};
47843 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}};
47844 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}};
47845 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}};
47846 static swig_cast_info _swigc__p_wxCheckBox
[] = { {&_swigt__p_wxCheckBox
, 0, 0, 0},{0, 0, 0, 0}};
47847 static swig_cast_info _swigc__p_wxCheckListBox
[] = { {&_swigt__p_wxCheckListBox
, 0, 0, 0},{0, 0, 0, 0}};
47848 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}};
47849 static swig_cast_info _swigc__p_wxChoicebook
[] = { {&_swigt__p_wxChoicebook
, 0, 0, 0},{0, 0, 0, 0}};
47850 static swig_cast_info _swigc__p_wxChoicebookEvent
[] = { {&_swigt__p_wxChoicebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
47851 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
47852 static swig_cast_info _swigc__p_wxColourPickerCtrl
[] = { {&_swigt__p_wxColourPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47853 static swig_cast_info _swigc__p_wxColourPickerEvent
[] = { {&_swigt__p_wxColourPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
47854 static swig_cast_info _swigc__p_wxComboBox
[] = { {&_swigt__p_wxComboBox
, 0, 0, 0},{0, 0, 0, 0}};
47855 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
47856 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
47857 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
47858 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
47859 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
47860 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
47861 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
47862 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
47863 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
47864 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_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}};
47865 static swig_cast_info _swigc__p_wxContextHelp
[] = { {&_swigt__p_wxContextHelp
, 0, 0, 0},{0, 0, 0, 0}};
47866 static swig_cast_info _swigc__p_wxContextHelpButton
[] = { {&_swigt__p_wxContextHelpButton
, 0, 0, 0},{0, 0, 0, 0}};
47867 static swig_cast_info _swigc__p_wxControl
[] = { {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPickerBase
, _p_wxPickerBaseTo_p_wxControl
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxControl
, 0, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxControl
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxControl
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxControl
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxControl
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxControl
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxControl
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxControl
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxControl
, 0, 0},{0, 0, 0, 0}};
47868 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}};
47869 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
47870 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
47871 static swig_cast_info _swigc__p_wxDatePickerCtrl
[] = { {&_swigt__p_wxDatePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47872 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
47873 static swig_cast_info _swigc__p_wxDirFilterListCtrl
[] = { {&_swigt__p_wxDirFilterListCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47874 static swig_cast_info _swigc__p_wxDirPickerCtrl
[] = { {&_swigt__p_wxDirPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47875 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
47876 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
47877 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
47878 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
47879 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
47880 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
47881 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
47882 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
47883 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
47884 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
47885 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
47886 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
47887 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
47888 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
47889 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
47890 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
47891 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
47892 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
47893 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
47894 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
47895 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
47896 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
47897 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
47898 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
47899 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
47900 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_wxListEvent
, _p_wxListEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEvent
, 0, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_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}};
47901 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
47902 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
47903 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
47904 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
47905 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPickerBase
, _p_wxPickerBaseTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_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}};
47906 static swig_cast_info _swigc__p_wxFileDirPickerEvent
[] = { {&_swigt__p_wxFileDirPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
47907 static swig_cast_info _swigc__p_wxFilePickerCtrl
[] = { {&_swigt__p_wxFilePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47908 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
47909 static swig_cast_info _swigc__p_wxFontPickerCtrl
[] = { {&_swigt__p_wxFontPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47910 static swig_cast_info _swigc__p_wxFontPickerEvent
[] = { {&_swigt__p_wxFontPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
47911 static swig_cast_info _swigc__p_wxGauge
[] = { {&_swigt__p_wxGauge
, 0, 0, 0},{0, 0, 0, 0}};
47912 static swig_cast_info _swigc__p_wxGenericDirCtrl
[] = { {&_swigt__p_wxGenericDirCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47913 static swig_cast_info _swigc__p_wxGenericDragImage
[] = { {&_swigt__p_wxGenericDragImage
, 0, 0, 0},{0, 0, 0, 0}};
47914 static swig_cast_info _swigc__p_wxHelpEvent
[] = { {&_swigt__p_wxHelpEvent
, 0, 0, 0},{0, 0, 0, 0}};
47915 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}};
47916 static swig_cast_info _swigc__p_wxHyperlinkCtrl
[] = { {&_swigt__p_wxHyperlinkCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47917 static swig_cast_info _swigc__p_wxHyperlinkEvent
[] = { {&_swigt__p_wxHyperlinkEvent
, 0, 0, 0},{0, 0, 0, 0}};
47918 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
47919 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
47920 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}};
47921 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
47922 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}};
47923 static swig_cast_info _swigc__p_wxListEvent
[] = { {&_swigt__p_wxListEvent
, 0, 0, 0},{0, 0, 0, 0}};
47924 static swig_cast_info _swigc__p_wxListItem
[] = { {&_swigt__p_wxListItem
, 0, 0, 0},{0, 0, 0, 0}};
47925 static swig_cast_info _swigc__p_wxListItemAttr
[] = { {&_swigt__p_wxListItemAttr
, 0, 0, 0},{0, 0, 0, 0}};
47926 static swig_cast_info _swigc__p_wxListView
[] = { {&_swigt__p_wxListView
, 0, 0, 0},{0, 0, 0, 0}};
47927 static swig_cast_info _swigc__p_wxListbook
[] = { {&_swigt__p_wxListbook
, 0, 0, 0},{0, 0, 0, 0}};
47928 static swig_cast_info _swigc__p_wxListbookEvent
[] = { {&_swigt__p_wxListbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
47929 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxMemoryDC
, 0, 0, 0},{0, 0, 0, 0}};
47930 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
47931 static swig_cast_info _swigc__p_wxNotebook
[] = { {&_swigt__p_wxNotebook
, 0, 0, 0},{0, 0, 0, 0}};
47932 static swig_cast_info _swigc__p_wxNotebookEvent
[] = { {&_swigt__p_wxNotebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
47933 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}};
47934 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
47935 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
47936 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
47937 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
47938 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
47939 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
47940 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
47941 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
47942 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
47943 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
47944 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
47945 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
47946 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
47947 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
47948 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
47949 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
47950 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
47951 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
47952 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
47953 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
47954 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
47955 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
47956 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
47957 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
47958 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
47959 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
47960 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
47961 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
47962 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
47963 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
47964 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_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_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourPickerEvent
, _p_wxColourPickerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDirPickerEvent
, _p_wxFileDirPickerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontPickerEvent
, _p_wxFontPickerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHyperlinkEvent
, _p_wxHyperlinkEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextHelp
, _p_wxContextHelpTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_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_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_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListItem
, _p_wxListItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGenericDragImage
, _p_wxGenericDragImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_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}};
47965 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
47966 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}};
47967 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
47968 static swig_cast_info _swigc__p_wxPyControl
[] = { {&_swigt__p_wxPyControl
, 0, 0, 0},{0, 0, 0, 0}};
47969 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}};
47970 static swig_cast_info _swigc__p_wxPyTreeCtrl
[] = { {&_swigt__p_wxPyTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47971 static swig_cast_info _swigc__p_wxPyTreeItemData
[] = { {&_swigt__p_wxPyTreeItemData
, 0, 0, 0},{0, 0, 0, 0}};
47972 static swig_cast_info _swigc__p_wxRadioBox
[] = { {&_swigt__p_wxRadioBox
, 0, 0, 0},{0, 0, 0, 0}};
47973 static swig_cast_info _swigc__p_wxRadioButton
[] = { {&_swigt__p_wxRadioButton
, 0, 0, 0},{0, 0, 0, 0}};
47974 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
47975 static swig_cast_info _swigc__p_wxScrollBar
[] = { {&_swigt__p_wxScrollBar
, 0, 0, 0},{0, 0, 0, 0}};
47976 static swig_cast_info _swigc__p_wxSimpleHelpProvider
[] = { {&_swigt__p_wxSimpleHelpProvider
, 0, 0, 0},{0, 0, 0, 0}};
47977 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
47978 static swig_cast_info _swigc__p_wxSlider
[] = { {&_swigt__p_wxSlider
, 0, 0, 0},{0, 0, 0, 0}};
47979 static swig_cast_info _swigc__p_wxSpinButton
[] = { {&_swigt__p_wxSpinButton
, 0, 0, 0},{0, 0, 0, 0}};
47980 static swig_cast_info _swigc__p_wxSpinCtrl
[] = { {&_swigt__p_wxSpinCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47981 static swig_cast_info _swigc__p_wxSpinEvent
[] = { {&_swigt__p_wxSpinEvent
, 0, 0, 0},{0, 0, 0, 0}};
47982 static swig_cast_info _swigc__p_wxStaticBitmap
[] = { {&_swigt__p_wxStaticBitmap
, 0, 0, 0},{0, 0, 0, 0}};
47983 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
47984 static swig_cast_info _swigc__p_wxStaticLine
[] = { {&_swigt__p_wxStaticLine
, 0, 0, 0},{0, 0, 0, 0}};
47985 static swig_cast_info _swigc__p_wxStaticText
[] = { {&_swigt__p_wxStaticText
, 0, 0, 0},{0, 0, 0, 0}};
47986 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
47987 static swig_cast_info _swigc__p_wxTextAttr
[] = { {&_swigt__p_wxTextAttr
, 0, 0, 0},{0, 0, 0, 0}};
47988 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47989 static swig_cast_info _swigc__p_wxTextUrlEvent
[] = { {&_swigt__p_wxTextUrlEvent
, 0, 0, 0},{0, 0, 0, 0}};
47990 static swig_cast_info _swigc__p_wxToggleButton
[] = { {&_swigt__p_wxToggleButton
, 0, 0, 0},{0, 0, 0, 0}};
47991 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
47992 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}};
47993 static swig_cast_info _swigc__p_wxToolBarToolBase
[] = { {&_swigt__p_wxToolBarToolBase
, 0, 0, 0},{0, 0, 0, 0}};
47994 static swig_cast_info _swigc__p_wxToolbook
[] = { {&_swigt__p_wxToolbook
, 0, 0, 0},{0, 0, 0, 0}};
47995 static swig_cast_info _swigc__p_wxToolbookEvent
[] = { {&_swigt__p_wxToolbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
47996 static swig_cast_info _swigc__p_wxTreeCtrl
[] = { {&_swigt__p_wxTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47997 static swig_cast_info _swigc__p_wxTreeEvent
[] = { {&_swigt__p_wxTreeEvent
, 0, 0, 0},{0, 0, 0, 0}};
47998 static swig_cast_info _swigc__p_wxTreeItemId
[] = { {&_swigt__p_wxTreeItemId
, 0, 0, 0},{0, 0, 0, 0}};
47999 static swig_cast_info _swigc__p_wxTreebook
[] = { {&_swigt__p_wxTreebook
, 0, 0, 0},{0, 0, 0, 0}};
48000 static swig_cast_info _swigc__p_wxTreebookEvent
[] = { {&_swigt__p_wxTreebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
48001 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}};
48002 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
48003 static swig_cast_info _swigc__p_wxWindow
[] = { {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPickerBase
, _p_wxPickerBaseTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxWindow
, 0, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_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_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_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_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}};
48004 static swig_cast_info _swigc__p_wxWindowBase
[] = { {&_swigt__p_wxWindowBase
, 0, 0, 0},{0, 0, 0, 0}};
48006 static swig_cast_info
*swig_cast_initial
[] = {
48009 _swigc__p_form_ops_t
,
48012 _swigc__p_unsigned_char
,
48013 _swigc__p_unsigned_int
,
48014 _swigc__p_unsigned_long
,
48016 _swigc__p_wxANIHandler
,
48017 _swigc__p_wxAcceleratorTable
,
48018 _swigc__p_wxActivateEvent
,
48019 _swigc__p_wxArrayInt
,
48020 _swigc__p_wxArrayString
,
48021 _swigc__p_wxBMPHandler
,
48022 _swigc__p_wxBitmap
,
48023 _swigc__p_wxBitmapButton
,
48024 _swigc__p_wxBookCtrlBase
,
48025 _swigc__p_wxBookCtrlBaseEvent
,
48026 _swigc__p_wxBoxSizer
,
48027 _swigc__p_wxButton
,
48028 _swigc__p_wxCURHandler
,
48029 _swigc__p_wxCheckBox
,
48030 _swigc__p_wxCheckListBox
,
48031 _swigc__p_wxChildFocusEvent
,
48032 _swigc__p_wxChoice
,
48033 _swigc__p_wxChoicebook
,
48034 _swigc__p_wxChoicebookEvent
,
48035 _swigc__p_wxClipboardTextEvent
,
48036 _swigc__p_wxCloseEvent
,
48037 _swigc__p_wxColour
,
48038 _swigc__p_wxColourPickerCtrl
,
48039 _swigc__p_wxColourPickerEvent
,
48040 _swigc__p_wxComboBox
,
48041 _swigc__p_wxCommandEvent
,
48042 _swigc__p_wxContextHelp
,
48043 _swigc__p_wxContextHelpButton
,
48044 _swigc__p_wxContextMenuEvent
,
48045 _swigc__p_wxControl
,
48046 _swigc__p_wxControlWithItems
,
48047 _swigc__p_wxCursor
,
48049 _swigc__p_wxDateEvent
,
48050 _swigc__p_wxDatePickerCtrl
,
48051 _swigc__p_wxDateTime
,
48052 _swigc__p_wxDirFilterListCtrl
,
48053 _swigc__p_wxDirPickerCtrl
,
48054 _swigc__p_wxDisplayChangedEvent
,
48055 _swigc__p_wxDropFilesEvent
,
48056 _swigc__p_wxDuplexMode
,
48057 _swigc__p_wxEraseEvent
,
48059 _swigc__p_wxEvtHandler
,
48060 _swigc__p_wxFSFile
,
48061 _swigc__p_wxFileDirPickerEvent
,
48062 _swigc__p_wxFilePickerCtrl
,
48063 _swigc__p_wxFileSystem
,
48064 _swigc__p_wxFlexGridSizer
,
48065 _swigc__p_wxFocusEvent
,
48067 _swigc__p_wxFontPickerCtrl
,
48068 _swigc__p_wxFontPickerEvent
,
48069 _swigc__p_wxGBSizerItem
,
48070 _swigc__p_wxGIFHandler
,
48072 _swigc__p_wxGenericDirCtrl
,
48073 _swigc__p_wxGenericDragImage
,
48074 _swigc__p_wxGridBagSizer
,
48075 _swigc__p_wxGridSizer
,
48076 _swigc__p_wxHelpEvent
,
48077 _swigc__p_wxHelpProvider
,
48078 _swigc__p_wxHyperlinkCtrl
,
48079 _swigc__p_wxHyperlinkEvent
,
48080 _swigc__p_wxICOHandler
,
48082 _swigc__p_wxIconizeEvent
,
48083 _swigc__p_wxIdleEvent
,
48085 _swigc__p_wxImageHandler
,
48086 _swigc__p_wxImageList
,
48087 _swigc__p_wxIndividualLayoutConstraint
,
48088 _swigc__p_wxInitDialogEvent
,
48089 _swigc__p_wxItemContainer
,
48090 _swigc__p_wxJPEGHandler
,
48091 _swigc__p_wxKeyEvent
,
48092 _swigc__p_wxLayoutConstraints
,
48093 _swigc__p_wxListBox
,
48094 _swigc__p_wxListEvent
,
48095 _swigc__p_wxListItem
,
48096 _swigc__p_wxListItemAttr
,
48097 _swigc__p_wxListView
,
48098 _swigc__p_wxListbook
,
48099 _swigc__p_wxListbookEvent
,
48100 _swigc__p_wxMaximizeEvent
,
48101 _swigc__p_wxMemoryDC
,
48103 _swigc__p_wxMenuBar
,
48104 _swigc__p_wxMenuEvent
,
48105 _swigc__p_wxMenuItem
,
48106 _swigc__p_wxMouseCaptureChangedEvent
,
48107 _swigc__p_wxMouseEvent
,
48108 _swigc__p_wxMoveEvent
,
48109 _swigc__p_wxNavigationKeyEvent
,
48110 _swigc__p_wxNcPaintEvent
,
48111 _swigc__p_wxNotebook
,
48112 _swigc__p_wxNotebookEvent
,
48113 _swigc__p_wxNotifyEvent
,
48114 _swigc__p_wxObject
,
48115 _swigc__p_wxPCXHandler
,
48116 _swigc__p_wxPNGHandler
,
48117 _swigc__p_wxPNMHandler
,
48118 _swigc__p_wxPaintEvent
,
48119 _swigc__p_wxPaletteChangedEvent
,
48120 _swigc__p_wxPaperSize
,
48121 _swigc__p_wxPickerBase
,
48124 _swigc__p_wxPyCommandEvent
,
48125 _swigc__p_wxPyControl
,
48126 _swigc__p_wxPyEvent
,
48127 _swigc__p_wxPyImageHandler
,
48128 _swigc__p_wxPyListCtrl
,
48129 _swigc__p_wxPySizer
,
48130 _swigc__p_wxPyTreeCtrl
,
48131 _swigc__p_wxPyTreeItemData
,
48132 _swigc__p_wxPyValidator
,
48133 _swigc__p_wxQueryNewPaletteEvent
,
48134 _swigc__p_wxRadioBox
,
48135 _swigc__p_wxRadioButton
,
48137 _swigc__p_wxScrollBar
,
48138 _swigc__p_wxScrollEvent
,
48139 _swigc__p_wxScrollWinEvent
,
48140 _swigc__p_wxSetCursorEvent
,
48141 _swigc__p_wxShowEvent
,
48142 _swigc__p_wxSimpleHelpProvider
,
48144 _swigc__p_wxSizeEvent
,
48146 _swigc__p_wxSizerItem
,
48147 _swigc__p_wxSlider
,
48148 _swigc__p_wxSpinButton
,
48149 _swigc__p_wxSpinCtrl
,
48150 _swigc__p_wxSpinEvent
,
48151 _swigc__p_wxStaticBitmap
,
48152 _swigc__p_wxStaticBox
,
48153 _swigc__p_wxStaticBoxSizer
,
48154 _swigc__p_wxStaticLine
,
48155 _swigc__p_wxStaticText
,
48156 _swigc__p_wxStdDialogButtonSizer
,
48157 _swigc__p_wxString
,
48158 _swigc__p_wxSysColourChangedEvent
,
48159 _swigc__p_wxTIFFHandler
,
48160 _swigc__p_wxTextAttr
,
48161 _swigc__p_wxTextCtrl
,
48162 _swigc__p_wxTextUrlEvent
,
48163 _swigc__p_wxToggleButton
,
48164 _swigc__p_wxToolBar
,
48165 _swigc__p_wxToolBarBase
,
48166 _swigc__p_wxToolBarToolBase
,
48167 _swigc__p_wxToolbook
,
48168 _swigc__p_wxToolbookEvent
,
48169 _swigc__p_wxTreeCtrl
,
48170 _swigc__p_wxTreeEvent
,
48171 _swigc__p_wxTreeItemId
,
48172 _swigc__p_wxTreebook
,
48173 _swigc__p_wxTreebookEvent
,
48174 _swigc__p_wxUpdateUIEvent
,
48175 _swigc__p_wxValidator
,
48176 _swigc__p_wxVisualAttributes
,
48177 _swigc__p_wxWindow
,
48178 _swigc__p_wxWindowBase
,
48179 _swigc__p_wxWindowCreateEvent
,
48180 _swigc__p_wxWindowDestroyEvent
,
48181 _swigc__p_wxXPMHandler
,
48185 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
48187 static swig_const_info swig_const_table
[] = {
48188 {0, 0, 0, 0.0, 0, 0}};
48193 /* -----------------------------------------------------------------------------
48194 * Type initialization:
48195 * This problem is tough by the requirement that no dynamic
48196 * memory is used. Also, since swig_type_info structures store pointers to
48197 * swig_cast_info structures and swig_cast_info structures store pointers back
48198 * to swig_type_info structures, we need some lookup code at initialization.
48199 * The idea is that swig generates all the structures that are needed.
48200 * The runtime then collects these partially filled structures.
48201 * The SWIG_InitializeModule function takes these initial arrays out of
48202 * swig_module, and does all the lookup, filling in the swig_module.types
48203 * array with the correct data and linking the correct swig_cast_info
48204 * structures together.
48206 * The generated swig_type_info structures are assigned staticly to an initial
48207 * array. We just loop though that array, and handle each type individually.
48208 * First we lookup if this type has been already loaded, and if so, use the
48209 * loaded structure instead of the generated one. Then we have to fill in the
48210 * cast linked list. The cast data is initially stored in something like a
48211 * two-dimensional array. Each row corresponds to a type (there are the same
48212 * number of rows as there are in the swig_type_initial array). Each entry in
48213 * a column is one of the swig_cast_info structures for that type.
48214 * The cast_initial array is actually an array of arrays, because each row has
48215 * a variable number of columns. So to actually build the cast linked list,
48216 * we find the array of casts associated with the type, and loop through it
48217 * adding the casts to the list. The one last trick we need to do is making
48218 * sure the type pointer in the swig_cast_info struct is correct.
48220 * First off, we lookup the cast->type name to see if it is already loaded.
48221 * There are three cases to handle:
48222 * 1) If the cast->type has already been loaded AND the type we are adding
48223 * casting info to has not been loaded (it is in this module), THEN we
48224 * replace the cast->type pointer with the type pointer that has already
48226 * 2) If BOTH types (the one we are adding casting info to, and the
48227 * cast->type) are loaded, THEN the cast info has already been loaded by
48228 * the previous module so we just ignore it.
48229 * 3) Finally, if cast->type has not already been loaded, then we add that
48230 * swig_cast_info to the linked list (because the cast->type) pointer will
48232 * ----------------------------------------------------------------------------- */
48242 #define SWIGRUNTIME_DEBUG
48246 SWIG_InitializeModule(void *clientdata
) {
48248 swig_module_info
*module_head
;
48249 static int init_run
= 0;
48251 clientdata
= clientdata
;
48253 if (init_run
) return;
48256 /* Initialize the swig_module */
48257 swig_module
.type_initial
= swig_type_initial
;
48258 swig_module
.cast_initial
= swig_cast_initial
;
48260 /* Try and load any already created modules */
48261 module_head
= SWIG_GetModule(clientdata
);
48263 swig_module
.next
= module_head
->next
;
48264 module_head
->next
= &swig_module
;
48266 /* This is the first module loaded */
48267 swig_module
.next
= &swig_module
;
48268 SWIG_SetModule(clientdata
, &swig_module
);
48271 /* Now work on filling in swig_module.types */
48272 #ifdef SWIGRUNTIME_DEBUG
48273 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
48275 for (i
= 0; i
< swig_module
.size
; ++i
) {
48276 swig_type_info
*type
= 0;
48277 swig_type_info
*ret
;
48278 swig_cast_info
*cast
;
48280 #ifdef SWIGRUNTIME_DEBUG
48281 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
48284 /* if there is another module already loaded */
48285 if (swig_module
.next
!= &swig_module
) {
48286 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
48289 /* Overwrite clientdata field */
48290 #ifdef SWIGRUNTIME_DEBUG
48291 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
48293 if (swig_module
.type_initial
[i
]->clientdata
) {
48294 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
48295 #ifdef SWIGRUNTIME_DEBUG
48296 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
48300 type
= swig_module
.type_initial
[i
];
48303 /* Insert casting types */
48304 cast
= swig_module
.cast_initial
[i
];
48305 while (cast
->type
) {
48306 /* Don't need to add information already in the list */
48308 #ifdef SWIGRUNTIME_DEBUG
48309 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
48311 if (swig_module
.next
!= &swig_module
) {
48312 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
48313 #ifdef SWIGRUNTIME_DEBUG
48314 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
48318 if (type
== swig_module
.type_initial
[i
]) {
48319 #ifdef SWIGRUNTIME_DEBUG
48320 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
48325 /* Check for casting already in the list */
48326 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
48327 #ifdef SWIGRUNTIME_DEBUG
48328 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
48330 if (!ocast
) ret
= 0;
48335 #ifdef SWIGRUNTIME_DEBUG
48336 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
48339 type
->cast
->prev
= cast
;
48340 cast
->next
= type
->cast
;
48346 /* Set entry in modules->types array equal to the type */
48347 swig_module
.types
[i
] = type
;
48349 swig_module
.types
[i
] = 0;
48351 #ifdef SWIGRUNTIME_DEBUG
48352 printf("**** SWIG_InitializeModule: Cast List ******\n");
48353 for (i
= 0; i
< swig_module
.size
; ++i
) {
48355 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
48356 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
48357 while (cast
->type
) {
48358 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
48362 printf("---- Total casts: %d\n",j
);
48364 printf("**** SWIG_InitializeModule: Cast List ******\n");
48368 /* This function will propagate the clientdata field of type to
48369 * any new swig_type_info structures that have been added into the list
48370 * of equivalent types. It is like calling
48371 * SWIG_TypeClientData(type, clientdata) a second time.
48374 SWIG_PropagateClientData(void) {
48376 swig_cast_info
*equiv
;
48377 static int init_run
= 0;
48379 if (init_run
) return;
48382 for (i
= 0; i
< swig_module
.size
; i
++) {
48383 if (swig_module
.types
[i
]->clientdata
) {
48384 equiv
= swig_module
.types
[i
]->cast
;
48386 if (!equiv
->converter
) {
48387 if (equiv
->type
&& !equiv
->type
->clientdata
)
48388 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
48390 equiv
= equiv
->next
;
48410 /* Python-specific SWIG API */
48411 #define SWIG_newvarlink() SWIG_Python_newvarlink()
48412 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
48413 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
48415 /* -----------------------------------------------------------------------------
48416 * global variable support code.
48417 * ----------------------------------------------------------------------------- */
48419 typedef struct swig_globalvar
{
48420 char *name
; /* Name of global variable */
48421 PyObject
*(*get_attr
)(void); /* Return the current value */
48422 int (*set_attr
)(PyObject
*); /* Set the value */
48423 struct swig_globalvar
*next
;
48426 typedef struct swig_varlinkobject
{
48428 swig_globalvar
*vars
;
48429 } swig_varlinkobject
;
48431 SWIGINTERN PyObject
*
48432 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
48433 return PyString_FromString("<Swig global variables>");
48436 SWIGINTERN PyObject
*
48437 swig_varlink_str(swig_varlinkobject
*v
) {
48438 PyObject
*str
= PyString_FromString("(");
48439 swig_globalvar
*var
;
48440 for (var
= v
->vars
; var
; var
=var
->next
) {
48441 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
48442 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
48444 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
48449 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
48450 PyObject
*str
= swig_varlink_str(v
);
48451 fprintf(fp
,"Swig global variables ");
48452 fprintf(fp
,"%s\n", PyString_AsString(str
));
48458 swig_varlink_dealloc(swig_varlinkobject
*v
) {
48459 swig_globalvar
*var
= v
->vars
;
48461 swig_globalvar
*n
= var
->next
;
48468 SWIGINTERN PyObject
*
48469 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
48470 PyObject
*res
= NULL
;
48471 swig_globalvar
*var
= v
->vars
;
48473 if (strcmp(var
->name
,n
) == 0) {
48474 res
= (*var
->get_attr
)();
48479 if (res
== NULL
&& !PyErr_Occurred()) {
48480 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
48486 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
48488 swig_globalvar
*var
= v
->vars
;
48490 if (strcmp(var
->name
,n
) == 0) {
48491 res
= (*var
->set_attr
)(p
);
48496 if (res
== 1 && !PyErr_Occurred()) {
48497 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
48502 SWIGINTERN PyTypeObject
*
48503 swig_varlink_type(void) {
48504 static char varlink__doc__
[] = "Swig var link object";
48505 static PyTypeObject varlink_type
;
48506 static int type_init
= 0;
48508 const PyTypeObject tmp
48510 PyObject_HEAD_INIT(NULL
)
48511 0, /* Number of items in variable part (ob_size) */
48512 (char *)"swigvarlink", /* Type name (tp_name) */
48513 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
48514 0, /* Itemsize (tp_itemsize) */
48515 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
48516 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
48517 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
48518 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
48519 0, /* tp_compare */
48520 (reprfunc
) swig_varlink_repr
, /* tp_repr */
48521 0, /* tp_as_number */
48522 0, /* tp_as_sequence */
48523 0, /* tp_as_mapping */
48526 (reprfunc
)swig_varlink_str
, /* tp_str */
48527 0, /* tp_getattro */
48528 0, /* tp_setattro */
48529 0, /* tp_as_buffer */
48531 varlink__doc__
, /* tp_doc */
48532 0, /* tp_traverse */
48534 0, /* tp_richcompare */
48535 0, /* tp_weaklistoffset */
48536 #if PY_VERSION_HEX >= 0x02020000
48537 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
48539 #if PY_VERSION_HEX >= 0x02030000
48542 #ifdef COUNT_ALLOCS
48543 0,0,0,0 /* tp_alloc -> tp_next */
48546 varlink_type
= tmp
;
48547 varlink_type
.ob_type
= &PyType_Type
;
48550 return &varlink_type
;
48553 /* Create a variable linking object for use later */
48554 SWIGINTERN PyObject
*
48555 SWIG_Python_newvarlink(void) {
48556 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
48560 return ((PyObject
*) result
);
48564 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
48565 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
48566 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
48568 size_t size
= strlen(name
)+1;
48569 gv
->name
= (char *)malloc(size
);
48571 strncpy(gv
->name
,name
,size
);
48572 gv
->get_attr
= get_attr
;
48573 gv
->set_attr
= set_attr
;
48574 gv
->next
= v
->vars
;
48580 SWIGINTERN PyObject
*
48582 static PyObject
*_SWIG_globals
= 0;
48583 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
48584 return _SWIG_globals
;
48587 /* -----------------------------------------------------------------------------
48588 * constants/methods manipulation
48589 * ----------------------------------------------------------------------------- */
48591 /* Install Constants */
48593 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
48596 for (i
= 0; constants
[i
].type
; ++i
) {
48597 switch(constants
[i
].type
) {
48598 case SWIG_PY_POINTER
:
48599 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
48601 case SWIG_PY_BINARY
:
48602 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
48609 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
48615 /* -----------------------------------------------------------------------------*/
48616 /* Fix SwigMethods to carry the callback ptrs when needed */
48617 /* -----------------------------------------------------------------------------*/
48620 SWIG_Python_FixMethods(PyMethodDef
*methods
,
48621 swig_const_info
*const_table
,
48622 swig_type_info
**types
,
48623 swig_type_info
**types_initial
) {
48625 for (i
= 0; methods
[i
].ml_name
; ++i
) {
48626 char *c
= methods
[i
].ml_doc
;
48627 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
48629 swig_const_info
*ci
= 0;
48630 char *name
= c
+ 10;
48631 for (j
= 0; const_table
[j
].type
; ++j
) {
48632 if (strncmp(const_table
[j
].name
, name
,
48633 strlen(const_table
[j
].name
)) == 0) {
48634 ci
= &(const_table
[j
]);
48639 size_t shift
= (ci
->ptype
) - types
;
48640 swig_type_info
*ty
= types_initial
[shift
];
48641 size_t ldoc
= (c
- methods
[i
].ml_doc
);
48642 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
48643 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
48646 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
48648 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
48650 strncpy(buff
, "swig_ptr: ", 10);
48652 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
48653 methods
[i
].ml_doc
= ndoc
;
48665 /* -----------------------------------------------------------------------------*
48666 * Partial Init method
48667 * -----------------------------------------------------------------------------*/
48672 SWIGEXPORT
void SWIG_init(void) {
48675 /* Fix SwigMethods to carry the callback ptrs when needed */
48676 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
48678 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
48679 d
= PyModule_GetDict(m
);
48681 SWIG_InitializeModule(0);
48682 SWIG_InstallConstants(d
,swig_const_table
);
48685 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
48686 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get
, ButtonNameStr_set
);
48687 SWIG_Python_SetConstant(d
, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT
)));
48688 SWIG_Python_SetConstant(d
, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP
)));
48689 SWIG_Python_SetConstant(d
, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT
)));
48690 SWIG_Python_SetConstant(d
, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM
)));
48691 SWIG_Python_SetConstant(d
, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK
)));
48692 SWIG_Python_SetConstant(d
, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT
)));
48693 SWIG_Python_SetConstant(d
, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW
)));
48694 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get
, CheckBoxNameStr_set
);
48695 SWIG_Python_SetConstant(d
, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE
)));
48696 SWIG_Python_SetConstant(d
, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE
)));
48697 SWIG_Python_SetConstant(d
, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
48698 SWIG_Python_SetConstant(d
, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED
)));
48699 SWIG_Python_SetConstant(d
, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED
)));
48700 SWIG_Python_SetConstant(d
, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED
)));
48701 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get
, ChoiceNameStr_set
);
48702 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get
, ComboBoxNameStr_set
);
48703 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get
, GaugeNameStr_set
);
48704 SWIG_Python_SetConstant(d
, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL
)));
48705 SWIG_Python_SetConstant(d
, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL
)));
48706 SWIG_Python_SetConstant(d
, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH
)));
48707 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get
, StaticBitmapNameStr_set
);
48708 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get
, StaticBoxNameStr_set
);
48709 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get
, StaticTextNameStr_set
);
48710 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get
, ListBoxNameStr_set
);
48711 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get
, TextCtrlNameStr_set
);
48712 SWIG_Python_SetConstant(d
, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL
)));
48713 SWIG_Python_SetConstant(d
, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL
)));
48714 SWIG_Python_SetConstant(d
, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY
)));
48715 SWIG_Python_SetConstant(d
, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE
)));
48716 SWIG_Python_SetConstant(d
, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB
)));
48717 SWIG_Python_SetConstant(d
, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT
)));
48718 SWIG_Python_SetConstant(d
, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER
)));
48719 SWIG_Python_SetConstant(d
, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT
)));
48720 SWIG_Python_SetConstant(d
, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE
)));
48721 SWIG_Python_SetConstant(d
, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH
)));
48722 SWIG_Python_SetConstant(d
, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER
)));
48723 SWIG_Python_SetConstant(d
, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD
)));
48724 SWIG_Python_SetConstant(d
, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL
)));
48725 SWIG_Python_SetConstant(d
, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL
)));
48726 SWIG_Python_SetConstant(d
, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP
)));
48727 SWIG_Python_SetConstant(d
, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP
)));
48728 SWIG_Python_SetConstant(d
, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP
)));
48729 SWIG_Python_SetConstant(d
, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP
)));
48730 SWIG_Python_SetConstant(d
, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2
)));
48731 SWIG_Python_SetConstant(d
, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE
)));
48732 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT
)));
48733 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT
)));
48734 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE
)));
48735 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER
)));
48736 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT
)));
48737 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED
)));
48738 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR
)));
48739 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
48740 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE
)));
48741 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE
)));
48742 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT
)));
48743 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC
)));
48744 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE
)));
48745 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT
)));
48746 SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT
)));
48747 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT
)));
48748 SWIG_Python_SetConstant(d
, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT
)));
48749 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS
)));
48750 SWIG_Python_SetConstant(d
, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN
)));
48751 SWIG_Python_SetConstant(d
, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE
)));
48752 SWIG_Python_SetConstant(d
, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT
)));
48753 SWIG_Python_SetConstant(d
, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW
)));
48754 SWIG_Python_SetConstant(d
, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND
)));
48755 SWIG_Python_SetConstant(d
, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord
)));
48756 SWIG_Python_SetConstant(d
, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord
)));
48757 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
48758 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
48759 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
48760 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
48761 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get
, ScrollBarNameStr_set
);
48762 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get
, SPIN_BUTTON_NAME_set
);
48763 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get
, SpinCtrlNameStr_set
);
48764 SWIG_Python_SetConstant(d
, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL
)));
48765 SWIG_Python_SetConstant(d
, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL
)));
48766 SWIG_Python_SetConstant(d
, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS
)));
48767 SWIG_Python_SetConstant(d
, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP
)));
48768 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
48769 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get
, RadioBoxNameStr_set
);
48770 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get
, RadioButtonNameStr_set
);
48771 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get
, SliderNameStr_set
);
48772 SWIG_Python_SetConstant(d
, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL
)));
48773 SWIG_Python_SetConstant(d
, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL
)));
48774 SWIG_Python_SetConstant(d
, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS
)));
48775 SWIG_Python_SetConstant(d
, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS
)));
48776 SWIG_Python_SetConstant(d
, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS
)));
48777 SWIG_Python_SetConstant(d
, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT
)));
48778 SWIG_Python_SetConstant(d
, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP
)));
48779 SWIG_Python_SetConstant(d
, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT
)));
48780 SWIG_Python_SetConstant(d
, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM
)));
48781 SWIG_Python_SetConstant(d
, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH
)));
48782 SWIG_Python_SetConstant(d
, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE
)));
48783 SWIG_Python_SetConstant(d
, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE
)));
48784 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get
, ToggleButtonNameStr_set
);
48785 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
48786 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get
, NotebookNameStr_set
);
48787 SWIG_Python_SetConstant(d
, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT
)));
48788 SWIG_Python_SetConstant(d
, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP
)));
48789 SWIG_Python_SetConstant(d
, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM
)));
48790 SWIG_Python_SetConstant(d
, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT
)));
48791 SWIG_Python_SetConstant(d
, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT
)));
48792 SWIG_Python_SetConstant(d
, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK
)));
48793 SWIG_Python_SetConstant(d
, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR
)));
48794 SWIG_Python_SetConstant(d
, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH
)));
48795 SWIG_Python_SetConstant(d
, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP
)));
48796 SWIG_Python_SetConstant(d
, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT
)));
48797 SWIG_Python_SetConstant(d
, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT
)));
48798 SWIG_Python_SetConstant(d
, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM
)));
48799 SWIG_Python_SetConstant(d
, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE
)));
48800 SWIG_Python_SetConstant(d
, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME
)));
48801 SWIG_Python_SetConstant(d
, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE
)));
48802 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON
)));
48803 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL
)));
48804 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM
)));
48805 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONPAGE
)));
48806 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
48807 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
48808 SWIG_Python_SetConstant(d
, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT
)));
48809 SWIG_Python_SetConstant(d
, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP
)));
48810 SWIG_Python_SetConstant(d
, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM
)));
48811 SWIG_Python_SetConstant(d
, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT
)));
48812 SWIG_Python_SetConstant(d
, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT
)));
48813 SWIG_Python_SetConstant(d
, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK
)));
48814 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
48815 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
48816 SWIG_Python_SetConstant(d
, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT
)));
48817 SWIG_Python_SetConstant(d
, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP
)));
48818 SWIG_Python_SetConstant(d
, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM
)));
48819 SWIG_Python_SetConstant(d
, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT
)));
48820 SWIG_Python_SetConstant(d
, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT
)));
48821 SWIG_Python_SetConstant(d
, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK
)));
48822 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
48823 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
48824 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED
));
48825 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING
));
48826 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED
));
48827 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED
));
48828 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED
));
48829 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING
));
48830 SWIG_Python_SetConstant(d
, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON
)));
48831 SWIG_Python_SetConstant(d
, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR
)));
48832 SWIG_Python_SetConstant(d
, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL
)));
48833 SWIG_Python_SetConstant(d
, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL
)));
48834 SWIG_Python_SetConstant(d
, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL
)));
48835 SWIG_Python_SetConstant(d
, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS
)));
48836 SWIG_Python_SetConstant(d
, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT
)));
48837 SWIG_Python_SetConstant(d
, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE
)));
48838 SWIG_Python_SetConstant(d
, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS
)));
48839 SWIG_Python_SetConstant(d
, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT
)));
48840 SWIG_Python_SetConstant(d
, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER
)));
48841 SWIG_Python_SetConstant(d
, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN
)));
48842 SWIG_Python_SetConstant(d
, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT
)));
48843 SWIG_Python_SetConstant(d
, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT
)));
48844 SWIG_Python_SetConstant(d
, "TB_NO_TOOLTIPS",SWIG_From_int(static_cast< int >(wxTB_NO_TOOLTIPS
)));
48845 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get
, ListCtrlNameStr_set
);
48846 SWIG_Python_SetConstant(d
, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES
)));
48847 SWIG_Python_SetConstant(d
, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES
)));
48848 SWIG_Python_SetConstant(d
, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON
)));
48849 SWIG_Python_SetConstant(d
, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON
)));
48850 SWIG_Python_SetConstant(d
, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST
)));
48851 SWIG_Python_SetConstant(d
, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT
)));
48852 SWIG_Python_SetConstant(d
, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP
)));
48853 SWIG_Python_SetConstant(d
, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT
)));
48854 SWIG_Python_SetConstant(d
, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE
)));
48855 SWIG_Python_SetConstant(d
, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL
)));
48856 SWIG_Python_SetConstant(d
, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS
)));
48857 SWIG_Python_SetConstant(d
, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER
)));
48858 SWIG_Python_SetConstant(d
, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER
)));
48859 SWIG_Python_SetConstant(d
, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL
)));
48860 SWIG_Python_SetConstant(d
, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING
)));
48861 SWIG_Python_SetConstant(d
, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING
)));
48862 SWIG_Python_SetConstant(d
, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE
)));
48863 SWIG_Python_SetConstant(d
, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN
)));
48864 SWIG_Python_SetConstant(d
, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT
)));
48865 SWIG_Python_SetConstant(d
, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE
)));
48866 SWIG_Python_SetConstant(d
, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT
)));
48867 SWIG_Python_SetConstant(d
, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE
)));
48868 SWIG_Python_SetConstant(d
, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA
)));
48869 SWIG_Python_SetConstant(d
, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM
)));
48870 SWIG_Python_SetConstant(d
, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH
)));
48871 SWIG_Python_SetConstant(d
, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT
)));
48872 SWIG_Python_SetConstant(d
, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE
)));
48873 SWIG_Python_SetConstant(d
, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED
)));
48874 SWIG_Python_SetConstant(d
, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED
)));
48875 SWIG_Python_SetConstant(d
, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED
)));
48876 SWIG_Python_SetConstant(d
, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT
)));
48877 SWIG_Python_SetConstant(d
, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED
)));
48878 SWIG_Python_SetConstant(d
, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED
)));
48879 SWIG_Python_SetConstant(d
, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE
)));
48880 SWIG_Python_SetConstant(d
, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED
)));
48881 SWIG_Python_SetConstant(d
, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE
)));
48882 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE
)));
48883 SWIG_Python_SetConstant(d
, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW
)));
48884 SWIG_Python_SetConstant(d
, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE
)));
48885 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON
)));
48886 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL
)));
48887 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT
)));
48888 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON
)));
48889 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT
)));
48890 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT
)));
48891 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM
)));
48892 SWIG_Python_SetConstant(d
, "LIST_GETSUBITEMRECT_WHOLEITEM",SWIG_From_int(static_cast< int >(wxLIST_GETSUBITEMRECT_WHOLEITEM
)));
48893 SWIG_Python_SetConstant(d
, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE
)));
48894 SWIG_Python_SetConstant(d
, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL
)));
48895 SWIG_Python_SetConstant(d
, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW
)));
48896 SWIG_Python_SetConstant(d
, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT
)));
48897 SWIG_Python_SetConstant(d
, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT
)));
48898 SWIG_Python_SetConstant(d
, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT
)));
48899 SWIG_Python_SetConstant(d
, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT
)));
48900 SWIG_Python_SetConstant(d
, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP
)));
48901 SWIG_Python_SetConstant(d
, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID
)));
48902 SWIG_Python_SetConstant(d
, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT
)));
48903 SWIG_Python_SetConstant(d
, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT
)));
48904 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE
)));
48905 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER
)));
48906 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE
)));
48907 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER
)));
48908 SWIG_Python_SetConstant(d
, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS
)));
48909 SWIG_Python_SetConstant(d
, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON
)));
48910 SWIG_Python_SetConstant(d
, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL
)));
48911 SWIG_Python_SetConstant(d
, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP
)));
48912 SWIG_Python_SetConstant(d
, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN
)));
48913 SWIG_Python_SetConstant(d
, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT
)));
48914 SWIG_Python_SetConstant(d
, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT
)));
48915 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
48916 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
48917 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
48918 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
48919 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
48920 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
48921 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
48922 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
48923 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
48924 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
48925 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
48926 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
48927 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
48928 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
48929 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
48930 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
48931 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
48932 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
48933 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
48934 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
48936 // Map renamed classes back to their common name for OOR
48937 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
48939 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get
, TreeCtrlNameStr_set
);
48940 SWIG_Python_SetConstant(d
, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS
)));
48941 SWIG_Python_SetConstant(d
, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS
)));
48942 SWIG_Python_SetConstant(d
, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES
)));
48943 SWIG_Python_SetConstant(d
, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT
)));
48944 SWIG_Python_SetConstant(d
, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE
)));
48945 SWIG_Python_SetConstant(d
, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE
)));
48946 SWIG_Python_SetConstant(d
, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED
)));
48947 SWIG_Python_SetConstant(d
, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
48948 SWIG_Python_SetConstant(d
, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS
)));
48949 SWIG_Python_SetConstant(d
, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT
)));
48950 SWIG_Python_SetConstant(d
, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES
)));
48951 SWIG_Python_SetConstant(d
, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT
)));
48952 SWIG_Python_SetConstant(d
, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE
)));
48953 SWIG_Python_SetConstant(d
, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS
)));
48954 SWIG_Python_SetConstant(d
, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal
)));
48955 SWIG_Python_SetConstant(d
, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected
)));
48956 SWIG_Python_SetConstant(d
, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded
)));
48957 SWIG_Python_SetConstant(d
, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded
)));
48958 SWIG_Python_SetConstant(d
, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max
)));
48959 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE
)));
48960 SWIG_Python_SetConstant(d
, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW
)));
48961 SWIG_Python_SetConstant(d
, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE
)));
48962 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON
)));
48963 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON
)));
48964 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT
)));
48965 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL
)));
48966 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT
)));
48967 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON
)));
48968 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT
)));
48969 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT
)));
48970 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART
)));
48971 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART
)));
48972 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM
)));
48973 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
48974 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
48975 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
48976 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
48977 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
48978 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
48979 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
48980 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
48981 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
48982 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
48983 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
48984 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
48985 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
48986 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
48987 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
48988 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
48989 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
48990 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
48991 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
48992 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
48993 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
48994 SWIG_addvarlink(SWIG_globals(),(char*)"NullTreeItemId",NullTreeItemId_get
, NullTreeItemId_set
);
48996 // Map renamed classes back to their common name for OOR
48997 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
48998 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
49000 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get
, DirDialogDefaultFolderStr_set
);
49001 SWIG_Python_SetConstant(d
, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY
)));
49002 SWIG_Python_SetConstant(d
, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST
)));
49003 SWIG_Python_SetConstant(d
, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS
)));
49004 SWIG_Python_SetConstant(d
, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL
)));
49005 SWIG_Python_SetConstant(d
, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS
)));
49006 SWIG_Python_SetConstant(d
, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP
)));
49007 SWIG_Python_SetConstant(d
, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP
)));
49008 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
49009 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
49010 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Unknown",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Unknown
)));
49011 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Keyboard",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Keyboard
)));
49012 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_HelpButton",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_HelpButton
)));
49014 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
49016 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get
, DatePickerCtrlNameStr_set
);
49017 SWIG_Python_SetConstant(d
, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT
)));
49018 SWIG_Python_SetConstant(d
, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN
)));
49019 SWIG_Python_SetConstant(d
, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN
)));
49020 SWIG_Python_SetConstant(d
, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY
)));
49021 SWIG_Python_SetConstant(d
, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE
)));
49022 SWIG_addvarlink(SWIG_globals(),(char*)"HyperlinkCtrlNameStr",HyperlinkCtrlNameStr_get
, HyperlinkCtrlNameStr_set
);
49023 SWIG_Python_SetConstant(d
, "HL_CONTEXTMENU",SWIG_From_int(static_cast< int >(wxHL_CONTEXTMENU
)));
49024 SWIG_Python_SetConstant(d
, "HL_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHL_DEFAULT_STYLE
)));
49025 PyDict_SetItemString(d
, "wxEVT_COMMAND_HYPERLINK", PyInt_FromLong(wxEVT_COMMAND_HYPERLINK
));
49026 SWIG_Python_SetConstant(d
, "PB_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxPB_USE_TEXTCTRL
)));
49027 SWIG_addvarlink(SWIG_globals(),(char*)"ColourPickerCtrlNameStr",ColourPickerCtrlNameStr_get
, ColourPickerCtrlNameStr_set
);
49028 SWIG_Python_SetConstant(d
, "CLRP_SHOW_LABEL",SWIG_From_int(static_cast< int >(wxCLRP_SHOW_LABEL
)));
49029 SWIG_Python_SetConstant(d
, "CLRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxCLRP_USE_TEXTCTRL
)));
49030 SWIG_Python_SetConstant(d
, "CLRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCLRP_DEFAULT_STYLE
)));
49031 PyDict_SetItemString(d
, "wxEVT_COMMAND_COLOURPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLOURPICKER_CHANGED
));
49032 SWIG_addvarlink(SWIG_globals(),(char*)"FilePickerCtrlNameStr",FilePickerCtrlNameStr_get
, FilePickerCtrlNameStr_set
);
49033 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
49034 SWIG_addvarlink(SWIG_globals(),(char*)"DirPickerCtrlNameStr",DirPickerCtrlNameStr_get
, DirPickerCtrlNameStr_set
);
49035 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
49036 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
49037 SWIG_Python_SetConstant(d
, "FLP_OPEN",SWIG_From_int(static_cast< int >(wxFLP_OPEN
)));
49038 SWIG_Python_SetConstant(d
, "FLP_SAVE",SWIG_From_int(static_cast< int >(wxFLP_SAVE
)));
49039 SWIG_Python_SetConstant(d
, "FLP_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFLP_OVERWRITE_PROMPT
)));
49040 SWIG_Python_SetConstant(d
, "FLP_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFLP_FILE_MUST_EXIST
)));
49041 SWIG_Python_SetConstant(d
, "FLP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFLP_CHANGE_DIR
)));
49042 SWIG_Python_SetConstant(d
, "DIRP_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDIRP_DIR_MUST_EXIST
)));
49043 SWIG_Python_SetConstant(d
, "DIRP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDIRP_CHANGE_DIR
)));
49044 SWIG_Python_SetConstant(d
, "FLP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFLP_USE_TEXTCTRL
)));
49045 SWIG_Python_SetConstant(d
, "FLP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFLP_DEFAULT_STYLE
)));
49046 SWIG_Python_SetConstant(d
, "DIRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxDIRP_USE_TEXTCTRL
)));
49047 SWIG_Python_SetConstant(d
, "DIRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDIRP_DEFAULT_STYLE
)));
49048 PyDict_SetItemString(d
, "wxEVT_COMMAND_FILEPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FILEPICKER_CHANGED
));
49049 PyDict_SetItemString(d
, "wxEVT_COMMAND_DIRPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_DIRPICKER_CHANGED
));
49050 SWIG_addvarlink(SWIG_globals(),(char*)"FontPickerCtrlNameStr",FontPickerCtrlNameStr_get
, FontPickerCtrlNameStr_set
);
49051 SWIG_Python_SetConstant(d
, "FNTP_FONTDESC_AS_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_FONTDESC_AS_LABEL
)));
49052 SWIG_Python_SetConstant(d
, "FNTP_USEFONT_FOR_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_USEFONT_FOR_LABEL
)));
49053 SWIG_Python_SetConstant(d
, "FNTP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFNTP_USE_TEXTCTRL
)));
49054 SWIG_Python_SetConstant(d
, "FNTP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFNTP_DEFAULT_STYLE
)));
49055 PyDict_SetItemString(d
, "wxEVT_COMMAND_FONTPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FONTPICKER_CHANGED
));