1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_long swig_types[4]
2471 #define SWIGTYPE_p_unsigned_char swig_types[5]
2472 #define SWIGTYPE_p_unsigned_int swig_types[6]
2473 #define SWIGTYPE_p_unsigned_long swig_types[7]
2474 #define SWIGTYPE_p_void swig_types[8]
2475 #define SWIGTYPE_p_wxANIHandler swig_types[9]
2476 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2477 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2478 #define SWIGTYPE_p_wxArrayInt swig_types[12]
2479 #define SWIGTYPE_p_wxArrayString swig_types[13]
2480 #define SWIGTYPE_p_wxBMPHandler swig_types[14]
2481 #define SWIGTYPE_p_wxBitmap swig_types[15]
2482 #define SWIGTYPE_p_wxBitmapButton swig_types[16]
2483 #define SWIGTYPE_p_wxBookCtrlBase swig_types[17]
2484 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[18]
2485 #define SWIGTYPE_p_wxBoxSizer swig_types[19]
2486 #define SWIGTYPE_p_wxButton swig_types[20]
2487 #define SWIGTYPE_p_wxCURHandler swig_types[21]
2488 #define SWIGTYPE_p_wxCheckBox swig_types[22]
2489 #define SWIGTYPE_p_wxCheckListBox swig_types[23]
2490 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2491 #define SWIGTYPE_p_wxChoice swig_types[25]
2492 #define SWIGTYPE_p_wxChoicebook swig_types[26]
2493 #define SWIGTYPE_p_wxChoicebookEvent swig_types[27]
2494 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[28]
2495 #define SWIGTYPE_p_wxCloseEvent swig_types[29]
2496 #define SWIGTYPE_p_wxColour swig_types[30]
2497 #define SWIGTYPE_p_wxColourPickerCtrl swig_types[31]
2498 #define SWIGTYPE_p_wxColourPickerEvent swig_types[32]
2499 #define SWIGTYPE_p_wxComboBox swig_types[33]
2500 #define SWIGTYPE_p_wxCommandEvent swig_types[34]
2501 #define SWIGTYPE_p_wxContextHelp swig_types[35]
2502 #define SWIGTYPE_p_wxContextHelpButton swig_types[36]
2503 #define SWIGTYPE_p_wxContextMenuEvent swig_types[37]
2504 #define SWIGTYPE_p_wxControl swig_types[38]
2505 #define SWIGTYPE_p_wxControlWithItems swig_types[39]
2506 #define SWIGTYPE_p_wxCursor swig_types[40]
2507 #define SWIGTYPE_p_wxDC swig_types[41]
2508 #define SWIGTYPE_p_wxDateEvent swig_types[42]
2509 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[43]
2510 #define SWIGTYPE_p_wxDateTime swig_types[44]
2511 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[45]
2512 #define SWIGTYPE_p_wxDirPickerCtrl swig_types[46]
2513 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[47]
2514 #define SWIGTYPE_p_wxDropFilesEvent swig_types[48]
2515 #define SWIGTYPE_p_wxDuplexMode swig_types[49]
2516 #define SWIGTYPE_p_wxEraseEvent swig_types[50]
2517 #define SWIGTYPE_p_wxEvent swig_types[51]
2518 #define SWIGTYPE_p_wxEvtHandler swig_types[52]
2519 #define SWIGTYPE_p_wxFSFile swig_types[53]
2520 #define SWIGTYPE_p_wxFileDirPickerEvent swig_types[54]
2521 #define SWIGTYPE_p_wxFilePickerCtrl swig_types[55]
2522 #define SWIGTYPE_p_wxFileSystem swig_types[56]
2523 #define SWIGTYPE_p_wxFlexGridSizer swig_types[57]
2524 #define SWIGTYPE_p_wxFocusEvent swig_types[58]
2525 #define SWIGTYPE_p_wxFont swig_types[59]
2526 #define SWIGTYPE_p_wxFontPickerCtrl swig_types[60]
2527 #define SWIGTYPE_p_wxFontPickerEvent swig_types[61]
2528 #define SWIGTYPE_p_wxGBSizerItem swig_types[62]
2529 #define SWIGTYPE_p_wxGIFHandler swig_types[63]
2530 #define SWIGTYPE_p_wxGauge swig_types[64]
2531 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[65]
2532 #define SWIGTYPE_p_wxGenericDragImage swig_types[66]
2533 #define SWIGTYPE_p_wxGridBagSizer swig_types[67]
2534 #define SWIGTYPE_p_wxGridSizer swig_types[68]
2535 #define SWIGTYPE_p_wxHelpEvent swig_types[69]
2536 #define SWIGTYPE_p_wxHelpProvider swig_types[70]
2537 #define SWIGTYPE_p_wxHyperlinkCtrl swig_types[71]
2538 #define SWIGTYPE_p_wxHyperlinkEvent swig_types[72]
2539 #define SWIGTYPE_p_wxICOHandler swig_types[73]
2540 #define SWIGTYPE_p_wxIcon swig_types[74]
2541 #define SWIGTYPE_p_wxIconizeEvent swig_types[75]
2542 #define SWIGTYPE_p_wxIdleEvent swig_types[76]
2543 #define SWIGTYPE_p_wxImage swig_types[77]
2544 #define SWIGTYPE_p_wxImageHandler swig_types[78]
2545 #define SWIGTYPE_p_wxImageList swig_types[79]
2546 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[80]
2547 #define SWIGTYPE_p_wxInitDialogEvent swig_types[81]
2548 #define SWIGTYPE_p_wxItemContainer swig_types[82]
2549 #define SWIGTYPE_p_wxJPEGHandler swig_types[83]
2550 #define SWIGTYPE_p_wxKeyEvent swig_types[84]
2551 #define SWIGTYPE_p_wxLayoutConstraints swig_types[85]
2552 #define SWIGTYPE_p_wxListBox swig_types[86]
2553 #define SWIGTYPE_p_wxListEvent swig_types[87]
2554 #define SWIGTYPE_p_wxListItem swig_types[88]
2555 #define SWIGTYPE_p_wxListItemAttr swig_types[89]
2556 #define SWIGTYPE_p_wxListView swig_types[90]
2557 #define SWIGTYPE_p_wxListbook swig_types[91]
2558 #define SWIGTYPE_p_wxListbookEvent swig_types[92]
2559 #define SWIGTYPE_p_wxMaximizeEvent swig_types[93]
2560 #define SWIGTYPE_p_wxMemoryDC swig_types[94]
2561 #define SWIGTYPE_p_wxMenu swig_types[95]
2562 #define SWIGTYPE_p_wxMenuBar swig_types[96]
2563 #define SWIGTYPE_p_wxMenuEvent swig_types[97]
2564 #define SWIGTYPE_p_wxMenuItem swig_types[98]
2565 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[99]
2566 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[100]
2567 #define SWIGTYPE_p_wxMouseEvent swig_types[101]
2568 #define SWIGTYPE_p_wxMoveEvent swig_types[102]
2569 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[103]
2570 #define SWIGTYPE_p_wxNcPaintEvent swig_types[104]
2571 #define SWIGTYPE_p_wxNotebook swig_types[105]
2572 #define SWIGTYPE_p_wxNotebookEvent swig_types[106]
2573 #define SWIGTYPE_p_wxNotifyEvent swig_types[107]
2574 #define SWIGTYPE_p_wxObject swig_types[108]
2575 #define SWIGTYPE_p_wxPCXHandler swig_types[109]
2576 #define SWIGTYPE_p_wxPNGHandler swig_types[110]
2577 #define SWIGTYPE_p_wxPNMHandler swig_types[111]
2578 #define SWIGTYPE_p_wxPaintEvent swig_types[112]
2579 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[113]
2580 #define SWIGTYPE_p_wxPaperSize swig_types[114]
2581 #define SWIGTYPE_p_wxPickerBase swig_types[115]
2582 #define SWIGTYPE_p_wxPoint swig_types[116]
2583 #define SWIGTYPE_p_wxPyApp swig_types[117]
2584 #define SWIGTYPE_p_wxPyCommandEvent swig_types[118]
2585 #define SWIGTYPE_p_wxPyControl swig_types[119]
2586 #define SWIGTYPE_p_wxPyEvent swig_types[120]
2587 #define SWIGTYPE_p_wxPyImageHandler swig_types[121]
2588 #define SWIGTYPE_p_wxPyListCtrl swig_types[122]
2589 #define SWIGTYPE_p_wxPySizer swig_types[123]
2590 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[124]
2591 #define SWIGTYPE_p_wxPyTreeItemData swig_types[125]
2592 #define SWIGTYPE_p_wxPyValidator swig_types[126]
2593 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[127]
2594 #define SWIGTYPE_p_wxRadioBox swig_types[128]
2595 #define SWIGTYPE_p_wxRadioButton swig_types[129]
2596 #define SWIGTYPE_p_wxRect swig_types[130]
2597 #define SWIGTYPE_p_wxScrollBar swig_types[131]
2598 #define SWIGTYPE_p_wxScrollEvent swig_types[132]
2599 #define SWIGTYPE_p_wxScrollWinEvent swig_types[133]
2600 #define SWIGTYPE_p_wxSetCursorEvent swig_types[134]
2601 #define SWIGTYPE_p_wxShowEvent swig_types[135]
2602 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[136]
2603 #define SWIGTYPE_p_wxSize swig_types[137]
2604 #define SWIGTYPE_p_wxSizeEvent swig_types[138]
2605 #define SWIGTYPE_p_wxSizer swig_types[139]
2606 #define SWIGTYPE_p_wxSizerItem swig_types[140]
2607 #define SWIGTYPE_p_wxSlider swig_types[141]
2608 #define SWIGTYPE_p_wxSpinButton swig_types[142]
2609 #define SWIGTYPE_p_wxSpinCtrl swig_types[143]
2610 #define SWIGTYPE_p_wxSpinEvent swig_types[144]
2611 #define SWIGTYPE_p_wxStaticBitmap swig_types[145]
2612 #define SWIGTYPE_p_wxStaticBox swig_types[146]
2613 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[147]
2614 #define SWIGTYPE_p_wxStaticLine swig_types[148]
2615 #define SWIGTYPE_p_wxStaticText swig_types[149]
2616 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[150]
2617 #define SWIGTYPE_p_wxString swig_types[151]
2618 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[152]
2619 #define SWIGTYPE_p_wxTGAHandler swig_types[153]
2620 #define SWIGTYPE_p_wxTIFFHandler swig_types[154]
2621 #define SWIGTYPE_p_wxTextAttr swig_types[155]
2622 #define SWIGTYPE_p_wxTextCtrl swig_types[156]
2623 #define SWIGTYPE_p_wxTextUrlEvent swig_types[157]
2624 #define SWIGTYPE_p_wxToggleButton swig_types[158]
2625 #define SWIGTYPE_p_wxToolBar swig_types[159]
2626 #define SWIGTYPE_p_wxToolBarBase swig_types[160]
2627 #define SWIGTYPE_p_wxToolBarToolBase swig_types[161]
2628 #define SWIGTYPE_p_wxToolbook swig_types[162]
2629 #define SWIGTYPE_p_wxToolbookEvent swig_types[163]
2630 #define SWIGTYPE_p_wxTreeEvent swig_types[164]
2631 #define SWIGTYPE_p_wxTreeItemId swig_types[165]
2632 #define SWIGTYPE_p_wxTreebook swig_types[166]
2633 #define SWIGTYPE_p_wxTreebookEvent swig_types[167]
2634 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[168]
2635 #define SWIGTYPE_p_wxValidator swig_types[169]
2636 #define SWIGTYPE_p_wxVisualAttributes swig_types[170]
2637 #define SWIGTYPE_p_wxWindow swig_types[171]
2638 #define SWIGTYPE_p_wxWindowBase swig_types[172]
2639 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[173]
2640 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[174]
2641 #define SWIGTYPE_p_wxXPMHandler swig_types[175]
2642 static swig_type_info
*swig_types
[177];
2643 static swig_module_info swig_module
= {swig_types
, 176, 0, 0, 0, 0};
2644 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2645 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2647 /* -------- TYPES TABLE (END) -------- */
2649 #if (PY_VERSION_HEX <= 0x02000000)
2650 # if !defined(SWIG_PYTHON_CLASSIC)
2651 # error "This python version requires to use swig with the '-classic' option"
2654 #if (PY_VERSION_HEX <= 0x02020000)
2655 # error "This python version requires to use swig with the '-nomodern' option"
2657 #if (PY_VERSION_HEX <= 0x02020000)
2658 # error "This python version requires to use swig with the '-nomodernargs' option"
2661 # error "This python version requires to use swig with the '-nofastunpack' option"
2664 /*-----------------------------------------------
2665 @(target):= _controls_.so
2666 ------------------------------------------------*/
2667 #define SWIG_init init_controls_
2669 #define SWIG_name "_controls_"
2671 #define SWIGVERSION 0x010329
2674 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2675 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2678 #include <stdexcept>
2682 class PyObject_ptr
{
2687 PyObject_ptr() :_obj(0)
2691 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2696 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2698 if (initial_ref
) Py_XINCREF(_obj
);
2701 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2703 Py_XINCREF(item
._obj
);
2714 operator PyObject
*() const
2719 PyObject
*operator->() const
2728 struct PyObject_var
: PyObject_ptr
{
2729 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2731 PyObject_var
& operator = (PyObject
* obj
)
2741 #include "wx/wxPython/wxPython.h"
2742 #include "wx/wxPython/pyclasses.h"
2744 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2745 static const wxString
wxPyEmptyString(wxEmptyString
);
2746 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2748 const wxArrayString wxPyEmptyStringArray
;
2750 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
2752 #define SWIG_From_long PyInt_FromLong
2755 SWIGINTERNINLINE PyObject
*
2756 SWIG_From_int (int value
)
2758 return SWIG_From_long (value
);
2764 # define LLONG_MIN LONG_LONG_MIN
2767 # define LLONG_MAX LONG_LONG_MAX
2770 # define ULLONG_MAX ULONG_LONG_MAX
2775 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2777 if (PyNumber_Check(obj
)) {
2778 if (val
) *val
= PyInt_AsLong(obj
);
2781 return SWIG_TypeError
;
2786 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2789 int res
= SWIG_AsVal_long (obj
, &v
);
2790 if (SWIG_IsOK(res
)) {
2791 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2792 return SWIG_OverflowError
;
2794 if (val
) *val
= static_cast< int >(v
);
2800 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
2803 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2805 if (obj
== Py_True
) {
2806 if (val
) *val
= true;
2808 } else if (obj
== Py_False
) {
2809 if (val
) *val
= false;
2813 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2814 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2819 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
2820 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
2821 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
2822 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
2823 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
2824 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
2826 #include <wx/checklst.h>
2828 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
2829 SWIGINTERN
void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2832 wxPyClientData
* data
= new wxPyClientData(clientData
);
2833 self
->Insert(item
, pos
, data
);
2836 self
->Insert(item
, pos
);
2840 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2843 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2844 return SWIG_TypeError
;
2847 *val
= (unsigned long)v
;
2853 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
2856 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2857 if (SWIG_IsOK(res
)) {
2858 if ((v
> UINT_MAX
)) {
2859 return SWIG_OverflowError
;
2861 if (val
) *val
= static_cast< unsigned int >(v
);
2867 SWIGINTERN PyObject
*wxListBox_GetSelections(wxListBox
*self
){
2868 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2870 self
->GetSelections(lst
);
2871 PyObject
*tup
= PyTuple_New(lst
.GetCount());
2872 for (size_t i
=0; i
<lst
.GetCount(); i
++)
2874 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
2876 wxPyEndBlockThreads(blocked
);
2879 SWIGINTERN
void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2881 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2882 self
->GetItem(item
)->SetTextColour(c
);
2885 SWIGINTERN
void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2887 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2888 self
->GetItem(item
)->SetBackgroundColour(c
);
2891 SWIGINTERN
void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
2893 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2894 self
->GetItem(item
)->SetFont(f
);
2897 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
2898 SWIGINTERN
void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
2899 self
->AppendText(text
);
2901 SWIGINTERN wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
2902 return self
->GetValue().Mid(from
, to
- from
);
2904 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
2905 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
2906 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
2907 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
2908 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
2910 SWIGINTERNINLINE PyObject
*
2911 SWIG_From_unsigned_SS_long (unsigned long value
)
2913 return (value
> LONG_MAX
) ?
2914 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2918 SWIGINTERNINLINE PyObject
*
2919 SWIG_From_size_t (size_t value
)
2921 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2925 SWIGINTERNINLINE PyObject
*
2926 SWIG_From_unsigned_SS_int (unsigned int value
)
2928 return SWIG_From_unsigned_SS_long (value
);
2932 #include <wx/slider.h>
2935 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
2936 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
2938 #if !wxUSE_TOGGLEBTN
2939 // implement dummy items for platforms that don't have this class
2941 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
2943 class wxToggleButton
: public wxControl
2946 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
2947 const wxPoint
&, const wxSize
&, long,
2948 const wxValidator
&, const wxString
&)
2949 { wxPyRaiseNotImplemented(); }
2952 { wxPyRaiseNotImplemented(); }
2956 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
2958 SWIGINTERNINLINE
int
2959 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2962 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2963 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2967 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2968 SWIGINTERN PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
2969 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
2971 Py_INCREF(udata
->m_obj
);
2972 return udata
->m_obj
;
2978 SWIGINTERN
void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
2979 self
->SetClientData(new wxPyUserData(clientData
));
2981 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
){
2982 wxPyUserData
* udata
= NULL
;
2983 if (clientData
&& clientData
!= Py_None
)
2984 udata
= new wxPyUserData(clientData
);
2985 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
2986 shortHelp
, longHelp
, udata
);
2988 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
){
2989 wxPyUserData
* udata
= NULL
;
2990 if (clientData
&& clientData
!= Py_None
)
2991 udata
= new wxPyUserData(clientData
);
2992 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
2993 shortHelp
, longHelp
, udata
);
2995 SWIGINTERN PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
2996 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
2998 Py_INCREF(udata
->m_obj
);
2999 return udata
->m_obj
;
3005 SWIGINTERN
void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
3006 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
3009 #include <wx/listctrl.h>
3011 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
3012 SWIGINTERN
void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
3013 // Python aware sorting function for wxPyListCtrl
3014 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
3016 PyObject
* func
= (PyObject
*)funcPtr
;
3017 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3019 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
3020 PyObject
* result
= PyEval_CallObject(func
, args
);
3023 retval
= PyInt_AsLong(result
);
3027 wxPyEndBlockThreads(blocked
);
3031 // C++ Version of a Python aware class
3032 class wxPyListCtrl
: public wxListCtrl
{
3033 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
)
3035 wxPyListCtrl() : wxListCtrl() {}
3036 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
3040 const wxValidator
& validator
,
3041 const wxString
& name
) :
3042 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3044 bool Create(wxWindow
* parent
, wxWindowID id
,
3048 const wxValidator
& validator
,
3049 const wxString
& name
) {
3050 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3053 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
3054 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
3056 // use the virtual version to avoid a confusing assert in the base class
3057 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
3058 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage
);
3063 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
3065 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
3066 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
3067 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
3068 IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemColumnImage
);
3071 SWIGINTERN wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
3073 item
.SetMask( wxLIST_MASK_STATE
|
3081 if (self
->GetColumn(col
, item
))
3082 return new wxListItem(item
);
3086 SWIGINTERN wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
3087 wxListItem
* info
= new wxListItem
;
3088 info
->m_itemId
= itemId
;
3090 info
->m_mask
= 0xFFFF;
3091 self
->GetItem(*info
);
3094 SWIGINTERN wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
3096 self
->GetItemPosition(item
, pos
);
3099 SWIGINTERN wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
3101 self
->GetItemRect(item
, rect
, code
);
3104 SWIGINTERN
bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
3105 if (!PyCallable_Check(func
))
3107 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
3109 SWIGINTERN wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
3117 #include <wx/treectrl.h>
3118 #include "wx/wxPython/pytree.h"
3120 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
3121 SWIGINTERN
bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
3122 SWIGINTERN
bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
3123 SWIGINTERN
void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
3125 static wxTreeItemId wxNullTreeItemId
;
3127 // C++ version of Python aware wxTreeCtrl
3128 class wxPyTreeCtrl
: public wxTreeCtrl
{
3129 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
)
3131 wxPyTreeCtrl() : wxTreeCtrl() {}
3132 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
3136 const wxValidator
& validator
,
3137 const wxString
& name
) :
3138 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3140 bool Create(wxWindow
*parent
, wxWindowID id
,
3144 const wxValidator
& validator
,
3145 const wxString
& name
) {
3146 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3150 int OnCompareItems(const wxTreeItemId
& item1
,
3151 const wxTreeItemId
& item2
) {
3154 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3155 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
3156 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
3157 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
3158 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
3162 wxPyEndBlockThreads(blocked
);
3164 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
3170 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
3173 SWIGINTERN wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3174 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3176 data
= new wxPyTreeItemData();
3177 data
->SetId(item
); // set the id
3178 self
->SetItemData(item
, data
);
3182 SWIGINTERN PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3183 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3185 data
= new wxPyTreeItemData();
3186 data
->SetId(item
); // set the id
3187 self
->SetItemData(item
, data
);
3189 return data
->GetData();
3191 SWIGINTERN
void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
3192 data
->SetId(item
); // set the id
3193 self
->SetItemData(item
, data
);
3195 SWIGINTERN
void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
3196 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3198 data
= new wxPyTreeItemData(obj
);
3199 data
->SetId(item
); // set the id
3200 self
->SetItemData(item
, data
);
3204 SWIGINTERN PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
3205 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3206 PyObject
* rval
= PyList_New(0);
3207 wxArrayTreeItemIds array
;
3209 num
= self
->GetSelections(array
);
3210 for (x
=0; x
< num
; x
++) {
3211 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
3212 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
3213 PyList_Append(rval
, item
);
3216 wxPyEndBlockThreads(blocked
);
3219 SWIGINTERN PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3221 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
3222 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3223 PyObject
* tup
= PyTuple_New(2);
3224 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3225 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3226 wxPyEndBlockThreads(blocked
);
3229 SWIGINTERN PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
3230 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
3231 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3232 PyObject
* tup
= PyTuple_New(2);
3233 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3234 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3235 wxPyEndBlockThreads(blocked
);
3238 SWIGINTERN PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
3240 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
3241 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3242 wxRect
* r
= new wxRect(rect
);
3243 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
3244 wxPyEndBlockThreads(blocked
);
3250 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
3252 SWIGINTERNINLINE PyObject
*
3253 SWIG_From_bool (bool value
)
3255 return PyBool_FromLong(value
? 1 : 0);
3258 // C++ version of Python aware wxControl
3259 class wxPyControl
: public wxControl
3261 DECLARE_DYNAMIC_CLASS(wxPyControl
)
3263 wxPyControl() : wxControl() {}
3264 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
3265 const wxPoint
& pos
= wxDefaultPosition
,
3266 const wxSize
& size
= wxDefaultSize
,
3268 const wxValidator
& validator
=wxDefaultValidator
,
3269 const wxString
& name
= wxPyControlNameStr
)
3270 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3273 bool DoEraseBackground(wxDC
* dc
) {
3275 return wxWindow::DoEraseBackground(dc
->GetHDC());
3277 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3283 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3284 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3285 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3286 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3288 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3289 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3290 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3292 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3293 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3295 DEC_PYCALLBACK__(InitDialog
);
3296 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3297 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3298 DEC_PYCALLBACK_BOOL_(Validate
);
3300 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3301 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3302 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3304 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3305 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3307 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3308 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3310 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3312 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3317 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
3319 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
3320 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
3321 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
3322 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
3324 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
3325 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
3326 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
3328 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
3329 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
3331 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
3332 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
3333 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
3334 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
3336 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
3337 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
3338 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
3340 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
3341 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
3343 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
3344 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
3346 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
3348 IMP_PYCALLBACK_VOID_(wxPyControl
, wxControl
, OnInternalIdle
);
3352 SWIGINTERN
void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
3354 #include <wx/generic/dragimgg.h>
3356 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
3357 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
3359 self
->GetRange(&rv
, NULL
);
3362 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
3364 self
->GetRange(NULL
, &rv
);
3367 static const wxString
wxPyHyperlinkCtrlNameStr(wxHyperlinkCtrlNameStr
);
3368 static const wxString
wxPyColourPickerCtrlNameStr(wxColourPickerCtrlNameStr
);
3369 static const wxString
wxPyFilePickerCtrlNameStr(wxFilePickerCtrlNameStr
);
3370 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3371 static const wxString
wxPyDirPickerCtrlNameStr(wxDirPickerCtrlNameStr
);
3372 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3373 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3374 static const wxString
wxPyFontPickerCtrlNameStr(wxFontPickerCtrlNameStr
);
3378 SWIGINTERN
int ButtonNameStr_set(PyObject
*) {
3379 SWIG_Error(SWIG_AttributeError
,"Variable ButtonNameStr is read-only.");
3384 SWIGINTERN PyObject
*ButtonNameStr_get(void) {
3385 PyObject
*pyobj
= 0;
3389 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3391 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3398 SWIGINTERN PyObject
*_wrap_new_Button(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3399 PyObject
*resultobj
= 0;
3400 wxWindow
*arg1
= (wxWindow
*) 0 ;
3401 int arg2
= (int) -1 ;
3402 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3403 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3404 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3405 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3406 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3407 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3408 long arg6
= (long) 0 ;
3409 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3410 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3411 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3412 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3413 wxButton
*result
= 0 ;
3418 bool temp3
= false ;
3425 bool temp8
= false ;
3426 PyObject
* obj0
= 0 ;
3427 PyObject
* obj1
= 0 ;
3428 PyObject
* obj2
= 0 ;
3429 PyObject
* obj3
= 0 ;
3430 PyObject
* obj4
= 0 ;
3431 PyObject
* obj5
= 0 ;
3432 PyObject
* obj6
= 0 ;
3433 PyObject
* obj7
= 0 ;
3434 char * kwnames
[] = {
3435 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3440 if (!SWIG_IsOK(res1
)) {
3441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Button" "', expected argument " "1"" of type '" "wxWindow *""'");
3443 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3445 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3446 if (!SWIG_IsOK(ecode2
)) {
3447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Button" "', expected argument " "2"" of type '" "int""'");
3449 arg2
= static_cast< int >(val2
);
3453 arg3
= wxString_in_helper(obj2
);
3454 if (arg3
== NULL
) SWIG_fail
;
3461 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3467 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3471 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3472 if (!SWIG_IsOK(ecode6
)) {
3473 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Button" "', expected argument " "6"" of type '" "long""'");
3475 arg6
= static_cast< long >(val6
);
3478 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3479 if (!SWIG_IsOK(res7
)) {
3480 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3483 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3485 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3489 arg8
= wxString_in_helper(obj7
);
3490 if (arg8
== NULL
) SWIG_fail
;
3495 if (!wxPyCheckForApp()) SWIG_fail
;
3496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3497 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3498 wxPyEndAllowThreads(__tstate
);
3499 if (PyErr_Occurred()) SWIG_fail
;
3501 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_NEW
| 0 );
3524 SWIGINTERN PyObject
*_wrap_new_PreButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3525 PyObject
*resultobj
= 0;
3526 wxButton
*result
= 0 ;
3528 if (!SWIG_Python_UnpackTuple(args
,"new_PreButton",0,0,0)) SWIG_fail
;
3530 if (!wxPyCheckForApp()) SWIG_fail
;
3531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3532 result
= (wxButton
*)new wxButton();
3533 wxPyEndAllowThreads(__tstate
);
3534 if (PyErr_Occurred()) SWIG_fail
;
3536 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_OWN
| 0 );
3543 SWIGINTERN PyObject
*_wrap_Button_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3544 PyObject
*resultobj
= 0;
3545 wxButton
*arg1
= (wxButton
*) 0 ;
3546 wxWindow
*arg2
= (wxWindow
*) 0 ;
3547 int arg3
= (int) -1 ;
3548 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3549 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3550 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3551 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3552 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3553 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3554 long arg7
= (long) 0 ;
3555 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3556 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3557 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3558 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3566 bool temp4
= false ;
3573 bool temp9
= false ;
3574 PyObject
* obj0
= 0 ;
3575 PyObject
* obj1
= 0 ;
3576 PyObject
* obj2
= 0 ;
3577 PyObject
* obj3
= 0 ;
3578 PyObject
* obj4
= 0 ;
3579 PyObject
* obj5
= 0 ;
3580 PyObject
* obj6
= 0 ;
3581 PyObject
* obj7
= 0 ;
3582 PyObject
* obj8
= 0 ;
3583 char * kwnames
[] = {
3584 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3589 if (!SWIG_IsOK(res1
)) {
3590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_Create" "', expected argument " "1"" of type '" "wxButton *""'");
3592 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3593 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3594 if (!SWIG_IsOK(res2
)) {
3595 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Button_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3597 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3599 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3600 if (!SWIG_IsOK(ecode3
)) {
3601 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Button_Create" "', expected argument " "3"" of type '" "int""'");
3603 arg3
= static_cast< int >(val3
);
3607 arg4
= wxString_in_helper(obj3
);
3608 if (arg4
== NULL
) SWIG_fail
;
3615 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3621 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3625 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3626 if (!SWIG_IsOK(ecode7
)) {
3627 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Button_Create" "', expected argument " "7"" of type '" "long""'");
3629 arg7
= static_cast< long >(val7
);
3632 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
3633 if (!SWIG_IsOK(res8
)) {
3634 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3637 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3639 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
3643 arg9
= wxString_in_helper(obj8
);
3644 if (arg9
== NULL
) SWIG_fail
;
3649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3650 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3651 wxPyEndAllowThreads(__tstate
);
3652 if (PyErr_Occurred()) SWIG_fail
;
3655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3679 SWIGINTERN PyObject
*_wrap_Button_SetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3680 PyObject
*resultobj
= 0;
3681 wxButton
*arg1
= (wxButton
*) 0 ;
3684 PyObject
*swig_obj
[1] ;
3686 if (!args
) SWIG_fail
;
3688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3689 if (!SWIG_IsOK(res1
)) {
3690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_SetDefault" "', expected argument " "1"" of type '" "wxButton *""'");
3692 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3695 (arg1
)->SetDefault();
3696 wxPyEndAllowThreads(__tstate
);
3697 if (PyErr_Occurred()) SWIG_fail
;
3699 resultobj
= SWIG_Py_Void();
3706 SWIGINTERN PyObject
*_wrap_Button_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3707 PyObject
*resultobj
= 0;
3710 if (!SWIG_Python_UnpackTuple(args
,"Button_GetDefaultSize",0,0,0)) SWIG_fail
;
3712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3713 result
= wxButton::GetDefaultSize();
3714 wxPyEndAllowThreads(__tstate
);
3715 if (PyErr_Occurred()) SWIG_fail
;
3717 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
3724 SWIGINTERN PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3725 PyObject
*resultobj
= 0;
3726 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3727 SwigValueWrapper
<wxVisualAttributes
> result
;
3730 PyObject
* obj0
= 0 ;
3731 char * kwnames
[] = {
3732 (char *) "variant", NULL
3735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
3737 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3738 if (!SWIG_IsOK(ecode1
)) {
3739 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Button_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3741 arg1
= static_cast< wxWindowVariant
>(val1
);
3744 if (!wxPyCheckForApp()) SWIG_fail
;
3745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3746 result
= wxButton::GetClassDefaultAttributes(arg1
);
3747 wxPyEndAllowThreads(__tstate
);
3748 if (PyErr_Occurred()) SWIG_fail
;
3750 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
3757 SWIGINTERN PyObject
*Button_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3759 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3760 SWIG_TypeNewClientData(SWIGTYPE_p_wxButton
, SWIG_NewClientData(obj
));
3761 return SWIG_Py_Void();
3764 SWIGINTERN PyObject
*Button_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3765 return SWIG_Python_InitShadowInstance(args
);
3768 SWIGINTERN PyObject
*_wrap_new_BitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3769 PyObject
*resultobj
= 0;
3770 wxWindow
*arg1
= (wxWindow
*) 0 ;
3771 int arg2
= (int) -1 ;
3772 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
3773 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
3774 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3775 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3776 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3777 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3778 long arg6
= (long) wxBU_AUTODRAW
;
3779 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3780 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3781 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3782 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3783 wxBitmapButton
*result
= 0 ;
3796 bool temp8
= false ;
3797 PyObject
* obj0
= 0 ;
3798 PyObject
* obj1
= 0 ;
3799 PyObject
* obj2
= 0 ;
3800 PyObject
* obj3
= 0 ;
3801 PyObject
* obj4
= 0 ;
3802 PyObject
* obj5
= 0 ;
3803 PyObject
* obj6
= 0 ;
3804 PyObject
* obj7
= 0 ;
3805 char * kwnames
[] = {
3806 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3811 if (!SWIG_IsOK(res1
)) {
3812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapButton" "', expected argument " "1"" of type '" "wxWindow *""'");
3814 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3816 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3817 if (!SWIG_IsOK(ecode2
)) {
3818 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapButton" "', expected argument " "2"" of type '" "int""'");
3820 arg2
= static_cast< int >(val2
);
3823 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3824 if (!SWIG_IsOK(res3
)) {
3825 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3828 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3830 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
3835 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3841 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3845 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3846 if (!SWIG_IsOK(ecode6
)) {
3847 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_BitmapButton" "', expected argument " "6"" of type '" "long""'");
3849 arg6
= static_cast< long >(val6
);
3852 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3853 if (!SWIG_IsOK(res7
)) {
3854 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3857 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3859 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3863 arg8
= wxString_in_helper(obj7
);
3864 if (arg8
== NULL
) SWIG_fail
;
3869 if (!wxPyCheckForApp()) SWIG_fail
;
3870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3871 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3872 wxPyEndAllowThreads(__tstate
);
3873 if (PyErr_Occurred()) SWIG_fail
;
3875 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_NEW
| 0 );
3890 SWIGINTERN PyObject
*_wrap_new_PreBitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3891 PyObject
*resultobj
= 0;
3892 wxBitmapButton
*result
= 0 ;
3894 if (!SWIG_Python_UnpackTuple(args
,"new_PreBitmapButton",0,0,0)) SWIG_fail
;
3896 if (!wxPyCheckForApp()) SWIG_fail
;
3897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3898 result
= (wxBitmapButton
*)new wxBitmapButton();
3899 wxPyEndAllowThreads(__tstate
);
3900 if (PyErr_Occurred()) SWIG_fail
;
3902 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_OWN
| 0 );
3909 SWIGINTERN PyObject
*_wrap_BitmapButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3910 PyObject
*resultobj
= 0;
3911 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3912 wxWindow
*arg2
= (wxWindow
*) 0 ;
3913 int arg3
= (int) -1 ;
3914 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
3915 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
3916 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3917 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3918 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3919 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3920 long arg7
= (long) wxBU_AUTODRAW
;
3921 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3922 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3923 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3924 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3940 bool temp9
= false ;
3941 PyObject
* obj0
= 0 ;
3942 PyObject
* obj1
= 0 ;
3943 PyObject
* obj2
= 0 ;
3944 PyObject
* obj3
= 0 ;
3945 PyObject
* obj4
= 0 ;
3946 PyObject
* obj5
= 0 ;
3947 PyObject
* obj6
= 0 ;
3948 PyObject
* obj7
= 0 ;
3949 PyObject
* obj8
= 0 ;
3950 char * kwnames
[] = {
3951 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
3956 if (!SWIG_IsOK(res1
)) {
3957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_Create" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
3959 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
3960 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3961 if (!SWIG_IsOK(res2
)) {
3962 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3964 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3966 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3967 if (!SWIG_IsOK(ecode3
)) {
3968 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_Create" "', expected argument " "3"" of type '" "int""'");
3970 arg3
= static_cast< int >(val3
);
3973 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3974 if (!SWIG_IsOK(res4
)) {
3975 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3978 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3980 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
3985 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3991 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3995 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3996 if (!SWIG_IsOK(ecode7
)) {
3997 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "BitmapButton_Create" "', expected argument " "7"" of type '" "long""'");
3999 arg7
= static_cast< long >(val7
);
4002 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4003 if (!SWIG_IsOK(res8
)) {
4004 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4007 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4009 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4013 arg9
= wxString_in_helper(obj8
);
4014 if (arg9
== NULL
) SWIG_fail
;
4019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4020 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4021 wxPyEndAllowThreads(__tstate
);
4022 if (PyErr_Occurred()) SWIG_fail
;
4025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4041 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4042 PyObject
*resultobj
= 0;
4043 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4047 PyObject
*swig_obj
[1] ;
4049 if (!args
) SWIG_fail
;
4051 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4052 if (!SWIG_IsOK(res1
)) {
4053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4055 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4058 result
= (arg1
)->GetBitmapLabel();
4059 wxPyEndAllowThreads(__tstate
);
4060 if (PyErr_Occurred()) SWIG_fail
;
4062 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4069 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4070 PyObject
*resultobj
= 0;
4071 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4075 PyObject
*swig_obj
[1] ;
4077 if (!args
) SWIG_fail
;
4079 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4080 if (!SWIG_IsOK(res1
)) {
4081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4083 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4086 result
= (arg1
)->GetBitmapDisabled();
4087 wxPyEndAllowThreads(__tstate
);
4088 if (PyErr_Occurred()) SWIG_fail
;
4090 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4097 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4098 PyObject
*resultobj
= 0;
4099 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4103 PyObject
*swig_obj
[1] ;
4105 if (!args
) SWIG_fail
;
4107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4108 if (!SWIG_IsOK(res1
)) {
4109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4111 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4114 result
= (arg1
)->GetBitmapFocus();
4115 wxPyEndAllowThreads(__tstate
);
4116 if (PyErr_Occurred()) SWIG_fail
;
4118 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4125 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4126 PyObject
*resultobj
= 0;
4127 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4131 PyObject
*swig_obj
[1] ;
4133 if (!args
) SWIG_fail
;
4135 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4136 if (!SWIG_IsOK(res1
)) {
4137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4139 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4142 result
= (arg1
)->GetBitmapSelected();
4143 wxPyEndAllowThreads(__tstate
);
4144 if (PyErr_Occurred()) SWIG_fail
;
4146 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4153 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4154 PyObject
*resultobj
= 0;
4155 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4159 PyObject
*swig_obj
[1] ;
4161 if (!args
) SWIG_fail
;
4163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4164 if (!SWIG_IsOK(res1
)) {
4165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4167 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4170 result
= (arg1
)->GetBitmapHover();
4171 wxPyEndAllowThreads(__tstate
);
4172 if (PyErr_Occurred()) SWIG_fail
;
4174 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4181 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4182 PyObject
*resultobj
= 0;
4183 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4184 wxBitmap
*arg2
= 0 ;
4189 PyObject
* obj0
= 0 ;
4190 PyObject
* obj1
= 0 ;
4191 char * kwnames
[] = {
4192 (char *) "self",(char *) "bitmap", NULL
4195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4197 if (!SWIG_IsOK(res1
)) {
4198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4200 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4201 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4202 if (!SWIG_IsOK(res2
)) {
4203 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4206 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4208 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4211 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
4212 wxPyEndAllowThreads(__tstate
);
4213 if (PyErr_Occurred()) SWIG_fail
;
4215 resultobj
= SWIG_Py_Void();
4222 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4223 PyObject
*resultobj
= 0;
4224 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4225 wxBitmap
*arg2
= 0 ;
4230 PyObject
* obj0
= 0 ;
4231 PyObject
* obj1
= 0 ;
4232 char * kwnames
[] = {
4233 (char *) "self",(char *) "bitmap", NULL
4236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4238 if (!SWIG_IsOK(res1
)) {
4239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4241 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4242 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4243 if (!SWIG_IsOK(res2
)) {
4244 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4247 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4249 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4252 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
4253 wxPyEndAllowThreads(__tstate
);
4254 if (PyErr_Occurred()) SWIG_fail
;
4256 resultobj
= SWIG_Py_Void();
4263 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4264 PyObject
*resultobj
= 0;
4265 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4266 wxBitmap
*arg2
= 0 ;
4271 PyObject
* obj0
= 0 ;
4272 PyObject
* obj1
= 0 ;
4273 char * kwnames
[] = {
4274 (char *) "self",(char *) "bitmap", NULL
4277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4279 if (!SWIG_IsOK(res1
)) {
4280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4282 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4283 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4284 if (!SWIG_IsOK(res2
)) {
4285 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4288 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4290 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4293 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
4294 wxPyEndAllowThreads(__tstate
);
4295 if (PyErr_Occurred()) SWIG_fail
;
4297 resultobj
= SWIG_Py_Void();
4304 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4305 PyObject
*resultobj
= 0;
4306 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4307 wxBitmap
*arg2
= 0 ;
4312 PyObject
* obj0
= 0 ;
4313 PyObject
* obj1
= 0 ;
4314 char * kwnames
[] = {
4315 (char *) "self",(char *) "bitmap", NULL
4318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4320 if (!SWIG_IsOK(res1
)) {
4321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4323 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4324 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4325 if (!SWIG_IsOK(res2
)) {
4326 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4329 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4331 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4334 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
4335 wxPyEndAllowThreads(__tstate
);
4336 if (PyErr_Occurred()) SWIG_fail
;
4338 resultobj
= SWIG_Py_Void();
4345 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4346 PyObject
*resultobj
= 0;
4347 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4348 wxBitmap
*arg2
= 0 ;
4353 PyObject
* obj0
= 0 ;
4354 PyObject
* obj1
= 0 ;
4355 char * kwnames
[] = {
4356 (char *) "self",(char *) "hover", NULL
4359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapHover",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4361 if (!SWIG_IsOK(res1
)) {
4362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4364 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4365 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4366 if (!SWIG_IsOK(res2
)) {
4367 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4370 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4372 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4375 (arg1
)->SetBitmapHover((wxBitmap
const &)*arg2
);
4376 wxPyEndAllowThreads(__tstate
);
4377 if (PyErr_Occurred()) SWIG_fail
;
4379 resultobj
= SWIG_Py_Void();
4386 SWIGINTERN PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4387 PyObject
*resultobj
= 0;
4388 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4397 PyObject
* obj0
= 0 ;
4398 PyObject
* obj1
= 0 ;
4399 PyObject
* obj2
= 0 ;
4400 char * kwnames
[] = {
4401 (char *) "self",(char *) "x",(char *) "y", NULL
4404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4406 if (!SWIG_IsOK(res1
)) {
4407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetMargins" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4409 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4410 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4411 if (!SWIG_IsOK(ecode2
)) {
4412 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BitmapButton_SetMargins" "', expected argument " "2"" of type '" "int""'");
4414 arg2
= static_cast< int >(val2
);
4415 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4416 if (!SWIG_IsOK(ecode3
)) {
4417 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_SetMargins" "', expected argument " "3"" of type '" "int""'");
4419 arg3
= static_cast< int >(val3
);
4421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4422 (arg1
)->SetMargins(arg2
,arg3
);
4423 wxPyEndAllowThreads(__tstate
);
4424 if (PyErr_Occurred()) SWIG_fail
;
4426 resultobj
= SWIG_Py_Void();
4433 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4434 PyObject
*resultobj
= 0;
4435 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4439 PyObject
*swig_obj
[1] ;
4441 if (!args
) SWIG_fail
;
4443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4444 if (!SWIG_IsOK(res1
)) {
4445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginX" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4447 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4450 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
4451 wxPyEndAllowThreads(__tstate
);
4452 if (PyErr_Occurred()) SWIG_fail
;
4454 resultobj
= SWIG_From_int(static_cast< int >(result
));
4461 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4462 PyObject
*resultobj
= 0;
4463 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4467 PyObject
*swig_obj
[1] ;
4469 if (!args
) SWIG_fail
;
4471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4472 if (!SWIG_IsOK(res1
)) {
4473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginY" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4475 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4478 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
4479 wxPyEndAllowThreads(__tstate
);
4480 if (PyErr_Occurred()) SWIG_fail
;
4482 resultobj
= SWIG_From_int(static_cast< int >(result
));
4489 SWIGINTERN PyObject
*BitmapButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4491 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4492 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapButton
, SWIG_NewClientData(obj
));
4493 return SWIG_Py_Void();
4496 SWIGINTERN PyObject
*BitmapButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4497 return SWIG_Python_InitShadowInstance(args
);
4500 SWIGINTERN
int CheckBoxNameStr_set(PyObject
*) {
4501 SWIG_Error(SWIG_AttributeError
,"Variable CheckBoxNameStr is read-only.");
4506 SWIGINTERN PyObject
*CheckBoxNameStr_get(void) {
4507 PyObject
*pyobj
= 0;
4511 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4513 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4520 SWIGINTERN PyObject
*_wrap_new_CheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4521 PyObject
*resultobj
= 0;
4522 wxWindow
*arg1
= (wxWindow
*) 0 ;
4523 int arg2
= (int) -1 ;
4524 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4525 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4526 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4527 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4528 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4529 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4530 long arg6
= (long) 0 ;
4531 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
4532 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
4533 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
4534 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4535 wxCheckBox
*result
= 0 ;
4540 bool temp3
= false ;
4547 bool temp8
= false ;
4548 PyObject
* obj0
= 0 ;
4549 PyObject
* obj1
= 0 ;
4550 PyObject
* obj2
= 0 ;
4551 PyObject
* obj3
= 0 ;
4552 PyObject
* obj4
= 0 ;
4553 PyObject
* obj5
= 0 ;
4554 PyObject
* obj6
= 0 ;
4555 PyObject
* obj7
= 0 ;
4556 char * kwnames
[] = {
4557 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4562 if (!SWIG_IsOK(res1
)) {
4563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckBox" "', expected argument " "1"" of type '" "wxWindow *""'");
4565 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4567 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4568 if (!SWIG_IsOK(ecode2
)) {
4569 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckBox" "', expected argument " "2"" of type '" "int""'");
4571 arg2
= static_cast< int >(val2
);
4575 arg3
= wxString_in_helper(obj2
);
4576 if (arg3
== NULL
) SWIG_fail
;
4583 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4589 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4593 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4594 if (!SWIG_IsOK(ecode6
)) {
4595 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckBox" "', expected argument " "6"" of type '" "long""'");
4597 arg6
= static_cast< long >(val6
);
4600 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
4601 if (!SWIG_IsOK(res7
)) {
4602 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4605 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4607 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
4611 arg8
= wxString_in_helper(obj7
);
4612 if (arg8
== NULL
) SWIG_fail
;
4617 if (!wxPyCheckForApp()) SWIG_fail
;
4618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4619 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4620 wxPyEndAllowThreads(__tstate
);
4621 if (PyErr_Occurred()) SWIG_fail
;
4623 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_NEW
| 0 );
4646 SWIGINTERN PyObject
*_wrap_new_PreCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4647 PyObject
*resultobj
= 0;
4648 wxCheckBox
*result
= 0 ;
4650 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckBox",0,0,0)) SWIG_fail
;
4652 if (!wxPyCheckForApp()) SWIG_fail
;
4653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4654 result
= (wxCheckBox
*)new wxCheckBox();
4655 wxPyEndAllowThreads(__tstate
);
4656 if (PyErr_Occurred()) SWIG_fail
;
4658 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_OWN
| 0 );
4665 SWIGINTERN PyObject
*_wrap_CheckBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4666 PyObject
*resultobj
= 0;
4667 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4668 wxWindow
*arg2
= (wxWindow
*) 0 ;
4669 int arg3
= (int) -1 ;
4670 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4671 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4672 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4673 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4674 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4675 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4676 long arg7
= (long) 0 ;
4677 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4678 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4679 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
4680 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4688 bool temp4
= false ;
4695 bool temp9
= false ;
4696 PyObject
* obj0
= 0 ;
4697 PyObject
* obj1
= 0 ;
4698 PyObject
* obj2
= 0 ;
4699 PyObject
* obj3
= 0 ;
4700 PyObject
* obj4
= 0 ;
4701 PyObject
* obj5
= 0 ;
4702 PyObject
* obj6
= 0 ;
4703 PyObject
* obj7
= 0 ;
4704 PyObject
* obj8
= 0 ;
4705 char * kwnames
[] = {
4706 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
4710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4711 if (!SWIG_IsOK(res1
)) {
4712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Create" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4714 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4715 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4716 if (!SWIG_IsOK(res2
)) {
4717 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4719 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4721 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4722 if (!SWIG_IsOK(ecode3
)) {
4723 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckBox_Create" "', expected argument " "3"" of type '" "int""'");
4725 arg3
= static_cast< int >(val3
);
4729 arg4
= wxString_in_helper(obj3
);
4730 if (arg4
== NULL
) SWIG_fail
;
4737 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4743 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4747 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4748 if (!SWIG_IsOK(ecode7
)) {
4749 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckBox_Create" "', expected argument " "7"" of type '" "long""'");
4751 arg7
= static_cast< long >(val7
);
4754 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4755 if (!SWIG_IsOK(res8
)) {
4756 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4759 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4761 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4765 arg9
= wxString_in_helper(obj8
);
4766 if (arg9
== NULL
) SWIG_fail
;
4771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4772 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4773 wxPyEndAllowThreads(__tstate
);
4774 if (PyErr_Occurred()) SWIG_fail
;
4777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4801 SWIGINTERN PyObject
*_wrap_CheckBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4802 PyObject
*resultobj
= 0;
4803 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4807 PyObject
*swig_obj
[1] ;
4809 if (!args
) SWIG_fail
;
4811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4812 if (!SWIG_IsOK(res1
)) {
4813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_GetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4815 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4818 result
= (bool)(arg1
)->GetValue();
4819 wxPyEndAllowThreads(__tstate
);
4820 if (PyErr_Occurred()) SWIG_fail
;
4823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4831 SWIGINTERN PyObject
*_wrap_CheckBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4832 PyObject
*resultobj
= 0;
4833 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4837 PyObject
*swig_obj
[1] ;
4839 if (!args
) SWIG_fail
;
4841 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4842 if (!SWIG_IsOK(res1
)) {
4843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4845 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4848 result
= (bool)(arg1
)->IsChecked();
4849 wxPyEndAllowThreads(__tstate
);
4850 if (PyErr_Occurred()) SWIG_fail
;
4853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4861 SWIGINTERN PyObject
*_wrap_CheckBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4862 PyObject
*resultobj
= 0;
4863 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4869 PyObject
* obj0
= 0 ;
4870 PyObject
* obj1
= 0 ;
4871 char * kwnames
[] = {
4872 (char *) "self",(char *) "state", NULL
4875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4877 if (!SWIG_IsOK(res1
)) {
4878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_SetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4880 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4881 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4882 if (!SWIG_IsOK(ecode2
)) {
4883 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_SetValue" "', expected argument " "2"" of type '" "bool""'");
4885 arg2
= static_cast< bool >(val2
);
4887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4888 (arg1
)->SetValue(arg2
);
4889 wxPyEndAllowThreads(__tstate
);
4890 if (PyErr_Occurred()) SWIG_fail
;
4892 resultobj
= SWIG_Py_Void();
4899 SWIGINTERN PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4900 PyObject
*resultobj
= 0;
4901 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4902 wxCheckBoxState result
;
4905 PyObject
*swig_obj
[1] ;
4907 if (!args
) SWIG_fail
;
4909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4910 if (!SWIG_IsOK(res1
)) {
4911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Get3StateValue" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4913 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4916 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
4917 wxPyEndAllowThreads(__tstate
);
4918 if (PyErr_Occurred()) SWIG_fail
;
4920 resultobj
= SWIG_From_int(static_cast< int >(result
));
4927 SWIGINTERN PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4928 PyObject
*resultobj
= 0;
4929 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4930 wxCheckBoxState arg2
;
4935 PyObject
* obj0
= 0 ;
4936 PyObject
* obj1
= 0 ;
4937 char * kwnames
[] = {
4938 (char *) "self",(char *) "state", NULL
4941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4943 if (!SWIG_IsOK(res1
)) {
4944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4946 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4947 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4948 if (!SWIG_IsOK(ecode2
)) {
4949 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "2"" of type '" "wxCheckBoxState""'");
4951 arg2
= static_cast< wxCheckBoxState
>(val2
);
4953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4954 (arg1
)->Set3StateValue(arg2
);
4955 wxPyEndAllowThreads(__tstate
);
4956 if (PyErr_Occurred()) SWIG_fail
;
4958 resultobj
= SWIG_Py_Void();
4965 SWIGINTERN PyObject
*_wrap_CheckBox_Is3State(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4966 PyObject
*resultobj
= 0;
4967 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4971 PyObject
*swig_obj
[1] ;
4973 if (!args
) SWIG_fail
;
4975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4976 if (!SWIG_IsOK(res1
)) {
4977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3State" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4979 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4982 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
4983 wxPyEndAllowThreads(__tstate
);
4984 if (PyErr_Occurred()) SWIG_fail
;
4987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4995 SWIGINTERN PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4996 PyObject
*resultobj
= 0;
4997 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
5001 PyObject
*swig_obj
[1] ;
5003 if (!args
) SWIG_fail
;
5005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
5006 if (!SWIG_IsOK(res1
)) {
5007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3rdStateAllowedForUser" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
5009 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
5011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5012 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
5013 wxPyEndAllowThreads(__tstate
);
5014 if (PyErr_Occurred()) SWIG_fail
;
5017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5025 SWIGINTERN PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5026 PyObject
*resultobj
= 0;
5027 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5028 SwigValueWrapper
<wxVisualAttributes
> result
;
5031 PyObject
* obj0
= 0 ;
5032 char * kwnames
[] = {
5033 (char *) "variant", NULL
5036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5038 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5039 if (!SWIG_IsOK(ecode1
)) {
5040 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "CheckBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5042 arg1
= static_cast< wxWindowVariant
>(val1
);
5045 if (!wxPyCheckForApp()) SWIG_fail
;
5046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5047 result
= wxCheckBox::GetClassDefaultAttributes(arg1
);
5048 wxPyEndAllowThreads(__tstate
);
5049 if (PyErr_Occurred()) SWIG_fail
;
5051 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5058 SWIGINTERN PyObject
*CheckBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5060 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5061 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckBox
, SWIG_NewClientData(obj
));
5062 return SWIG_Py_Void();
5065 SWIGINTERN PyObject
*CheckBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5066 return SWIG_Python_InitShadowInstance(args
);
5069 SWIGINTERN
int ChoiceNameStr_set(PyObject
*) {
5070 SWIG_Error(SWIG_AttributeError
,"Variable ChoiceNameStr is read-only.");
5075 SWIGINTERN PyObject
*ChoiceNameStr_get(void) {
5076 PyObject
*pyobj
= 0;
5080 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5082 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5089 SWIGINTERN PyObject
*_wrap_new_Choice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5090 PyObject
*resultobj
= 0;
5091 wxWindow
*arg1
= (wxWindow
*) 0 ;
5092 int arg2
= (int) -1 ;
5093 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5094 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5095 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5096 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5097 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5098 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5099 long arg6
= (long) 0 ;
5100 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5101 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5102 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
5103 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5104 wxChoice
*result
= 0 ;
5111 bool temp5
= false ;
5116 bool temp8
= false ;
5117 PyObject
* obj0
= 0 ;
5118 PyObject
* obj1
= 0 ;
5119 PyObject
* obj2
= 0 ;
5120 PyObject
* obj3
= 0 ;
5121 PyObject
* obj4
= 0 ;
5122 PyObject
* obj5
= 0 ;
5123 PyObject
* obj6
= 0 ;
5124 PyObject
* obj7
= 0 ;
5125 char * kwnames
[] = {
5126 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
5130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5131 if (!SWIG_IsOK(res1
)) {
5132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choice" "', expected argument " "1"" of type '" "wxWindow *""'");
5134 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5136 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5137 if (!SWIG_IsOK(ecode2
)) {
5138 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choice" "', expected argument " "2"" of type '" "int""'");
5140 arg2
= static_cast< int >(val2
);
5145 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5151 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5156 if (! PySequence_Check(obj4
)) {
5157 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5160 arg5
= new wxArrayString
;
5162 int i
, len
=PySequence_Length(obj4
);
5163 for (i
=0; i
<len
; i
++) {
5164 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5165 wxString
* s
= wxString_in_helper(item
);
5166 if (PyErr_Occurred()) SWIG_fail
;
5174 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
5175 if (!SWIG_IsOK(ecode6
)) {
5176 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Choice" "', expected argument " "6"" of type '" "long""'");
5178 arg6
= static_cast< long >(val6
);
5181 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
5182 if (!SWIG_IsOK(res7
)) {
5183 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5186 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5188 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
5192 arg8
= wxString_in_helper(obj7
);
5193 if (arg8
== NULL
) SWIG_fail
;
5198 if (!wxPyCheckForApp()) SWIG_fail
;
5199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5200 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5201 wxPyEndAllowThreads(__tstate
);
5202 if (PyErr_Occurred()) SWIG_fail
;
5204 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_NEW
| 0 );
5206 if (temp5
) delete arg5
;
5215 if (temp5
) delete arg5
;
5225 SWIGINTERN PyObject
*_wrap_new_PreChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5226 PyObject
*resultobj
= 0;
5227 wxChoice
*result
= 0 ;
5229 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoice",0,0,0)) SWIG_fail
;
5231 if (!wxPyCheckForApp()) SWIG_fail
;
5232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5233 result
= (wxChoice
*)new wxChoice();
5234 wxPyEndAllowThreads(__tstate
);
5235 if (PyErr_Occurred()) SWIG_fail
;
5237 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_OWN
| 0 );
5244 SWIGINTERN PyObject
*_wrap_Choice_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5245 PyObject
*resultobj
= 0;
5246 wxChoice
*arg1
= (wxChoice
*) 0 ;
5247 wxWindow
*arg2
= (wxWindow
*) 0 ;
5248 int arg3
= (int) -1 ;
5249 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5250 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5251 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5252 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5253 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5254 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5255 long arg7
= (long) 0 ;
5256 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5257 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5258 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
5259 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5269 bool temp6
= false ;
5274 bool temp9
= false ;
5275 PyObject
* obj0
= 0 ;
5276 PyObject
* obj1
= 0 ;
5277 PyObject
* obj2
= 0 ;
5278 PyObject
* obj3
= 0 ;
5279 PyObject
* obj4
= 0 ;
5280 PyObject
* obj5
= 0 ;
5281 PyObject
* obj6
= 0 ;
5282 PyObject
* obj7
= 0 ;
5283 PyObject
* obj8
= 0 ;
5284 char * kwnames
[] = {
5285 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5290 if (!SWIG_IsOK(res1
)) {
5291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_Create" "', expected argument " "1"" of type '" "wxChoice *""'");
5293 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5294 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5295 if (!SWIG_IsOK(res2
)) {
5296 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choice_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5298 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5300 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5301 if (!SWIG_IsOK(ecode3
)) {
5302 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choice_Create" "', expected argument " "3"" of type '" "int""'");
5304 arg3
= static_cast< int >(val3
);
5309 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5315 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5320 if (! PySequence_Check(obj5
)) {
5321 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5324 arg6
= new wxArrayString
;
5326 int i
, len
=PySequence_Length(obj5
);
5327 for (i
=0; i
<len
; i
++) {
5328 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5329 wxString
* s
= wxString_in_helper(item
);
5330 if (PyErr_Occurred()) SWIG_fail
;
5338 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5339 if (!SWIG_IsOK(ecode7
)) {
5340 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Choice_Create" "', expected argument " "7"" of type '" "long""'");
5342 arg7
= static_cast< long >(val7
);
5345 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5346 if (!SWIG_IsOK(res8
)) {
5347 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5350 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5352 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5356 arg9
= wxString_in_helper(obj8
);
5357 if (arg9
== NULL
) SWIG_fail
;
5362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5363 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5364 wxPyEndAllowThreads(__tstate
);
5365 if (PyErr_Occurred()) SWIG_fail
;
5368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5371 if (temp6
) delete arg6
;
5380 if (temp6
) delete arg6
;
5390 SWIGINTERN PyObject
*_wrap_Choice_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5391 PyObject
*resultobj
= 0;
5392 wxChoice
*arg1
= (wxChoice
*) 0 ;
5396 PyObject
*swig_obj
[1] ;
5398 if (!args
) SWIG_fail
;
5400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5401 if (!SWIG_IsOK(res1
)) {
5402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_GetCurrentSelection" "', expected argument " "1"" of type '" "wxChoice const *""'");
5404 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5407 result
= (int)((wxChoice
const *)arg1
)->GetCurrentSelection();
5408 wxPyEndAllowThreads(__tstate
);
5409 if (PyErr_Occurred()) SWIG_fail
;
5411 resultobj
= SWIG_From_int(static_cast< int >(result
));
5418 SWIGINTERN PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5419 PyObject
*resultobj
= 0;
5420 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5421 SwigValueWrapper
<wxVisualAttributes
> result
;
5424 PyObject
* obj0
= 0 ;
5425 char * kwnames
[] = {
5426 (char *) "variant", NULL
5429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5431 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5432 if (!SWIG_IsOK(ecode1
)) {
5433 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Choice_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5435 arg1
= static_cast< wxWindowVariant
>(val1
);
5438 if (!wxPyCheckForApp()) SWIG_fail
;
5439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5440 result
= wxChoice::GetClassDefaultAttributes(arg1
);
5441 wxPyEndAllowThreads(__tstate
);
5442 if (PyErr_Occurred()) SWIG_fail
;
5444 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5451 SWIGINTERN PyObject
*Choice_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5453 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5454 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoice
, SWIG_NewClientData(obj
));
5455 return SWIG_Py_Void();
5458 SWIGINTERN PyObject
*Choice_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5459 return SWIG_Python_InitShadowInstance(args
);
5462 SWIGINTERN
int ComboBoxNameStr_set(PyObject
*) {
5463 SWIG_Error(SWIG_AttributeError
,"Variable ComboBoxNameStr is read-only.");
5468 SWIGINTERN PyObject
*ComboBoxNameStr_get(void) {
5469 PyObject
*pyobj
= 0;
5473 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5475 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5482 SWIGINTERN PyObject
*_wrap_new_ComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5483 PyObject
*resultobj
= 0;
5484 wxWindow
*arg1
= (wxWindow
*) 0 ;
5485 int arg2
= (int) -1 ;
5486 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5487 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5488 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5489 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5490 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5491 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5492 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5493 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5494 long arg7
= (long) 0 ;
5495 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5496 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5497 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
5498 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5499 wxComboBox
*result
= 0 ;
5504 bool temp3
= false ;
5507 bool temp6
= false ;
5512 bool temp9
= false ;
5513 PyObject
* obj0
= 0 ;
5514 PyObject
* obj1
= 0 ;
5515 PyObject
* obj2
= 0 ;
5516 PyObject
* obj3
= 0 ;
5517 PyObject
* obj4
= 0 ;
5518 PyObject
* obj5
= 0 ;
5519 PyObject
* obj6
= 0 ;
5520 PyObject
* obj7
= 0 ;
5521 PyObject
* obj8
= 0 ;
5522 char * kwnames
[] = {
5523 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5528 if (!SWIG_IsOK(res1
)) {
5529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ComboBox" "', expected argument " "1"" of type '" "wxWindow *""'");
5531 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5533 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5534 if (!SWIG_IsOK(ecode2
)) {
5535 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ComboBox" "', expected argument " "2"" of type '" "int""'");
5537 arg2
= static_cast< int >(val2
);
5541 arg3
= wxString_in_helper(obj2
);
5542 if (arg3
== NULL
) SWIG_fail
;
5549 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5555 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5560 if (! PySequence_Check(obj5
)) {
5561 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5564 arg6
= new wxArrayString
;
5566 int i
, len
=PySequence_Length(obj5
);
5567 for (i
=0; i
<len
; i
++) {
5568 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5569 wxString
* s
= wxString_in_helper(item
);
5570 if (PyErr_Occurred()) SWIG_fail
;
5578 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5579 if (!SWIG_IsOK(ecode7
)) {
5580 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_ComboBox" "', expected argument " "7"" of type '" "long""'");
5582 arg7
= static_cast< long >(val7
);
5585 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5586 if (!SWIG_IsOK(res8
)) {
5587 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5590 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5592 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5596 arg9
= wxString_in_helper(obj8
);
5597 if (arg9
== NULL
) SWIG_fail
;
5602 if (!wxPyCheckForApp()) SWIG_fail
;
5603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5604 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
);
5605 wxPyEndAllowThreads(__tstate
);
5606 if (PyErr_Occurred()) SWIG_fail
;
5608 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_NEW
| 0 );
5614 if (temp6
) delete arg6
;
5627 if (temp6
) delete arg6
;
5637 SWIGINTERN PyObject
*_wrap_new_PreComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5638 PyObject
*resultobj
= 0;
5639 wxComboBox
*result
= 0 ;
5641 if (!SWIG_Python_UnpackTuple(args
,"new_PreComboBox",0,0,0)) SWIG_fail
;
5643 if (!wxPyCheckForApp()) SWIG_fail
;
5644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5645 result
= (wxComboBox
*)new wxComboBox();
5646 wxPyEndAllowThreads(__tstate
);
5647 if (PyErr_Occurred()) SWIG_fail
;
5649 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_OWN
| 0 );
5656 SWIGINTERN PyObject
*_wrap_ComboBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5657 PyObject
*resultobj
= 0;
5658 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5659 wxWindow
*arg2
= (wxWindow
*) 0 ;
5660 int arg3
= (int) -1 ;
5661 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5662 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5663 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5664 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5665 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5666 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5667 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
5668 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
5669 long arg8
= (long) 0 ;
5670 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
5671 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
5672 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
5673 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
5681 bool temp4
= false ;
5684 bool temp7
= false ;
5689 bool temp10
= false ;
5690 PyObject
* obj0
= 0 ;
5691 PyObject
* obj1
= 0 ;
5692 PyObject
* obj2
= 0 ;
5693 PyObject
* obj3
= 0 ;
5694 PyObject
* obj4
= 0 ;
5695 PyObject
* obj5
= 0 ;
5696 PyObject
* obj6
= 0 ;
5697 PyObject
* obj7
= 0 ;
5698 PyObject
* obj8
= 0 ;
5699 PyObject
* obj9
= 0 ;
5700 char * kwnames
[] = {
5701 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
5705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5706 if (!SWIG_IsOK(res1
)) {
5707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Create" "', expected argument " "1"" of type '" "wxComboBox *""'");
5709 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5710 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5711 if (!SWIG_IsOK(res2
)) {
5712 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ComboBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5714 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5716 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5717 if (!SWIG_IsOK(ecode3
)) {
5718 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Create" "', expected argument " "3"" of type '" "int""'");
5720 arg3
= static_cast< int >(val3
);
5724 arg4
= wxString_in_helper(obj3
);
5725 if (arg4
== NULL
) SWIG_fail
;
5732 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5738 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5743 if (! PySequence_Check(obj6
)) {
5744 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5747 arg7
= new wxArrayString
;
5749 int i
, len
=PySequence_Length(obj6
);
5750 for (i
=0; i
<len
; i
++) {
5751 PyObject
* item
= PySequence_GetItem(obj6
, i
);
5752 wxString
* s
= wxString_in_helper(item
);
5753 if (PyErr_Occurred()) SWIG_fail
;
5761 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
5762 if (!SWIG_IsOK(ecode8
)) {
5763 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ComboBox_Create" "', expected argument " "8"" of type '" "long""'");
5765 arg8
= static_cast< long >(val8
);
5768 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
5769 if (!SWIG_IsOK(res9
)) {
5770 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5773 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5775 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
5779 arg10
= wxString_in_helper(obj9
);
5780 if (arg10
== NULL
) SWIG_fail
;
5785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5786 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
);
5787 wxPyEndAllowThreads(__tstate
);
5788 if (PyErr_Occurred()) SWIG_fail
;
5791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5798 if (temp7
) delete arg7
;
5811 if (temp7
) delete arg7
;
5821 SWIGINTERN PyObject
*_wrap_ComboBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5822 PyObject
*resultobj
= 0;
5823 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5827 PyObject
*swig_obj
[1] ;
5829 if (!args
) SWIG_fail
;
5831 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5832 if (!SWIG_IsOK(res1
)) {
5833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetValue" "', expected argument " "1"" of type '" "wxComboBox const *""'");
5835 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5838 result
= ((wxComboBox
const *)arg1
)->GetValue();
5839 wxPyEndAllowThreads(__tstate
);
5840 if (PyErr_Occurred()) SWIG_fail
;
5844 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5846 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5855 SWIGINTERN PyObject
*_wrap_ComboBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5856 PyObject
*resultobj
= 0;
5857 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5858 wxString
*arg2
= 0 ;
5861 bool temp2
= false ;
5862 PyObject
* obj0
= 0 ;
5863 PyObject
* obj1
= 0 ;
5864 char * kwnames
[] = {
5865 (char *) "self",(char *) "value", NULL
5868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5870 if (!SWIG_IsOK(res1
)) {
5871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetValue" "', expected argument " "1"" of type '" "wxComboBox *""'");
5873 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5875 arg2
= wxString_in_helper(obj1
);
5876 if (arg2
== NULL
) SWIG_fail
;
5880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5881 (arg1
)->SetValue((wxString
const &)*arg2
);
5882 wxPyEndAllowThreads(__tstate
);
5883 if (PyErr_Occurred()) SWIG_fail
;
5885 resultobj
= SWIG_Py_Void();
5900 SWIGINTERN PyObject
*_wrap_ComboBox_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5901 PyObject
*resultobj
= 0;
5902 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5905 PyObject
*swig_obj
[1] ;
5907 if (!args
) SWIG_fail
;
5909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5910 if (!SWIG_IsOK(res1
)) {
5911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Copy" "', expected argument " "1"" of type '" "wxComboBox *""'");
5913 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5917 wxPyEndAllowThreads(__tstate
);
5918 if (PyErr_Occurred()) SWIG_fail
;
5920 resultobj
= SWIG_Py_Void();
5927 SWIGINTERN PyObject
*_wrap_ComboBox_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5928 PyObject
*resultobj
= 0;
5929 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5932 PyObject
*swig_obj
[1] ;
5934 if (!args
) SWIG_fail
;
5936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5937 if (!SWIG_IsOK(res1
)) {
5938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Cut" "', expected argument " "1"" of type '" "wxComboBox *""'");
5940 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5944 wxPyEndAllowThreads(__tstate
);
5945 if (PyErr_Occurred()) SWIG_fail
;
5947 resultobj
= SWIG_Py_Void();
5954 SWIGINTERN PyObject
*_wrap_ComboBox_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5955 PyObject
*resultobj
= 0;
5956 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5959 PyObject
*swig_obj
[1] ;
5961 if (!args
) SWIG_fail
;
5963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5964 if (!SWIG_IsOK(res1
)) {
5965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Paste" "', expected argument " "1"" of type '" "wxComboBox *""'");
5967 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5971 wxPyEndAllowThreads(__tstate
);
5972 if (PyErr_Occurred()) SWIG_fail
;
5974 resultobj
= SWIG_Py_Void();
5981 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5982 PyObject
*resultobj
= 0;
5983 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5989 PyObject
* obj0
= 0 ;
5990 PyObject
* obj1
= 0 ;
5991 char * kwnames
[] = {
5992 (char *) "self",(char *) "pos", NULL
5995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5997 if (!SWIG_IsOK(res1
)) {
5998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox *""'");
6000 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6001 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6002 if (!SWIG_IsOK(ecode2
)) {
6003 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
6005 arg2
= static_cast< long >(val2
);
6007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6008 (arg1
)->SetInsertionPoint(arg2
);
6009 wxPyEndAllowThreads(__tstate
);
6010 if (PyErr_Occurred()) SWIG_fail
;
6012 resultobj
= SWIG_Py_Void();
6019 SWIGINTERN PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6020 PyObject
*resultobj
= 0;
6021 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6025 PyObject
*swig_obj
[1] ;
6027 if (!args
) SWIG_fail
;
6029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6030 if (!SWIG_IsOK(res1
)) {
6031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6033 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6036 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
6037 wxPyEndAllowThreads(__tstate
);
6038 if (PyErr_Occurred()) SWIG_fail
;
6040 resultobj
= SWIG_From_long(static_cast< long >(result
));
6047 SWIGINTERN PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6048 PyObject
*resultobj
= 0;
6049 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6053 PyObject
*swig_obj
[1] ;
6055 if (!args
) SWIG_fail
;
6057 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6058 if (!SWIG_IsOK(res1
)) {
6059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetLastPosition" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6061 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6064 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
6065 wxPyEndAllowThreads(__tstate
);
6066 if (PyErr_Occurred()) SWIG_fail
;
6068 resultobj
= SWIG_From_long(static_cast< long >(result
));
6075 SWIGINTERN PyObject
*_wrap_ComboBox_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6076 PyObject
*resultobj
= 0;
6077 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6080 wxString
*arg4
= 0 ;
6087 bool temp4
= false ;
6088 PyObject
* obj0
= 0 ;
6089 PyObject
* obj1
= 0 ;
6090 PyObject
* obj2
= 0 ;
6091 PyObject
* obj3
= 0 ;
6092 char * kwnames
[] = {
6093 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6098 if (!SWIG_IsOK(res1
)) {
6099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Replace" "', expected argument " "1"" of type '" "wxComboBox *""'");
6101 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6102 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6103 if (!SWIG_IsOK(ecode2
)) {
6104 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Replace" "', expected argument " "2"" of type '" "long""'");
6106 arg2
= static_cast< long >(val2
);
6107 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6108 if (!SWIG_IsOK(ecode3
)) {
6109 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Replace" "', expected argument " "3"" of type '" "long""'");
6111 arg3
= static_cast< long >(val3
);
6113 arg4
= wxString_in_helper(obj3
);
6114 if (arg4
== NULL
) SWIG_fail
;
6118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6119 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
6120 wxPyEndAllowThreads(__tstate
);
6121 if (PyErr_Occurred()) SWIG_fail
;
6123 resultobj
= SWIG_Py_Void();
6138 SWIGINTERN PyObject
*_wrap_ComboBox_SetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6139 PyObject
*resultobj
= 0;
6140 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6149 PyObject
* obj0
= 0 ;
6150 PyObject
* obj1
= 0 ;
6151 PyObject
* obj2
= 0 ;
6152 char * kwnames
[] = {
6153 (char *) "self",(char *) "from",(char *) "to", NULL
6156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6158 if (!SWIG_IsOK(res1
)) {
6159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6161 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6162 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6163 if (!SWIG_IsOK(ecode2
)) {
6164 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetMark" "', expected argument " "2"" of type '" "long""'");
6166 arg2
= static_cast< long >(val2
);
6167 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6168 if (!SWIG_IsOK(ecode3
)) {
6169 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_SetMark" "', expected argument " "3"" of type '" "long""'");
6171 arg3
= static_cast< long >(val3
);
6173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6174 (arg1
)->SetSelection(arg2
,arg3
);
6175 wxPyEndAllowThreads(__tstate
);
6176 if (PyErr_Occurred()) SWIG_fail
;
6178 resultobj
= SWIG_Py_Void();
6185 SWIGINTERN PyObject
*_wrap_ComboBox_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6186 PyObject
*resultobj
= 0;
6187 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6191 PyObject
*swig_obj
[1] ;
6193 if (!args
) SWIG_fail
;
6195 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6196 if (!SWIG_IsOK(res1
)) {
6197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6199 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6202 result
= (int)((wxComboBox
const *)arg1
)->GetCurrentSelection();
6203 wxPyEndAllowThreads(__tstate
);
6204 if (PyErr_Occurred()) SWIG_fail
;
6206 resultobj
= SWIG_From_int(static_cast< int >(result
));
6213 SWIGINTERN PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6214 PyObject
*resultobj
= 0;
6215 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6216 wxString
*arg2
= 0 ;
6220 bool temp2
= false ;
6221 PyObject
* obj0
= 0 ;
6222 PyObject
* obj1
= 0 ;
6223 char * kwnames
[] = {
6224 (char *) "self",(char *) "string", NULL
6227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6229 if (!SWIG_IsOK(res1
)) {
6230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6232 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6234 arg2
= wxString_in_helper(obj1
);
6235 if (arg2
== NULL
) SWIG_fail
;
6239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6240 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
6241 wxPyEndAllowThreads(__tstate
);
6242 if (PyErr_Occurred()) SWIG_fail
;
6245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6261 SWIGINTERN PyObject
*_wrap_ComboBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6262 PyObject
*resultobj
= 0;
6263 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6265 wxString
*arg3
= 0 ;
6270 bool temp3
= false ;
6271 PyObject
* obj0
= 0 ;
6272 PyObject
* obj1
= 0 ;
6273 PyObject
* obj2
= 0 ;
6274 char * kwnames
[] = {
6275 (char *) "self",(char *) "n",(char *) "string", NULL
6278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6280 if (!SWIG_IsOK(res1
)) {
6281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetString" "', expected argument " "1"" of type '" "wxComboBox *""'");
6283 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6284 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6285 if (!SWIG_IsOK(ecode2
)) {
6286 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetString" "', expected argument " "2"" of type '" "int""'");
6288 arg2
= static_cast< int >(val2
);
6290 arg3
= wxString_in_helper(obj2
);
6291 if (arg3
== NULL
) SWIG_fail
;
6295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6296 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
6297 wxPyEndAllowThreads(__tstate
);
6298 if (PyErr_Occurred()) SWIG_fail
;
6300 resultobj
= SWIG_Py_Void();
6315 SWIGINTERN PyObject
*_wrap_ComboBox_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6316 PyObject
*resultobj
= 0;
6317 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6323 PyObject
* obj0
= 0 ;
6324 PyObject
* obj1
= 0 ;
6325 char * kwnames
[] = {
6326 (char *) "self",(char *) "editable", NULL
6329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6331 if (!SWIG_IsOK(res1
)) {
6332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetEditable" "', expected argument " "1"" of type '" "wxComboBox *""'");
6334 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6335 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6336 if (!SWIG_IsOK(ecode2
)) {
6337 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetEditable" "', expected argument " "2"" of type '" "bool""'");
6339 arg2
= static_cast< bool >(val2
);
6341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6342 (arg1
)->SetEditable(arg2
);
6343 wxPyEndAllowThreads(__tstate
);
6344 if (PyErr_Occurred()) SWIG_fail
;
6346 resultobj
= SWIG_Py_Void();
6353 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6354 PyObject
*resultobj
= 0;
6355 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6358 PyObject
*swig_obj
[1] ;
6360 if (!args
) SWIG_fail
;
6362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6363 if (!SWIG_IsOK(res1
)) {
6364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxComboBox *""'");
6366 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6369 (arg1
)->SetInsertionPointEnd();
6370 wxPyEndAllowThreads(__tstate
);
6371 if (PyErr_Occurred()) SWIG_fail
;
6373 resultobj
= SWIG_Py_Void();
6380 SWIGINTERN PyObject
*_wrap_ComboBox_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6381 PyObject
*resultobj
= 0;
6382 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6391 PyObject
* obj0
= 0 ;
6392 PyObject
* obj1
= 0 ;
6393 PyObject
* obj2
= 0 ;
6394 char * kwnames
[] = {
6395 (char *) "self",(char *) "from",(char *) "to", NULL
6398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6400 if (!SWIG_IsOK(res1
)) {
6401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Remove" "', expected argument " "1"" of type '" "wxComboBox *""'");
6403 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6404 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6405 if (!SWIG_IsOK(ecode2
)) {
6406 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Remove" "', expected argument " "2"" of type '" "long""'");
6408 arg2
= static_cast< long >(val2
);
6409 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6410 if (!SWIG_IsOK(ecode3
)) {
6411 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Remove" "', expected argument " "3"" of type '" "long""'");
6413 arg3
= static_cast< long >(val3
);
6415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6416 (arg1
)->Remove(arg2
,arg3
);
6417 wxPyEndAllowThreads(__tstate
);
6418 if (PyErr_Occurred()) SWIG_fail
;
6420 resultobj
= SWIG_Py_Void();
6427 SWIGINTERN PyObject
*_wrap_ComboBox_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6428 PyObject
*resultobj
= 0;
6429 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6433 PyObject
*swig_obj
[1] ;
6435 if (!args
) SWIG_fail
;
6437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6438 if (!SWIG_IsOK(res1
)) {
6439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_IsEditable" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6441 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6444 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
6445 wxPyEndAllowThreads(__tstate
);
6446 if (PyErr_Occurred()) SWIG_fail
;
6449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6457 SWIGINTERN PyObject
*_wrap_ComboBox_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6458 PyObject
*resultobj
= 0;
6459 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6462 PyObject
*swig_obj
[1] ;
6464 if (!args
) SWIG_fail
;
6466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6467 if (!SWIG_IsOK(res1
)) {
6468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Undo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6470 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6474 wxPyEndAllowThreads(__tstate
);
6475 if (PyErr_Occurred()) SWIG_fail
;
6477 resultobj
= SWIG_Py_Void();
6484 SWIGINTERN PyObject
*_wrap_ComboBox_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6485 PyObject
*resultobj
= 0;
6486 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6489 PyObject
*swig_obj
[1] ;
6491 if (!args
) SWIG_fail
;
6493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6494 if (!SWIG_IsOK(res1
)) {
6495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Redo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6497 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6501 wxPyEndAllowThreads(__tstate
);
6502 if (PyErr_Occurred()) SWIG_fail
;
6504 resultobj
= SWIG_Py_Void();
6511 SWIGINTERN PyObject
*_wrap_ComboBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6512 PyObject
*resultobj
= 0;
6513 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6516 PyObject
*swig_obj
[1] ;
6518 if (!args
) SWIG_fail
;
6520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6521 if (!SWIG_IsOK(res1
)) {
6522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SelectAll" "', expected argument " "1"" of type '" "wxComboBox *""'");
6524 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6527 (arg1
)->SelectAll();
6528 wxPyEndAllowThreads(__tstate
);
6529 if (PyErr_Occurred()) SWIG_fail
;
6531 resultobj
= SWIG_Py_Void();
6538 SWIGINTERN PyObject
*_wrap_ComboBox_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6539 PyObject
*resultobj
= 0;
6540 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6544 PyObject
*swig_obj
[1] ;
6546 if (!args
) SWIG_fail
;
6548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6549 if (!SWIG_IsOK(res1
)) {
6550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCopy" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6552 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6555 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
6556 wxPyEndAllowThreads(__tstate
);
6557 if (PyErr_Occurred()) SWIG_fail
;
6560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6568 SWIGINTERN PyObject
*_wrap_ComboBox_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6569 PyObject
*resultobj
= 0;
6570 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6574 PyObject
*swig_obj
[1] ;
6576 if (!args
) SWIG_fail
;
6578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6579 if (!SWIG_IsOK(res1
)) {
6580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCut" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6582 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6585 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
6586 wxPyEndAllowThreads(__tstate
);
6587 if (PyErr_Occurred()) SWIG_fail
;
6590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6598 SWIGINTERN PyObject
*_wrap_ComboBox_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6599 PyObject
*resultobj
= 0;
6600 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6604 PyObject
*swig_obj
[1] ;
6606 if (!args
) SWIG_fail
;
6608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6609 if (!SWIG_IsOK(res1
)) {
6610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanPaste" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6612 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6615 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
6616 wxPyEndAllowThreads(__tstate
);
6617 if (PyErr_Occurred()) SWIG_fail
;
6620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6628 SWIGINTERN PyObject
*_wrap_ComboBox_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6629 PyObject
*resultobj
= 0;
6630 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6634 PyObject
*swig_obj
[1] ;
6636 if (!args
) SWIG_fail
;
6638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6639 if (!SWIG_IsOK(res1
)) {
6640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanUndo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6642 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6645 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
6646 wxPyEndAllowThreads(__tstate
);
6647 if (PyErr_Occurred()) SWIG_fail
;
6650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6658 SWIGINTERN PyObject
*_wrap_ComboBox_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6659 PyObject
*resultobj
= 0;
6660 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6664 PyObject
*swig_obj
[1] ;
6666 if (!args
) SWIG_fail
;
6668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6669 if (!SWIG_IsOK(res1
)) {
6670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanRedo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6672 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6675 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
6676 wxPyEndAllowThreads(__tstate
);
6677 if (PyErr_Occurred()) SWIG_fail
;
6680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6688 SWIGINTERN PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6689 PyObject
*resultobj
= 0;
6690 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6691 SwigValueWrapper
<wxVisualAttributes
> result
;
6694 PyObject
* obj0
= 0 ;
6695 char * kwnames
[] = {
6696 (char *) "variant", NULL
6699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
6701 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6702 if (!SWIG_IsOK(ecode1
)) {
6703 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ComboBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6705 arg1
= static_cast< wxWindowVariant
>(val1
);
6708 if (!wxPyCheckForApp()) SWIG_fail
;
6709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6710 result
= wxComboBox::GetClassDefaultAttributes(arg1
);
6711 wxPyEndAllowThreads(__tstate
);
6712 if (PyErr_Occurred()) SWIG_fail
;
6714 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
6721 SWIGINTERN PyObject
*ComboBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6723 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6724 SWIG_TypeNewClientData(SWIGTYPE_p_wxComboBox
, SWIG_NewClientData(obj
));
6725 return SWIG_Py_Void();
6728 SWIGINTERN PyObject
*ComboBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6729 return SWIG_Python_InitShadowInstance(args
);
6732 SWIGINTERN
int GaugeNameStr_set(PyObject
*) {
6733 SWIG_Error(SWIG_AttributeError
,"Variable GaugeNameStr is read-only.");
6738 SWIGINTERN PyObject
*GaugeNameStr_get(void) {
6739 PyObject
*pyobj
= 0;
6743 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6745 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6752 SWIGINTERN PyObject
*_wrap_new_Gauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6753 PyObject
*resultobj
= 0;
6754 wxWindow
*arg1
= (wxWindow
*) 0 ;
6755 int arg2
= (int) -1 ;
6756 int arg3
= (int) 100 ;
6757 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6758 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6759 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6760 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6761 long arg6
= (long) wxGA_HORIZONTAL
;
6762 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6763 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6764 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
6765 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6766 wxGauge
*result
= 0 ;
6779 bool temp8
= false ;
6780 PyObject
* obj0
= 0 ;
6781 PyObject
* obj1
= 0 ;
6782 PyObject
* obj2
= 0 ;
6783 PyObject
* obj3
= 0 ;
6784 PyObject
* obj4
= 0 ;
6785 PyObject
* obj5
= 0 ;
6786 PyObject
* obj6
= 0 ;
6787 PyObject
* obj7
= 0 ;
6788 char * kwnames
[] = {
6789 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6794 if (!SWIG_IsOK(res1
)) {
6795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Gauge" "', expected argument " "1"" of type '" "wxWindow *""'");
6797 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6799 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6800 if (!SWIG_IsOK(ecode2
)) {
6801 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Gauge" "', expected argument " "2"" of type '" "int""'");
6803 arg2
= static_cast< int >(val2
);
6806 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6807 if (!SWIG_IsOK(ecode3
)) {
6808 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Gauge" "', expected argument " "3"" of type '" "int""'");
6810 arg3
= static_cast< int >(val3
);
6815 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6821 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6825 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6826 if (!SWIG_IsOK(ecode6
)) {
6827 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Gauge" "', expected argument " "6"" of type '" "long""'");
6829 arg6
= static_cast< long >(val6
);
6832 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
6833 if (!SWIG_IsOK(res7
)) {
6834 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6837 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6839 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
6843 arg8
= wxString_in_helper(obj7
);
6844 if (arg8
== NULL
) SWIG_fail
;
6849 if (!wxPyCheckForApp()) SWIG_fail
;
6850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6851 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6852 wxPyEndAllowThreads(__tstate
);
6853 if (PyErr_Occurred()) SWIG_fail
;
6855 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_NEW
| 0 );
6870 SWIGINTERN PyObject
*_wrap_new_PreGauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6871 PyObject
*resultobj
= 0;
6872 wxGauge
*result
= 0 ;
6874 if (!SWIG_Python_UnpackTuple(args
,"new_PreGauge",0,0,0)) SWIG_fail
;
6876 if (!wxPyCheckForApp()) SWIG_fail
;
6877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6878 result
= (wxGauge
*)new wxGauge();
6879 wxPyEndAllowThreads(__tstate
);
6880 if (PyErr_Occurred()) SWIG_fail
;
6882 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_OWN
| 0 );
6889 SWIGINTERN PyObject
*_wrap_Gauge_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6890 PyObject
*resultobj
= 0;
6891 wxGauge
*arg1
= (wxGauge
*) 0 ;
6892 wxWindow
*arg2
= (wxWindow
*) 0 ;
6893 int arg3
= (int) -1 ;
6894 int arg4
= (int) 100 ;
6895 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6896 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6897 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6898 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6899 long arg7
= (long) wxGA_HORIZONTAL
;
6900 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6901 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6902 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
6903 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6919 bool temp9
= false ;
6920 PyObject
* obj0
= 0 ;
6921 PyObject
* obj1
= 0 ;
6922 PyObject
* obj2
= 0 ;
6923 PyObject
* obj3
= 0 ;
6924 PyObject
* obj4
= 0 ;
6925 PyObject
* obj5
= 0 ;
6926 PyObject
* obj6
= 0 ;
6927 PyObject
* obj7
= 0 ;
6928 PyObject
* obj8
= 0 ;
6929 char * kwnames
[] = {
6930 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
6935 if (!SWIG_IsOK(res1
)) {
6936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Create" "', expected argument " "1"" of type '" "wxGauge *""'");
6938 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
6939 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6940 if (!SWIG_IsOK(res2
)) {
6941 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Gauge_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6943 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6945 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6946 if (!SWIG_IsOK(ecode3
)) {
6947 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Gauge_Create" "', expected argument " "3"" of type '" "int""'");
6949 arg3
= static_cast< int >(val3
);
6952 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6953 if (!SWIG_IsOK(ecode4
)) {
6954 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Gauge_Create" "', expected argument " "4"" of type '" "int""'");
6956 arg4
= static_cast< int >(val4
);
6961 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6967 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6971 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6972 if (!SWIG_IsOK(ecode7
)) {
6973 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Gauge_Create" "', expected argument " "7"" of type '" "long""'");
6975 arg7
= static_cast< long >(val7
);
6978 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
6979 if (!SWIG_IsOK(res8
)) {
6980 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
6983 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
6985 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
6989 arg9
= wxString_in_helper(obj8
);
6990 if (arg9
== NULL
) SWIG_fail
;
6995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6996 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6997 wxPyEndAllowThreads(__tstate
);
6998 if (PyErr_Occurred()) SWIG_fail
;
7001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7017 SWIGINTERN PyObject
*_wrap_Gauge_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7018 PyObject
*resultobj
= 0;
7019 wxGauge
*arg1
= (wxGauge
*) 0 ;
7025 PyObject
* obj0
= 0 ;
7026 PyObject
* obj1
= 0 ;
7027 char * kwnames
[] = {
7028 (char *) "self",(char *) "range", NULL
7031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7033 if (!SWIG_IsOK(res1
)) {
7034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetRange" "', expected argument " "1"" of type '" "wxGauge *""'");
7036 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7037 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7038 if (!SWIG_IsOK(ecode2
)) {
7039 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetRange" "', expected argument " "2"" of type '" "int""'");
7041 arg2
= static_cast< int >(val2
);
7043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7044 (arg1
)->SetRange(arg2
);
7045 wxPyEndAllowThreads(__tstate
);
7046 if (PyErr_Occurred()) SWIG_fail
;
7048 resultobj
= SWIG_Py_Void();
7055 SWIGINTERN PyObject
*_wrap_Gauge_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7056 PyObject
*resultobj
= 0;
7057 wxGauge
*arg1
= (wxGauge
*) 0 ;
7061 PyObject
*swig_obj
[1] ;
7063 if (!args
) SWIG_fail
;
7065 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7066 if (!SWIG_IsOK(res1
)) {
7067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetRange" "', expected argument " "1"" of type '" "wxGauge const *""'");
7069 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7072 result
= (int)((wxGauge
const *)arg1
)->GetRange();
7073 wxPyEndAllowThreads(__tstate
);
7074 if (PyErr_Occurred()) SWIG_fail
;
7076 resultobj
= SWIG_From_int(static_cast< int >(result
));
7083 SWIGINTERN PyObject
*_wrap_Gauge_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7084 PyObject
*resultobj
= 0;
7085 wxGauge
*arg1
= (wxGauge
*) 0 ;
7091 PyObject
* obj0
= 0 ;
7092 PyObject
* obj1
= 0 ;
7093 char * kwnames
[] = {
7094 (char *) "self",(char *) "pos", NULL
7097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7099 if (!SWIG_IsOK(res1
)) {
7100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetValue" "', expected argument " "1"" of type '" "wxGauge *""'");
7102 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7103 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7104 if (!SWIG_IsOK(ecode2
)) {
7105 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetValue" "', expected argument " "2"" of type '" "int""'");
7107 arg2
= static_cast< int >(val2
);
7109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7110 (arg1
)->SetValue(arg2
);
7111 wxPyEndAllowThreads(__tstate
);
7112 if (PyErr_Occurred()) SWIG_fail
;
7114 resultobj
= SWIG_Py_Void();
7121 SWIGINTERN PyObject
*_wrap_Gauge_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7122 PyObject
*resultobj
= 0;
7123 wxGauge
*arg1
= (wxGauge
*) 0 ;
7127 PyObject
*swig_obj
[1] ;
7129 if (!args
) SWIG_fail
;
7131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7132 if (!SWIG_IsOK(res1
)) {
7133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetValue" "', expected argument " "1"" of type '" "wxGauge const *""'");
7135 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7138 result
= (int)((wxGauge
const *)arg1
)->GetValue();
7139 wxPyEndAllowThreads(__tstate
);
7140 if (PyErr_Occurred()) SWIG_fail
;
7142 resultobj
= SWIG_From_int(static_cast< int >(result
));
7149 SWIGINTERN PyObject
*_wrap_Gauge_Pulse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7150 PyObject
*resultobj
= 0;
7151 wxGauge
*arg1
= (wxGauge
*) 0 ;
7154 PyObject
*swig_obj
[1] ;
7156 if (!args
) SWIG_fail
;
7158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7159 if (!SWIG_IsOK(res1
)) {
7160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Pulse" "', expected argument " "1"" of type '" "wxGauge *""'");
7162 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7166 wxPyEndAllowThreads(__tstate
);
7167 if (PyErr_Occurred()) SWIG_fail
;
7169 resultobj
= SWIG_Py_Void();
7176 SWIGINTERN PyObject
*_wrap_Gauge_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7177 PyObject
*resultobj
= 0;
7178 wxGauge
*arg1
= (wxGauge
*) 0 ;
7182 PyObject
*swig_obj
[1] ;
7184 if (!args
) SWIG_fail
;
7186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7187 if (!SWIG_IsOK(res1
)) {
7188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_IsVertical" "', expected argument " "1"" of type '" "wxGauge const *""'");
7190 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7193 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
7194 wxPyEndAllowThreads(__tstate
);
7195 if (PyErr_Occurred()) SWIG_fail
;
7198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7206 SWIGINTERN PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7207 PyObject
*resultobj
= 0;
7208 wxGauge
*arg1
= (wxGauge
*) 0 ;
7214 PyObject
* obj0
= 0 ;
7215 PyObject
* obj1
= 0 ;
7216 char * kwnames
[] = {
7217 (char *) "self",(char *) "w", NULL
7220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7222 if (!SWIG_IsOK(res1
)) {
7223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "1"" of type '" "wxGauge *""'");
7225 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7226 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7227 if (!SWIG_IsOK(ecode2
)) {
7228 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "2"" of type '" "int""'");
7230 arg2
= static_cast< int >(val2
);
7232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7233 (arg1
)->SetShadowWidth(arg2
);
7234 wxPyEndAllowThreads(__tstate
);
7235 if (PyErr_Occurred()) SWIG_fail
;
7237 resultobj
= SWIG_Py_Void();
7244 SWIGINTERN PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7245 PyObject
*resultobj
= 0;
7246 wxGauge
*arg1
= (wxGauge
*) 0 ;
7250 PyObject
*swig_obj
[1] ;
7252 if (!args
) SWIG_fail
;
7254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7255 if (!SWIG_IsOK(res1
)) {
7256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetShadowWidth" "', expected argument " "1"" of type '" "wxGauge const *""'");
7258 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7261 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
7262 wxPyEndAllowThreads(__tstate
);
7263 if (PyErr_Occurred()) SWIG_fail
;
7265 resultobj
= SWIG_From_int(static_cast< int >(result
));
7272 SWIGINTERN PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7273 PyObject
*resultobj
= 0;
7274 wxGauge
*arg1
= (wxGauge
*) 0 ;
7280 PyObject
* obj0
= 0 ;
7281 PyObject
* obj1
= 0 ;
7282 char * kwnames
[] = {
7283 (char *) "self",(char *) "w", NULL
7286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7288 if (!SWIG_IsOK(res1
)) {
7289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetBezelFace" "', expected argument " "1"" of type '" "wxGauge *""'");
7291 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7292 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7293 if (!SWIG_IsOK(ecode2
)) {
7294 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetBezelFace" "', expected argument " "2"" of type '" "int""'");
7296 arg2
= static_cast< int >(val2
);
7298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7299 (arg1
)->SetBezelFace(arg2
);
7300 wxPyEndAllowThreads(__tstate
);
7301 if (PyErr_Occurred()) SWIG_fail
;
7303 resultobj
= SWIG_Py_Void();
7310 SWIGINTERN PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7311 PyObject
*resultobj
= 0;
7312 wxGauge
*arg1
= (wxGauge
*) 0 ;
7316 PyObject
*swig_obj
[1] ;
7318 if (!args
) SWIG_fail
;
7320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7321 if (!SWIG_IsOK(res1
)) {
7322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetBezelFace" "', expected argument " "1"" of type '" "wxGauge const *""'");
7324 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7327 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
7328 wxPyEndAllowThreads(__tstate
);
7329 if (PyErr_Occurred()) SWIG_fail
;
7331 resultobj
= SWIG_From_int(static_cast< int >(result
));
7338 SWIGINTERN PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7339 PyObject
*resultobj
= 0;
7340 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7341 SwigValueWrapper
<wxVisualAttributes
> result
;
7344 PyObject
* obj0
= 0 ;
7345 char * kwnames
[] = {
7346 (char *) "variant", NULL
7349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7351 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7352 if (!SWIG_IsOK(ecode1
)) {
7353 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Gauge_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7355 arg1
= static_cast< wxWindowVariant
>(val1
);
7358 if (!wxPyCheckForApp()) SWIG_fail
;
7359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7360 result
= wxGauge::GetClassDefaultAttributes(arg1
);
7361 wxPyEndAllowThreads(__tstate
);
7362 if (PyErr_Occurred()) SWIG_fail
;
7364 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7371 SWIGINTERN PyObject
*Gauge_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7373 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7374 SWIG_TypeNewClientData(SWIGTYPE_p_wxGauge
, SWIG_NewClientData(obj
));
7375 return SWIG_Py_Void();
7378 SWIGINTERN PyObject
*Gauge_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7379 return SWIG_Python_InitShadowInstance(args
);
7382 SWIGINTERN
int StaticBitmapNameStr_set(PyObject
*) {
7383 SWIG_Error(SWIG_AttributeError
,"Variable StaticBitmapNameStr is read-only.");
7388 SWIGINTERN PyObject
*StaticBitmapNameStr_get(void) {
7389 PyObject
*pyobj
= 0;
7393 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7395 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7402 SWIGINTERN
int StaticBoxNameStr_set(PyObject
*) {
7403 SWIG_Error(SWIG_AttributeError
,"Variable StaticBoxNameStr is read-only.");
7408 SWIGINTERN PyObject
*StaticBoxNameStr_get(void) {
7409 PyObject
*pyobj
= 0;
7413 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7415 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7422 SWIGINTERN
int StaticTextNameStr_set(PyObject
*) {
7423 SWIG_Error(SWIG_AttributeError
,"Variable StaticTextNameStr is read-only.");
7428 SWIGINTERN PyObject
*StaticTextNameStr_get(void) {
7429 PyObject
*pyobj
= 0;
7433 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7435 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7442 SWIGINTERN PyObject
*_wrap_new_StaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7443 PyObject
*resultobj
= 0;
7444 wxWindow
*arg1
= (wxWindow
*) 0 ;
7445 int arg2
= (int) -1 ;
7446 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7447 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7448 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7449 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7450 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7451 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7452 long arg6
= (long) 0 ;
7453 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
7454 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7455 wxStaticBox
*result
= 0 ;
7460 bool temp3
= false ;
7465 bool temp7
= false ;
7466 PyObject
* obj0
= 0 ;
7467 PyObject
* obj1
= 0 ;
7468 PyObject
* obj2
= 0 ;
7469 PyObject
* obj3
= 0 ;
7470 PyObject
* obj4
= 0 ;
7471 PyObject
* obj5
= 0 ;
7472 PyObject
* obj6
= 0 ;
7473 char * kwnames
[] = {
7474 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7479 if (!SWIG_IsOK(res1
)) {
7480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7482 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7484 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7485 if (!SWIG_IsOK(ecode2
)) {
7486 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7488 arg2
= static_cast< int >(val2
);
7492 arg3
= wxString_in_helper(obj2
);
7493 if (arg3
== NULL
) SWIG_fail
;
7500 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7506 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7510 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7511 if (!SWIG_IsOK(ecode6
)) {
7512 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7514 arg6
= static_cast< long >(val6
);
7518 arg7
= wxString_in_helper(obj6
);
7519 if (arg7
== NULL
) SWIG_fail
;
7524 if (!wxPyCheckForApp()) SWIG_fail
;
7525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7526 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7527 wxPyEndAllowThreads(__tstate
);
7528 if (PyErr_Occurred()) SWIG_fail
;
7530 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_NEW
| 0 );
7553 SWIGINTERN PyObject
*_wrap_new_PreStaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7554 PyObject
*resultobj
= 0;
7555 wxStaticBox
*result
= 0 ;
7557 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBox",0,0,0)) SWIG_fail
;
7559 if (!wxPyCheckForApp()) SWIG_fail
;
7560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7561 result
= (wxStaticBox
*)new wxStaticBox();
7562 wxPyEndAllowThreads(__tstate
);
7563 if (PyErr_Occurred()) SWIG_fail
;
7565 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_OWN
| 0 );
7572 SWIGINTERN PyObject
*_wrap_StaticBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7573 PyObject
*resultobj
= 0;
7574 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
7575 wxWindow
*arg2
= (wxWindow
*) 0 ;
7576 int arg3
= (int) -1 ;
7577 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7578 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7579 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7580 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7581 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7582 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7583 long arg7
= (long) 0 ;
7584 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
7585 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7593 bool temp4
= false ;
7598 bool temp8
= false ;
7599 PyObject
* obj0
= 0 ;
7600 PyObject
* obj1
= 0 ;
7601 PyObject
* obj2
= 0 ;
7602 PyObject
* obj3
= 0 ;
7603 PyObject
* obj4
= 0 ;
7604 PyObject
* obj5
= 0 ;
7605 PyObject
* obj6
= 0 ;
7606 PyObject
* obj7
= 0 ;
7607 char * kwnames
[] = {
7608 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBox
, 0 | 0 );
7613 if (!SWIG_IsOK(res1
)) {
7614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7616 arg1
= reinterpret_cast< wxStaticBox
* >(argp1
);
7617 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7618 if (!SWIG_IsOK(res2
)) {
7619 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7621 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7623 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7624 if (!SWIG_IsOK(ecode3
)) {
7625 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7627 arg3
= static_cast< int >(val3
);
7631 arg4
= wxString_in_helper(obj3
);
7632 if (arg4
== NULL
) SWIG_fail
;
7639 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7645 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7649 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7650 if (!SWIG_IsOK(ecode7
)) {
7651 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7653 arg7
= static_cast< long >(val7
);
7657 arg8
= wxString_in_helper(obj7
);
7658 if (arg8
== NULL
) SWIG_fail
;
7663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7664 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7665 wxPyEndAllowThreads(__tstate
);
7666 if (PyErr_Occurred()) SWIG_fail
;
7669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7693 SWIGINTERN PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7694 PyObject
*resultobj
= 0;
7695 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7696 SwigValueWrapper
<wxVisualAttributes
> result
;
7699 PyObject
* obj0
= 0 ;
7700 char * kwnames
[] = {
7701 (char *) "variant", NULL
7704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7706 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7707 if (!SWIG_IsOK(ecode1
)) {
7708 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7710 arg1
= static_cast< wxWindowVariant
>(val1
);
7713 if (!wxPyCheckForApp()) SWIG_fail
;
7714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7715 result
= wxStaticBox::GetClassDefaultAttributes(arg1
);
7716 wxPyEndAllowThreads(__tstate
);
7717 if (PyErr_Occurred()) SWIG_fail
;
7719 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7726 SWIGINTERN PyObject
*StaticBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7728 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7729 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox
, SWIG_NewClientData(obj
));
7730 return SWIG_Py_Void();
7733 SWIGINTERN PyObject
*StaticBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7734 return SWIG_Python_InitShadowInstance(args
);
7737 SWIGINTERN PyObject
*_wrap_new_StaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7738 PyObject
*resultobj
= 0;
7739 wxWindow
*arg1
= (wxWindow
*) 0 ;
7740 int arg2
= (int) -1 ;
7741 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7742 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7743 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7744 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7745 long arg5
= (long) wxLI_HORIZONTAL
;
7746 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
7747 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7748 wxStaticLine
*result
= 0 ;
7757 bool temp6
= false ;
7758 PyObject
* obj0
= 0 ;
7759 PyObject
* obj1
= 0 ;
7760 PyObject
* obj2
= 0 ;
7761 PyObject
* obj3
= 0 ;
7762 PyObject
* obj4
= 0 ;
7763 PyObject
* obj5
= 0 ;
7764 char * kwnames
[] = {
7765 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
7769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7770 if (!SWIG_IsOK(res1
)) {
7771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7773 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7775 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7776 if (!SWIG_IsOK(ecode2
)) {
7777 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7779 arg2
= static_cast< int >(val2
);
7784 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7790 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7794 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
7795 if (!SWIG_IsOK(ecode5
)) {
7796 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7798 arg5
= static_cast< long >(val5
);
7802 arg6
= wxString_in_helper(obj5
);
7803 if (arg6
== NULL
) SWIG_fail
;
7808 if (!wxPyCheckForApp()) SWIG_fail
;
7809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7810 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7811 wxPyEndAllowThreads(__tstate
);
7812 if (PyErr_Occurred()) SWIG_fail
;
7814 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_NEW
| 0 );
7829 SWIGINTERN PyObject
*_wrap_new_PreStaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7830 PyObject
*resultobj
= 0;
7831 wxStaticLine
*result
= 0 ;
7833 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticLine",0,0,0)) SWIG_fail
;
7835 if (!wxPyCheckForApp()) SWIG_fail
;
7836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7837 result
= (wxStaticLine
*)new wxStaticLine();
7838 wxPyEndAllowThreads(__tstate
);
7839 if (PyErr_Occurred()) SWIG_fail
;
7841 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_OWN
| 0 );
7848 SWIGINTERN PyObject
*_wrap_StaticLine_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7849 PyObject
*resultobj
= 0;
7850 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7851 wxWindow
*arg2
= (wxWindow
*) 0 ;
7852 int arg3
= (int) -1 ;
7853 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7854 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7855 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7856 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7857 long arg6
= (long) wxLI_HORIZONTAL
;
7858 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
7859 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7871 bool temp7
= false ;
7872 PyObject
* obj0
= 0 ;
7873 PyObject
* obj1
= 0 ;
7874 PyObject
* obj2
= 0 ;
7875 PyObject
* obj3
= 0 ;
7876 PyObject
* obj4
= 0 ;
7877 PyObject
* obj5
= 0 ;
7878 PyObject
* obj6
= 0 ;
7879 char * kwnames
[] = {
7880 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7885 if (!SWIG_IsOK(res1
)) {
7886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7888 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7889 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7890 if (!SWIG_IsOK(res2
)) {
7891 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7893 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7895 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7896 if (!SWIG_IsOK(ecode3
)) {
7897 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7899 arg3
= static_cast< int >(val3
);
7904 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7910 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7914 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7915 if (!SWIG_IsOK(ecode6
)) {
7916 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7918 arg6
= static_cast< long >(val6
);
7922 arg7
= wxString_in_helper(obj6
);
7923 if (arg7
== NULL
) SWIG_fail
;
7928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7929 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7930 wxPyEndAllowThreads(__tstate
);
7931 if (PyErr_Occurred()) SWIG_fail
;
7934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7950 SWIGINTERN PyObject
*_wrap_StaticLine_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7951 PyObject
*resultobj
= 0;
7952 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7956 PyObject
*swig_obj
[1] ;
7958 if (!args
) SWIG_fail
;
7960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7961 if (!SWIG_IsOK(res1
)) {
7962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
7964 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7967 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
7968 wxPyEndAllowThreads(__tstate
);
7969 if (PyErr_Occurred()) SWIG_fail
;
7972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7980 SWIGINTERN PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7981 PyObject
*resultobj
= 0;
7984 if (!SWIG_Python_UnpackTuple(args
,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail
;
7986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7987 result
= (int)wxStaticLine::GetDefaultSize();
7988 wxPyEndAllowThreads(__tstate
);
7989 if (PyErr_Occurred()) SWIG_fail
;
7991 resultobj
= SWIG_From_int(static_cast< int >(result
));
7998 SWIGINTERN PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7999 PyObject
*resultobj
= 0;
8000 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8001 SwigValueWrapper
<wxVisualAttributes
> result
;
8004 PyObject
* obj0
= 0 ;
8005 char * kwnames
[] = {
8006 (char *) "variant", NULL
8009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8011 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8012 if (!SWIG_IsOK(ecode1
)) {
8013 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8015 arg1
= static_cast< wxWindowVariant
>(val1
);
8018 if (!wxPyCheckForApp()) SWIG_fail
;
8019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8020 result
= wxStaticLine::GetClassDefaultAttributes(arg1
);
8021 wxPyEndAllowThreads(__tstate
);
8022 if (PyErr_Occurred()) SWIG_fail
;
8024 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8031 SWIGINTERN PyObject
*StaticLine_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8033 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8034 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine
, SWIG_NewClientData(obj
));
8035 return SWIG_Py_Void();
8038 SWIGINTERN PyObject
*StaticLine_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8039 return SWIG_Python_InitShadowInstance(args
);
8042 SWIGINTERN PyObject
*_wrap_new_StaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8043 PyObject
*resultobj
= 0;
8044 wxWindow
*arg1
= (wxWindow
*) 0 ;
8045 int arg2
= (int) -1 ;
8046 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8047 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8048 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8049 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8050 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8051 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8052 long arg6
= (long) 0 ;
8053 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
8054 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8055 wxStaticText
*result
= 0 ;
8060 bool temp3
= false ;
8065 bool temp7
= false ;
8066 PyObject
* obj0
= 0 ;
8067 PyObject
* obj1
= 0 ;
8068 PyObject
* obj2
= 0 ;
8069 PyObject
* obj3
= 0 ;
8070 PyObject
* obj4
= 0 ;
8071 PyObject
* obj5
= 0 ;
8072 PyObject
* obj6
= 0 ;
8073 char * kwnames
[] = {
8074 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8079 if (!SWIG_IsOK(res1
)) {
8080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
8082 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8084 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8085 if (!SWIG_IsOK(ecode2
)) {
8086 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
8088 arg2
= static_cast< int >(val2
);
8092 arg3
= wxString_in_helper(obj2
);
8093 if (arg3
== NULL
) SWIG_fail
;
8100 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8106 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8110 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8111 if (!SWIG_IsOK(ecode6
)) {
8112 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8114 arg6
= static_cast< long >(val6
);
8118 arg7
= wxString_in_helper(obj6
);
8119 if (arg7
== NULL
) SWIG_fail
;
8124 if (!wxPyCheckForApp()) SWIG_fail
;
8125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8126 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8127 wxPyEndAllowThreads(__tstate
);
8128 if (PyErr_Occurred()) SWIG_fail
;
8130 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_NEW
| 0 );
8153 SWIGINTERN PyObject
*_wrap_new_PreStaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8154 PyObject
*resultobj
= 0;
8155 wxStaticText
*result
= 0 ;
8157 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticText",0,0,0)) SWIG_fail
;
8159 if (!wxPyCheckForApp()) SWIG_fail
;
8160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8161 result
= (wxStaticText
*)new wxStaticText();
8162 wxPyEndAllowThreads(__tstate
);
8163 if (PyErr_Occurred()) SWIG_fail
;
8165 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_OWN
| 0 );
8172 SWIGINTERN PyObject
*_wrap_StaticText_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8173 PyObject
*resultobj
= 0;
8174 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8175 wxWindow
*arg2
= (wxWindow
*) 0 ;
8176 int arg3
= (int) -1 ;
8177 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8178 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8179 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8180 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8181 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8182 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8183 long arg7
= (long) 0 ;
8184 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
8185 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8193 bool temp4
= false ;
8198 bool temp8
= false ;
8199 PyObject
* obj0
= 0 ;
8200 PyObject
* obj1
= 0 ;
8201 PyObject
* obj2
= 0 ;
8202 PyObject
* obj3
= 0 ;
8203 PyObject
* obj4
= 0 ;
8204 PyObject
* obj5
= 0 ;
8205 PyObject
* obj6
= 0 ;
8206 PyObject
* obj7
= 0 ;
8207 char * kwnames
[] = {
8208 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8213 if (!SWIG_IsOK(res1
)) {
8214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8216 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8217 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8218 if (!SWIG_IsOK(res2
)) {
8219 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8221 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8223 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8224 if (!SWIG_IsOK(ecode3
)) {
8225 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8227 arg3
= static_cast< int >(val3
);
8231 arg4
= wxString_in_helper(obj3
);
8232 if (arg4
== NULL
) SWIG_fail
;
8239 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8245 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8249 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8250 if (!SWIG_IsOK(ecode7
)) {
8251 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8253 arg7
= static_cast< long >(val7
);
8257 arg8
= wxString_in_helper(obj7
);
8258 if (arg8
== NULL
) SWIG_fail
;
8263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8264 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8265 wxPyEndAllowThreads(__tstate
);
8266 if (PyErr_Occurred()) SWIG_fail
;
8269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8293 SWIGINTERN PyObject
*_wrap_StaticText_Wrap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8294 PyObject
*resultobj
= 0;
8295 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8301 PyObject
* obj0
= 0 ;
8302 PyObject
* obj1
= 0 ;
8303 char * kwnames
[] = {
8304 (char *) "self",(char *) "width", NULL
8307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticText_Wrap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8309 if (!SWIG_IsOK(res1
)) {
8310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8312 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8313 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8314 if (!SWIG_IsOK(ecode2
)) {
8315 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8317 arg2
= static_cast< int >(val2
);
8319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8321 wxPyEndAllowThreads(__tstate
);
8322 if (PyErr_Occurred()) SWIG_fail
;
8324 resultobj
= SWIG_Py_Void();
8331 SWIGINTERN PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8332 PyObject
*resultobj
= 0;
8333 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8334 SwigValueWrapper
<wxVisualAttributes
> result
;
8337 PyObject
* obj0
= 0 ;
8338 char * kwnames
[] = {
8339 (char *) "variant", NULL
8342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8344 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8345 if (!SWIG_IsOK(ecode1
)) {
8346 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8348 arg1
= static_cast< wxWindowVariant
>(val1
);
8351 if (!wxPyCheckForApp()) SWIG_fail
;
8352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8353 result
= wxStaticText::GetClassDefaultAttributes(arg1
);
8354 wxPyEndAllowThreads(__tstate
);
8355 if (PyErr_Occurred()) SWIG_fail
;
8357 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8364 SWIGINTERN PyObject
*StaticText_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8366 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8367 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText
, SWIG_NewClientData(obj
));
8368 return SWIG_Py_Void();
8371 SWIGINTERN PyObject
*StaticText_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8372 return SWIG_Python_InitShadowInstance(args
);
8375 SWIGINTERN PyObject
*_wrap_new_StaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8376 PyObject
*resultobj
= 0;
8377 wxWindow
*arg1
= (wxWindow
*) 0 ;
8378 int arg2
= (int) -1 ;
8379 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
8380 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
8381 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8382 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8383 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8384 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8385 long arg6
= (long) 0 ;
8386 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
8387 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8388 wxStaticBitmap
*result
= 0 ;
8399 bool temp7
= false ;
8400 PyObject
* obj0
= 0 ;
8401 PyObject
* obj1
= 0 ;
8402 PyObject
* obj2
= 0 ;
8403 PyObject
* obj3
= 0 ;
8404 PyObject
* obj4
= 0 ;
8405 PyObject
* obj5
= 0 ;
8406 PyObject
* obj6
= 0 ;
8407 char * kwnames
[] = {
8408 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8413 if (!SWIG_IsOK(res1
)) {
8414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8416 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8418 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8419 if (!SWIG_IsOK(ecode2
)) {
8420 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8422 arg2
= static_cast< int >(val2
);
8425 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8426 if (!SWIG_IsOK(res3
)) {
8427 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8430 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8432 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
8437 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8443 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8447 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8448 if (!SWIG_IsOK(ecode6
)) {
8449 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8451 arg6
= static_cast< long >(val6
);
8455 arg7
= wxString_in_helper(obj6
);
8456 if (arg7
== NULL
) SWIG_fail
;
8461 if (!wxPyCheckForApp()) SWIG_fail
;
8462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8463 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8464 wxPyEndAllowThreads(__tstate
);
8465 if (PyErr_Occurred()) SWIG_fail
;
8467 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_NEW
| 0 );
8482 SWIGINTERN PyObject
*_wrap_new_PreStaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8483 PyObject
*resultobj
= 0;
8484 wxStaticBitmap
*result
= 0 ;
8486 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBitmap",0,0,0)) SWIG_fail
;
8488 if (!wxPyCheckForApp()) SWIG_fail
;
8489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8490 result
= (wxStaticBitmap
*)new wxStaticBitmap();
8491 wxPyEndAllowThreads(__tstate
);
8492 if (PyErr_Occurred()) SWIG_fail
;
8494 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_OWN
| 0 );
8501 SWIGINTERN PyObject
*_wrap_StaticBitmap_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8502 PyObject
*resultobj
= 0;
8503 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8504 wxWindow
*arg2
= (wxWindow
*) 0 ;
8505 int arg3
= (int) -1 ;
8506 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
8507 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
8508 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8509 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8510 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8511 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8512 long arg7
= (long) 0 ;
8513 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
8514 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8528 bool temp8
= false ;
8529 PyObject
* obj0
= 0 ;
8530 PyObject
* obj1
= 0 ;
8531 PyObject
* obj2
= 0 ;
8532 PyObject
* obj3
= 0 ;
8533 PyObject
* obj4
= 0 ;
8534 PyObject
* obj5
= 0 ;
8535 PyObject
* obj6
= 0 ;
8536 PyObject
* obj7
= 0 ;
8537 char * kwnames
[] = {
8538 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8543 if (!SWIG_IsOK(res1
)) {
8544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8546 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8547 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8548 if (!SWIG_IsOK(res2
)) {
8549 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8551 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8553 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8554 if (!SWIG_IsOK(ecode3
)) {
8555 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8557 arg3
= static_cast< int >(val3
);
8560 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8561 if (!SWIG_IsOK(res4
)) {
8562 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8565 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8567 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
8572 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8578 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8582 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8583 if (!SWIG_IsOK(ecode7
)) {
8584 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8586 arg7
= static_cast< long >(val7
);
8590 arg8
= wxString_in_helper(obj7
);
8591 if (arg8
== NULL
) SWIG_fail
;
8596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8597 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8598 wxPyEndAllowThreads(__tstate
);
8599 if (PyErr_Occurred()) SWIG_fail
;
8602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8618 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8619 PyObject
*resultobj
= 0;
8620 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8624 PyObject
*swig_obj
[1] ;
8626 if (!args
) SWIG_fail
;
8628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8629 if (!SWIG_IsOK(res1
)) {
8630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8632 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8635 result
= (arg1
)->GetBitmap();
8636 wxPyEndAllowThreads(__tstate
);
8637 if (PyErr_Occurred()) SWIG_fail
;
8639 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
8646 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8647 PyObject
*resultobj
= 0;
8648 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8649 wxBitmap
*arg2
= 0 ;
8654 PyObject
* obj0
= 0 ;
8655 PyObject
* obj1
= 0 ;
8656 char * kwnames
[] = {
8657 (char *) "self",(char *) "bitmap", NULL
8660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8662 if (!SWIG_IsOK(res1
)) {
8663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8665 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8666 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8667 if (!SWIG_IsOK(res2
)) {
8668 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8671 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8673 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8676 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8677 wxPyEndAllowThreads(__tstate
);
8678 if (PyErr_Occurred()) SWIG_fail
;
8680 resultobj
= SWIG_Py_Void();
8687 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8688 PyObject
*resultobj
= 0;
8689 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8695 PyObject
* obj0
= 0 ;
8696 PyObject
* obj1
= 0 ;
8697 char * kwnames
[] = {
8698 (char *) "self",(char *) "icon", NULL
8701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8703 if (!SWIG_IsOK(res1
)) {
8704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8706 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8707 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
8708 if (!SWIG_IsOK(res2
)) {
8709 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8712 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8714 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
8716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8717 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
8718 wxPyEndAllowThreads(__tstate
);
8719 if (PyErr_Occurred()) SWIG_fail
;
8721 resultobj
= SWIG_Py_Void();
8728 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8729 PyObject
*resultobj
= 0;
8730 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8731 SwigValueWrapper
<wxVisualAttributes
> result
;
8734 PyObject
* obj0
= 0 ;
8735 char * kwnames
[] = {
8736 (char *) "variant", NULL
8739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8741 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8742 if (!SWIG_IsOK(ecode1
)) {
8743 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8745 arg1
= static_cast< wxWindowVariant
>(val1
);
8748 if (!wxPyCheckForApp()) SWIG_fail
;
8749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8750 result
= wxStaticBitmap::GetClassDefaultAttributes(arg1
);
8751 wxPyEndAllowThreads(__tstate
);
8752 if (PyErr_Occurred()) SWIG_fail
;
8754 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8761 SWIGINTERN PyObject
*StaticBitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8763 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8764 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap
, SWIG_NewClientData(obj
));
8765 return SWIG_Py_Void();
8768 SWIGINTERN PyObject
*StaticBitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8769 return SWIG_Python_InitShadowInstance(args
);
8772 SWIGINTERN
int ListBoxNameStr_set(PyObject
*) {
8773 SWIG_Error(SWIG_AttributeError
,"Variable ListBoxNameStr is read-only.");
8778 SWIGINTERN PyObject
*ListBoxNameStr_get(void) {
8779 PyObject
*pyobj
= 0;
8783 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8785 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8792 SWIGINTERN PyObject
*_wrap_new_ListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8793 PyObject
*resultobj
= 0;
8794 wxWindow
*arg1
= (wxWindow
*) 0 ;
8795 int arg2
= (int) -1 ;
8796 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8797 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8798 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8799 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8800 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8801 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8802 long arg6
= (long) 0 ;
8803 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8804 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8805 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8806 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8807 wxListBox
*result
= 0 ;
8814 bool temp5
= false ;
8819 bool temp8
= false ;
8820 PyObject
* obj0
= 0 ;
8821 PyObject
* obj1
= 0 ;
8822 PyObject
* obj2
= 0 ;
8823 PyObject
* obj3
= 0 ;
8824 PyObject
* obj4
= 0 ;
8825 PyObject
* obj5
= 0 ;
8826 PyObject
* obj6
= 0 ;
8827 PyObject
* obj7
= 0 ;
8828 char * kwnames
[] = {
8829 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8834 if (!SWIG_IsOK(res1
)) {
8835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
8837 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8839 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8840 if (!SWIG_IsOK(ecode2
)) {
8841 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
8843 arg2
= static_cast< int >(val2
);
8848 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8854 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8859 if (! PySequence_Check(obj4
)) {
8860 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8863 arg5
= new wxArrayString
;
8865 int i
, len
=PySequence_Length(obj4
);
8866 for (i
=0; i
<len
; i
++) {
8867 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8868 wxString
* s
= wxString_in_helper(item
);
8869 if (PyErr_Occurred()) SWIG_fail
;
8877 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8878 if (!SWIG_IsOK(ecode6
)) {
8879 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
8881 arg6
= static_cast< long >(val6
);
8884 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
8885 if (!SWIG_IsOK(res7
)) {
8886 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8889 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8891 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
8895 arg8
= wxString_in_helper(obj7
);
8896 if (arg8
== NULL
) SWIG_fail
;
8901 if (!wxPyCheckForApp()) SWIG_fail
;
8902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8903 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8904 wxPyEndAllowThreads(__tstate
);
8905 if (PyErr_Occurred()) SWIG_fail
;
8907 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_NEW
| 0 );
8909 if (temp5
) delete arg5
;
8918 if (temp5
) delete arg5
;
8928 SWIGINTERN PyObject
*_wrap_new_PreListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8929 PyObject
*resultobj
= 0;
8930 wxListBox
*result
= 0 ;
8932 if (!SWIG_Python_UnpackTuple(args
,"new_PreListBox",0,0,0)) SWIG_fail
;
8934 if (!wxPyCheckForApp()) SWIG_fail
;
8935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8936 result
= (wxListBox
*)new wxListBox();
8937 wxPyEndAllowThreads(__tstate
);
8938 if (PyErr_Occurred()) SWIG_fail
;
8940 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_OWN
| 0 );
8947 SWIGINTERN PyObject
*_wrap_ListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8948 PyObject
*resultobj
= 0;
8949 wxListBox
*arg1
= (wxListBox
*) 0 ;
8950 wxWindow
*arg2
= (wxWindow
*) 0 ;
8951 int arg3
= (int) -1 ;
8952 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8953 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8954 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8955 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8956 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
8957 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
8958 long arg7
= (long) 0 ;
8959 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8960 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8961 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
8962 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8972 bool temp6
= false ;
8977 bool temp9
= false ;
8978 PyObject
* obj0
= 0 ;
8979 PyObject
* obj1
= 0 ;
8980 PyObject
* obj2
= 0 ;
8981 PyObject
* obj3
= 0 ;
8982 PyObject
* obj4
= 0 ;
8983 PyObject
* obj5
= 0 ;
8984 PyObject
* obj6
= 0 ;
8985 PyObject
* obj7
= 0 ;
8986 PyObject
* obj8
= 0 ;
8987 char * kwnames
[] = {
8988 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
8992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
8993 if (!SWIG_IsOK(res1
)) {
8994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
8996 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
8997 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8998 if (!SWIG_IsOK(res2
)) {
8999 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9001 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9003 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9004 if (!SWIG_IsOK(ecode3
)) {
9005 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
9007 arg3
= static_cast< int >(val3
);
9012 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9018 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9023 if (! PySequence_Check(obj5
)) {
9024 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9027 arg6
= new wxArrayString
;
9029 int i
, len
=PySequence_Length(obj5
);
9030 for (i
=0; i
<len
; i
++) {
9031 PyObject
* item
= PySequence_GetItem(obj5
, i
);
9032 wxString
* s
= wxString_in_helper(item
);
9033 if (PyErr_Occurred()) SWIG_fail
;
9041 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
9042 if (!SWIG_IsOK(ecode7
)) {
9043 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
9045 arg7
= static_cast< long >(val7
);
9048 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
9049 if (!SWIG_IsOK(res8
)) {
9050 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9053 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9055 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
9059 arg9
= wxString_in_helper(obj8
);
9060 if (arg9
== NULL
) SWIG_fail
;
9065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9066 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9067 wxPyEndAllowThreads(__tstate
);
9068 if (PyErr_Occurred()) SWIG_fail
;
9071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9074 if (temp6
) delete arg6
;
9083 if (temp6
) delete arg6
;
9093 SWIGINTERN PyObject
*_wrap_ListBox_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9094 PyObject
*resultobj
= 0;
9095 wxListBox
*arg1
= (wxListBox
*) 0 ;
9096 wxString
*arg2
= 0 ;
9098 PyObject
*arg4
= (PyObject
*) NULL
;
9101 bool temp2
= false ;
9104 PyObject
* obj0
= 0 ;
9105 PyObject
* obj1
= 0 ;
9106 PyObject
* obj2
= 0 ;
9107 PyObject
* obj3
= 0 ;
9108 char * kwnames
[] = {
9109 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9114 if (!SWIG_IsOK(res1
)) {
9115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9117 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9119 arg2
= wxString_in_helper(obj1
);
9120 if (arg2
== NULL
) SWIG_fail
;
9123 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9124 if (!SWIG_IsOK(ecode3
)) {
9125 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9127 arg3
= static_cast< int >(val3
);
9132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9133 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9134 wxPyEndAllowThreads(__tstate
);
9135 if (PyErr_Occurred()) SWIG_fail
;
9137 resultobj
= SWIG_Py_Void();
9152 SWIGINTERN PyObject
*_wrap_ListBox_InsertItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9153 PyObject
*resultobj
= 0;
9154 wxListBox
*arg1
= (wxListBox
*) 0 ;
9155 wxArrayString
*arg2
= 0 ;
9159 bool temp2
= false ;
9162 PyObject
* obj0
= 0 ;
9163 PyObject
* obj1
= 0 ;
9164 PyObject
* obj2
= 0 ;
9165 char * kwnames
[] = {
9166 (char *) "self",(char *) "items",(char *) "pos", NULL
9169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9171 if (!SWIG_IsOK(res1
)) {
9172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9174 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9176 if (! PySequence_Check(obj1
)) {
9177 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9180 arg2
= new wxArrayString
;
9182 int i
, len
=PySequence_Length(obj1
);
9183 for (i
=0; i
<len
; i
++) {
9184 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9185 wxString
* s
= wxString_in_helper(item
);
9186 if (PyErr_Occurred()) SWIG_fail
;
9192 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
9193 if (!SWIG_IsOK(ecode3
)) {
9194 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "unsigned int""'");
9196 arg3
= static_cast< unsigned int >(val3
);
9198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9199 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
9200 wxPyEndAllowThreads(__tstate
);
9201 if (PyErr_Occurred()) SWIG_fail
;
9203 resultobj
= SWIG_Py_Void();
9205 if (temp2
) delete arg2
;
9210 if (temp2
) delete arg2
;
9216 SWIGINTERN PyObject
*_wrap_ListBox_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9217 PyObject
*resultobj
= 0;
9218 wxListBox
*arg1
= (wxListBox
*) 0 ;
9219 wxArrayString
*arg2
= 0 ;
9222 bool temp2
= false ;
9223 PyObject
* obj0
= 0 ;
9224 PyObject
* obj1
= 0 ;
9225 char * kwnames
[] = {
9226 (char *) "self",(char *) "items", NULL
9229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9231 if (!SWIG_IsOK(res1
)) {
9232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9234 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9236 if (! PySequence_Check(obj1
)) {
9237 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9240 arg2
= new wxArrayString
;
9242 int i
, len
=PySequence_Length(obj1
);
9243 for (i
=0; i
<len
; i
++) {
9244 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9245 wxString
* s
= wxString_in_helper(item
);
9246 if (PyErr_Occurred()) SWIG_fail
;
9253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9254 (arg1
)->Set((wxArrayString
const &)*arg2
);
9255 wxPyEndAllowThreads(__tstate
);
9256 if (PyErr_Occurred()) SWIG_fail
;
9258 resultobj
= SWIG_Py_Void();
9260 if (temp2
) delete arg2
;
9265 if (temp2
) delete arg2
;
9271 SWIGINTERN PyObject
*_wrap_ListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9272 PyObject
*resultobj
= 0;
9273 wxListBox
*arg1
= (wxListBox
*) 0 ;
9280 PyObject
* obj0
= 0 ;
9281 PyObject
* obj1
= 0 ;
9282 char * kwnames
[] = {
9283 (char *) "self",(char *) "n", NULL
9286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9288 if (!SWIG_IsOK(res1
)) {
9289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
9291 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9292 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9293 if (!SWIG_IsOK(ecode2
)) {
9294 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_IsSelected" "', expected argument " "2"" of type '" "int""'");
9296 arg2
= static_cast< int >(val2
);
9298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9299 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
9300 wxPyEndAllowThreads(__tstate
);
9301 if (PyErr_Occurred()) SWIG_fail
;
9304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9312 SWIGINTERN PyObject
*_wrap_ListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9313 PyObject
*resultobj
= 0;
9314 wxListBox
*arg1
= (wxListBox
*) 0 ;
9316 bool arg3
= (bool) true ;
9323 PyObject
* obj0
= 0 ;
9324 PyObject
* obj1
= 0 ;
9325 PyObject
* obj2
= 0 ;
9326 char * kwnames
[] = {
9327 (char *) "self",(char *) "n",(char *) "select", NULL
9330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9332 if (!SWIG_IsOK(res1
)) {
9333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9335 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9336 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9337 if (!SWIG_IsOK(ecode2
)) {
9338 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9340 arg2
= static_cast< int >(val2
);
9342 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9343 if (!SWIG_IsOK(ecode3
)) {
9344 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9346 arg3
= static_cast< bool >(val3
);
9349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9350 (arg1
)->SetSelection(arg2
,arg3
);
9351 wxPyEndAllowThreads(__tstate
);
9352 if (PyErr_Occurred()) SWIG_fail
;
9354 resultobj
= SWIG_Py_Void();
9361 SWIGINTERN PyObject
*_wrap_ListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9362 PyObject
*resultobj
= 0;
9363 wxListBox
*arg1
= (wxListBox
*) 0 ;
9369 PyObject
* obj0
= 0 ;
9370 PyObject
* obj1
= 0 ;
9371 char * kwnames
[] = {
9372 (char *) "self",(char *) "n", NULL
9375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9377 if (!SWIG_IsOK(res1
)) {
9378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9380 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9381 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9382 if (!SWIG_IsOK(ecode2
)) {
9383 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9385 arg2
= static_cast< int >(val2
);
9387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9388 (arg1
)->Select(arg2
);
9389 wxPyEndAllowThreads(__tstate
);
9390 if (PyErr_Occurred()) SWIG_fail
;
9392 resultobj
= SWIG_Py_Void();
9399 SWIGINTERN PyObject
*_wrap_ListBox_Deselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9400 PyObject
*resultobj
= 0;
9401 wxListBox
*arg1
= (wxListBox
*) 0 ;
9407 PyObject
* obj0
= 0 ;
9408 PyObject
* obj1
= 0 ;
9409 char * kwnames
[] = {
9410 (char *) "self",(char *) "n", NULL
9413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9415 if (!SWIG_IsOK(res1
)) {
9416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9418 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9419 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9420 if (!SWIG_IsOK(ecode2
)) {
9421 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9423 arg2
= static_cast< int >(val2
);
9425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9426 (arg1
)->Deselect(arg2
);
9427 wxPyEndAllowThreads(__tstate
);
9428 if (PyErr_Occurred()) SWIG_fail
;
9430 resultobj
= SWIG_Py_Void();
9437 SWIGINTERN PyObject
*_wrap_ListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9438 PyObject
*resultobj
= 0;
9439 wxListBox
*arg1
= (wxListBox
*) 0 ;
9440 int arg2
= (int) -1 ;
9445 PyObject
* obj0
= 0 ;
9446 PyObject
* obj1
= 0 ;
9447 char * kwnames
[] = {
9448 (char *) "self",(char *) "itemToLeaveSelected", NULL
9451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9453 if (!SWIG_IsOK(res1
)) {
9454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9456 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9458 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9459 if (!SWIG_IsOK(ecode2
)) {
9460 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9462 arg2
= static_cast< int >(val2
);
9465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9466 (arg1
)->DeselectAll(arg2
);
9467 wxPyEndAllowThreads(__tstate
);
9468 if (PyErr_Occurred()) SWIG_fail
;
9470 resultobj
= SWIG_Py_Void();
9477 SWIGINTERN PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9478 PyObject
*resultobj
= 0;
9479 wxListBox
*arg1
= (wxListBox
*) 0 ;
9480 wxString
*arg2
= 0 ;
9481 bool arg3
= (bool) true ;
9485 bool temp2
= false ;
9488 PyObject
* obj0
= 0 ;
9489 PyObject
* obj1
= 0 ;
9490 PyObject
* obj2
= 0 ;
9491 char * kwnames
[] = {
9492 (char *) "self",(char *) "s",(char *) "select", NULL
9495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9497 if (!SWIG_IsOK(res1
)) {
9498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetStringSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9500 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9502 arg2
= wxString_in_helper(obj1
);
9503 if (arg2
== NULL
) SWIG_fail
;
9507 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9508 if (!SWIG_IsOK(ecode3
)) {
9509 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9511 arg3
= static_cast< bool >(val3
);
9514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9515 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
9516 wxPyEndAllowThreads(__tstate
);
9517 if (PyErr_Occurred()) SWIG_fail
;
9520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9536 SWIGINTERN PyObject
*_wrap_ListBox_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9537 PyObject
*resultobj
= 0;
9538 wxListBox
*arg1
= (wxListBox
*) 0 ;
9539 PyObject
*result
= 0 ;
9542 PyObject
*swig_obj
[1] ;
9544 if (!args
) SWIG_fail
;
9546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9547 if (!SWIG_IsOK(res1
)) {
9548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9550 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9553 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
9554 wxPyEndAllowThreads(__tstate
);
9555 if (PyErr_Occurred()) SWIG_fail
;
9564 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9565 PyObject
*resultobj
= 0;
9566 wxListBox
*arg1
= (wxListBox
*) 0 ;
9572 PyObject
* obj0
= 0 ;
9573 PyObject
* obj1
= 0 ;
9574 char * kwnames
[] = {
9575 (char *) "self",(char *) "n", NULL
9578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9580 if (!SWIG_IsOK(res1
)) {
9581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9583 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9584 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9585 if (!SWIG_IsOK(ecode2
)) {
9586 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9588 arg2
= static_cast< int >(val2
);
9590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9591 (arg1
)->SetFirstItem(arg2
);
9592 wxPyEndAllowThreads(__tstate
);
9593 if (PyErr_Occurred()) SWIG_fail
;
9595 resultobj
= SWIG_Py_Void();
9602 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9603 PyObject
*resultobj
= 0;
9604 wxListBox
*arg1
= (wxListBox
*) 0 ;
9605 wxString
*arg2
= 0 ;
9608 bool temp2
= false ;
9609 PyObject
* obj0
= 0 ;
9610 PyObject
* obj1
= 0 ;
9611 char * kwnames
[] = {
9612 (char *) "self",(char *) "s", NULL
9615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9617 if (!SWIG_IsOK(res1
)) {
9618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9620 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9622 arg2
= wxString_in_helper(obj1
);
9623 if (arg2
== NULL
) SWIG_fail
;
9627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9628 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
9629 wxPyEndAllowThreads(__tstate
);
9630 if (PyErr_Occurred()) SWIG_fail
;
9632 resultobj
= SWIG_Py_Void();
9647 SWIGINTERN PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9648 PyObject
*resultobj
= 0;
9649 wxListBox
*arg1
= (wxListBox
*) 0 ;
9655 PyObject
* obj0
= 0 ;
9656 PyObject
* obj1
= 0 ;
9657 char * kwnames
[] = {
9658 (char *) "self",(char *) "n", NULL
9661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9663 if (!SWIG_IsOK(res1
)) {
9664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9666 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9667 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9668 if (!SWIG_IsOK(ecode2
)) {
9669 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9671 arg2
= static_cast< int >(val2
);
9673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9674 (arg1
)->EnsureVisible(arg2
);
9675 wxPyEndAllowThreads(__tstate
);
9676 if (PyErr_Occurred()) SWIG_fail
;
9678 resultobj
= SWIG_Py_Void();
9685 SWIGINTERN PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9686 PyObject
*resultobj
= 0;
9687 wxListBox
*arg1
= (wxListBox
*) 0 ;
9688 wxString
*arg2
= 0 ;
9691 bool temp2
= false ;
9692 PyObject
* obj0
= 0 ;
9693 PyObject
* obj1
= 0 ;
9694 char * kwnames
[] = {
9695 (char *) "self",(char *) "s", NULL
9698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9700 if (!SWIG_IsOK(res1
)) {
9701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9703 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9705 arg2
= wxString_in_helper(obj1
);
9706 if (arg2
== NULL
) SWIG_fail
;
9710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9711 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
9712 wxPyEndAllowThreads(__tstate
);
9713 if (PyErr_Occurred()) SWIG_fail
;
9715 resultobj
= SWIG_Py_Void();
9730 SWIGINTERN PyObject
*_wrap_ListBox_IsSorted(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9731 PyObject
*resultobj
= 0;
9732 wxListBox
*arg1
= (wxListBox
*) 0 ;
9736 PyObject
*swig_obj
[1] ;
9738 if (!args
) SWIG_fail
;
9740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9741 if (!SWIG_IsOK(res1
)) {
9742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9744 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9747 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
9748 wxPyEndAllowThreads(__tstate
);
9749 if (PyErr_Occurred()) SWIG_fail
;
9752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9760 SWIGINTERN PyObject
*_wrap_ListBox_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9761 PyObject
*resultobj
= 0;
9762 wxListBox
*arg1
= (wxListBox
*) 0 ;
9768 PyObject
* obj0
= 0 ;
9769 PyObject
* obj1
= 0 ;
9770 char * kwnames
[] = {
9771 (char *) "self",(char *) "pt", NULL
9774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9776 if (!SWIG_IsOK(res1
)) {
9777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9779 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9782 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9786 result
= (int)((wxListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9787 wxPyEndAllowThreads(__tstate
);
9788 if (PyErr_Occurred()) SWIG_fail
;
9790 resultobj
= SWIG_From_int(static_cast< int >(result
));
9797 SWIGINTERN PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9798 PyObject
*resultobj
= 0;
9799 wxListBox
*arg1
= (wxListBox
*) 0 ;
9801 wxColour
*arg3
= 0 ;
9807 PyObject
* obj0
= 0 ;
9808 PyObject
* obj1
= 0 ;
9809 PyObject
* obj2
= 0 ;
9810 char * kwnames
[] = {
9811 (char *) "self",(char *) "item",(char *) "c", NULL
9814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9816 if (!SWIG_IsOK(res1
)) {
9817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9819 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9820 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9821 if (!SWIG_IsOK(ecode2
)) {
9822 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
9824 arg2
= static_cast< int >(val2
);
9827 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9831 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9832 wxPyEndAllowThreads(__tstate
);
9833 if (PyErr_Occurred()) SWIG_fail
;
9835 resultobj
= SWIG_Py_Void();
9842 SWIGINTERN PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9843 PyObject
*resultobj
= 0;
9844 wxListBox
*arg1
= (wxListBox
*) 0 ;
9846 wxColour
*arg3
= 0 ;
9852 PyObject
* obj0
= 0 ;
9853 PyObject
* obj1
= 0 ;
9854 PyObject
* obj2
= 0 ;
9855 char * kwnames
[] = {
9856 (char *) "self",(char *) "item",(char *) "c", NULL
9859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9861 if (!SWIG_IsOK(res1
)) {
9862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9864 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9865 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9866 if (!SWIG_IsOK(ecode2
)) {
9867 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
9869 arg2
= static_cast< int >(val2
);
9872 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9876 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9877 wxPyEndAllowThreads(__tstate
);
9878 if (PyErr_Occurred()) SWIG_fail
;
9880 resultobj
= SWIG_Py_Void();
9887 SWIGINTERN PyObject
*_wrap_ListBox_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9888 PyObject
*resultobj
= 0;
9889 wxListBox
*arg1
= (wxListBox
*) 0 ;
9898 PyObject
* obj0
= 0 ;
9899 PyObject
* obj1
= 0 ;
9900 PyObject
* obj2
= 0 ;
9901 char * kwnames
[] = {
9902 (char *) "self",(char *) "item",(char *) "f", NULL
9905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9907 if (!SWIG_IsOK(res1
)) {
9908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemFont" "', expected argument " "1"" of type '" "wxListBox *""'");
9910 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9911 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9912 if (!SWIG_IsOK(ecode2
)) {
9913 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemFont" "', expected argument " "2"" of type '" "int""'");
9915 arg2
= static_cast< int >(val2
);
9916 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
9917 if (!SWIG_IsOK(res3
)) {
9918 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9921 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9923 arg3
= reinterpret_cast< wxFont
* >(argp3
);
9925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9926 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
9927 wxPyEndAllowThreads(__tstate
);
9928 if (PyErr_Occurred()) SWIG_fail
;
9930 resultobj
= SWIG_Py_Void();
9937 SWIGINTERN PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9938 PyObject
*resultobj
= 0;
9939 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9940 SwigValueWrapper
<wxVisualAttributes
> result
;
9943 PyObject
* obj0
= 0 ;
9944 char * kwnames
[] = {
9945 (char *) "variant", NULL
9948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9950 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9951 if (!SWIG_IsOK(ecode1
)) {
9952 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9954 arg1
= static_cast< wxWindowVariant
>(val1
);
9957 if (!wxPyCheckForApp()) SWIG_fail
;
9958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9959 result
= wxListBox::GetClassDefaultAttributes(arg1
);
9960 wxPyEndAllowThreads(__tstate
);
9961 if (PyErr_Occurred()) SWIG_fail
;
9963 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9970 SWIGINTERN PyObject
*ListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9972 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9973 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox
, SWIG_NewClientData(obj
));
9974 return SWIG_Py_Void();
9977 SWIGINTERN PyObject
*ListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9978 return SWIG_Python_InitShadowInstance(args
);
9981 SWIGINTERN PyObject
*_wrap_new_CheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9982 PyObject
*resultobj
= 0;
9983 wxWindow
*arg1
= (wxWindow
*) 0 ;
9984 int arg2
= (int) -1 ;
9985 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9986 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9987 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9988 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9989 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
9990 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
9991 long arg6
= (long) 0 ;
9992 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9993 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9994 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
9995 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9996 wxCheckListBox
*result
= 0 ;
10003 bool temp5
= false ;
10008 bool temp8
= false ;
10009 PyObject
* obj0
= 0 ;
10010 PyObject
* obj1
= 0 ;
10011 PyObject
* obj2
= 0 ;
10012 PyObject
* obj3
= 0 ;
10013 PyObject
* obj4
= 0 ;
10014 PyObject
* obj5
= 0 ;
10015 PyObject
* obj6
= 0 ;
10016 PyObject
* obj7
= 0 ;
10017 char * kwnames
[] = {
10018 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
10022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10023 if (!SWIG_IsOK(res1
)) {
10024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
10026 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10028 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10029 if (!SWIG_IsOK(ecode2
)) {
10030 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
10032 arg2
= static_cast< int >(val2
);
10037 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10043 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10048 if (! PySequence_Check(obj4
)) {
10049 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10052 arg5
= new wxArrayString
;
10054 int i
, len
=PySequence_Length(obj4
);
10055 for (i
=0; i
<len
; i
++) {
10056 PyObject
* item
= PySequence_GetItem(obj4
, i
);
10057 wxString
* s
= wxString_in_helper(item
);
10058 if (PyErr_Occurred()) SWIG_fail
;
10066 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10067 if (!SWIG_IsOK(ecode6
)) {
10068 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
10070 arg6
= static_cast< long >(val6
);
10073 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
10074 if (!SWIG_IsOK(res7
)) {
10075 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10078 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10080 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
10084 arg8
= wxString_in_helper(obj7
);
10085 if (arg8
== NULL
) SWIG_fail
;
10090 if (!wxPyCheckForApp()) SWIG_fail
;
10091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10092 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10093 wxPyEndAllowThreads(__tstate
);
10094 if (PyErr_Occurred()) SWIG_fail
;
10096 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_NEW
| 0 );
10098 if (temp5
) delete arg5
;
10107 if (temp5
) delete arg5
;
10117 SWIGINTERN PyObject
*_wrap_new_PreCheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10118 PyObject
*resultobj
= 0;
10119 wxCheckListBox
*result
= 0 ;
10121 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckListBox",0,0,0)) SWIG_fail
;
10123 if (!wxPyCheckForApp()) SWIG_fail
;
10124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10125 result
= (wxCheckListBox
*)new wxCheckListBox();
10126 wxPyEndAllowThreads(__tstate
);
10127 if (PyErr_Occurred()) SWIG_fail
;
10129 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_OWN
| 0 );
10136 SWIGINTERN PyObject
*_wrap_CheckListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10137 PyObject
*resultobj
= 0;
10138 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10139 wxWindow
*arg2
= (wxWindow
*) 0 ;
10140 int arg3
= (int) -1 ;
10141 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10142 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10143 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10144 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10145 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10146 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10147 long arg7
= (long) 0 ;
10148 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
10149 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
10150 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
10151 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10161 bool temp6
= false ;
10166 bool temp9
= false ;
10167 PyObject
* obj0
= 0 ;
10168 PyObject
* obj1
= 0 ;
10169 PyObject
* obj2
= 0 ;
10170 PyObject
* obj3
= 0 ;
10171 PyObject
* obj4
= 0 ;
10172 PyObject
* obj5
= 0 ;
10173 PyObject
* obj6
= 0 ;
10174 PyObject
* obj7
= 0 ;
10175 PyObject
* obj8
= 0 ;
10176 char * kwnames
[] = {
10177 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
10181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10182 if (!SWIG_IsOK(res1
)) {
10183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10185 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10186 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10187 if (!SWIG_IsOK(res2
)) {
10188 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10190 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10192 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10193 if (!SWIG_IsOK(ecode3
)) {
10194 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10196 arg3
= static_cast< int >(val3
);
10201 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10207 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10212 if (! PySequence_Check(obj5
)) {
10213 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10216 arg6
= new wxArrayString
;
10218 int i
, len
=PySequence_Length(obj5
);
10219 for (i
=0; i
<len
; i
++) {
10220 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10221 wxString
* s
= wxString_in_helper(item
);
10222 if (PyErr_Occurred()) SWIG_fail
;
10230 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
10231 if (!SWIG_IsOK(ecode7
)) {
10232 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10234 arg7
= static_cast< long >(val7
);
10237 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
10238 if (!SWIG_IsOK(res8
)) {
10239 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10242 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10244 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
10248 arg9
= wxString_in_helper(obj8
);
10249 if (arg9
== NULL
) SWIG_fail
;
10254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10255 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10256 wxPyEndAllowThreads(__tstate
);
10257 if (PyErr_Occurred()) SWIG_fail
;
10260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10263 if (temp6
) delete arg6
;
10272 if (temp6
) delete arg6
;
10282 SWIGINTERN PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10283 PyObject
*resultobj
= 0;
10284 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10285 unsigned int arg2
;
10289 unsigned int val2
;
10291 PyObject
* obj0
= 0 ;
10292 PyObject
* obj1
= 0 ;
10293 char * kwnames
[] = {
10294 (char *) "self",(char *) "index", NULL
10297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10299 if (!SWIG_IsOK(res1
)) {
10300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10302 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10303 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10304 if (!SWIG_IsOK(ecode2
)) {
10305 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_IsChecked" "', expected argument " "2"" of type '" "unsigned int""'");
10307 arg2
= static_cast< unsigned int >(val2
);
10309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10310 result
= (bool)(arg1
)->IsChecked(arg2
);
10311 wxPyEndAllowThreads(__tstate
);
10312 if (PyErr_Occurred()) SWIG_fail
;
10315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10323 SWIGINTERN PyObject
*_wrap_CheckListBox_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10324 PyObject
*resultobj
= 0;
10325 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10326 unsigned int arg2
;
10327 int arg3
= (int) true ;
10330 unsigned int val2
;
10334 PyObject
* obj0
= 0 ;
10335 PyObject
* obj1
= 0 ;
10336 PyObject
* obj2
= 0 ;
10337 char * kwnames
[] = {
10338 (char *) "self",(char *) "index",(char *) "check", NULL
10341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10343 if (!SWIG_IsOK(res1
)) {
10344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10346 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10347 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10348 if (!SWIG_IsOK(ecode2
)) {
10349 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "unsigned int""'");
10351 arg2
= static_cast< unsigned int >(val2
);
10353 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10354 if (!SWIG_IsOK(ecode3
)) {
10355 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10357 arg3
= static_cast< int >(val3
);
10360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10361 (arg1
)->Check(arg2
,arg3
);
10362 wxPyEndAllowThreads(__tstate
);
10363 if (PyErr_Occurred()) SWIG_fail
;
10365 resultobj
= SWIG_Py_Void();
10372 SWIGINTERN PyObject
*CheckListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10374 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10375 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox
, SWIG_NewClientData(obj
));
10376 return SWIG_Py_Void();
10379 SWIGINTERN PyObject
*CheckListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10380 return SWIG_Python_InitShadowInstance(args
);
10383 SWIGINTERN
int TextCtrlNameStr_set(PyObject
*) {
10384 SWIG_Error(SWIG_AttributeError
,"Variable TextCtrlNameStr is read-only.");
10389 SWIGINTERN PyObject
*TextCtrlNameStr_get(void) {
10390 PyObject
*pyobj
= 0;
10394 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10396 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10403 SWIGINTERN PyObject
*_wrap_new_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10404 PyObject
*resultobj
= 0;
10405 wxColour
const &arg1_defvalue
= wxNullColour
;
10406 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
10407 wxColour
const &arg2_defvalue
= wxNullColour
;
10408 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
10409 wxFont
const &arg3_defvalue
= wxNullFont
;
10410 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
10411 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
10412 wxTextAttr
*result
= 0 ;
10419 PyObject
* obj0
= 0 ;
10420 PyObject
* obj1
= 0 ;
10421 PyObject
* obj2
= 0 ;
10422 PyObject
* obj3
= 0 ;
10423 char * kwnames
[] = {
10424 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10431 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
10437 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10441 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
10442 if (!SWIG_IsOK(res3
)) {
10443 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10446 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10448 arg3
= reinterpret_cast< wxFont
* >(argp3
);
10451 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10452 if (!SWIG_IsOK(ecode4
)) {
10453 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10455 arg4
= static_cast< wxTextAttrAlignment
>(val4
);
10458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10459 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,arg4
);
10460 wxPyEndAllowThreads(__tstate
);
10461 if (PyErr_Occurred()) SWIG_fail
;
10463 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_NEW
| 0 );
10470 SWIGINTERN PyObject
*_wrap_delete_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10471 PyObject
*resultobj
= 0;
10472 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10475 PyObject
*swig_obj
[1] ;
10477 if (!args
) SWIG_fail
;
10478 swig_obj
[0] = args
;
10479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_DISOWN
| 0 );
10480 if (!SWIG_IsOK(res1
)) {
10481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10483 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10488 wxPyEndAllowThreads(__tstate
);
10489 if (PyErr_Occurred()) SWIG_fail
;
10491 resultobj
= SWIG_Py_Void();
10498 SWIGINTERN PyObject
*_wrap_TextAttr_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10499 PyObject
*resultobj
= 0;
10500 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10503 PyObject
*swig_obj
[1] ;
10505 if (!args
) SWIG_fail
;
10506 swig_obj
[0] = args
;
10507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10508 if (!SWIG_IsOK(res1
)) {
10509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10511 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10515 wxPyEndAllowThreads(__tstate
);
10516 if (PyErr_Occurred()) SWIG_fail
;
10518 resultobj
= SWIG_Py_Void();
10525 SWIGINTERN PyObject
*_wrap_TextAttr_Merge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10526 PyObject
*resultobj
= 0;
10527 wxTextAttr
*arg1
= 0 ;
10528 wxTextAttr
*arg2
= 0 ;
10534 PyObject
* obj0
= 0 ;
10535 PyObject
* obj1
= 0 ;
10536 char * kwnames
[] = {
10537 (char *) "base",(char *) "overlay", NULL
10540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_Merge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10541 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10542 if (!SWIG_IsOK(res1
)) {
10543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10546 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10548 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10549 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10550 if (!SWIG_IsOK(res2
)) {
10551 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10554 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10556 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
10558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10559 result
= wxTextAttr::Merge((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
);
10560 wxPyEndAllowThreads(__tstate
);
10561 if (PyErr_Occurred()) SWIG_fail
;
10563 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
10570 SWIGINTERN PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10571 PyObject
*resultobj
= 0;
10572 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10573 wxColour
*arg2
= 0 ;
10577 PyObject
* obj0
= 0 ;
10578 PyObject
* obj1
= 0 ;
10579 char * kwnames
[] = {
10580 (char *) "self",(char *) "colText", NULL
10583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10585 if (!SWIG_IsOK(res1
)) {
10586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10588 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10591 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10595 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
10596 wxPyEndAllowThreads(__tstate
);
10597 if (PyErr_Occurred()) SWIG_fail
;
10599 resultobj
= SWIG_Py_Void();
10606 SWIGINTERN PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10607 PyObject
*resultobj
= 0;
10608 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10609 wxColour
*arg2
= 0 ;
10613 PyObject
* obj0
= 0 ;
10614 PyObject
* obj1
= 0 ;
10615 char * kwnames
[] = {
10616 (char *) "self",(char *) "colBack", NULL
10619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10621 if (!SWIG_IsOK(res1
)) {
10622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10624 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10627 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10631 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
10632 wxPyEndAllowThreads(__tstate
);
10633 if (PyErr_Occurred()) SWIG_fail
;
10635 resultobj
= SWIG_Py_Void();
10642 SWIGINTERN PyObject
*_wrap_TextAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10643 PyObject
*resultobj
= 0;
10644 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10646 long arg3
= (long) wxTEXT_ATTR_FONT
;
10653 PyObject
* obj0
= 0 ;
10654 PyObject
* obj1
= 0 ;
10655 PyObject
* obj2
= 0 ;
10656 char * kwnames
[] = {
10657 (char *) "self",(char *) "font",(char *) "flags", NULL
10660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10662 if (!SWIG_IsOK(res1
)) {
10663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10665 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10666 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
10667 if (!SWIG_IsOK(res2
)) {
10668 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10671 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10673 arg2
= reinterpret_cast< wxFont
* >(argp2
);
10675 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10676 if (!SWIG_IsOK(ecode3
)) {
10677 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10679 arg3
= static_cast< long >(val3
);
10682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10683 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
10684 wxPyEndAllowThreads(__tstate
);
10685 if (PyErr_Occurred()) SWIG_fail
;
10687 resultobj
= SWIG_Py_Void();
10694 SWIGINTERN PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10695 PyObject
*resultobj
= 0;
10696 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10697 wxTextAttrAlignment arg2
;
10702 PyObject
* obj0
= 0 ;
10703 PyObject
* obj1
= 0 ;
10704 char * kwnames
[] = {
10705 (char *) "self",(char *) "alignment", NULL
10708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10710 if (!SWIG_IsOK(res1
)) {
10711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10713 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10714 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10715 if (!SWIG_IsOK(ecode2
)) {
10716 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10718 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
10720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10721 (arg1
)->SetAlignment(arg2
);
10722 wxPyEndAllowThreads(__tstate
);
10723 if (PyErr_Occurred()) SWIG_fail
;
10725 resultobj
= SWIG_Py_Void();
10732 SWIGINTERN PyObject
*_wrap_TextAttr_SetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10733 PyObject
*resultobj
= 0;
10734 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10735 wxArrayInt
*arg2
= 0 ;
10738 bool temp2
= false ;
10739 PyObject
* obj0
= 0 ;
10740 PyObject
* obj1
= 0 ;
10741 char * kwnames
[] = {
10742 (char *) "self",(char *) "tabs", NULL
10745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10747 if (!SWIG_IsOK(res1
)) {
10748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10750 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10752 if (! PySequence_Check(obj1
)) {
10753 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10756 arg2
= new wxArrayInt
;
10758 int i
, len
=PySequence_Length(obj1
);
10759 for (i
=0; i
<len
; i
++) {
10760 PyObject
* item
= PySequence_GetItem(obj1
, i
);
10761 PyObject
* number
= PyNumber_Int(item
);
10763 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10766 arg2
->Add(PyInt_AS_LONG(number
));
10772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10773 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
10774 wxPyEndAllowThreads(__tstate
);
10775 if (PyErr_Occurred()) SWIG_fail
;
10777 resultobj
= SWIG_Py_Void();
10779 if (temp2
) delete arg2
;
10784 if (temp2
) delete arg2
;
10790 SWIGINTERN PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10791 PyObject
*resultobj
= 0;
10792 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10794 int arg3
= (int) 0 ;
10801 PyObject
* obj0
= 0 ;
10802 PyObject
* obj1
= 0 ;
10803 PyObject
* obj2
= 0 ;
10804 char * kwnames
[] = {
10805 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
10808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10810 if (!SWIG_IsOK(res1
)) {
10811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10813 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10814 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10815 if (!SWIG_IsOK(ecode2
)) {
10816 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
10818 arg2
= static_cast< int >(val2
);
10820 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10821 if (!SWIG_IsOK(ecode3
)) {
10822 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
10824 arg3
= static_cast< int >(val3
);
10827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10828 (arg1
)->SetLeftIndent(arg2
,arg3
);
10829 wxPyEndAllowThreads(__tstate
);
10830 if (PyErr_Occurred()) SWIG_fail
;
10832 resultobj
= SWIG_Py_Void();
10839 SWIGINTERN PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10840 PyObject
*resultobj
= 0;
10841 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10847 PyObject
* obj0
= 0 ;
10848 PyObject
* obj1
= 0 ;
10849 char * kwnames
[] = {
10850 (char *) "self",(char *) "indent", NULL
10853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10855 if (!SWIG_IsOK(res1
)) {
10856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10858 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10859 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10860 if (!SWIG_IsOK(ecode2
)) {
10861 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
10863 arg2
= static_cast< int >(val2
);
10865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10866 (arg1
)->SetRightIndent(arg2
);
10867 wxPyEndAllowThreads(__tstate
);
10868 if (PyErr_Occurred()) SWIG_fail
;
10870 resultobj
= SWIG_Py_Void();
10877 SWIGINTERN PyObject
*_wrap_TextAttr_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10878 PyObject
*resultobj
= 0;
10879 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10885 PyObject
* obj0
= 0 ;
10886 PyObject
* obj1
= 0 ;
10887 char * kwnames
[] = {
10888 (char *) "self",(char *) "flags", NULL
10891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10893 if (!SWIG_IsOK(res1
)) {
10894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10896 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10897 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10898 if (!SWIG_IsOK(ecode2
)) {
10899 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
10901 arg2
= static_cast< long >(val2
);
10903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10904 (arg1
)->SetFlags(arg2
);
10905 wxPyEndAllowThreads(__tstate
);
10906 if (PyErr_Occurred()) SWIG_fail
;
10908 resultobj
= SWIG_Py_Void();
10915 SWIGINTERN PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10916 PyObject
*resultobj
= 0;
10917 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10921 PyObject
*swig_obj
[1] ;
10923 if (!args
) SWIG_fail
;
10924 swig_obj
[0] = args
;
10925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10926 if (!SWIG_IsOK(res1
)) {
10927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10929 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10932 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
10933 wxPyEndAllowThreads(__tstate
);
10934 if (PyErr_Occurred()) SWIG_fail
;
10937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10945 SWIGINTERN PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10946 PyObject
*resultobj
= 0;
10947 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10951 PyObject
*swig_obj
[1] ;
10953 if (!args
) SWIG_fail
;
10954 swig_obj
[0] = args
;
10955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10956 if (!SWIG_IsOK(res1
)) {
10957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10959 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10962 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
10963 wxPyEndAllowThreads(__tstate
);
10964 if (PyErr_Occurred()) SWIG_fail
;
10967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10975 SWIGINTERN PyObject
*_wrap_TextAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10976 PyObject
*resultobj
= 0;
10977 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10981 PyObject
*swig_obj
[1] ;
10983 if (!args
) SWIG_fail
;
10984 swig_obj
[0] = args
;
10985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10986 if (!SWIG_IsOK(res1
)) {
10987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10989 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10992 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
10993 wxPyEndAllowThreads(__tstate
);
10994 if (PyErr_Occurred()) SWIG_fail
;
10997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11005 SWIGINTERN PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11006 PyObject
*resultobj
= 0;
11007 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11011 PyObject
*swig_obj
[1] ;
11013 if (!args
) SWIG_fail
;
11014 swig_obj
[0] = args
;
11015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11016 if (!SWIG_IsOK(res1
)) {
11017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11019 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11022 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
11023 wxPyEndAllowThreads(__tstate
);
11024 if (PyErr_Occurred()) SWIG_fail
;
11027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11035 SWIGINTERN PyObject
*_wrap_TextAttr_HasTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11036 PyObject
*resultobj
= 0;
11037 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11041 PyObject
*swig_obj
[1] ;
11043 if (!args
) SWIG_fail
;
11044 swig_obj
[0] = args
;
11045 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11046 if (!SWIG_IsOK(res1
)) {
11047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11049 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11052 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
11053 wxPyEndAllowThreads(__tstate
);
11054 if (PyErr_Occurred()) SWIG_fail
;
11057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11065 SWIGINTERN PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11066 PyObject
*resultobj
= 0;
11067 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11071 PyObject
*swig_obj
[1] ;
11073 if (!args
) SWIG_fail
;
11074 swig_obj
[0] = args
;
11075 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11076 if (!SWIG_IsOK(res1
)) {
11077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11079 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11082 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
11083 wxPyEndAllowThreads(__tstate
);
11084 if (PyErr_Occurred()) SWIG_fail
;
11087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11095 SWIGINTERN PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11096 PyObject
*resultobj
= 0;
11097 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11101 PyObject
*swig_obj
[1] ;
11103 if (!args
) SWIG_fail
;
11104 swig_obj
[0] = args
;
11105 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11106 if (!SWIG_IsOK(res1
)) {
11107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11109 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11112 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
11113 wxPyEndAllowThreads(__tstate
);
11114 if (PyErr_Occurred()) SWIG_fail
;
11117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11125 SWIGINTERN PyObject
*_wrap_TextAttr_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11126 PyObject
*resultobj
= 0;
11127 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11134 PyObject
* obj0
= 0 ;
11135 PyObject
* obj1
= 0 ;
11136 char * kwnames
[] = {
11137 (char *) "self",(char *) "flag", NULL
11140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11142 if (!SWIG_IsOK(res1
)) {
11143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11145 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11146 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11147 if (!SWIG_IsOK(ecode2
)) {
11148 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11150 arg2
= static_cast< long >(val2
);
11152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11153 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
11154 wxPyEndAllowThreads(__tstate
);
11155 if (PyErr_Occurred()) SWIG_fail
;
11158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11166 SWIGINTERN PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11167 PyObject
*resultobj
= 0;
11168 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11169 wxColour
*result
= 0 ;
11172 PyObject
*swig_obj
[1] ;
11174 if (!args
) SWIG_fail
;
11175 swig_obj
[0] = args
;
11176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11177 if (!SWIG_IsOK(res1
)) {
11178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11180 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11184 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
11185 result
= (wxColour
*) &_result_ref
;
11187 wxPyEndAllowThreads(__tstate
);
11188 if (PyErr_Occurred()) SWIG_fail
;
11190 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11197 SWIGINTERN PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11198 PyObject
*resultobj
= 0;
11199 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11200 wxColour
*result
= 0 ;
11203 PyObject
*swig_obj
[1] ;
11205 if (!args
) SWIG_fail
;
11206 swig_obj
[0] = args
;
11207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11208 if (!SWIG_IsOK(res1
)) {
11209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11211 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11215 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
11216 result
= (wxColour
*) &_result_ref
;
11218 wxPyEndAllowThreads(__tstate
);
11219 if (PyErr_Occurred()) SWIG_fail
;
11221 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11228 SWIGINTERN PyObject
*_wrap_TextAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11229 PyObject
*resultobj
= 0;
11230 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11231 wxFont
*result
= 0 ;
11234 PyObject
*swig_obj
[1] ;
11236 if (!args
) SWIG_fail
;
11237 swig_obj
[0] = args
;
11238 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11239 if (!SWIG_IsOK(res1
)) {
11240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11242 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11246 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
11247 result
= (wxFont
*) &_result_ref
;
11249 wxPyEndAllowThreads(__tstate
);
11250 if (PyErr_Occurred()) SWIG_fail
;
11253 wxFont
* resultptr
= new wxFont(*result
);
11254 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
11262 SWIGINTERN PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11263 PyObject
*resultobj
= 0;
11264 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11265 wxTextAttrAlignment result
;
11268 PyObject
*swig_obj
[1] ;
11270 if (!args
) SWIG_fail
;
11271 swig_obj
[0] = args
;
11272 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11273 if (!SWIG_IsOK(res1
)) {
11274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11276 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11279 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
11280 wxPyEndAllowThreads(__tstate
);
11281 if (PyErr_Occurred()) SWIG_fail
;
11283 resultobj
= SWIG_From_int(static_cast< int >(result
));
11290 SWIGINTERN PyObject
*_wrap_TextAttr_GetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11291 PyObject
*resultobj
= 0;
11292 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11293 wxArrayInt
*result
= 0 ;
11296 PyObject
*swig_obj
[1] ;
11298 if (!args
) SWIG_fail
;
11299 swig_obj
[0] = args
;
11300 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11301 if (!SWIG_IsOK(res1
)) {
11302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11304 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11308 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
11309 result
= (wxArrayInt
*) &_result_ref
;
11311 wxPyEndAllowThreads(__tstate
);
11312 if (PyErr_Occurred()) SWIG_fail
;
11315 resultobj
= wxArrayInt2PyList_helper(*result
);
11323 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11324 PyObject
*resultobj
= 0;
11325 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11329 PyObject
*swig_obj
[1] ;
11331 if (!args
) SWIG_fail
;
11332 swig_obj
[0] = args
;
11333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11334 if (!SWIG_IsOK(res1
)) {
11335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11337 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11340 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
11341 wxPyEndAllowThreads(__tstate
);
11342 if (PyErr_Occurred()) SWIG_fail
;
11344 resultobj
= SWIG_From_long(static_cast< long >(result
));
11351 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11352 PyObject
*resultobj
= 0;
11353 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11357 PyObject
*swig_obj
[1] ;
11359 if (!args
) SWIG_fail
;
11360 swig_obj
[0] = args
;
11361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11362 if (!SWIG_IsOK(res1
)) {
11363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11365 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11368 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
11369 wxPyEndAllowThreads(__tstate
);
11370 if (PyErr_Occurred()) SWIG_fail
;
11372 resultobj
= SWIG_From_long(static_cast< long >(result
));
11379 SWIGINTERN PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11380 PyObject
*resultobj
= 0;
11381 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11385 PyObject
*swig_obj
[1] ;
11387 if (!args
) SWIG_fail
;
11388 swig_obj
[0] = args
;
11389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11390 if (!SWIG_IsOK(res1
)) {
11391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11393 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11396 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
11397 wxPyEndAllowThreads(__tstate
);
11398 if (PyErr_Occurred()) SWIG_fail
;
11400 resultobj
= SWIG_From_long(static_cast< long >(result
));
11407 SWIGINTERN PyObject
*_wrap_TextAttr_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11408 PyObject
*resultobj
= 0;
11409 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11413 PyObject
*swig_obj
[1] ;
11415 if (!args
) SWIG_fail
;
11416 swig_obj
[0] = args
;
11417 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11418 if (!SWIG_IsOK(res1
)) {
11419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11421 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11424 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
11425 wxPyEndAllowThreads(__tstate
);
11426 if (PyErr_Occurred()) SWIG_fail
;
11428 resultobj
= SWIG_From_long(static_cast< long >(result
));
11435 SWIGINTERN PyObject
*_wrap_TextAttr_IsDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11436 PyObject
*resultobj
= 0;
11437 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11441 PyObject
*swig_obj
[1] ;
11443 if (!args
) SWIG_fail
;
11444 swig_obj
[0] = args
;
11445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11446 if (!SWIG_IsOK(res1
)) {
11447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11449 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11452 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
11453 wxPyEndAllowThreads(__tstate
);
11454 if (PyErr_Occurred()) SWIG_fail
;
11457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11465 SWIGINTERN PyObject
*_wrap_TextAttr_Combine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11466 PyObject
*resultobj
= 0;
11467 wxTextAttr
*arg1
= 0 ;
11468 wxTextAttr
*arg2
= 0 ;
11469 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
11477 PyObject
* obj0
= 0 ;
11478 PyObject
* obj1
= 0 ;
11479 PyObject
* obj2
= 0 ;
11480 char * kwnames
[] = {
11481 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11485 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11486 if (!SWIG_IsOK(res1
)) {
11487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11490 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11492 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11493 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11494 if (!SWIG_IsOK(res2
)) {
11495 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11498 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11500 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
11501 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11502 if (!SWIG_IsOK(res3
)) {
11503 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11505 arg3
= reinterpret_cast< wxTextCtrl
* >(argp3
);
11507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11508 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
11509 wxPyEndAllowThreads(__tstate
);
11510 if (PyErr_Occurred()) SWIG_fail
;
11512 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
11519 SWIGINTERN PyObject
*TextAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11521 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11522 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr
, SWIG_NewClientData(obj
));
11523 return SWIG_Py_Void();
11526 SWIGINTERN PyObject
*TextAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11527 return SWIG_Python_InitShadowInstance(args
);
11530 SWIGINTERN PyObject
*_wrap_new_TextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11531 PyObject
*resultobj
= 0;
11532 wxWindow
*arg1
= (wxWindow
*) 0 ;
11533 int arg2
= (int) -1 ;
11534 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11535 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11536 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11537 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11538 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11539 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11540 long arg6
= (long) 0 ;
11541 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11542 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11543 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
11544 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11545 wxTextCtrl
*result
= 0 ;
11550 bool temp3
= false ;
11557 bool temp8
= false ;
11558 PyObject
* obj0
= 0 ;
11559 PyObject
* obj1
= 0 ;
11560 PyObject
* obj2
= 0 ;
11561 PyObject
* obj3
= 0 ;
11562 PyObject
* obj4
= 0 ;
11563 PyObject
* obj5
= 0 ;
11564 PyObject
* obj6
= 0 ;
11565 PyObject
* obj7
= 0 ;
11566 char * kwnames
[] = {
11567 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
11571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11572 if (!SWIG_IsOK(res1
)) {
11573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11575 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11577 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11578 if (!SWIG_IsOK(ecode2
)) {
11579 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11581 arg2
= static_cast< int >(val2
);
11585 arg3
= wxString_in_helper(obj2
);
11586 if (arg3
== NULL
) SWIG_fail
;
11593 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11599 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11603 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11604 if (!SWIG_IsOK(ecode6
)) {
11605 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11607 arg6
= static_cast< long >(val6
);
11610 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
11611 if (!SWIG_IsOK(res7
)) {
11612 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11615 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11617 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
11621 arg8
= wxString_in_helper(obj7
);
11622 if (arg8
== NULL
) SWIG_fail
;
11627 if (!wxPyCheckForApp()) SWIG_fail
;
11628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11629 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11630 wxPyEndAllowThreads(__tstate
);
11631 if (PyErr_Occurred()) SWIG_fail
;
11633 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_NEW
| 0 );
11656 SWIGINTERN PyObject
*_wrap_new_PreTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11657 PyObject
*resultobj
= 0;
11658 wxTextCtrl
*result
= 0 ;
11660 if (!SWIG_Python_UnpackTuple(args
,"new_PreTextCtrl",0,0,0)) SWIG_fail
;
11662 if (!wxPyCheckForApp()) SWIG_fail
;
11663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11664 result
= (wxTextCtrl
*)new wxTextCtrl();
11665 wxPyEndAllowThreads(__tstate
);
11666 if (PyErr_Occurred()) SWIG_fail
;
11668 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_OWN
| 0 );
11675 SWIGINTERN PyObject
*_wrap_TextCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11676 PyObject
*resultobj
= 0;
11677 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11678 wxWindow
*arg2
= (wxWindow
*) 0 ;
11679 int arg3
= (int) -1 ;
11680 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11681 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11682 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11683 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11684 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11685 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11686 long arg7
= (long) 0 ;
11687 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11688 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11689 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
11690 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11698 bool temp4
= false ;
11705 bool temp9
= false ;
11706 PyObject
* obj0
= 0 ;
11707 PyObject
* obj1
= 0 ;
11708 PyObject
* obj2
= 0 ;
11709 PyObject
* obj3
= 0 ;
11710 PyObject
* obj4
= 0 ;
11711 PyObject
* obj5
= 0 ;
11712 PyObject
* obj6
= 0 ;
11713 PyObject
* obj7
= 0 ;
11714 PyObject
* obj8
= 0 ;
11715 char * kwnames
[] = {
11716 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
11720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11721 if (!SWIG_IsOK(res1
)) {
11722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11724 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11725 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11726 if (!SWIG_IsOK(res2
)) {
11727 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11729 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11731 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11732 if (!SWIG_IsOK(ecode3
)) {
11733 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11735 arg3
= static_cast< int >(val3
);
11739 arg4
= wxString_in_helper(obj3
);
11740 if (arg4
== NULL
) SWIG_fail
;
11747 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11753 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11757 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
11758 if (!SWIG_IsOK(ecode7
)) {
11759 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11761 arg7
= static_cast< long >(val7
);
11764 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
11765 if (!SWIG_IsOK(res8
)) {
11766 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11769 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11771 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
11775 arg9
= wxString_in_helper(obj8
);
11776 if (arg9
== NULL
) SWIG_fail
;
11781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11782 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11783 wxPyEndAllowThreads(__tstate
);
11784 if (PyErr_Occurred()) SWIG_fail
;
11787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11811 SWIGINTERN PyObject
*_wrap_TextCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11812 PyObject
*resultobj
= 0;
11813 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11817 PyObject
*swig_obj
[1] ;
11819 if (!args
) SWIG_fail
;
11820 swig_obj
[0] = args
;
11821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11822 if (!SWIG_IsOK(res1
)) {
11823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11825 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11828 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
11829 wxPyEndAllowThreads(__tstate
);
11830 if (PyErr_Occurred()) SWIG_fail
;
11834 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11836 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11845 SWIGINTERN PyObject
*_wrap_TextCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11846 PyObject
*resultobj
= 0;
11847 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11848 wxString
*arg2
= 0 ;
11851 bool temp2
= false ;
11852 PyObject
* obj0
= 0 ;
11853 PyObject
* obj1
= 0 ;
11854 char * kwnames
[] = {
11855 (char *) "self",(char *) "value", NULL
11858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11860 if (!SWIG_IsOK(res1
)) {
11861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11863 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11865 arg2
= wxString_in_helper(obj1
);
11866 if (arg2
== NULL
) SWIG_fail
;
11870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11871 (arg1
)->SetValue((wxString
const &)*arg2
);
11872 wxPyEndAllowThreads(__tstate
);
11873 if (PyErr_Occurred()) SWIG_fail
;
11875 resultobj
= SWIG_Py_Void();
11890 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11891 PyObject
*resultobj
= 0;
11892 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11896 PyObject
*swig_obj
[1] ;
11898 if (!args
) SWIG_fail
;
11899 swig_obj
[0] = args
;
11900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11901 if (!SWIG_IsOK(res1
)) {
11902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEmpty" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11904 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11907 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEmpty();
11908 wxPyEndAllowThreads(__tstate
);
11909 if (PyErr_Occurred()) SWIG_fail
;
11912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11920 SWIGINTERN PyObject
*_wrap_TextCtrl_ChangeValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11921 PyObject
*resultobj
= 0;
11922 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11923 wxString
*arg2
= 0 ;
11926 bool temp2
= false ;
11927 PyObject
* obj0
= 0 ;
11928 PyObject
* obj1
= 0 ;
11929 char * kwnames
[] = {
11930 (char *) "self",(char *) "value", NULL
11933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ChangeValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11935 if (!SWIG_IsOK(res1
)) {
11936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ChangeValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11938 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11940 arg2
= wxString_in_helper(obj1
);
11941 if (arg2
== NULL
) SWIG_fail
;
11945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11946 (arg1
)->ChangeValue((wxString
const &)*arg2
);
11947 wxPyEndAllowThreads(__tstate
);
11948 if (PyErr_Occurred()) SWIG_fail
;
11950 resultobj
= SWIG_Py_Void();
11965 SWIGINTERN PyObject
*_wrap_TextCtrl_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11966 PyObject
*resultobj
= 0;
11967 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11977 PyObject
* obj0
= 0 ;
11978 PyObject
* obj1
= 0 ;
11979 PyObject
* obj2
= 0 ;
11980 char * kwnames
[] = {
11981 (char *) "self",(char *) "from",(char *) "to", NULL
11984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11986 if (!SWIG_IsOK(res1
)) {
11987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11989 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11990 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11991 if (!SWIG_IsOK(ecode2
)) {
11992 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
11994 arg2
= static_cast< long >(val2
);
11995 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
11996 if (!SWIG_IsOK(ecode3
)) {
11997 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
11999 arg3
= static_cast< long >(val3
);
12001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12002 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
12003 wxPyEndAllowThreads(__tstate
);
12004 if (PyErr_Occurred()) SWIG_fail
;
12008 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12010 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12019 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12020 PyObject
*resultobj
= 0;
12021 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12028 PyObject
* obj0
= 0 ;
12029 PyObject
* obj1
= 0 ;
12030 char * kwnames
[] = {
12031 (char *) "self",(char *) "lineNo", NULL
12034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12036 if (!SWIG_IsOK(res1
)) {
12037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12039 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12040 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12041 if (!SWIG_IsOK(ecode2
)) {
12042 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
12044 arg2
= static_cast< long >(val2
);
12046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12047 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
12048 wxPyEndAllowThreads(__tstate
);
12049 if (PyErr_Occurred()) SWIG_fail
;
12051 resultobj
= SWIG_From_int(static_cast< int >(result
));
12058 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12059 PyObject
*resultobj
= 0;
12060 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12067 PyObject
* obj0
= 0 ;
12068 PyObject
* obj1
= 0 ;
12069 char * kwnames
[] = {
12070 (char *) "self",(char *) "lineNo", NULL
12073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12075 if (!SWIG_IsOK(res1
)) {
12076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12078 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12079 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12080 if (!SWIG_IsOK(ecode2
)) {
12081 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
12083 arg2
= static_cast< long >(val2
);
12085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12086 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
12087 wxPyEndAllowThreads(__tstate
);
12088 if (PyErr_Occurred()) SWIG_fail
;
12092 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12094 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12103 SWIGINTERN PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12104 PyObject
*resultobj
= 0;
12105 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12109 PyObject
*swig_obj
[1] ;
12111 if (!args
) SWIG_fail
;
12112 swig_obj
[0] = args
;
12113 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12114 if (!SWIG_IsOK(res1
)) {
12115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12117 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12120 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
12121 wxPyEndAllowThreads(__tstate
);
12122 if (PyErr_Occurred()) SWIG_fail
;
12124 resultobj
= SWIG_From_int(static_cast< int >(result
));
12131 SWIGINTERN PyObject
*_wrap_TextCtrl_IsModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12132 PyObject
*resultobj
= 0;
12133 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12137 PyObject
*swig_obj
[1] ;
12139 if (!args
) SWIG_fail
;
12140 swig_obj
[0] = args
;
12141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12142 if (!SWIG_IsOK(res1
)) {
12143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12145 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12148 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
12149 wxPyEndAllowThreads(__tstate
);
12150 if (PyErr_Occurred()) SWIG_fail
;
12153 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12161 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12162 PyObject
*resultobj
= 0;
12163 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12167 PyObject
*swig_obj
[1] ;
12169 if (!args
) SWIG_fail
;
12170 swig_obj
[0] = args
;
12171 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12172 if (!SWIG_IsOK(res1
)) {
12173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12175 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12178 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
12179 wxPyEndAllowThreads(__tstate
);
12180 if (PyErr_Occurred()) SWIG_fail
;
12183 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12191 SWIGINTERN PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12192 PyObject
*resultobj
= 0;
12193 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12197 PyObject
*swig_obj
[1] ;
12199 if (!args
) SWIG_fail
;
12200 swig_obj
[0] = args
;
12201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12202 if (!SWIG_IsOK(res1
)) {
12203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12205 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12208 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
12209 wxPyEndAllowThreads(__tstate
);
12210 if (PyErr_Occurred()) SWIG_fail
;
12213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12221 SWIGINTERN PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12222 PyObject
*resultobj
= 0;
12223 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12227 PyObject
*swig_obj
[1] ;
12229 if (!args
) SWIG_fail
;
12230 swig_obj
[0] = args
;
12231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12232 if (!SWIG_IsOK(res1
)) {
12233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12235 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12238 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
12239 wxPyEndAllowThreads(__tstate
);
12240 if (PyErr_Occurred()) SWIG_fail
;
12243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12251 SWIGINTERN PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12252 PyObject
*resultobj
= 0;
12253 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12254 long *arg2
= (long *) 0 ;
12255 long *arg3
= (long *) 0 ;
12259 int res2
= SWIG_TMPOBJ
;
12261 int res3
= SWIG_TMPOBJ
;
12262 PyObject
*swig_obj
[1] ;
12266 if (!args
) SWIG_fail
;
12267 swig_obj
[0] = args
;
12268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12269 if (!SWIG_IsOK(res1
)) {
12270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12272 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12275 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
12276 wxPyEndAllowThreads(__tstate
);
12277 if (PyErr_Occurred()) SWIG_fail
;
12279 resultobj
= SWIG_Py_Void();
12280 if (SWIG_IsTmpObj(res2
)) {
12281 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
12283 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12284 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
12286 if (SWIG_IsTmpObj(res3
)) {
12287 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
12289 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12290 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
12298 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12299 PyObject
*resultobj
= 0;
12300 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12304 PyObject
*swig_obj
[1] ;
12306 if (!args
) SWIG_fail
;
12307 swig_obj
[0] = args
;
12308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12309 if (!SWIG_IsOK(res1
)) {
12310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12312 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12315 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
12316 wxPyEndAllowThreads(__tstate
);
12317 if (PyErr_Occurred()) SWIG_fail
;
12321 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12323 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12332 SWIGINTERN PyObject
*_wrap_TextCtrl_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12333 PyObject
*resultobj
= 0;
12334 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12337 PyObject
*swig_obj
[1] ;
12339 if (!args
) SWIG_fail
;
12340 swig_obj
[0] = args
;
12341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12342 if (!SWIG_IsOK(res1
)) {
12343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12345 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12349 wxPyEndAllowThreads(__tstate
);
12350 if (PyErr_Occurred()) SWIG_fail
;
12352 resultobj
= SWIG_Py_Void();
12359 SWIGINTERN PyObject
*_wrap_TextCtrl_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12360 PyObject
*resultobj
= 0;
12361 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12364 wxString
*arg4
= 0 ;
12371 bool temp4
= false ;
12372 PyObject
* obj0
= 0 ;
12373 PyObject
* obj1
= 0 ;
12374 PyObject
* obj2
= 0 ;
12375 PyObject
* obj3
= 0 ;
12376 char * kwnames
[] = {
12377 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
12380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12382 if (!SWIG_IsOK(res1
)) {
12383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12385 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12386 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12387 if (!SWIG_IsOK(ecode2
)) {
12388 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12390 arg2
= static_cast< long >(val2
);
12391 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12392 if (!SWIG_IsOK(ecode3
)) {
12393 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12395 arg3
= static_cast< long >(val3
);
12397 arg4
= wxString_in_helper(obj3
);
12398 if (arg4
== NULL
) SWIG_fail
;
12402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12403 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
12404 wxPyEndAllowThreads(__tstate
);
12405 if (PyErr_Occurred()) SWIG_fail
;
12407 resultobj
= SWIG_Py_Void();
12422 SWIGINTERN PyObject
*_wrap_TextCtrl_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12423 PyObject
*resultobj
= 0;
12424 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12433 PyObject
* obj0
= 0 ;
12434 PyObject
* obj1
= 0 ;
12435 PyObject
* obj2
= 0 ;
12436 char * kwnames
[] = {
12437 (char *) "self",(char *) "from",(char *) "to", NULL
12440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12442 if (!SWIG_IsOK(res1
)) {
12443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12445 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12446 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12447 if (!SWIG_IsOK(ecode2
)) {
12448 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12450 arg2
= static_cast< long >(val2
);
12451 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12452 if (!SWIG_IsOK(ecode3
)) {
12453 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12455 arg3
= static_cast< long >(val3
);
12457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12458 (arg1
)->Remove(arg2
,arg3
);
12459 wxPyEndAllowThreads(__tstate
);
12460 if (PyErr_Occurred()) SWIG_fail
;
12462 resultobj
= SWIG_Py_Void();
12469 SWIGINTERN PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12470 PyObject
*resultobj
= 0;
12471 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12472 wxString
*arg2
= 0 ;
12473 int arg3
= (int) wxTEXT_TYPE_ANY
;
12477 bool temp2
= false ;
12480 PyObject
* obj0
= 0 ;
12481 PyObject
* obj1
= 0 ;
12482 PyObject
* obj2
= 0 ;
12483 char * kwnames
[] = {
12484 (char *) "self",(char *) "file",(char *) "fileType", NULL
12487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12489 if (!SWIG_IsOK(res1
)) {
12490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12492 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12494 arg2
= wxString_in_helper(obj1
);
12495 if (arg2
== NULL
) SWIG_fail
;
12499 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12500 if (!SWIG_IsOK(ecode3
)) {
12501 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_LoadFile" "', expected argument " "3"" of type '" "int""'");
12503 arg3
= static_cast< int >(val3
);
12506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12507 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
12508 wxPyEndAllowThreads(__tstate
);
12509 if (PyErr_Occurred()) SWIG_fail
;
12512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12528 SWIGINTERN PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12529 PyObject
*resultobj
= 0;
12530 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12531 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12532 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12533 int arg3
= (int) wxTEXT_TYPE_ANY
;
12537 bool temp2
= false ;
12540 PyObject
* obj0
= 0 ;
12541 PyObject
* obj1
= 0 ;
12542 PyObject
* obj2
= 0 ;
12543 char * kwnames
[] = {
12544 (char *) "self",(char *) "file",(char *) "fileType", NULL
12547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12549 if (!SWIG_IsOK(res1
)) {
12550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12552 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12555 arg2
= wxString_in_helper(obj1
);
12556 if (arg2
== NULL
) SWIG_fail
;
12561 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12562 if (!SWIG_IsOK(ecode3
)) {
12563 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SaveFile" "', expected argument " "3"" of type '" "int""'");
12565 arg3
= static_cast< int >(val3
);
12568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12569 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
12570 wxPyEndAllowThreads(__tstate
);
12571 if (PyErr_Occurred()) SWIG_fail
;
12574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12590 SWIGINTERN PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12591 PyObject
*resultobj
= 0;
12592 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12595 PyObject
*swig_obj
[1] ;
12597 if (!args
) SWIG_fail
;
12598 swig_obj
[0] = args
;
12599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12600 if (!SWIG_IsOK(res1
)) {
12601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12603 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12606 (arg1
)->MarkDirty();
12607 wxPyEndAllowThreads(__tstate
);
12608 if (PyErr_Occurred()) SWIG_fail
;
12610 resultobj
= SWIG_Py_Void();
12617 SWIGINTERN PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12618 PyObject
*resultobj
= 0;
12619 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12622 PyObject
*swig_obj
[1] ;
12624 if (!args
) SWIG_fail
;
12625 swig_obj
[0] = args
;
12626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12627 if (!SWIG_IsOK(res1
)) {
12628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12630 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12633 (arg1
)->DiscardEdits();
12634 wxPyEndAllowThreads(__tstate
);
12635 if (PyErr_Occurred()) SWIG_fail
;
12637 resultobj
= SWIG_Py_Void();
12644 SWIGINTERN PyObject
*_wrap_TextCtrl_SetModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12645 PyObject
*resultobj
= 0;
12646 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12652 PyObject
* obj0
= 0 ;
12653 PyObject
* obj1
= 0 ;
12654 char * kwnames
[] = {
12655 (char *) "self",(char *) "modified", NULL
12658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetModified",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12660 if (!SWIG_IsOK(res1
)) {
12661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetModified" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12663 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12664 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12665 if (!SWIG_IsOK(ecode2
)) {
12666 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetModified" "', expected argument " "2"" of type '" "bool""'");
12668 arg2
= static_cast< bool >(val2
);
12670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12671 (arg1
)->SetModified(arg2
);
12672 wxPyEndAllowThreads(__tstate
);
12673 if (PyErr_Occurred()) SWIG_fail
;
12675 resultobj
= SWIG_Py_Void();
12682 SWIGINTERN PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12683 PyObject
*resultobj
= 0;
12684 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12685 unsigned long arg2
;
12688 unsigned long val2
;
12690 PyObject
* obj0
= 0 ;
12691 PyObject
* obj1
= 0 ;
12692 char * kwnames
[] = {
12693 (char *) "self",(char *) "len", NULL
12696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12698 if (!SWIG_IsOK(res1
)) {
12699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12701 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12702 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
12703 if (!SWIG_IsOK(ecode2
)) {
12704 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12706 arg2
= static_cast< unsigned long >(val2
);
12708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12709 (arg1
)->SetMaxLength(arg2
);
12710 wxPyEndAllowThreads(__tstate
);
12711 if (PyErr_Occurred()) SWIG_fail
;
12713 resultobj
= SWIG_Py_Void();
12720 SWIGINTERN PyObject
*_wrap_TextCtrl_WriteText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12721 PyObject
*resultobj
= 0;
12722 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12723 wxString
*arg2
= 0 ;
12726 bool temp2
= false ;
12727 PyObject
* obj0
= 0 ;
12728 PyObject
* obj1
= 0 ;
12729 char * kwnames
[] = {
12730 (char *) "self",(char *) "text", NULL
12733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12735 if (!SWIG_IsOK(res1
)) {
12736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12738 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12740 arg2
= wxString_in_helper(obj1
);
12741 if (arg2
== NULL
) SWIG_fail
;
12745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12746 (arg1
)->WriteText((wxString
const &)*arg2
);
12747 wxPyEndAllowThreads(__tstate
);
12748 if (PyErr_Occurred()) SWIG_fail
;
12750 resultobj
= SWIG_Py_Void();
12765 SWIGINTERN PyObject
*_wrap_TextCtrl_AppendText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12766 PyObject
*resultobj
= 0;
12767 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12768 wxString
*arg2
= 0 ;
12771 bool temp2
= false ;
12772 PyObject
* obj0
= 0 ;
12773 PyObject
* obj1
= 0 ;
12774 char * kwnames
[] = {
12775 (char *) "self",(char *) "text", NULL
12778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12780 if (!SWIG_IsOK(res1
)) {
12781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12783 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12785 arg2
= wxString_in_helper(obj1
);
12786 if (arg2
== NULL
) SWIG_fail
;
12790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12791 (arg1
)->AppendText((wxString
const &)*arg2
);
12792 wxPyEndAllowThreads(__tstate
);
12793 if (PyErr_Occurred()) SWIG_fail
;
12795 resultobj
= SWIG_Py_Void();
12810 SWIGINTERN PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12811 PyObject
*resultobj
= 0;
12812 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12813 wxKeyEvent
*arg2
= 0 ;
12819 PyObject
* obj0
= 0 ;
12820 PyObject
* obj1
= 0 ;
12821 char * kwnames
[] = {
12822 (char *) "self",(char *) "event", NULL
12825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12827 if (!SWIG_IsOK(res1
)) {
12828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12830 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12831 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
12832 if (!SWIG_IsOK(res2
)) {
12833 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12836 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12838 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
12840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12841 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
12842 wxPyEndAllowThreads(__tstate
);
12843 if (PyErr_Occurred()) SWIG_fail
;
12846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12854 SWIGINTERN PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12855 PyObject
*resultobj
= 0;
12856 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12859 wxTextAttr
*arg4
= 0 ;
12869 PyObject
* obj0
= 0 ;
12870 PyObject
* obj1
= 0 ;
12871 PyObject
* obj2
= 0 ;
12872 PyObject
* obj3
= 0 ;
12873 char * kwnames
[] = {
12874 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
12877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12879 if (!SWIG_IsOK(res1
)) {
12880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12882 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12883 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12884 if (!SWIG_IsOK(ecode2
)) {
12885 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
12887 arg2
= static_cast< long >(val2
);
12888 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12889 if (!SWIG_IsOK(ecode3
)) {
12890 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
12892 arg3
= static_cast< long >(val3
);
12893 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12894 if (!SWIG_IsOK(res4
)) {
12895 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12898 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12900 arg4
= reinterpret_cast< wxTextAttr
* >(argp4
);
12902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12903 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
12904 wxPyEndAllowThreads(__tstate
);
12905 if (PyErr_Occurred()) SWIG_fail
;
12908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12916 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12917 PyObject
*resultobj
= 0;
12918 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12920 wxTextAttr
*arg3
= 0 ;
12928 PyObject
* obj0
= 0 ;
12929 PyObject
* obj1
= 0 ;
12930 PyObject
* obj2
= 0 ;
12931 char * kwnames
[] = {
12932 (char *) "self",(char *) "position",(char *) "style", NULL
12935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12937 if (!SWIG_IsOK(res1
)) {
12938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12940 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12941 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12942 if (!SWIG_IsOK(ecode2
)) {
12943 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
12945 arg2
= static_cast< long >(val2
);
12946 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTextAttr
, 0 );
12947 if (!SWIG_IsOK(res3
)) {
12948 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12951 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12953 arg3
= reinterpret_cast< wxTextAttr
* >(argp3
);
12955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12956 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
12957 wxPyEndAllowThreads(__tstate
);
12958 if (PyErr_Occurred()) SWIG_fail
;
12961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12969 SWIGINTERN PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12970 PyObject
*resultobj
= 0;
12971 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12972 wxTextAttr
*arg2
= 0 ;
12978 PyObject
* obj0
= 0 ;
12979 PyObject
* obj1
= 0 ;
12980 char * kwnames
[] = {
12981 (char *) "self",(char *) "style", NULL
12984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12986 if (!SWIG_IsOK(res1
)) {
12987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12989 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12990 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12991 if (!SWIG_IsOK(res2
)) {
12992 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12995 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12997 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
12999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13000 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
13001 wxPyEndAllowThreads(__tstate
);
13002 if (PyErr_Occurred()) SWIG_fail
;
13005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13013 SWIGINTERN PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13014 PyObject
*resultobj
= 0;
13015 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13016 wxTextAttr
*result
= 0 ;
13019 PyObject
*swig_obj
[1] ;
13021 if (!args
) SWIG_fail
;
13022 swig_obj
[0] = args
;
13023 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13024 if (!SWIG_IsOK(res1
)) {
13025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13027 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13031 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
13032 result
= (wxTextAttr
*) &_result_ref
;
13034 wxPyEndAllowThreads(__tstate
);
13035 if (PyErr_Occurred()) SWIG_fail
;
13037 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, 0 | 0 );
13044 SWIGINTERN PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13045 PyObject
*resultobj
= 0;
13046 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13056 PyObject
* obj0
= 0 ;
13057 PyObject
* obj1
= 0 ;
13058 PyObject
* obj2
= 0 ;
13059 char * kwnames
[] = {
13060 (char *) "self",(char *) "x",(char *) "y", NULL
13063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) 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_XYToPosition" "', 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_XYToPosition" "', expected argument " "2"" of type '" "long""'");
13073 arg2
= static_cast< long >(val2
);
13074 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13075 if (!SWIG_IsOK(ecode3
)) {
13076 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
13078 arg3
= static_cast< long >(val3
);
13080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13081 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
13082 wxPyEndAllowThreads(__tstate
);
13083 if (PyErr_Occurred()) SWIG_fail
;
13085 resultobj
= SWIG_From_long(static_cast< long >(result
));
13092 SWIGINTERN PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13093 PyObject
*resultobj
= 0;
13094 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13096 long *arg3
= (long *) 0 ;
13097 long *arg4
= (long *) 0 ;
13103 int res3
= SWIG_TMPOBJ
;
13105 int res4
= SWIG_TMPOBJ
;
13106 PyObject
* obj0
= 0 ;
13107 PyObject
* obj1
= 0 ;
13108 char * kwnames
[] = {
13109 (char *) "self",(char *) "pos", NULL
13114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13116 if (!SWIG_IsOK(res1
)) {
13117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13119 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13120 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13121 if (!SWIG_IsOK(ecode2
)) {
13122 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
13124 arg2
= static_cast< long >(val2
);
13126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13127 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
13128 wxPyEndAllowThreads(__tstate
);
13129 if (PyErr_Occurred()) SWIG_fail
;
13131 resultobj
= SWIG_Py_Void();
13132 if (SWIG_IsTmpObj(res3
)) {
13133 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13135 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13136 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13138 if (SWIG_IsTmpObj(res4
)) {
13139 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13141 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13142 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13150 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13151 PyObject
*resultobj
= 0;
13152 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13158 PyObject
* obj0
= 0 ;
13159 PyObject
* obj1
= 0 ;
13160 char * kwnames
[] = {
13161 (char *) "self",(char *) "pos", NULL
13164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13166 if (!SWIG_IsOK(res1
)) {
13167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13169 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13170 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13171 if (!SWIG_IsOK(ecode2
)) {
13172 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
13174 arg2
= static_cast< long >(val2
);
13176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13177 (arg1
)->ShowPosition(arg2
);
13178 wxPyEndAllowThreads(__tstate
);
13179 if (PyErr_Occurred()) SWIG_fail
;
13181 resultobj
= SWIG_Py_Void();
13188 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13189 PyObject
*resultobj
= 0;
13190 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13191 wxPoint
*arg2
= 0 ;
13192 long *arg3
= (long *) 0 ;
13193 long *arg4
= (long *) 0 ;
13194 wxTextCtrlHitTestResult result
;
13199 int res3
= SWIG_TMPOBJ
;
13201 int res4
= SWIG_TMPOBJ
;
13202 PyObject
* obj0
= 0 ;
13203 PyObject
* obj1
= 0 ;
13204 char * kwnames
[] = {
13205 (char *) "self",(char *) "pt", NULL
13210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13212 if (!SWIG_IsOK(res1
)) {
13213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13215 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13218 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13222 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
13223 wxPyEndAllowThreads(__tstate
);
13224 if (PyErr_Occurred()) SWIG_fail
;
13226 resultobj
= SWIG_From_int(static_cast< int >(result
));
13227 if (SWIG_IsTmpObj(res3
)) {
13228 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13230 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13231 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13233 if (SWIG_IsTmpObj(res4
)) {
13234 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13236 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13237 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13245 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13246 PyObject
*resultobj
= 0;
13247 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13248 wxPoint
*arg2
= 0 ;
13249 long *arg3
= (long *) 0 ;
13250 wxTextCtrlHitTestResult result
;
13255 int res3
= SWIG_TMPOBJ
;
13256 PyObject
* obj0
= 0 ;
13257 PyObject
* obj1
= 0 ;
13258 char * kwnames
[] = {
13259 (char *) "self",(char *) "pt", NULL
13263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13265 if (!SWIG_IsOK(res1
)) {
13266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13268 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13271 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13275 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
13276 wxPyEndAllowThreads(__tstate
);
13277 if (PyErr_Occurred()) SWIG_fail
;
13279 resultobj
= SWIG_From_int(static_cast< int >(result
));
13280 if (SWIG_IsTmpObj(res3
)) {
13281 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13283 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13284 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13292 SWIGINTERN PyObject
*_wrap_TextCtrl_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13293 PyObject
*resultobj
= 0;
13294 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13297 PyObject
*swig_obj
[1] ;
13299 if (!args
) SWIG_fail
;
13300 swig_obj
[0] = args
;
13301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13302 if (!SWIG_IsOK(res1
)) {
13303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13305 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13309 wxPyEndAllowThreads(__tstate
);
13310 if (PyErr_Occurred()) SWIG_fail
;
13312 resultobj
= SWIG_Py_Void();
13319 SWIGINTERN PyObject
*_wrap_TextCtrl_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13320 PyObject
*resultobj
= 0;
13321 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13324 PyObject
*swig_obj
[1] ;
13326 if (!args
) SWIG_fail
;
13327 swig_obj
[0] = args
;
13328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13329 if (!SWIG_IsOK(res1
)) {
13330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13332 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13336 wxPyEndAllowThreads(__tstate
);
13337 if (PyErr_Occurred()) SWIG_fail
;
13339 resultobj
= SWIG_Py_Void();
13346 SWIGINTERN PyObject
*_wrap_TextCtrl_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13347 PyObject
*resultobj
= 0;
13348 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13351 PyObject
*swig_obj
[1] ;
13353 if (!args
) SWIG_fail
;
13354 swig_obj
[0] = args
;
13355 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13356 if (!SWIG_IsOK(res1
)) {
13357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13359 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13363 wxPyEndAllowThreads(__tstate
);
13364 if (PyErr_Occurred()) SWIG_fail
;
13366 resultobj
= SWIG_Py_Void();
13373 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13374 PyObject
*resultobj
= 0;
13375 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13379 PyObject
*swig_obj
[1] ;
13381 if (!args
) SWIG_fail
;
13382 swig_obj
[0] = args
;
13383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13384 if (!SWIG_IsOK(res1
)) {
13385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13387 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13390 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
13391 wxPyEndAllowThreads(__tstate
);
13392 if (PyErr_Occurred()) SWIG_fail
;
13395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13403 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13404 PyObject
*resultobj
= 0;
13405 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13409 PyObject
*swig_obj
[1] ;
13411 if (!args
) SWIG_fail
;
13412 swig_obj
[0] = args
;
13413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13414 if (!SWIG_IsOK(res1
)) {
13415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13417 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13420 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
13421 wxPyEndAllowThreads(__tstate
);
13422 if (PyErr_Occurred()) SWIG_fail
;
13425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13433 SWIGINTERN PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13434 PyObject
*resultobj
= 0;
13435 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13439 PyObject
*swig_obj
[1] ;
13441 if (!args
) SWIG_fail
;
13442 swig_obj
[0] = args
;
13443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13444 if (!SWIG_IsOK(res1
)) {
13445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13447 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13450 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
13451 wxPyEndAllowThreads(__tstate
);
13452 if (PyErr_Occurred()) SWIG_fail
;
13455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13463 SWIGINTERN PyObject
*_wrap_TextCtrl_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13464 PyObject
*resultobj
= 0;
13465 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13468 PyObject
*swig_obj
[1] ;
13470 if (!args
) SWIG_fail
;
13471 swig_obj
[0] = args
;
13472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13473 if (!SWIG_IsOK(res1
)) {
13474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13476 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13480 wxPyEndAllowThreads(__tstate
);
13481 if (PyErr_Occurred()) SWIG_fail
;
13483 resultobj
= SWIG_Py_Void();
13490 SWIGINTERN PyObject
*_wrap_TextCtrl_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13491 PyObject
*resultobj
= 0;
13492 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13495 PyObject
*swig_obj
[1] ;
13497 if (!args
) SWIG_fail
;
13498 swig_obj
[0] = args
;
13499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13500 if (!SWIG_IsOK(res1
)) {
13501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13503 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13507 wxPyEndAllowThreads(__tstate
);
13508 if (PyErr_Occurred()) SWIG_fail
;
13510 resultobj
= SWIG_Py_Void();
13517 SWIGINTERN PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13518 PyObject
*resultobj
= 0;
13519 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13523 PyObject
*swig_obj
[1] ;
13525 if (!args
) SWIG_fail
;
13526 swig_obj
[0] = args
;
13527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13528 if (!SWIG_IsOK(res1
)) {
13529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13531 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13534 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
13535 wxPyEndAllowThreads(__tstate
);
13536 if (PyErr_Occurred()) SWIG_fail
;
13539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13547 SWIGINTERN PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13548 PyObject
*resultobj
= 0;
13549 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13553 PyObject
*swig_obj
[1] ;
13555 if (!args
) SWIG_fail
;
13556 swig_obj
[0] = args
;
13557 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13558 if (!SWIG_IsOK(res1
)) {
13559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13561 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13564 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
13565 wxPyEndAllowThreads(__tstate
);
13566 if (PyErr_Occurred()) SWIG_fail
;
13569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13577 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13578 PyObject
*resultobj
= 0;
13579 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13585 PyObject
* obj0
= 0 ;
13586 PyObject
* obj1
= 0 ;
13587 char * kwnames
[] = {
13588 (char *) "self",(char *) "pos", NULL
13591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13593 if (!SWIG_IsOK(res1
)) {
13594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13596 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13597 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13598 if (!SWIG_IsOK(ecode2
)) {
13599 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13601 arg2
= static_cast< long >(val2
);
13603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13604 (arg1
)->SetInsertionPoint(arg2
);
13605 wxPyEndAllowThreads(__tstate
);
13606 if (PyErr_Occurred()) SWIG_fail
;
13608 resultobj
= SWIG_Py_Void();
13615 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13616 PyObject
*resultobj
= 0;
13617 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13620 PyObject
*swig_obj
[1] ;
13622 if (!args
) SWIG_fail
;
13623 swig_obj
[0] = args
;
13624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13625 if (!SWIG_IsOK(res1
)) {
13626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13628 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13631 (arg1
)->SetInsertionPointEnd();
13632 wxPyEndAllowThreads(__tstate
);
13633 if (PyErr_Occurred()) SWIG_fail
;
13635 resultobj
= SWIG_Py_Void();
13642 SWIGINTERN PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13643 PyObject
*resultobj
= 0;
13644 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13648 PyObject
*swig_obj
[1] ;
13650 if (!args
) SWIG_fail
;
13651 swig_obj
[0] = args
;
13652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13653 if (!SWIG_IsOK(res1
)) {
13654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13656 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13659 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
13660 wxPyEndAllowThreads(__tstate
);
13661 if (PyErr_Occurred()) SWIG_fail
;
13663 resultobj
= SWIG_From_long(static_cast< long >(result
));
13670 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13671 PyObject
*resultobj
= 0;
13672 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13676 PyObject
*swig_obj
[1] ;
13678 if (!args
) SWIG_fail
;
13679 swig_obj
[0] = args
;
13680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13681 if (!SWIG_IsOK(res1
)) {
13682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13684 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13687 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
13688 wxPyEndAllowThreads(__tstate
);
13689 if (PyErr_Occurred()) SWIG_fail
;
13691 resultobj
= SWIG_From_long(static_cast< long >(result
));
13698 SWIGINTERN PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13699 PyObject
*resultobj
= 0;
13700 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13709 PyObject
* obj0
= 0 ;
13710 PyObject
* obj1
= 0 ;
13711 PyObject
* obj2
= 0 ;
13712 char * kwnames
[] = {
13713 (char *) "self",(char *) "from",(char *) "to", NULL
13716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13718 if (!SWIG_IsOK(res1
)) {
13719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13721 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13722 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13723 if (!SWIG_IsOK(ecode2
)) {
13724 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13726 arg2
= static_cast< long >(val2
);
13727 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13728 if (!SWIG_IsOK(ecode3
)) {
13729 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13731 arg3
= static_cast< long >(val3
);
13733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13734 (arg1
)->SetSelection(arg2
,arg3
);
13735 wxPyEndAllowThreads(__tstate
);
13736 if (PyErr_Occurred()) SWIG_fail
;
13738 resultobj
= SWIG_Py_Void();
13745 SWIGINTERN PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13746 PyObject
*resultobj
= 0;
13747 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13750 PyObject
*swig_obj
[1] ;
13752 if (!args
) SWIG_fail
;
13753 swig_obj
[0] = args
;
13754 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13755 if (!SWIG_IsOK(res1
)) {
13756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13758 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13761 (arg1
)->SelectAll();
13762 wxPyEndAllowThreads(__tstate
);
13763 if (PyErr_Occurred()) SWIG_fail
;
13765 resultobj
= SWIG_Py_Void();
13772 SWIGINTERN PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13773 PyObject
*resultobj
= 0;
13774 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13780 PyObject
* obj0
= 0 ;
13781 PyObject
* obj1
= 0 ;
13782 char * kwnames
[] = {
13783 (char *) "self",(char *) "editable", NULL
13786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13788 if (!SWIG_IsOK(res1
)) {
13789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13791 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13792 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13793 if (!SWIG_IsOK(ecode2
)) {
13794 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
13796 arg2
= static_cast< bool >(val2
);
13798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13799 (arg1
)->SetEditable(arg2
);
13800 wxPyEndAllowThreads(__tstate
);
13801 if (PyErr_Occurred()) SWIG_fail
;
13803 resultobj
= SWIG_Py_Void();
13810 SWIGINTERN PyObject
*_wrap_TextCtrl_SendTextUpdatedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13811 PyObject
*resultobj
= 0;
13812 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13815 PyObject
*swig_obj
[1] ;
13817 if (!args
) SWIG_fail
;
13818 swig_obj
[0] = args
;
13819 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13820 if (!SWIG_IsOK(res1
)) {
13821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SendTextUpdatedEvent" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13823 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13826 (arg1
)->SendTextUpdatedEvent();
13827 wxPyEndAllowThreads(__tstate
);
13828 if (PyErr_Occurred()) SWIG_fail
;
13830 resultobj
= SWIG_Py_Void();
13837 SWIGINTERN PyObject
*_wrap_TextCtrl_write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13838 PyObject
*resultobj
= 0;
13839 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13840 wxString
*arg2
= 0 ;
13843 bool temp2
= false ;
13844 PyObject
* obj0
= 0 ;
13845 PyObject
* obj1
= 0 ;
13846 char * kwnames
[] = {
13847 (char *) "self",(char *) "text", NULL
13850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13852 if (!SWIG_IsOK(res1
)) {
13853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13855 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13857 arg2
= wxString_in_helper(obj1
);
13858 if (arg2
== NULL
) SWIG_fail
;
13862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13863 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
13864 wxPyEndAllowThreads(__tstate
);
13865 if (PyErr_Occurred()) SWIG_fail
;
13867 resultobj
= SWIG_Py_Void();
13882 SWIGINTERN PyObject
*_wrap_TextCtrl_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13883 PyObject
*resultobj
= 0;
13884 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13894 PyObject
* obj0
= 0 ;
13895 PyObject
* obj1
= 0 ;
13896 PyObject
* obj2
= 0 ;
13897 char * kwnames
[] = {
13898 (char *) "self",(char *) "from",(char *) "to", NULL
13901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13903 if (!SWIG_IsOK(res1
)) {
13904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13906 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13907 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13908 if (!SWIG_IsOK(ecode2
)) {
13909 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
13911 arg2
= static_cast< long >(val2
);
13912 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13913 if (!SWIG_IsOK(ecode3
)) {
13914 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
13916 arg3
= static_cast< long >(val3
);
13918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13919 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
13920 wxPyEndAllowThreads(__tstate
);
13921 if (PyErr_Occurred()) SWIG_fail
;
13925 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13927 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13936 SWIGINTERN PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13937 PyObject
*resultobj
= 0;
13938 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13939 SwigValueWrapper
<wxVisualAttributes
> result
;
13942 PyObject
* obj0
= 0 ;
13943 char * kwnames
[] = {
13944 (char *) "variant", NULL
13947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
13949 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13950 if (!SWIG_IsOK(ecode1
)) {
13951 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
13953 arg1
= static_cast< wxWindowVariant
>(val1
);
13956 if (!wxPyCheckForApp()) SWIG_fail
;
13957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13958 result
= wxTextCtrl::GetClassDefaultAttributes(arg1
);
13959 wxPyEndAllowThreads(__tstate
);
13960 if (PyErr_Occurred()) SWIG_fail
;
13962 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
13969 SWIGINTERN PyObject
*TextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13971 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13972 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl
, SWIG_NewClientData(obj
));
13973 return SWIG_Py_Void();
13976 SWIGINTERN PyObject
*TextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13977 return SWIG_Python_InitShadowInstance(args
);
13980 SWIGINTERN PyObject
*_wrap_new_TextUrlEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13981 PyObject
*resultobj
= 0;
13983 wxMouseEvent
*arg2
= 0 ;
13986 wxTextUrlEvent
*result
= 0 ;
13995 PyObject
* obj0
= 0 ;
13996 PyObject
* obj1
= 0 ;
13997 PyObject
* obj2
= 0 ;
13998 PyObject
* obj3
= 0 ;
13999 char * kwnames
[] = {
14000 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
14003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14004 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14005 if (!SWIG_IsOK(ecode1
)) {
14006 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
14008 arg1
= static_cast< int >(val1
);
14009 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
14010 if (!SWIG_IsOK(res2
)) {
14011 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14014 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14016 arg2
= reinterpret_cast< wxMouseEvent
* >(argp2
);
14017 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
14018 if (!SWIG_IsOK(ecode3
)) {
14019 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
14021 arg3
= static_cast< long >(val3
);
14022 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
14023 if (!SWIG_IsOK(ecode4
)) {
14024 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
14026 arg4
= static_cast< long >(val4
);
14028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14029 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
14030 wxPyEndAllowThreads(__tstate
);
14031 if (PyErr_Occurred()) SWIG_fail
;
14033 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_NEW
| 0 );
14040 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14041 PyObject
*resultobj
= 0;
14042 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14043 wxMouseEvent
*result
= 0 ;
14046 PyObject
*swig_obj
[1] ;
14048 if (!args
) SWIG_fail
;
14049 swig_obj
[0] = args
;
14050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14051 if (!SWIG_IsOK(res1
)) {
14052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
14054 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14058 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
14059 result
= (wxMouseEvent
*) &_result_ref
;
14061 wxPyEndAllowThreads(__tstate
);
14062 if (PyErr_Occurred()) SWIG_fail
;
14064 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
14071 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14072 PyObject
*resultobj
= 0;
14073 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14077 PyObject
*swig_obj
[1] ;
14079 if (!args
) SWIG_fail
;
14080 swig_obj
[0] = args
;
14081 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14082 if (!SWIG_IsOK(res1
)) {
14083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14085 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14088 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
14089 wxPyEndAllowThreads(__tstate
);
14090 if (PyErr_Occurred()) SWIG_fail
;
14092 resultobj
= SWIG_From_long(static_cast< long >(result
));
14099 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14100 PyObject
*resultobj
= 0;
14101 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14105 PyObject
*swig_obj
[1] ;
14107 if (!args
) SWIG_fail
;
14108 swig_obj
[0] = args
;
14109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14110 if (!SWIG_IsOK(res1
)) {
14111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14113 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14116 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
14117 wxPyEndAllowThreads(__tstate
);
14118 if (PyErr_Occurred()) SWIG_fail
;
14120 resultobj
= SWIG_From_long(static_cast< long >(result
));
14127 SWIGINTERN PyObject
*TextUrlEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14129 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14130 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent
, SWIG_NewClientData(obj
));
14131 return SWIG_Py_Void();
14134 SWIGINTERN PyObject
*TextUrlEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14135 return SWIG_Python_InitShadowInstance(args
);
14138 SWIGINTERN
int ScrollBarNameStr_set(PyObject
*) {
14139 SWIG_Error(SWIG_AttributeError
,"Variable ScrollBarNameStr is read-only.");
14144 SWIGINTERN PyObject
*ScrollBarNameStr_get(void) {
14145 PyObject
*pyobj
= 0;
14149 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14151 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14158 SWIGINTERN PyObject
*_wrap_new_ScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14159 PyObject
*resultobj
= 0;
14160 wxWindow
*arg1
= (wxWindow
*) 0 ;
14161 int arg2
= (int) -1 ;
14162 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14163 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14164 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14165 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14166 long arg5
= (long) wxSB_HORIZONTAL
;
14167 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
14168 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
14169 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
14170 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14171 wxScrollBar
*result
= 0 ;
14182 bool temp7
= false ;
14183 PyObject
* obj0
= 0 ;
14184 PyObject
* obj1
= 0 ;
14185 PyObject
* obj2
= 0 ;
14186 PyObject
* obj3
= 0 ;
14187 PyObject
* obj4
= 0 ;
14188 PyObject
* obj5
= 0 ;
14189 PyObject
* obj6
= 0 ;
14190 char * kwnames
[] = {
14191 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14196 if (!SWIG_IsOK(res1
)) {
14197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
14199 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14201 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14202 if (!SWIG_IsOK(ecode2
)) {
14203 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
14205 arg2
= static_cast< int >(val2
);
14210 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14216 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14220 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14221 if (!SWIG_IsOK(ecode5
)) {
14222 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14224 arg5
= static_cast< long >(val5
);
14227 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
14228 if (!SWIG_IsOK(res6
)) {
14229 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14232 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14234 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
14238 arg7
= wxString_in_helper(obj6
);
14239 if (arg7
== NULL
) SWIG_fail
;
14244 if (!wxPyCheckForApp()) SWIG_fail
;
14245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14246 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
14247 wxPyEndAllowThreads(__tstate
);
14248 if (PyErr_Occurred()) SWIG_fail
;
14250 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_NEW
| 0 );
14265 SWIGINTERN PyObject
*_wrap_new_PreScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14266 PyObject
*resultobj
= 0;
14267 wxScrollBar
*result
= 0 ;
14269 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrollBar",0,0,0)) SWIG_fail
;
14271 if (!wxPyCheckForApp()) SWIG_fail
;
14272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14273 result
= (wxScrollBar
*)new wxScrollBar();
14274 wxPyEndAllowThreads(__tstate
);
14275 if (PyErr_Occurred()) SWIG_fail
;
14277 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_OWN
| 0 );
14284 SWIGINTERN PyObject
*_wrap_ScrollBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14285 PyObject
*resultobj
= 0;
14286 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14287 wxWindow
*arg2
= (wxWindow
*) 0 ;
14288 int arg3
= (int) -1 ;
14289 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14290 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14291 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14292 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14293 long arg6
= (long) wxSB_HORIZONTAL
;
14294 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14295 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14296 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
14297 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14311 bool temp8
= false ;
14312 PyObject
* obj0
= 0 ;
14313 PyObject
* obj1
= 0 ;
14314 PyObject
* obj2
= 0 ;
14315 PyObject
* obj3
= 0 ;
14316 PyObject
* obj4
= 0 ;
14317 PyObject
* obj5
= 0 ;
14318 PyObject
* obj6
= 0 ;
14319 PyObject
* obj7
= 0 ;
14320 char * kwnames
[] = {
14321 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
14325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14326 if (!SWIG_IsOK(res1
)) {
14327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14329 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14330 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14331 if (!SWIG_IsOK(res2
)) {
14332 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14334 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14336 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14337 if (!SWIG_IsOK(ecode3
)) {
14338 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14340 arg3
= static_cast< int >(val3
);
14345 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14351 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14355 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14356 if (!SWIG_IsOK(ecode6
)) {
14357 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14359 arg6
= static_cast< long >(val6
);
14362 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
14363 if (!SWIG_IsOK(res7
)) {
14364 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14367 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14369 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
14373 arg8
= wxString_in_helper(obj7
);
14374 if (arg8
== NULL
) SWIG_fail
;
14379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14380 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14381 wxPyEndAllowThreads(__tstate
);
14382 if (PyErr_Occurred()) SWIG_fail
;
14385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14401 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14402 PyObject
*resultobj
= 0;
14403 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14407 PyObject
*swig_obj
[1] ;
14409 if (!args
) SWIG_fail
;
14410 swig_obj
[0] = args
;
14411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14412 if (!SWIG_IsOK(res1
)) {
14413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14415 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14418 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
14419 wxPyEndAllowThreads(__tstate
);
14420 if (PyErr_Occurred()) SWIG_fail
;
14422 resultobj
= SWIG_From_int(static_cast< int >(result
));
14429 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14430 PyObject
*resultobj
= 0;
14431 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14435 PyObject
*swig_obj
[1] ;
14437 if (!args
) SWIG_fail
;
14438 swig_obj
[0] = args
;
14439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14440 if (!SWIG_IsOK(res1
)) {
14441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14443 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14446 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
14447 wxPyEndAllowThreads(__tstate
);
14448 if (PyErr_Occurred()) SWIG_fail
;
14450 resultobj
= SWIG_From_int(static_cast< int >(result
));
14457 SWIGINTERN PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14458 PyObject
*resultobj
= 0;
14459 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14463 PyObject
*swig_obj
[1] ;
14465 if (!args
) SWIG_fail
;
14466 swig_obj
[0] = args
;
14467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14468 if (!SWIG_IsOK(res1
)) {
14469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14471 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14474 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
14475 wxPyEndAllowThreads(__tstate
);
14476 if (PyErr_Occurred()) SWIG_fail
;
14478 resultobj
= SWIG_From_int(static_cast< int >(result
));
14485 SWIGINTERN PyObject
*_wrap_ScrollBar_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14486 PyObject
*resultobj
= 0;
14487 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14491 PyObject
*swig_obj
[1] ;
14493 if (!args
) SWIG_fail
;
14494 swig_obj
[0] = args
;
14495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14496 if (!SWIG_IsOK(res1
)) {
14497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14499 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14502 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
14503 wxPyEndAllowThreads(__tstate
);
14504 if (PyErr_Occurred()) SWIG_fail
;
14506 resultobj
= SWIG_From_int(static_cast< int >(result
));
14513 SWIGINTERN PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14514 PyObject
*resultobj
= 0;
14515 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14519 PyObject
*swig_obj
[1] ;
14521 if (!args
) SWIG_fail
;
14522 swig_obj
[0] = args
;
14523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14524 if (!SWIG_IsOK(res1
)) {
14525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14527 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14530 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
14531 wxPyEndAllowThreads(__tstate
);
14532 if (PyErr_Occurred()) SWIG_fail
;
14535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14543 SWIGINTERN PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14544 PyObject
*resultobj
= 0;
14545 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14551 PyObject
* obj0
= 0 ;
14552 PyObject
* obj1
= 0 ;
14553 char * kwnames
[] = {
14554 (char *) "self",(char *) "viewStart", NULL
14557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14559 if (!SWIG_IsOK(res1
)) {
14560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14562 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14563 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14564 if (!SWIG_IsOK(ecode2
)) {
14565 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14567 arg2
= static_cast< int >(val2
);
14569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14570 (arg1
)->SetThumbPosition(arg2
);
14571 wxPyEndAllowThreads(__tstate
);
14572 if (PyErr_Occurred()) SWIG_fail
;
14574 resultobj
= SWIG_Py_Void();
14581 SWIGINTERN PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14582 PyObject
*resultobj
= 0;
14583 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14584 SwigValueWrapper
<wxVisualAttributes
> result
;
14587 PyObject
* obj0
= 0 ;
14588 char * kwnames
[] = {
14589 (char *) "variant", NULL
14592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14594 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14595 if (!SWIG_IsOK(ecode1
)) {
14596 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14598 arg1
= static_cast< wxWindowVariant
>(val1
);
14601 if (!wxPyCheckForApp()) SWIG_fail
;
14602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14603 result
= wxScrollBar::GetClassDefaultAttributes(arg1
);
14604 wxPyEndAllowThreads(__tstate
);
14605 if (PyErr_Occurred()) SWIG_fail
;
14607 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14614 SWIGINTERN PyObject
*ScrollBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14616 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14617 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar
, SWIG_NewClientData(obj
));
14618 return SWIG_Py_Void();
14621 SWIGINTERN PyObject
*ScrollBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14622 return SWIG_Python_InitShadowInstance(args
);
14625 SWIGINTERN
int SPIN_BUTTON_NAME_set(PyObject
*) {
14626 SWIG_Error(SWIG_AttributeError
,"Variable SPIN_BUTTON_NAME is read-only.");
14631 SWIGINTERN PyObject
*SPIN_BUTTON_NAME_get(void) {
14632 PyObject
*pyobj
= 0;
14636 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14638 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14645 SWIGINTERN
int SpinCtrlNameStr_set(PyObject
*) {
14646 SWIG_Error(SWIG_AttributeError
,"Variable SpinCtrlNameStr is read-only.");
14651 SWIGINTERN PyObject
*SpinCtrlNameStr_get(void) {
14652 PyObject
*pyobj
= 0;
14656 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14658 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14665 SWIGINTERN PyObject
*_wrap_new_SpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14666 PyObject
*resultobj
= 0;
14667 wxWindow
*arg1
= (wxWindow
*) 0 ;
14668 int arg2
= (int) -1 ;
14669 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14670 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14671 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14672 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14673 long arg5
= (long) wxSP_HORIZONTAL
;
14674 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
14675 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14676 wxSpinButton
*result
= 0 ;
14685 bool temp6
= false ;
14686 PyObject
* obj0
= 0 ;
14687 PyObject
* obj1
= 0 ;
14688 PyObject
* obj2
= 0 ;
14689 PyObject
* obj3
= 0 ;
14690 PyObject
* obj4
= 0 ;
14691 PyObject
* obj5
= 0 ;
14692 char * kwnames
[] = {
14693 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14698 if (!SWIG_IsOK(res1
)) {
14699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14701 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14703 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14704 if (!SWIG_IsOK(ecode2
)) {
14705 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14707 arg2
= static_cast< int >(val2
);
14712 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14718 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14722 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14723 if (!SWIG_IsOK(ecode5
)) {
14724 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14726 arg5
= static_cast< long >(val5
);
14730 arg6
= wxString_in_helper(obj5
);
14731 if (arg6
== NULL
) SWIG_fail
;
14736 if (!wxPyCheckForApp()) SWIG_fail
;
14737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14738 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14739 wxPyEndAllowThreads(__tstate
);
14740 if (PyErr_Occurred()) SWIG_fail
;
14742 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_NEW
| 0 );
14757 SWIGINTERN PyObject
*_wrap_new_PreSpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14758 PyObject
*resultobj
= 0;
14759 wxSpinButton
*result
= 0 ;
14761 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinButton",0,0,0)) SWIG_fail
;
14763 if (!wxPyCheckForApp()) SWIG_fail
;
14764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14765 result
= (wxSpinButton
*)new wxSpinButton();
14766 wxPyEndAllowThreads(__tstate
);
14767 if (PyErr_Occurred()) SWIG_fail
;
14769 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_OWN
| 0 );
14776 SWIGINTERN PyObject
*_wrap_SpinButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14777 PyObject
*resultobj
= 0;
14778 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14779 wxWindow
*arg2
= (wxWindow
*) 0 ;
14780 int arg3
= (int) -1 ;
14781 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14782 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14783 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14784 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14785 long arg6
= (long) wxSP_HORIZONTAL
;
14786 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
14787 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14799 bool temp7
= false ;
14800 PyObject
* obj0
= 0 ;
14801 PyObject
* obj1
= 0 ;
14802 PyObject
* obj2
= 0 ;
14803 PyObject
* obj3
= 0 ;
14804 PyObject
* obj4
= 0 ;
14805 PyObject
* obj5
= 0 ;
14806 PyObject
* obj6
= 0 ;
14807 char * kwnames
[] = {
14808 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14813 if (!SWIG_IsOK(res1
)) {
14814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14816 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14817 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14818 if (!SWIG_IsOK(res2
)) {
14819 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14821 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14823 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14824 if (!SWIG_IsOK(ecode3
)) {
14825 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
14827 arg3
= static_cast< int >(val3
);
14832 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14838 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14842 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14843 if (!SWIG_IsOK(ecode6
)) {
14844 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
14846 arg6
= static_cast< long >(val6
);
14850 arg7
= wxString_in_helper(obj6
);
14851 if (arg7
== NULL
) SWIG_fail
;
14856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14857 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14858 wxPyEndAllowThreads(__tstate
);
14859 if (PyErr_Occurred()) SWIG_fail
;
14862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14878 SWIGINTERN PyObject
*_wrap_SpinButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14879 PyObject
*resultobj
= 0;
14880 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14884 PyObject
*swig_obj
[1] ;
14886 if (!args
) SWIG_fail
;
14887 swig_obj
[0] = args
;
14888 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14889 if (!SWIG_IsOK(res1
)) {
14890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14892 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14895 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
14896 wxPyEndAllowThreads(__tstate
);
14897 if (PyErr_Occurred()) SWIG_fail
;
14899 resultobj
= SWIG_From_int(static_cast< int >(result
));
14906 SWIGINTERN PyObject
*_wrap_SpinButton_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14907 PyObject
*resultobj
= 0;
14908 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14912 PyObject
*swig_obj
[1] ;
14914 if (!args
) SWIG_fail
;
14915 swig_obj
[0] = args
;
14916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14917 if (!SWIG_IsOK(res1
)) {
14918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14920 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14923 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
14924 wxPyEndAllowThreads(__tstate
);
14925 if (PyErr_Occurred()) SWIG_fail
;
14927 resultobj
= SWIG_From_int(static_cast< int >(result
));
14934 SWIGINTERN PyObject
*_wrap_SpinButton_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14935 PyObject
*resultobj
= 0;
14936 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14940 PyObject
*swig_obj
[1] ;
14942 if (!args
) SWIG_fail
;
14943 swig_obj
[0] = args
;
14944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14945 if (!SWIG_IsOK(res1
)) {
14946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14948 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14951 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
14952 wxPyEndAllowThreads(__tstate
);
14953 if (PyErr_Occurred()) SWIG_fail
;
14955 resultobj
= SWIG_From_int(static_cast< int >(result
));
14962 SWIGINTERN PyObject
*_wrap_SpinButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14963 PyObject
*resultobj
= 0;
14964 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14970 PyObject
* obj0
= 0 ;
14971 PyObject
* obj1
= 0 ;
14972 char * kwnames
[] = {
14973 (char *) "self",(char *) "val", NULL
14976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14978 if (!SWIG_IsOK(res1
)) {
14979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14981 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14982 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14983 if (!SWIG_IsOK(ecode2
)) {
14984 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
14986 arg2
= static_cast< int >(val2
);
14988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14989 (arg1
)->SetValue(arg2
);
14990 wxPyEndAllowThreads(__tstate
);
14991 if (PyErr_Occurred()) SWIG_fail
;
14993 resultobj
= SWIG_Py_Void();
15000 SWIGINTERN PyObject
*_wrap_SpinButton_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15001 PyObject
*resultobj
= 0;
15002 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15008 PyObject
* obj0
= 0 ;
15009 PyObject
* obj1
= 0 ;
15010 char * kwnames
[] = {
15011 (char *) "self",(char *) "minVal", NULL
15014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15016 if (!SWIG_IsOK(res1
)) {
15017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15019 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15020 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15021 if (!SWIG_IsOK(ecode2
)) {
15022 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
15024 arg2
= static_cast< int >(val2
);
15026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15027 (arg1
)->SetMin(arg2
);
15028 wxPyEndAllowThreads(__tstate
);
15029 if (PyErr_Occurred()) SWIG_fail
;
15031 resultobj
= SWIG_Py_Void();
15038 SWIGINTERN PyObject
*_wrap_SpinButton_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15039 PyObject
*resultobj
= 0;
15040 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15046 PyObject
* obj0
= 0 ;
15047 PyObject
* obj1
= 0 ;
15048 char * kwnames
[] = {
15049 (char *) "self",(char *) "maxVal", NULL
15052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15054 if (!SWIG_IsOK(res1
)) {
15055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMax" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15057 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15058 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15059 if (!SWIG_IsOK(ecode2
)) {
15060 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMax" "', expected argument " "2"" of type '" "int""'");
15062 arg2
= static_cast< int >(val2
);
15064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15065 (arg1
)->SetMax(arg2
);
15066 wxPyEndAllowThreads(__tstate
);
15067 if (PyErr_Occurred()) SWIG_fail
;
15069 resultobj
= SWIG_Py_Void();
15076 SWIGINTERN PyObject
*_wrap_SpinButton_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15077 PyObject
*resultobj
= 0;
15078 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15087 PyObject
* obj0
= 0 ;
15088 PyObject
* obj1
= 0 ;
15089 PyObject
* obj2
= 0 ;
15090 char * kwnames
[] = {
15091 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15096 if (!SWIG_IsOK(res1
)) {
15097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15099 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15100 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15101 if (!SWIG_IsOK(ecode2
)) {
15102 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
15104 arg2
= static_cast< int >(val2
);
15105 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15106 if (!SWIG_IsOK(ecode3
)) {
15107 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
15109 arg3
= static_cast< int >(val3
);
15111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15112 (arg1
)->SetRange(arg2
,arg3
);
15113 wxPyEndAllowThreads(__tstate
);
15114 if (PyErr_Occurred()) SWIG_fail
;
15116 resultobj
= SWIG_Py_Void();
15123 SWIGINTERN PyObject
*_wrap_SpinButton_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15124 PyObject
*resultobj
= 0;
15125 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15129 PyObject
*swig_obj
[1] ;
15131 if (!args
) SWIG_fail
;
15132 swig_obj
[0] = args
;
15133 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15134 if (!SWIG_IsOK(res1
)) {
15135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15137 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15140 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
15141 wxPyEndAllowThreads(__tstate
);
15142 if (PyErr_Occurred()) SWIG_fail
;
15145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15153 SWIGINTERN PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15154 PyObject
*resultobj
= 0;
15155 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15156 SwigValueWrapper
<wxVisualAttributes
> result
;
15159 PyObject
* obj0
= 0 ;
15160 char * kwnames
[] = {
15161 (char *) "variant", NULL
15164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15166 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15167 if (!SWIG_IsOK(ecode1
)) {
15168 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15170 arg1
= static_cast< wxWindowVariant
>(val1
);
15173 if (!wxPyCheckForApp()) SWIG_fail
;
15174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15175 result
= wxSpinButton::GetClassDefaultAttributes(arg1
);
15176 wxPyEndAllowThreads(__tstate
);
15177 if (PyErr_Occurred()) SWIG_fail
;
15179 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15186 SWIGINTERN PyObject
*SpinButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15188 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15189 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton
, SWIG_NewClientData(obj
));
15190 return SWIG_Py_Void();
15193 SWIGINTERN PyObject
*SpinButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15194 return SWIG_Python_InitShadowInstance(args
);
15197 SWIGINTERN PyObject
*_wrap_new_SpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15198 PyObject
*resultobj
= 0;
15199 wxWindow
*arg1
= (wxWindow
*) 0 ;
15200 int arg2
= (int) -1 ;
15201 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15202 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15203 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15204 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15205 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15206 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15207 long arg6
= (long) wxSP_ARROW_KEYS
;
15208 int arg7
= (int) 0 ;
15209 int arg8
= (int) 100 ;
15210 int arg9
= (int) 0 ;
15211 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
15212 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15213 wxSpinCtrl
*result
= 0 ;
15218 bool temp3
= false ;
15229 bool temp10
= false ;
15230 PyObject
* obj0
= 0 ;
15231 PyObject
* obj1
= 0 ;
15232 PyObject
* obj2
= 0 ;
15233 PyObject
* obj3
= 0 ;
15234 PyObject
* obj4
= 0 ;
15235 PyObject
* obj5
= 0 ;
15236 PyObject
* obj6
= 0 ;
15237 PyObject
* obj7
= 0 ;
15238 PyObject
* obj8
= 0 ;
15239 PyObject
* obj9
= 0 ;
15240 char * kwnames
[] = {
15241 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15246 if (!SWIG_IsOK(res1
)) {
15247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15249 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15251 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15252 if (!SWIG_IsOK(ecode2
)) {
15253 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15255 arg2
= static_cast< int >(val2
);
15259 arg3
= wxString_in_helper(obj2
);
15260 if (arg3
== NULL
) SWIG_fail
;
15267 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15273 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15277 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15278 if (!SWIG_IsOK(ecode6
)) {
15279 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15281 arg6
= static_cast< long >(val6
);
15284 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15285 if (!SWIG_IsOK(ecode7
)) {
15286 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15288 arg7
= static_cast< int >(val7
);
15291 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15292 if (!SWIG_IsOK(ecode8
)) {
15293 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15295 arg8
= static_cast< int >(val8
);
15298 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15299 if (!SWIG_IsOK(ecode9
)) {
15300 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15302 arg9
= static_cast< int >(val9
);
15306 arg10
= wxString_in_helper(obj9
);
15307 if (arg10
== NULL
) SWIG_fail
;
15312 if (!wxPyCheckForApp()) SWIG_fail
;
15313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15314 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
15315 wxPyEndAllowThreads(__tstate
);
15316 if (PyErr_Occurred()) SWIG_fail
;
15318 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_NEW
| 0 );
15341 SWIGINTERN PyObject
*_wrap_new_PreSpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15342 PyObject
*resultobj
= 0;
15343 wxSpinCtrl
*result
= 0 ;
15345 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinCtrl",0,0,0)) SWIG_fail
;
15347 if (!wxPyCheckForApp()) SWIG_fail
;
15348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15349 result
= (wxSpinCtrl
*)new wxSpinCtrl();
15350 wxPyEndAllowThreads(__tstate
);
15351 if (PyErr_Occurred()) SWIG_fail
;
15353 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_OWN
| 0 );
15360 SWIGINTERN PyObject
*_wrap_SpinCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15361 PyObject
*resultobj
= 0;
15362 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15363 wxWindow
*arg2
= (wxWindow
*) 0 ;
15364 int arg3
= (int) -1 ;
15365 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15366 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15367 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15368 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15369 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15370 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15371 long arg7
= (long) wxSP_ARROW_KEYS
;
15372 int arg8
= (int) 0 ;
15373 int arg9
= (int) 100 ;
15374 int arg10
= (int) 0 ;
15375 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
15376 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15384 bool temp4
= false ;
15395 bool temp11
= false ;
15396 PyObject
* obj0
= 0 ;
15397 PyObject
* obj1
= 0 ;
15398 PyObject
* obj2
= 0 ;
15399 PyObject
* obj3
= 0 ;
15400 PyObject
* obj4
= 0 ;
15401 PyObject
* obj5
= 0 ;
15402 PyObject
* obj6
= 0 ;
15403 PyObject
* obj7
= 0 ;
15404 PyObject
* obj8
= 0 ;
15405 PyObject
* obj9
= 0 ;
15406 PyObject
* obj10
= 0 ;
15407 char * kwnames
[] = {
15408 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
15412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15413 if (!SWIG_IsOK(res1
)) {
15414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15416 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15417 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15418 if (!SWIG_IsOK(res2
)) {
15419 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15421 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15423 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15424 if (!SWIG_IsOK(ecode3
)) {
15425 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15427 arg3
= static_cast< int >(val3
);
15431 arg4
= wxString_in_helper(obj3
);
15432 if (arg4
== NULL
) SWIG_fail
;
15439 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15445 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15449 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
15450 if (!SWIG_IsOK(ecode7
)) {
15451 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15453 arg7
= static_cast< long >(val7
);
15456 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15457 if (!SWIG_IsOK(ecode8
)) {
15458 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15460 arg8
= static_cast< int >(val8
);
15463 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15464 if (!SWIG_IsOK(ecode9
)) {
15465 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15467 arg9
= static_cast< int >(val9
);
15470 ecode10
= SWIG_AsVal_int(obj9
, &val10
);
15471 if (!SWIG_IsOK(ecode10
)) {
15472 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15474 arg10
= static_cast< int >(val10
);
15478 arg11
= wxString_in_helper(obj10
);
15479 if (arg11
== NULL
) SWIG_fail
;
15484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15485 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
15486 wxPyEndAllowThreads(__tstate
);
15487 if (PyErr_Occurred()) SWIG_fail
;
15490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15514 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15515 PyObject
*resultobj
= 0;
15516 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15520 PyObject
*swig_obj
[1] ;
15522 if (!args
) SWIG_fail
;
15523 swig_obj
[0] = args
;
15524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15525 if (!SWIG_IsOK(res1
)) {
15526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15528 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15531 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
15532 wxPyEndAllowThreads(__tstate
);
15533 if (PyErr_Occurred()) SWIG_fail
;
15535 resultobj
= SWIG_From_int(static_cast< int >(result
));
15542 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15543 PyObject
*resultobj
= 0;
15544 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15550 PyObject
* obj0
= 0 ;
15551 PyObject
* obj1
= 0 ;
15552 char * kwnames
[] = {
15553 (char *) "self",(char *) "value", NULL
15556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15558 if (!SWIG_IsOK(res1
)) {
15559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15561 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15562 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15563 if (!SWIG_IsOK(ecode2
)) {
15564 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15566 arg2
= static_cast< int >(val2
);
15568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15569 (arg1
)->SetValue(arg2
);
15570 wxPyEndAllowThreads(__tstate
);
15571 if (PyErr_Occurred()) SWIG_fail
;
15573 resultobj
= SWIG_Py_Void();
15580 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15581 PyObject
*resultobj
= 0;
15582 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15583 wxString
*arg2
= 0 ;
15586 bool temp2
= false ;
15587 PyObject
* obj0
= 0 ;
15588 PyObject
* obj1
= 0 ;
15589 char * kwnames
[] = {
15590 (char *) "self",(char *) "text", NULL
15593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15595 if (!SWIG_IsOK(res1
)) {
15596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15598 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15600 arg2
= wxString_in_helper(obj1
);
15601 if (arg2
== NULL
) SWIG_fail
;
15605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15606 (arg1
)->SetValue((wxString
const &)*arg2
);
15607 wxPyEndAllowThreads(__tstate
);
15608 if (PyErr_Occurred()) SWIG_fail
;
15610 resultobj
= SWIG_Py_Void();
15625 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15626 PyObject
*resultobj
= 0;
15627 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15636 PyObject
* obj0
= 0 ;
15637 PyObject
* obj1
= 0 ;
15638 PyObject
* obj2
= 0 ;
15639 char * kwnames
[] = {
15640 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15645 if (!SWIG_IsOK(res1
)) {
15646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15648 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15649 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15650 if (!SWIG_IsOK(ecode2
)) {
15651 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15653 arg2
= static_cast< int >(val2
);
15654 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15655 if (!SWIG_IsOK(ecode3
)) {
15656 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15658 arg3
= static_cast< int >(val3
);
15660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15661 (arg1
)->SetRange(arg2
,arg3
);
15662 wxPyEndAllowThreads(__tstate
);
15663 if (PyErr_Occurred()) SWIG_fail
;
15665 resultobj
= SWIG_Py_Void();
15672 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15673 PyObject
*resultobj
= 0;
15674 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15678 PyObject
*swig_obj
[1] ;
15680 if (!args
) SWIG_fail
;
15681 swig_obj
[0] = args
;
15682 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15683 if (!SWIG_IsOK(res1
)) {
15684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15686 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15689 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
15690 wxPyEndAllowThreads(__tstate
);
15691 if (PyErr_Occurred()) SWIG_fail
;
15693 resultobj
= SWIG_From_int(static_cast< int >(result
));
15700 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15701 PyObject
*resultobj
= 0;
15702 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15706 PyObject
*swig_obj
[1] ;
15708 if (!args
) SWIG_fail
;
15709 swig_obj
[0] = args
;
15710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15711 if (!SWIG_IsOK(res1
)) {
15712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15714 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15717 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
15718 wxPyEndAllowThreads(__tstate
);
15719 if (PyErr_Occurred()) SWIG_fail
;
15721 resultobj
= SWIG_From_int(static_cast< int >(result
));
15728 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15729 PyObject
*resultobj
= 0;
15730 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15739 PyObject
* obj0
= 0 ;
15740 PyObject
* obj1
= 0 ;
15741 PyObject
* obj2
= 0 ;
15742 char * kwnames
[] = {
15743 (char *) "self",(char *) "from",(char *) "to", NULL
15746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15748 if (!SWIG_IsOK(res1
)) {
15749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15751 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15752 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
15753 if (!SWIG_IsOK(ecode2
)) {
15754 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
15756 arg2
= static_cast< long >(val2
);
15757 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
15758 if (!SWIG_IsOK(ecode3
)) {
15759 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
15761 arg3
= static_cast< long >(val3
);
15763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15764 (arg1
)->SetSelection(arg2
,arg3
);
15765 wxPyEndAllowThreads(__tstate
);
15766 if (PyErr_Occurred()) SWIG_fail
;
15768 resultobj
= SWIG_Py_Void();
15775 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15776 PyObject
*resultobj
= 0;
15777 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15778 SwigValueWrapper
<wxVisualAttributes
> result
;
15781 PyObject
* obj0
= 0 ;
15782 char * kwnames
[] = {
15783 (char *) "variant", NULL
15786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15788 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15789 if (!SWIG_IsOK(ecode1
)) {
15790 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15792 arg1
= static_cast< wxWindowVariant
>(val1
);
15795 if (!wxPyCheckForApp()) SWIG_fail
;
15796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15797 result
= wxSpinCtrl::GetClassDefaultAttributes(arg1
);
15798 wxPyEndAllowThreads(__tstate
);
15799 if (PyErr_Occurred()) SWIG_fail
;
15801 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15808 SWIGINTERN PyObject
*SpinCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15810 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15811 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl
, SWIG_NewClientData(obj
));
15812 return SWIG_Py_Void();
15815 SWIGINTERN PyObject
*SpinCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15816 return SWIG_Python_InitShadowInstance(args
);
15819 SWIGINTERN PyObject
*_wrap_new_SpinEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15820 PyObject
*resultobj
= 0;
15821 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15822 int arg2
= (int) 0 ;
15823 wxSpinEvent
*result
= 0 ;
15828 PyObject
* obj0
= 0 ;
15829 PyObject
* obj1
= 0 ;
15830 char * kwnames
[] = {
15831 (char *) "commandType",(char *) "winid", NULL
15834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15836 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15837 if (!SWIG_IsOK(ecode1
)) {
15838 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15840 arg1
= static_cast< wxEventType
>(val1
);
15843 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15844 if (!SWIG_IsOK(ecode2
)) {
15845 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
15847 arg2
= static_cast< int >(val2
);
15850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15851 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
15852 wxPyEndAllowThreads(__tstate
);
15853 if (PyErr_Occurred()) SWIG_fail
;
15855 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_NEW
| 0 );
15862 SWIGINTERN PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15863 PyObject
*resultobj
= 0;
15864 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15868 PyObject
*swig_obj
[1] ;
15870 if (!args
) SWIG_fail
;
15871 swig_obj
[0] = args
;
15872 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15873 if (!SWIG_IsOK(res1
)) {
15874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
15876 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15879 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
15880 wxPyEndAllowThreads(__tstate
);
15881 if (PyErr_Occurred()) SWIG_fail
;
15883 resultobj
= SWIG_From_int(static_cast< int >(result
));
15890 SWIGINTERN PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15891 PyObject
*resultobj
= 0;
15892 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15898 PyObject
* obj0
= 0 ;
15899 PyObject
* obj1
= 0 ;
15900 char * kwnames
[] = {
15901 (char *) "self",(char *) "pos", NULL
15904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15906 if (!SWIG_IsOK(res1
)) {
15907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
15909 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15910 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15911 if (!SWIG_IsOK(ecode2
)) {
15912 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
15914 arg2
= static_cast< int >(val2
);
15916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15917 (arg1
)->SetPosition(arg2
);
15918 wxPyEndAllowThreads(__tstate
);
15919 if (PyErr_Occurred()) SWIG_fail
;
15921 resultobj
= SWIG_Py_Void();
15928 SWIGINTERN PyObject
*SpinEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15930 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15931 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent
, SWIG_NewClientData(obj
));
15932 return SWIG_Py_Void();
15935 SWIGINTERN PyObject
*SpinEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15936 return SWIG_Python_InitShadowInstance(args
);
15939 SWIGINTERN
int RadioBoxNameStr_set(PyObject
*) {
15940 SWIG_Error(SWIG_AttributeError
,"Variable RadioBoxNameStr is read-only.");
15945 SWIGINTERN PyObject
*RadioBoxNameStr_get(void) {
15946 PyObject
*pyobj
= 0;
15950 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15952 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15959 SWIGINTERN
int RadioButtonNameStr_set(PyObject
*) {
15960 SWIG_Error(SWIG_AttributeError
,"Variable RadioButtonNameStr is read-only.");
15965 SWIGINTERN PyObject
*RadioButtonNameStr_get(void) {
15966 PyObject
*pyobj
= 0;
15970 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
15972 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
15979 SWIGINTERN PyObject
*_wrap_new_RadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15980 PyObject
*resultobj
= 0;
15981 wxWindow
*arg1
= (wxWindow
*) 0 ;
15982 int arg2
= (int) -1 ;
15983 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15984 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15985 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15986 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15987 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15988 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15989 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
15990 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
15991 int arg7
= (int) 0 ;
15992 long arg8
= (long) wxRA_HORIZONTAL
;
15993 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
15994 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
15995 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
15996 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15997 wxRadioBox
*result
= 0 ;
16002 bool temp3
= false ;
16005 bool temp6
= false ;
16012 bool temp10
= false ;
16013 PyObject
* obj0
= 0 ;
16014 PyObject
* obj1
= 0 ;
16015 PyObject
* obj2
= 0 ;
16016 PyObject
* obj3
= 0 ;
16017 PyObject
* obj4
= 0 ;
16018 PyObject
* obj5
= 0 ;
16019 PyObject
* obj6
= 0 ;
16020 PyObject
* obj7
= 0 ;
16021 PyObject
* obj8
= 0 ;
16022 PyObject
* obj9
= 0 ;
16023 char * kwnames
[] = {
16024 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
16028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16029 if (!SWIG_IsOK(res1
)) {
16030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
16032 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16034 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16035 if (!SWIG_IsOK(ecode2
)) {
16036 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
16038 arg2
= static_cast< int >(val2
);
16042 arg3
= wxString_in_helper(obj2
);
16043 if (arg3
== NULL
) SWIG_fail
;
16050 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16056 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16061 if (! PySequence_Check(obj5
)) {
16062 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16065 arg6
= new wxArrayString
;
16067 int i
, len
=PySequence_Length(obj5
);
16068 for (i
=0; i
<len
; i
++) {
16069 PyObject
* item
= PySequence_GetItem(obj5
, i
);
16070 wxString
* s
= wxString_in_helper(item
);
16071 if (PyErr_Occurred()) SWIG_fail
;
16079 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
16080 if (!SWIG_IsOK(ecode7
)) {
16081 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
16083 arg7
= static_cast< int >(val7
);
16086 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
16087 if (!SWIG_IsOK(ecode8
)) {
16088 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
16090 arg8
= static_cast< long >(val8
);
16093 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
16094 if (!SWIG_IsOK(res9
)) {
16095 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16098 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16100 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
16104 arg10
= wxString_in_helper(obj9
);
16105 if (arg10
== NULL
) SWIG_fail
;
16110 if (!wxPyCheckForApp()) SWIG_fail
;
16111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16112 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
);
16113 wxPyEndAllowThreads(__tstate
);
16114 if (PyErr_Occurred()) SWIG_fail
;
16116 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_NEW
| 0 );
16122 if (temp6
) delete arg6
;
16135 if (temp6
) delete arg6
;
16145 SWIGINTERN PyObject
*_wrap_new_PreRadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16146 PyObject
*resultobj
= 0;
16147 wxRadioBox
*result
= 0 ;
16149 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioBox",0,0,0)) SWIG_fail
;
16151 if (!wxPyCheckForApp()) SWIG_fail
;
16152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16153 result
= (wxRadioBox
*)new wxRadioBox();
16154 wxPyEndAllowThreads(__tstate
);
16155 if (PyErr_Occurred()) SWIG_fail
;
16157 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_OWN
| 0 );
16164 SWIGINTERN PyObject
*_wrap_RadioBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16165 PyObject
*resultobj
= 0;
16166 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16167 wxWindow
*arg2
= (wxWindow
*) 0 ;
16168 int arg3
= (int) -1 ;
16169 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16170 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16171 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16172 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16173 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16174 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16175 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
16176 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
16177 int arg8
= (int) 0 ;
16178 long arg9
= (long) wxRA_HORIZONTAL
;
16179 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
16180 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
16181 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
16182 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
16190 bool temp4
= false ;
16193 bool temp7
= false ;
16200 bool temp11
= false ;
16201 PyObject
* obj0
= 0 ;
16202 PyObject
* obj1
= 0 ;
16203 PyObject
* obj2
= 0 ;
16204 PyObject
* obj3
= 0 ;
16205 PyObject
* obj4
= 0 ;
16206 PyObject
* obj5
= 0 ;
16207 PyObject
* obj6
= 0 ;
16208 PyObject
* obj7
= 0 ;
16209 PyObject
* obj8
= 0 ;
16210 PyObject
* obj9
= 0 ;
16211 PyObject
* obj10
= 0 ;
16212 char * kwnames
[] = {
16213 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
16217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16218 if (!SWIG_IsOK(res1
)) {
16219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16221 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16222 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16223 if (!SWIG_IsOK(res2
)) {
16224 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16226 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16228 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16229 if (!SWIG_IsOK(ecode3
)) {
16230 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16232 arg3
= static_cast< int >(val3
);
16236 arg4
= wxString_in_helper(obj3
);
16237 if (arg4
== NULL
) SWIG_fail
;
16244 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16250 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16255 if (! PySequence_Check(obj6
)) {
16256 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16259 arg7
= new wxArrayString
;
16261 int i
, len
=PySequence_Length(obj6
);
16262 for (i
=0; i
<len
; i
++) {
16263 PyObject
* item
= PySequence_GetItem(obj6
, i
);
16264 wxString
* s
= wxString_in_helper(item
);
16265 if (PyErr_Occurred()) SWIG_fail
;
16273 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
16274 if (!SWIG_IsOK(ecode8
)) {
16275 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16277 arg8
= static_cast< int >(val8
);
16280 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
16281 if (!SWIG_IsOK(ecode9
)) {
16282 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16284 arg9
= static_cast< long >(val9
);
16287 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
16288 if (!SWIG_IsOK(res10
)) {
16289 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16292 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16294 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
16298 arg11
= wxString_in_helper(obj10
);
16299 if (arg11
== NULL
) SWIG_fail
;
16304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16305 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
);
16306 wxPyEndAllowThreads(__tstate
);
16307 if (PyErr_Occurred()) SWIG_fail
;
16310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16317 if (temp7
) delete arg7
;
16330 if (temp7
) delete arg7
;
16340 SWIGINTERN PyObject
*_wrap_RadioBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16341 PyObject
*resultobj
= 0;
16342 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16348 PyObject
* obj0
= 0 ;
16349 PyObject
* obj1
= 0 ;
16350 char * kwnames
[] = {
16351 (char *) "self",(char *) "n", NULL
16354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16356 if (!SWIG_IsOK(res1
)) {
16357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16359 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16360 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16361 if (!SWIG_IsOK(ecode2
)) {
16362 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16364 arg2
= static_cast< int >(val2
);
16366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16367 (arg1
)->SetSelection(arg2
);
16368 wxPyEndAllowThreads(__tstate
);
16369 if (PyErr_Occurred()) SWIG_fail
;
16371 resultobj
= SWIG_Py_Void();
16378 SWIGINTERN PyObject
*_wrap_RadioBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16379 PyObject
*resultobj
= 0;
16380 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16384 PyObject
*swig_obj
[1] ;
16386 if (!args
) SWIG_fail
;
16387 swig_obj
[0] = args
;
16388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16389 if (!SWIG_IsOK(res1
)) {
16390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16392 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16395 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
16396 wxPyEndAllowThreads(__tstate
);
16397 if (PyErr_Occurred()) SWIG_fail
;
16399 resultobj
= SWIG_From_int(static_cast< int >(result
));
16406 SWIGINTERN PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16407 PyObject
*resultobj
= 0;
16408 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16412 PyObject
*swig_obj
[1] ;
16414 if (!args
) SWIG_fail
;
16415 swig_obj
[0] = args
;
16416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16417 if (!SWIG_IsOK(res1
)) {
16418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16420 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16423 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
16424 wxPyEndAllowThreads(__tstate
);
16425 if (PyErr_Occurred()) SWIG_fail
;
16429 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16431 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16440 SWIGINTERN PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16441 PyObject
*resultobj
= 0;
16442 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16443 wxString
*arg2
= 0 ;
16447 bool temp2
= false ;
16448 PyObject
* obj0
= 0 ;
16449 PyObject
* obj1
= 0 ;
16450 char * kwnames
[] = {
16451 (char *) "self",(char *) "s", NULL
16454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16456 if (!SWIG_IsOK(res1
)) {
16457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16459 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16461 arg2
= wxString_in_helper(obj1
);
16462 if (arg2
== NULL
) SWIG_fail
;
16466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16467 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
16468 wxPyEndAllowThreads(__tstate
);
16469 if (PyErr_Occurred()) SWIG_fail
;
16472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16488 SWIGINTERN PyObject
*_wrap_RadioBox_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16489 PyObject
*resultobj
= 0;
16490 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16494 PyObject
*swig_obj
[1] ;
16496 if (!args
) SWIG_fail
;
16497 swig_obj
[0] = args
;
16498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16499 if (!SWIG_IsOK(res1
)) {
16500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16502 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16505 result
= (size_t)((wxRadioBox
const *)arg1
)->GetCount();
16506 wxPyEndAllowThreads(__tstate
);
16507 if (PyErr_Occurred()) SWIG_fail
;
16509 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16516 SWIGINTERN PyObject
*_wrap_RadioBox_FindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16517 PyObject
*resultobj
= 0;
16518 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16519 wxString
*arg2
= 0 ;
16523 bool temp2
= false ;
16524 PyObject
* obj0
= 0 ;
16525 PyObject
* obj1
= 0 ;
16526 char * kwnames
[] = {
16527 (char *) "self",(char *) "s", NULL
16530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16532 if (!SWIG_IsOK(res1
)) {
16533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16535 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16537 arg2
= wxString_in_helper(obj1
);
16538 if (arg2
== NULL
) SWIG_fail
;
16542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16543 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
16544 wxPyEndAllowThreads(__tstate
);
16545 if (PyErr_Occurred()) SWIG_fail
;
16547 resultobj
= SWIG_From_int(static_cast< int >(result
));
16562 SWIGINTERN PyObject
*_wrap_RadioBox_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16563 PyObject
*resultobj
= 0;
16564 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16571 PyObject
* obj0
= 0 ;
16572 PyObject
* obj1
= 0 ;
16573 char * kwnames
[] = {
16574 (char *) "self",(char *) "n", NULL
16577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16579 if (!SWIG_IsOK(res1
)) {
16580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16582 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16583 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16584 if (!SWIG_IsOK(ecode2
)) {
16585 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16587 arg2
= static_cast< int >(val2
);
16589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16590 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
16591 wxPyEndAllowThreads(__tstate
);
16592 if (PyErr_Occurred()) SWIG_fail
;
16596 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16598 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16607 SWIGINTERN PyObject
*_wrap_RadioBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16608 PyObject
*resultobj
= 0;
16609 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16611 wxString
*arg3
= 0 ;
16616 bool temp3
= false ;
16617 PyObject
* obj0
= 0 ;
16618 PyObject
* obj1
= 0 ;
16619 PyObject
* obj2
= 0 ;
16620 char * kwnames
[] = {
16621 (char *) "self",(char *) "n",(char *) "label", NULL
16624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16626 if (!SWIG_IsOK(res1
)) {
16627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16629 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16630 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16631 if (!SWIG_IsOK(ecode2
)) {
16632 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16634 arg2
= static_cast< int >(val2
);
16636 arg3
= wxString_in_helper(obj2
);
16637 if (arg3
== NULL
) SWIG_fail
;
16641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16642 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
16643 wxPyEndAllowThreads(__tstate
);
16644 if (PyErr_Occurred()) SWIG_fail
;
16646 resultobj
= SWIG_Py_Void();
16661 SWIGINTERN PyObject
*_wrap_RadioBox_EnableItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16662 PyObject
*resultobj
= 0;
16663 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16664 unsigned int arg2
;
16665 bool arg3
= (bool) true ;
16668 unsigned int val2
;
16672 PyObject
* obj0
= 0 ;
16673 PyObject
* obj1
= 0 ;
16674 PyObject
* obj2
= 0 ;
16675 char * kwnames
[] = {
16676 (char *) "self",(char *) "n",(char *) "enable", NULL
16679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16681 if (!SWIG_IsOK(res1
)) {
16682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16684 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16685 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16686 if (!SWIG_IsOK(ecode2
)) {
16687 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "unsigned int""'");
16689 arg2
= static_cast< unsigned int >(val2
);
16691 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16692 if (!SWIG_IsOK(ecode3
)) {
16693 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16695 arg3
= static_cast< bool >(val3
);
16698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16699 (arg1
)->Enable(arg2
,arg3
);
16700 wxPyEndAllowThreads(__tstate
);
16701 if (PyErr_Occurred()) SWIG_fail
;
16703 resultobj
= SWIG_Py_Void();
16710 SWIGINTERN PyObject
*_wrap_RadioBox_ShowItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16711 PyObject
*resultobj
= 0;
16712 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16713 unsigned int arg2
;
16714 bool arg3
= (bool) true ;
16717 unsigned int val2
;
16721 PyObject
* obj0
= 0 ;
16722 PyObject
* obj1
= 0 ;
16723 PyObject
* obj2
= 0 ;
16724 char * kwnames
[] = {
16725 (char *) "self",(char *) "n",(char *) "show", NULL
16728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16730 if (!SWIG_IsOK(res1
)) {
16731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16733 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16734 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16735 if (!SWIG_IsOK(ecode2
)) {
16736 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
16738 arg2
= static_cast< unsigned int >(val2
);
16740 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16741 if (!SWIG_IsOK(ecode3
)) {
16742 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16744 arg3
= static_cast< bool >(val3
);
16747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16748 (arg1
)->Show(arg2
,arg3
);
16749 wxPyEndAllowThreads(__tstate
);
16750 if (PyErr_Occurred()) SWIG_fail
;
16752 resultobj
= SWIG_Py_Void();
16759 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16760 PyObject
*resultobj
= 0;
16761 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16762 unsigned int arg2
;
16766 unsigned int val2
;
16768 PyObject
* obj0
= 0 ;
16769 PyObject
* obj1
= 0 ;
16770 char * kwnames
[] = {
16771 (char *) "self",(char *) "n", NULL
16774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16776 if (!SWIG_IsOK(res1
)) {
16777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16779 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16780 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16781 if (!SWIG_IsOK(ecode2
)) {
16782 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
16784 arg2
= static_cast< unsigned int >(val2
);
16786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16787 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemEnabled(arg2
);
16788 wxPyEndAllowThreads(__tstate
);
16789 if (PyErr_Occurred()) SWIG_fail
;
16792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16800 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16801 PyObject
*resultobj
= 0;
16802 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16803 unsigned int arg2
;
16807 unsigned int val2
;
16809 PyObject
* obj0
= 0 ;
16810 PyObject
* obj1
= 0 ;
16811 char * kwnames
[] = {
16812 (char *) "self",(char *) "n", NULL
16815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemShown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16817 if (!SWIG_IsOK(res1
)) {
16818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16820 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16821 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16822 if (!SWIG_IsOK(ecode2
)) {
16823 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
16825 arg2
= static_cast< unsigned int >(val2
);
16827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16828 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemShown(arg2
);
16829 wxPyEndAllowThreads(__tstate
);
16830 if (PyErr_Occurred()) SWIG_fail
;
16833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16841 SWIGINTERN PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16842 PyObject
*resultobj
= 0;
16843 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16844 unsigned int result
;
16847 PyObject
*swig_obj
[1] ;
16849 if (!args
) SWIG_fail
;
16850 swig_obj
[0] = args
;
16851 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16852 if (!SWIG_IsOK(res1
)) {
16853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16855 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16858 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetColumnCount();
16859 wxPyEndAllowThreads(__tstate
);
16860 if (PyErr_Occurred()) SWIG_fail
;
16862 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16869 SWIGINTERN PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16870 PyObject
*resultobj
= 0;
16871 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16872 unsigned int result
;
16875 PyObject
*swig_obj
[1] ;
16877 if (!args
) SWIG_fail
;
16878 swig_obj
[0] = args
;
16879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16880 if (!SWIG_IsOK(res1
)) {
16881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16883 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16886 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetRowCount();
16887 wxPyEndAllowThreads(__tstate
);
16888 if (PyErr_Occurred()) SWIG_fail
;
16890 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16897 SWIGINTERN PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16898 PyObject
*resultobj
= 0;
16899 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16912 PyObject
* obj0
= 0 ;
16913 PyObject
* obj1
= 0 ;
16914 PyObject
* obj2
= 0 ;
16915 PyObject
* obj3
= 0 ;
16916 char * kwnames
[] = {
16917 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
16920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16922 if (!SWIG_IsOK(res1
)) {
16923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16925 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16926 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16927 if (!SWIG_IsOK(ecode2
)) {
16928 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
16930 arg2
= static_cast< int >(val2
);
16931 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16932 if (!SWIG_IsOK(ecode3
)) {
16933 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
16935 arg3
= static_cast< wxDirection
>(val3
);
16936 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16937 if (!SWIG_IsOK(ecode4
)) {
16938 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
16940 arg4
= static_cast< long >(val4
);
16942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16943 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
16944 wxPyEndAllowThreads(__tstate
);
16945 if (PyErr_Occurred()) SWIG_fail
;
16947 resultobj
= SWIG_From_int(static_cast< int >(result
));
16954 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16955 PyObject
*resultobj
= 0;
16956 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16957 unsigned int arg2
;
16958 wxString
*arg3
= 0 ;
16961 unsigned int val2
;
16963 bool temp3
= false ;
16964 PyObject
* obj0
= 0 ;
16965 PyObject
* obj1
= 0 ;
16966 PyObject
* obj2
= 0 ;
16967 char * kwnames
[] = {
16968 (char *) "self",(char *) "item",(char *) "text", NULL
16971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemToolTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16973 if (!SWIG_IsOK(res1
)) {
16974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16976 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16977 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16978 if (!SWIG_IsOK(ecode2
)) {
16979 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
16981 arg2
= static_cast< unsigned int >(val2
);
16983 arg3
= wxString_in_helper(obj2
);
16984 if (arg3
== NULL
) SWIG_fail
;
16988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16989 (arg1
)->SetItemToolTip(arg2
,(wxString
const &)*arg3
);
16990 wxPyEndAllowThreads(__tstate
);
16991 if (PyErr_Occurred()) SWIG_fail
;
16993 resultobj
= SWIG_Py_Void();
17008 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17009 PyObject
*resultobj
= 0;
17010 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17011 unsigned int arg2
;
17012 wxToolTip
*result
= 0 ;
17015 unsigned int val2
;
17017 PyObject
* obj0
= 0 ;
17018 PyObject
* obj1
= 0 ;
17019 char * kwnames
[] = {
17020 (char *) "self",(char *) "item", NULL
17023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17025 if (!SWIG_IsOK(res1
)) {
17026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17028 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17029 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17030 if (!SWIG_IsOK(ecode2
)) {
17031 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17033 arg2
= static_cast< unsigned int >(val2
);
17035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17036 result
= (wxToolTip
*)((wxRadioBox
const *)arg1
)->GetItemToolTip(arg2
);
17037 wxPyEndAllowThreads(__tstate
);
17038 if (PyErr_Occurred()) SWIG_fail
;
17041 resultobj
= wxPyMake_wxObject(result
, (bool)0);
17049 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17050 PyObject
*resultobj
= 0;
17051 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17052 unsigned int arg2
;
17053 wxString
*arg3
= 0 ;
17056 unsigned int val2
;
17058 bool temp3
= false ;
17059 PyObject
* obj0
= 0 ;
17060 PyObject
* obj1
= 0 ;
17061 PyObject
* obj2
= 0 ;
17062 char * kwnames
[] = {
17063 (char *) "self",(char *) "n",(char *) "helpText", NULL
17066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemHelpText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17068 if (!SWIG_IsOK(res1
)) {
17069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17071 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17072 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17073 if (!SWIG_IsOK(ecode2
)) {
17074 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17076 arg2
= static_cast< unsigned int >(val2
);
17078 arg3
= wxString_in_helper(obj2
);
17079 if (arg3
== NULL
) SWIG_fail
;
17083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17084 (arg1
)->SetItemHelpText(arg2
,(wxString
const &)*arg3
);
17085 wxPyEndAllowThreads(__tstate
);
17086 if (PyErr_Occurred()) SWIG_fail
;
17088 resultobj
= SWIG_Py_Void();
17103 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17104 PyObject
*resultobj
= 0;
17105 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17106 unsigned int arg2
;
17110 unsigned int val2
;
17112 PyObject
* obj0
= 0 ;
17113 PyObject
* obj1
= 0 ;
17114 char * kwnames
[] = {
17115 (char *) "self",(char *) "n", NULL
17118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemHelpText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17120 if (!SWIG_IsOK(res1
)) {
17121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17123 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17124 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17125 if (!SWIG_IsOK(ecode2
)) {
17126 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17128 arg2
= static_cast< unsigned int >(val2
);
17130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17131 result
= ((wxRadioBox
const *)arg1
)->GetItemHelpText(arg2
);
17132 wxPyEndAllowThreads(__tstate
);
17133 if (PyErr_Occurred()) SWIG_fail
;
17137 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17139 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17148 SWIGINTERN PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17149 PyObject
*resultobj
= 0;
17150 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17151 SwigValueWrapper
<wxVisualAttributes
> result
;
17154 PyObject
* obj0
= 0 ;
17155 char * kwnames
[] = {
17156 (char *) "variant", NULL
17159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17161 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17162 if (!SWIG_IsOK(ecode1
)) {
17163 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17165 arg1
= static_cast< wxWindowVariant
>(val1
);
17168 if (!wxPyCheckForApp()) SWIG_fail
;
17169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17170 result
= wxRadioBox::GetClassDefaultAttributes(arg1
);
17171 wxPyEndAllowThreads(__tstate
);
17172 if (PyErr_Occurred()) SWIG_fail
;
17174 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17181 SWIGINTERN PyObject
*RadioBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17183 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17184 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox
, SWIG_NewClientData(obj
));
17185 return SWIG_Py_Void();
17188 SWIGINTERN PyObject
*RadioBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17189 return SWIG_Python_InitShadowInstance(args
);
17192 SWIGINTERN PyObject
*_wrap_new_RadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17193 PyObject
*resultobj
= 0;
17194 wxWindow
*arg1
= (wxWindow
*) 0 ;
17195 int arg2
= (int) -1 ;
17196 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17197 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17198 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17199 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17200 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17201 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17202 long arg6
= (long) 0 ;
17203 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
17204 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
17205 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
17206 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17207 wxRadioButton
*result
= 0 ;
17212 bool temp3
= false ;
17219 bool temp8
= false ;
17220 PyObject
* obj0
= 0 ;
17221 PyObject
* obj1
= 0 ;
17222 PyObject
* obj2
= 0 ;
17223 PyObject
* obj3
= 0 ;
17224 PyObject
* obj4
= 0 ;
17225 PyObject
* obj5
= 0 ;
17226 PyObject
* obj6
= 0 ;
17227 PyObject
* obj7
= 0 ;
17228 char * kwnames
[] = {
17229 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
17233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17234 if (!SWIG_IsOK(res1
)) {
17235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
17237 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17239 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17240 if (!SWIG_IsOK(ecode2
)) {
17241 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
17243 arg2
= static_cast< int >(val2
);
17247 arg3
= wxString_in_helper(obj2
);
17248 if (arg3
== NULL
) SWIG_fail
;
17255 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17261 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17265 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17266 if (!SWIG_IsOK(ecode6
)) {
17267 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
17269 arg6
= static_cast< long >(val6
);
17272 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
17273 if (!SWIG_IsOK(res7
)) {
17274 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17277 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17279 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
17283 arg8
= wxString_in_helper(obj7
);
17284 if (arg8
== NULL
) SWIG_fail
;
17289 if (!wxPyCheckForApp()) SWIG_fail
;
17290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17291 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
17292 wxPyEndAllowThreads(__tstate
);
17293 if (PyErr_Occurred()) SWIG_fail
;
17295 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_NEW
| 0 );
17318 SWIGINTERN PyObject
*_wrap_new_PreRadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17319 PyObject
*resultobj
= 0;
17320 wxRadioButton
*result
= 0 ;
17322 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioButton",0,0,0)) SWIG_fail
;
17324 if (!wxPyCheckForApp()) SWIG_fail
;
17325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17326 result
= (wxRadioButton
*)new wxRadioButton();
17327 wxPyEndAllowThreads(__tstate
);
17328 if (PyErr_Occurred()) SWIG_fail
;
17330 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_OWN
| 0 );
17337 SWIGINTERN PyObject
*_wrap_RadioButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17338 PyObject
*resultobj
= 0;
17339 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17340 wxWindow
*arg2
= (wxWindow
*) 0 ;
17341 int arg3
= (int) -1 ;
17342 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17343 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17344 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17345 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17346 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17347 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17348 long arg7
= (long) 0 ;
17349 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
17350 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
17351 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
17352 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17360 bool temp4
= false ;
17367 bool temp9
= false ;
17368 PyObject
* obj0
= 0 ;
17369 PyObject
* obj1
= 0 ;
17370 PyObject
* obj2
= 0 ;
17371 PyObject
* obj3
= 0 ;
17372 PyObject
* obj4
= 0 ;
17373 PyObject
* obj5
= 0 ;
17374 PyObject
* obj6
= 0 ;
17375 PyObject
* obj7
= 0 ;
17376 PyObject
* obj8
= 0 ;
17377 char * kwnames
[] = {
17378 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
17382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17383 if (!SWIG_IsOK(res1
)) {
17384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17386 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17387 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17388 if (!SWIG_IsOK(res2
)) {
17389 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17391 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17393 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17394 if (!SWIG_IsOK(ecode3
)) {
17395 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
17397 arg3
= static_cast< int >(val3
);
17401 arg4
= wxString_in_helper(obj3
);
17402 if (arg4
== NULL
) SWIG_fail
;
17409 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17415 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17419 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
17420 if (!SWIG_IsOK(ecode7
)) {
17421 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
17423 arg7
= static_cast< long >(val7
);
17426 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
17427 if (!SWIG_IsOK(res8
)) {
17428 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17431 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17433 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
17437 arg9
= wxString_in_helper(obj8
);
17438 if (arg9
== NULL
) SWIG_fail
;
17443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17444 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
17445 wxPyEndAllowThreads(__tstate
);
17446 if (PyErr_Occurred()) SWIG_fail
;
17449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17473 SWIGINTERN PyObject
*_wrap_RadioButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17474 PyObject
*resultobj
= 0;
17475 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17479 PyObject
*swig_obj
[1] ;
17481 if (!args
) SWIG_fail
;
17482 swig_obj
[0] = args
;
17483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17484 if (!SWIG_IsOK(res1
)) {
17485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17487 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17490 result
= (bool)(arg1
)->GetValue();
17491 wxPyEndAllowThreads(__tstate
);
17492 if (PyErr_Occurred()) SWIG_fail
;
17495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17503 SWIGINTERN PyObject
*_wrap_RadioButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17504 PyObject
*resultobj
= 0;
17505 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17511 PyObject
* obj0
= 0 ;
17512 PyObject
* obj1
= 0 ;
17513 char * kwnames
[] = {
17514 (char *) "self",(char *) "value", NULL
17517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17519 if (!SWIG_IsOK(res1
)) {
17520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17522 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17523 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
17524 if (!SWIG_IsOK(ecode2
)) {
17525 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17527 arg2
= static_cast< bool >(val2
);
17529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17530 (arg1
)->SetValue(arg2
);
17531 wxPyEndAllowThreads(__tstate
);
17532 if (PyErr_Occurred()) SWIG_fail
;
17534 resultobj
= SWIG_Py_Void();
17541 SWIGINTERN PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17542 PyObject
*resultobj
= 0;
17543 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17544 SwigValueWrapper
<wxVisualAttributes
> result
;
17547 PyObject
* obj0
= 0 ;
17548 char * kwnames
[] = {
17549 (char *) "variant", NULL
17552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17554 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17555 if (!SWIG_IsOK(ecode1
)) {
17556 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17558 arg1
= static_cast< wxWindowVariant
>(val1
);
17561 if (!wxPyCheckForApp()) SWIG_fail
;
17562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17563 result
= wxRadioButton::GetClassDefaultAttributes(arg1
);
17564 wxPyEndAllowThreads(__tstate
);
17565 if (PyErr_Occurred()) SWIG_fail
;
17567 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17574 SWIGINTERN PyObject
*RadioButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17576 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17577 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton
, SWIG_NewClientData(obj
));
17578 return SWIG_Py_Void();
17581 SWIGINTERN PyObject
*RadioButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17582 return SWIG_Python_InitShadowInstance(args
);
17585 SWIGINTERN
int SliderNameStr_set(PyObject
*) {
17586 SWIG_Error(SWIG_AttributeError
,"Variable SliderNameStr is read-only.");
17591 SWIGINTERN PyObject
*SliderNameStr_get(void) {
17592 PyObject
*pyobj
= 0;
17596 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17598 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17605 SWIGINTERN PyObject
*_wrap_new_Slider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17606 PyObject
*resultobj
= 0;
17607 wxWindow
*arg1
= (wxWindow
*) 0 ;
17608 int arg2
= (int) -1 ;
17609 int arg3
= (int) 0 ;
17610 int arg4
= (int) 0 ;
17611 int arg5
= (int) 100 ;
17612 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17613 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17614 wxSize
const &arg7_defvalue
= wxDefaultSize
;
17615 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
17616 long arg8
= (long) wxSL_HORIZONTAL
;
17617 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
17618 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
17619 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
17620 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
17621 wxSlider
*result
= 0 ;
17638 bool temp10
= false ;
17639 PyObject
* obj0
= 0 ;
17640 PyObject
* obj1
= 0 ;
17641 PyObject
* obj2
= 0 ;
17642 PyObject
* obj3
= 0 ;
17643 PyObject
* obj4
= 0 ;
17644 PyObject
* obj5
= 0 ;
17645 PyObject
* obj6
= 0 ;
17646 PyObject
* obj7
= 0 ;
17647 PyObject
* obj8
= 0 ;
17648 PyObject
* obj9
= 0 ;
17649 char * kwnames
[] = {
17650 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
17654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17655 if (!SWIG_IsOK(res1
)) {
17656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17658 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17660 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17661 if (!SWIG_IsOK(ecode2
)) {
17662 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17664 arg2
= static_cast< int >(val2
);
17667 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17668 if (!SWIG_IsOK(ecode3
)) {
17669 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17671 arg3
= static_cast< int >(val3
);
17674 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17675 if (!SWIG_IsOK(ecode4
)) {
17676 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17678 arg4
= static_cast< int >(val4
);
17681 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17682 if (!SWIG_IsOK(ecode5
)) {
17683 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17685 arg5
= static_cast< int >(val5
);
17690 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
17696 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
17700 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
17701 if (!SWIG_IsOK(ecode8
)) {
17702 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17704 arg8
= static_cast< long >(val8
);
17707 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
17708 if (!SWIG_IsOK(res9
)) {
17709 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17712 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17714 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
17718 arg10
= wxString_in_helper(obj9
);
17719 if (arg10
== NULL
) SWIG_fail
;
17724 if (!wxPyCheckForApp()) SWIG_fail
;
17725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17726 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
17727 wxPyEndAllowThreads(__tstate
);
17728 if (PyErr_Occurred()) SWIG_fail
;
17730 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_NEW
| 0 );
17745 SWIGINTERN PyObject
*_wrap_new_PreSlider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17746 PyObject
*resultobj
= 0;
17747 wxSlider
*result
= 0 ;
17749 if (!SWIG_Python_UnpackTuple(args
,"new_PreSlider",0,0,0)) SWIG_fail
;
17751 if (!wxPyCheckForApp()) SWIG_fail
;
17752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17753 result
= (wxSlider
*)new wxSlider();
17754 wxPyEndAllowThreads(__tstate
);
17755 if (PyErr_Occurred()) SWIG_fail
;
17757 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_OWN
| 0 );
17764 SWIGINTERN PyObject
*_wrap_Slider_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17765 PyObject
*resultobj
= 0;
17766 wxSlider
*arg1
= (wxSlider
*) 0 ;
17767 wxWindow
*arg2
= (wxWindow
*) 0 ;
17768 int arg3
= (int) -1 ;
17769 int arg4
= (int) 0 ;
17770 int arg5
= (int) 0 ;
17771 int arg6
= (int) 100 ;
17772 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17773 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17774 wxSize
const &arg8_defvalue
= wxDefaultSize
;
17775 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
17776 long arg9
= (long) wxSL_HORIZONTAL
;
17777 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
17778 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
17779 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
17780 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
17800 bool temp11
= false ;
17801 PyObject
* obj0
= 0 ;
17802 PyObject
* obj1
= 0 ;
17803 PyObject
* obj2
= 0 ;
17804 PyObject
* obj3
= 0 ;
17805 PyObject
* obj4
= 0 ;
17806 PyObject
* obj5
= 0 ;
17807 PyObject
* obj6
= 0 ;
17808 PyObject
* obj7
= 0 ;
17809 PyObject
* obj8
= 0 ;
17810 PyObject
* obj9
= 0 ;
17811 PyObject
* obj10
= 0 ;
17812 char * kwnames
[] = {
17813 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
17817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17818 if (!SWIG_IsOK(res1
)) {
17819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
17821 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17822 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17823 if (!SWIG_IsOK(res2
)) {
17824 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17826 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17828 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17829 if (!SWIG_IsOK(ecode3
)) {
17830 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
17832 arg3
= static_cast< int >(val3
);
17835 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17836 if (!SWIG_IsOK(ecode4
)) {
17837 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
17839 arg4
= static_cast< int >(val4
);
17842 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17843 if (!SWIG_IsOK(ecode5
)) {
17844 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
17846 arg5
= static_cast< int >(val5
);
17849 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17850 if (!SWIG_IsOK(ecode6
)) {
17851 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
17853 arg6
= static_cast< int >(val6
);
17858 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17864 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
17868 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
17869 if (!SWIG_IsOK(ecode9
)) {
17870 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
17872 arg9
= static_cast< long >(val9
);
17875 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
17876 if (!SWIG_IsOK(res10
)) {
17877 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17880 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17882 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
17886 arg11
= wxString_in_helper(obj10
);
17887 if (arg11
== NULL
) SWIG_fail
;
17892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17893 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
17894 wxPyEndAllowThreads(__tstate
);
17895 if (PyErr_Occurred()) SWIG_fail
;
17898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17914 SWIGINTERN PyObject
*_wrap_Slider_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17915 PyObject
*resultobj
= 0;
17916 wxSlider
*arg1
= (wxSlider
*) 0 ;
17920 PyObject
*swig_obj
[1] ;
17922 if (!args
) SWIG_fail
;
17923 swig_obj
[0] = args
;
17924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17925 if (!SWIG_IsOK(res1
)) {
17926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
17928 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17931 result
= (int)((wxSlider
const *)arg1
)->GetValue();
17932 wxPyEndAllowThreads(__tstate
);
17933 if (PyErr_Occurred()) SWIG_fail
;
17935 resultobj
= SWIG_From_int(static_cast< int >(result
));
17942 SWIGINTERN PyObject
*_wrap_Slider_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17943 PyObject
*resultobj
= 0;
17944 wxSlider
*arg1
= (wxSlider
*) 0 ;
17950 PyObject
* obj0
= 0 ;
17951 PyObject
* obj1
= 0 ;
17952 char * kwnames
[] = {
17953 (char *) "self",(char *) "value", NULL
17956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17958 if (!SWIG_IsOK(res1
)) {
17959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
17961 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17962 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17963 if (!SWIG_IsOK(ecode2
)) {
17964 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
17966 arg2
= static_cast< int >(val2
);
17968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17969 (arg1
)->SetValue(arg2
);
17970 wxPyEndAllowThreads(__tstate
);
17971 if (PyErr_Occurred()) SWIG_fail
;
17973 resultobj
= SWIG_Py_Void();
17980 SWIGINTERN PyObject
*_wrap_Slider_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17981 PyObject
*resultobj
= 0;
17982 wxSlider
*arg1
= (wxSlider
*) 0 ;
17991 PyObject
* obj0
= 0 ;
17992 PyObject
* obj1
= 0 ;
17993 PyObject
* obj2
= 0 ;
17994 char * kwnames
[] = {
17995 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
17998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18000 if (!SWIG_IsOK(res1
)) {
18001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
18003 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18004 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18005 if (!SWIG_IsOK(ecode2
)) {
18006 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
18008 arg2
= static_cast< int >(val2
);
18009 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18010 if (!SWIG_IsOK(ecode3
)) {
18011 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
18013 arg3
= static_cast< int >(val3
);
18015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18016 (arg1
)->SetRange(arg2
,arg3
);
18017 wxPyEndAllowThreads(__tstate
);
18018 if (PyErr_Occurred()) SWIG_fail
;
18020 resultobj
= SWIG_Py_Void();
18027 SWIGINTERN PyObject
*_wrap_Slider_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18028 PyObject
*resultobj
= 0;
18029 wxSlider
*arg1
= (wxSlider
*) 0 ;
18033 PyObject
*swig_obj
[1] ;
18035 if (!args
) SWIG_fail
;
18036 swig_obj
[0] = args
;
18037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18038 if (!SWIG_IsOK(res1
)) {
18039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
18041 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18044 result
= (int)((wxSlider
const *)arg1
)->GetMin();
18045 wxPyEndAllowThreads(__tstate
);
18046 if (PyErr_Occurred()) SWIG_fail
;
18048 resultobj
= SWIG_From_int(static_cast< int >(result
));
18055 SWIGINTERN PyObject
*_wrap_Slider_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18056 PyObject
*resultobj
= 0;
18057 wxSlider
*arg1
= (wxSlider
*) 0 ;
18061 PyObject
*swig_obj
[1] ;
18063 if (!args
) SWIG_fail
;
18064 swig_obj
[0] = args
;
18065 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18066 if (!SWIG_IsOK(res1
)) {
18067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
18069 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18072 result
= (int)((wxSlider
const *)arg1
)->GetMax();
18073 wxPyEndAllowThreads(__tstate
);
18074 if (PyErr_Occurred()) SWIG_fail
;
18076 resultobj
= SWIG_From_int(static_cast< int >(result
));
18083 SWIGINTERN PyObject
*_wrap_Slider_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18084 PyObject
*resultobj
= 0;
18085 wxSlider
*arg1
= (wxSlider
*) 0 ;
18091 PyObject
* obj0
= 0 ;
18092 PyObject
* obj1
= 0 ;
18093 char * kwnames
[] = {
18094 (char *) "self",(char *) "minValue", NULL
18097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18099 if (!SWIG_IsOK(res1
)) {
18100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
18102 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18103 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18104 if (!SWIG_IsOK(ecode2
)) {
18105 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
18107 arg2
= static_cast< int >(val2
);
18109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18110 (arg1
)->SetMin(arg2
);
18111 wxPyEndAllowThreads(__tstate
);
18112 if (PyErr_Occurred()) SWIG_fail
;
18114 resultobj
= SWIG_Py_Void();
18121 SWIGINTERN PyObject
*_wrap_Slider_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18122 PyObject
*resultobj
= 0;
18123 wxSlider
*arg1
= (wxSlider
*) 0 ;
18129 PyObject
* obj0
= 0 ;
18130 PyObject
* obj1
= 0 ;
18131 char * kwnames
[] = {
18132 (char *) "self",(char *) "maxValue", NULL
18135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18137 if (!SWIG_IsOK(res1
)) {
18138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
18140 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18141 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18142 if (!SWIG_IsOK(ecode2
)) {
18143 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
18145 arg2
= static_cast< int >(val2
);
18147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18148 (arg1
)->SetMax(arg2
);
18149 wxPyEndAllowThreads(__tstate
);
18150 if (PyErr_Occurred()) SWIG_fail
;
18152 resultobj
= SWIG_Py_Void();
18159 SWIGINTERN PyObject
*_wrap_Slider_SetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18160 PyObject
*resultobj
= 0;
18161 wxSlider
*arg1
= (wxSlider
*) 0 ;
18167 PyObject
* obj0
= 0 ;
18168 PyObject
* obj1
= 0 ;
18169 char * kwnames
[] = {
18170 (char *) "self",(char *) "lineSize", NULL
18173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18175 if (!SWIG_IsOK(res1
)) {
18176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetLineSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18178 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18179 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18180 if (!SWIG_IsOK(ecode2
)) {
18181 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetLineSize" "', expected argument " "2"" of type '" "int""'");
18183 arg2
= static_cast< int >(val2
);
18185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18186 (arg1
)->SetLineSize(arg2
);
18187 wxPyEndAllowThreads(__tstate
);
18188 if (PyErr_Occurred()) SWIG_fail
;
18190 resultobj
= SWIG_Py_Void();
18197 SWIGINTERN PyObject
*_wrap_Slider_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18198 PyObject
*resultobj
= 0;
18199 wxSlider
*arg1
= (wxSlider
*) 0 ;
18205 PyObject
* obj0
= 0 ;
18206 PyObject
* obj1
= 0 ;
18207 char * kwnames
[] = {
18208 (char *) "self",(char *) "pageSize", NULL
18211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18213 if (!SWIG_IsOK(res1
)) {
18214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetPageSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18216 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18217 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18218 if (!SWIG_IsOK(ecode2
)) {
18219 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetPageSize" "', expected argument " "2"" of type '" "int""'");
18221 arg2
= static_cast< int >(val2
);
18223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18224 (arg1
)->SetPageSize(arg2
);
18225 wxPyEndAllowThreads(__tstate
);
18226 if (PyErr_Occurred()) SWIG_fail
;
18228 resultobj
= SWIG_Py_Void();
18235 SWIGINTERN PyObject
*_wrap_Slider_GetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18236 PyObject
*resultobj
= 0;
18237 wxSlider
*arg1
= (wxSlider
*) 0 ;
18241 PyObject
*swig_obj
[1] ;
18243 if (!args
) SWIG_fail
;
18244 swig_obj
[0] = args
;
18245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18246 if (!SWIG_IsOK(res1
)) {
18247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18249 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18252 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
18253 wxPyEndAllowThreads(__tstate
);
18254 if (PyErr_Occurred()) SWIG_fail
;
18256 resultobj
= SWIG_From_int(static_cast< int >(result
));
18263 SWIGINTERN PyObject
*_wrap_Slider_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18264 PyObject
*resultobj
= 0;
18265 wxSlider
*arg1
= (wxSlider
*) 0 ;
18269 PyObject
*swig_obj
[1] ;
18271 if (!args
) SWIG_fail
;
18272 swig_obj
[0] = args
;
18273 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18274 if (!SWIG_IsOK(res1
)) {
18275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18277 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18280 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
18281 wxPyEndAllowThreads(__tstate
);
18282 if (PyErr_Occurred()) SWIG_fail
;
18284 resultobj
= SWIG_From_int(static_cast< int >(result
));
18291 SWIGINTERN PyObject
*_wrap_Slider_SetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18292 PyObject
*resultobj
= 0;
18293 wxSlider
*arg1
= (wxSlider
*) 0 ;
18299 PyObject
* obj0
= 0 ;
18300 PyObject
* obj1
= 0 ;
18301 char * kwnames
[] = {
18302 (char *) "self",(char *) "lenPixels", NULL
18305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18307 if (!SWIG_IsOK(res1
)) {
18308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
18310 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18311 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18312 if (!SWIG_IsOK(ecode2
)) {
18313 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
18315 arg2
= static_cast< int >(val2
);
18317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18318 (arg1
)->SetThumbLength(arg2
);
18319 wxPyEndAllowThreads(__tstate
);
18320 if (PyErr_Occurred()) SWIG_fail
;
18322 resultobj
= SWIG_Py_Void();
18329 SWIGINTERN PyObject
*_wrap_Slider_GetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18330 PyObject
*resultobj
= 0;
18331 wxSlider
*arg1
= (wxSlider
*) 0 ;
18335 PyObject
*swig_obj
[1] ;
18337 if (!args
) SWIG_fail
;
18338 swig_obj
[0] = args
;
18339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18340 if (!SWIG_IsOK(res1
)) {
18341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
18343 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18346 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
18347 wxPyEndAllowThreads(__tstate
);
18348 if (PyErr_Occurred()) SWIG_fail
;
18350 resultobj
= SWIG_From_int(static_cast< int >(result
));
18357 SWIGINTERN PyObject
*_wrap_Slider_SetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18358 PyObject
*resultobj
= 0;
18359 wxSlider
*arg1
= (wxSlider
*) 0 ;
18361 int arg3
= (int) 1 ;
18368 PyObject
* obj0
= 0 ;
18369 PyObject
* obj1
= 0 ;
18370 PyObject
* obj2
= 0 ;
18371 char * kwnames
[] = {
18372 (char *) "self",(char *) "n",(char *) "pos", NULL
18375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18377 if (!SWIG_IsOK(res1
)) {
18378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
18380 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18381 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18382 if (!SWIG_IsOK(ecode2
)) {
18383 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
18385 arg2
= static_cast< int >(val2
);
18387 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18388 if (!SWIG_IsOK(ecode3
)) {
18389 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
18391 arg3
= static_cast< int >(val3
);
18394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18395 (arg1
)->SetTickFreq(arg2
,arg3
);
18396 wxPyEndAllowThreads(__tstate
);
18397 if (PyErr_Occurred()) SWIG_fail
;
18399 resultobj
= SWIG_Py_Void();
18406 SWIGINTERN PyObject
*_wrap_Slider_GetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18407 PyObject
*resultobj
= 0;
18408 wxSlider
*arg1
= (wxSlider
*) 0 ;
18412 PyObject
*swig_obj
[1] ;
18414 if (!args
) SWIG_fail
;
18415 swig_obj
[0] = args
;
18416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18417 if (!SWIG_IsOK(res1
)) {
18418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
18420 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18423 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
18424 wxPyEndAllowThreads(__tstate
);
18425 if (PyErr_Occurred()) SWIG_fail
;
18427 resultobj
= SWIG_From_int(static_cast< int >(result
));
18434 SWIGINTERN PyObject
*_wrap_Slider_ClearTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18435 PyObject
*resultobj
= 0;
18436 wxSlider
*arg1
= (wxSlider
*) 0 ;
18439 PyObject
*swig_obj
[1] ;
18441 if (!args
) SWIG_fail
;
18442 swig_obj
[0] = args
;
18443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18444 if (!SWIG_IsOK(res1
)) {
18445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18447 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18450 (arg1
)->ClearTicks();
18451 wxPyEndAllowThreads(__tstate
);
18452 if (PyErr_Occurred()) SWIG_fail
;
18454 resultobj
= SWIG_Py_Void();
18461 SWIGINTERN PyObject
*_wrap_Slider_SetTick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18462 PyObject
*resultobj
= 0;
18463 wxSlider
*arg1
= (wxSlider
*) 0 ;
18469 PyObject
* obj0
= 0 ;
18470 PyObject
* obj1
= 0 ;
18471 char * kwnames
[] = {
18472 (char *) "self",(char *) "tickPos", NULL
18475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18477 if (!SWIG_IsOK(res1
)) {
18478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
18480 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18481 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18482 if (!SWIG_IsOK(ecode2
)) {
18483 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
18485 arg2
= static_cast< int >(val2
);
18487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18488 (arg1
)->SetTick(arg2
);
18489 wxPyEndAllowThreads(__tstate
);
18490 if (PyErr_Occurred()) SWIG_fail
;
18492 resultobj
= SWIG_Py_Void();
18499 SWIGINTERN PyObject
*_wrap_Slider_ClearSel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18500 PyObject
*resultobj
= 0;
18501 wxSlider
*arg1
= (wxSlider
*) 0 ;
18504 PyObject
*swig_obj
[1] ;
18506 if (!args
) SWIG_fail
;
18507 swig_obj
[0] = args
;
18508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18509 if (!SWIG_IsOK(res1
)) {
18510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18512 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18515 (arg1
)->ClearSel();
18516 wxPyEndAllowThreads(__tstate
);
18517 if (PyErr_Occurred()) SWIG_fail
;
18519 resultobj
= SWIG_Py_Void();
18526 SWIGINTERN PyObject
*_wrap_Slider_GetSelEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18527 PyObject
*resultobj
= 0;
18528 wxSlider
*arg1
= (wxSlider
*) 0 ;
18532 PyObject
*swig_obj
[1] ;
18534 if (!args
) SWIG_fail
;
18535 swig_obj
[0] = args
;
18536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18537 if (!SWIG_IsOK(res1
)) {
18538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18540 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18543 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
18544 wxPyEndAllowThreads(__tstate
);
18545 if (PyErr_Occurred()) SWIG_fail
;
18547 resultobj
= SWIG_From_int(static_cast< int >(result
));
18554 SWIGINTERN PyObject
*_wrap_Slider_GetSelStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18555 PyObject
*resultobj
= 0;
18556 wxSlider
*arg1
= (wxSlider
*) 0 ;
18560 PyObject
*swig_obj
[1] ;
18562 if (!args
) SWIG_fail
;
18563 swig_obj
[0] = args
;
18564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18565 if (!SWIG_IsOK(res1
)) {
18566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18568 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18571 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
18572 wxPyEndAllowThreads(__tstate
);
18573 if (PyErr_Occurred()) SWIG_fail
;
18575 resultobj
= SWIG_From_int(static_cast< int >(result
));
18582 SWIGINTERN PyObject
*_wrap_Slider_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18583 PyObject
*resultobj
= 0;
18584 wxSlider
*arg1
= (wxSlider
*) 0 ;
18593 PyObject
* obj0
= 0 ;
18594 PyObject
* obj1
= 0 ;
18595 PyObject
* obj2
= 0 ;
18596 char * kwnames
[] = {
18597 (char *) "self",(char *) "min",(char *) "max", NULL
18600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18602 if (!SWIG_IsOK(res1
)) {
18603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18605 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18606 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18607 if (!SWIG_IsOK(ecode2
)) {
18608 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18610 arg2
= static_cast< int >(val2
);
18611 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18612 if (!SWIG_IsOK(ecode3
)) {
18613 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18615 arg3
= static_cast< int >(val3
);
18617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18618 (arg1
)->SetSelection(arg2
,arg3
);
18619 wxPyEndAllowThreads(__tstate
);
18620 if (PyErr_Occurred()) SWIG_fail
;
18622 resultobj
= SWIG_Py_Void();
18629 SWIGINTERN PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18630 PyObject
*resultobj
= 0;
18631 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18632 SwigValueWrapper
<wxVisualAttributes
> result
;
18635 PyObject
* obj0
= 0 ;
18636 char * kwnames
[] = {
18637 (char *) "variant", NULL
18640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18642 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18643 if (!SWIG_IsOK(ecode1
)) {
18644 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18646 arg1
= static_cast< wxWindowVariant
>(val1
);
18649 if (!wxPyCheckForApp()) SWIG_fail
;
18650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18651 result
= wxSlider::GetClassDefaultAttributes(arg1
);
18652 wxPyEndAllowThreads(__tstate
);
18653 if (PyErr_Occurred()) SWIG_fail
;
18655 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18662 SWIGINTERN PyObject
*Slider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18664 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18665 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider
, SWIG_NewClientData(obj
));
18666 return SWIG_Py_Void();
18669 SWIGINTERN PyObject
*Slider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18670 return SWIG_Python_InitShadowInstance(args
);
18673 SWIGINTERN
int ToggleButtonNameStr_set(PyObject
*) {
18674 SWIG_Error(SWIG_AttributeError
,"Variable ToggleButtonNameStr is read-only.");
18679 SWIGINTERN PyObject
*ToggleButtonNameStr_get(void) {
18680 PyObject
*pyobj
= 0;
18684 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18686 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18693 SWIGINTERN PyObject
*_wrap_new_ToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18694 PyObject
*resultobj
= 0;
18695 wxWindow
*arg1
= (wxWindow
*) 0 ;
18696 int arg2
= (int) -1 ;
18697 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18698 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18699 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18700 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18701 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18702 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18703 long arg6
= (long) 0 ;
18704 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
18705 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
18706 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
18707 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
18708 wxToggleButton
*result
= 0 ;
18713 bool temp3
= false ;
18720 bool temp8
= false ;
18721 PyObject
* obj0
= 0 ;
18722 PyObject
* obj1
= 0 ;
18723 PyObject
* obj2
= 0 ;
18724 PyObject
* obj3
= 0 ;
18725 PyObject
* obj4
= 0 ;
18726 PyObject
* obj5
= 0 ;
18727 PyObject
* obj6
= 0 ;
18728 PyObject
* obj7
= 0 ;
18729 char * kwnames
[] = {
18730 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18735 if (!SWIG_IsOK(res1
)) {
18736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18738 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18740 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18741 if (!SWIG_IsOK(ecode2
)) {
18742 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18744 arg2
= static_cast< int >(val2
);
18748 arg3
= wxString_in_helper(obj2
);
18749 if (arg3
== NULL
) SWIG_fail
;
18756 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18762 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18766 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18767 if (!SWIG_IsOK(ecode6
)) {
18768 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
18770 arg6
= static_cast< long >(val6
);
18773 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
18774 if (!SWIG_IsOK(res7
)) {
18775 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18778 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18780 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
18784 arg8
= wxString_in_helper(obj7
);
18785 if (arg8
== NULL
) SWIG_fail
;
18790 if (!wxPyCheckForApp()) SWIG_fail
;
18791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18792 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
18793 wxPyEndAllowThreads(__tstate
);
18794 if (PyErr_Occurred()) SWIG_fail
;
18796 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_NEW
| 0 );
18819 SWIGINTERN PyObject
*_wrap_new_PreToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18820 PyObject
*resultobj
= 0;
18821 wxToggleButton
*result
= 0 ;
18823 if (!SWIG_Python_UnpackTuple(args
,"new_PreToggleButton",0,0,0)) SWIG_fail
;
18825 if (!wxPyCheckForApp()) SWIG_fail
;
18826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18827 result
= (wxToggleButton
*)new wxToggleButton();
18828 wxPyEndAllowThreads(__tstate
);
18829 if (PyErr_Occurred()) SWIG_fail
;
18831 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_OWN
| 0 );
18838 SWIGINTERN PyObject
*_wrap_ToggleButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18839 PyObject
*resultobj
= 0;
18840 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18841 wxWindow
*arg2
= (wxWindow
*) 0 ;
18842 int arg3
= (int) -1 ;
18843 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18844 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18845 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
18846 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
18847 wxSize
const &arg6_defvalue
= wxDefaultSize
;
18848 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
18849 long arg7
= (long) 0 ;
18850 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
18851 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
18852 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
18853 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
18861 bool temp4
= false ;
18868 bool temp9
= false ;
18869 PyObject
* obj0
= 0 ;
18870 PyObject
* obj1
= 0 ;
18871 PyObject
* obj2
= 0 ;
18872 PyObject
* obj3
= 0 ;
18873 PyObject
* obj4
= 0 ;
18874 PyObject
* obj5
= 0 ;
18875 PyObject
* obj6
= 0 ;
18876 PyObject
* obj7
= 0 ;
18877 PyObject
* obj8
= 0 ;
18878 char * kwnames
[] = {
18879 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
18883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18884 if (!SWIG_IsOK(res1
)) {
18885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18887 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18888 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18889 if (!SWIG_IsOK(res2
)) {
18890 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18892 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
18894 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18895 if (!SWIG_IsOK(ecode3
)) {
18896 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
18898 arg3
= static_cast< int >(val3
);
18902 arg4
= wxString_in_helper(obj3
);
18903 if (arg4
== NULL
) SWIG_fail
;
18910 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18916 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
18920 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18921 if (!SWIG_IsOK(ecode7
)) {
18922 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
18924 arg7
= static_cast< long >(val7
);
18927 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
18928 if (!SWIG_IsOK(res8
)) {
18929 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18932 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18934 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
18938 arg9
= wxString_in_helper(obj8
);
18939 if (arg9
== NULL
) SWIG_fail
;
18944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18945 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
18946 wxPyEndAllowThreads(__tstate
);
18947 if (PyErr_Occurred()) SWIG_fail
;
18950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18974 SWIGINTERN PyObject
*_wrap_ToggleButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18975 PyObject
*resultobj
= 0;
18976 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18982 PyObject
* obj0
= 0 ;
18983 PyObject
* obj1
= 0 ;
18984 char * kwnames
[] = {
18985 (char *) "self",(char *) "value", NULL
18988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18990 if (!SWIG_IsOK(res1
)) {
18991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18993 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18994 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18995 if (!SWIG_IsOK(ecode2
)) {
18996 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
18998 arg2
= static_cast< bool >(val2
);
19000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19001 (arg1
)->SetValue(arg2
);
19002 wxPyEndAllowThreads(__tstate
);
19003 if (PyErr_Occurred()) SWIG_fail
;
19005 resultobj
= SWIG_Py_Void();
19012 SWIGINTERN PyObject
*_wrap_ToggleButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19013 PyObject
*resultobj
= 0;
19014 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
19018 PyObject
*swig_obj
[1] ;
19020 if (!args
) SWIG_fail
;
19021 swig_obj
[0] = args
;
19022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19023 if (!SWIG_IsOK(res1
)) {
19024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
19026 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19029 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
19030 wxPyEndAllowThreads(__tstate
);
19031 if (PyErr_Occurred()) SWIG_fail
;
19034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19042 SWIGINTERN PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19043 PyObject
*resultobj
= 0;
19044 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
19045 SwigValueWrapper
<wxVisualAttributes
> result
;
19048 PyObject
* obj0
= 0 ;
19049 char * kwnames
[] = {
19050 (char *) "variant", NULL
19053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
19055 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19056 if (!SWIG_IsOK(ecode1
)) {
19057 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
19059 arg1
= static_cast< wxWindowVariant
>(val1
);
19062 if (!wxPyCheckForApp()) SWIG_fail
;
19063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19064 result
= wxToggleButton::GetClassDefaultAttributes(arg1
);
19065 wxPyEndAllowThreads(__tstate
);
19066 if (PyErr_Occurred()) SWIG_fail
;
19068 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
19075 SWIGINTERN PyObject
*ToggleButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19077 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19078 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton
, SWIG_NewClientData(obj
));
19079 return SWIG_Py_Void();
19082 SWIGINTERN PyObject
*ToggleButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19083 return SWIG_Python_InitShadowInstance(args
);
19086 SWIGINTERN
int NotebookNameStr_set(PyObject
*) {
19087 SWIG_Error(SWIG_AttributeError
,"Variable NotebookNameStr is read-only.");
19092 SWIGINTERN PyObject
*NotebookNameStr_get(void) {
19093 PyObject
*pyobj
= 0;
19097 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19099 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19106 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19107 PyObject
*resultobj
= 0;
19108 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19112 PyObject
*swig_obj
[1] ;
19114 if (!args
) SWIG_fail
;
19115 swig_obj
[0] = args
;
19116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19117 if (!SWIG_IsOK(res1
)) {
19118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19120 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19123 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
19124 wxPyEndAllowThreads(__tstate
);
19125 if (PyErr_Occurred()) SWIG_fail
;
19127 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
19134 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19135 PyObject
*resultobj
= 0;
19136 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19138 wxWindow
*result
= 0 ;
19143 PyObject
* obj0
= 0 ;
19144 PyObject
* obj1
= 0 ;
19145 char * kwnames
[] = {
19146 (char *) "self",(char *) "n", NULL
19149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19151 if (!SWIG_IsOK(res1
)) {
19152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19154 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19155 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19156 if (!SWIG_IsOK(ecode2
)) {
19157 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
19159 arg2
= static_cast< size_t >(val2
);
19161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19162 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
19163 wxPyEndAllowThreads(__tstate
);
19164 if (PyErr_Occurred()) SWIG_fail
;
19167 resultobj
= wxPyMake_wxObject(result
, 0);
19175 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19176 PyObject
*resultobj
= 0;
19177 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19178 wxWindow
*result
= 0 ;
19181 PyObject
*swig_obj
[1] ;
19183 if (!args
) SWIG_fail
;
19184 swig_obj
[0] = args
;
19185 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19186 if (!SWIG_IsOK(res1
)) {
19187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19189 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19192 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
19193 wxPyEndAllowThreads(__tstate
);
19194 if (PyErr_Occurred()) SWIG_fail
;
19197 resultobj
= wxPyMake_wxObject(result
, 0);
19205 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19206 PyObject
*resultobj
= 0;
19207 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19211 PyObject
*swig_obj
[1] ;
19213 if (!args
) SWIG_fail
;
19214 swig_obj
[0] = args
;
19215 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19216 if (!SWIG_IsOK(res1
)) {
19217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19219 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19222 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
19223 wxPyEndAllowThreads(__tstate
);
19224 if (PyErr_Occurred()) SWIG_fail
;
19226 resultobj
= SWIG_From_int(static_cast< int >(result
));
19233 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19234 PyObject
*resultobj
= 0;
19235 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19237 wxString
*arg3
= 0 ;
19243 bool temp3
= false ;
19244 PyObject
* obj0
= 0 ;
19245 PyObject
* obj1
= 0 ;
19246 PyObject
* obj2
= 0 ;
19247 char * kwnames
[] = {
19248 (char *) "self",(char *) "n",(char *) "strText", NULL
19251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19253 if (!SWIG_IsOK(res1
)) {
19254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19256 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19257 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19258 if (!SWIG_IsOK(ecode2
)) {
19259 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
19261 arg2
= static_cast< size_t >(val2
);
19263 arg3
= wxString_in_helper(obj2
);
19264 if (arg3
== NULL
) SWIG_fail
;
19268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19269 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
19270 wxPyEndAllowThreads(__tstate
);
19271 if (PyErr_Occurred()) SWIG_fail
;
19274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19290 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19291 PyObject
*resultobj
= 0;
19292 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19299 PyObject
* obj0
= 0 ;
19300 PyObject
* obj1
= 0 ;
19301 char * kwnames
[] = {
19302 (char *) "self",(char *) "n", NULL
19305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19307 if (!SWIG_IsOK(res1
)) {
19308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19310 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19311 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19312 if (!SWIG_IsOK(ecode2
)) {
19313 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
19315 arg2
= static_cast< size_t >(val2
);
19317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19318 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
19319 wxPyEndAllowThreads(__tstate
);
19320 if (PyErr_Occurred()) SWIG_fail
;
19324 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19326 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19335 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19336 PyObject
*resultobj
= 0;
19337 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19338 wxImageList
*arg2
= (wxImageList
*) 0 ;
19343 PyObject
* obj0
= 0 ;
19344 PyObject
* obj1
= 0 ;
19345 char * kwnames
[] = {
19346 (char *) "self",(char *) "imageList", NULL
19349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19351 if (!SWIG_IsOK(res1
)) {
19352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19354 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19355 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
19356 if (!SWIG_IsOK(res2
)) {
19357 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19359 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
19361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19362 (arg1
)->SetImageList(arg2
);
19363 wxPyEndAllowThreads(__tstate
);
19364 if (PyErr_Occurred()) SWIG_fail
;
19366 resultobj
= SWIG_Py_Void();
19373 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19374 PyObject
*resultobj
= 0;
19375 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19376 wxImageList
*arg2
= (wxImageList
*) 0 ;
19380 PyObject
* obj0
= 0 ;
19381 PyObject
* obj1
= 0 ;
19382 char * kwnames
[] = {
19383 (char *) "self",(char *) "imageList", NULL
19386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19388 if (!SWIG_IsOK(res1
)) {
19389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19391 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19392 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
19393 if (!SWIG_IsOK(res2
)) {
19394 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19398 (arg1
)->AssignImageList(arg2
);
19399 wxPyEndAllowThreads(__tstate
);
19400 if (PyErr_Occurred()) SWIG_fail
;
19402 resultobj
= SWIG_Py_Void();
19409 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19410 PyObject
*resultobj
= 0;
19411 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19412 wxImageList
*result
= 0 ;
19415 PyObject
*swig_obj
[1] ;
19417 if (!args
) SWIG_fail
;
19418 swig_obj
[0] = args
;
19419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19420 if (!SWIG_IsOK(res1
)) {
19421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19423 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19426 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
19427 wxPyEndAllowThreads(__tstate
);
19428 if (PyErr_Occurred()) SWIG_fail
;
19431 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19439 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19440 PyObject
*resultobj
= 0;
19441 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19448 PyObject
* obj0
= 0 ;
19449 PyObject
* obj1
= 0 ;
19450 char * kwnames
[] = {
19451 (char *) "self",(char *) "n", NULL
19454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19456 if (!SWIG_IsOK(res1
)) {
19457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19459 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19460 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19461 if (!SWIG_IsOK(ecode2
)) {
19462 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19464 arg2
= static_cast< size_t >(val2
);
19466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19467 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
19468 wxPyEndAllowThreads(__tstate
);
19469 if (PyErr_Occurred()) SWIG_fail
;
19471 resultobj
= SWIG_From_int(static_cast< int >(result
));
19478 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19479 PyObject
*resultobj
= 0;
19480 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19490 PyObject
* obj0
= 0 ;
19491 PyObject
* obj1
= 0 ;
19492 PyObject
* obj2
= 0 ;
19493 char * kwnames
[] = {
19494 (char *) "self",(char *) "n",(char *) "imageId", NULL
19497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19499 if (!SWIG_IsOK(res1
)) {
19500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19502 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19503 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19504 if (!SWIG_IsOK(ecode2
)) {
19505 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19507 arg2
= static_cast< size_t >(val2
);
19508 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19509 if (!SWIG_IsOK(ecode3
)) {
19510 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19512 arg3
= static_cast< int >(val3
);
19514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19515 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
19516 wxPyEndAllowThreads(__tstate
);
19517 if (PyErr_Occurred()) SWIG_fail
;
19520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19528 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19529 PyObject
*resultobj
= 0;
19530 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19535 PyObject
* obj0
= 0 ;
19536 PyObject
* obj1
= 0 ;
19537 char * kwnames
[] = {
19538 (char *) "self",(char *) "size", NULL
19541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19543 if (!SWIG_IsOK(res1
)) {
19544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19546 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19549 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19553 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
19554 wxPyEndAllowThreads(__tstate
);
19555 if (PyErr_Occurred()) SWIG_fail
;
19557 resultobj
= SWIG_Py_Void();
19564 SWIGINTERN PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19565 PyObject
*resultobj
= 0;
19566 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19572 PyObject
* obj0
= 0 ;
19573 PyObject
* obj1
= 0 ;
19574 char * kwnames
[] = {
19575 (char *) "self",(char *) "sizePage", NULL
19578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19580 if (!SWIG_IsOK(res1
)) {
19581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19583 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19586 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19590 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
19591 wxPyEndAllowThreads(__tstate
);
19592 if (PyErr_Occurred()) SWIG_fail
;
19594 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19601 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19602 PyObject
*resultobj
= 0;
19603 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19604 unsigned int result
;
19607 PyObject
*swig_obj
[1] ;
19609 if (!args
) SWIG_fail
;
19610 swig_obj
[0] = args
;
19611 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19612 if (!SWIG_IsOK(res1
)) {
19613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19615 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19618 result
= (unsigned int)((wxBookCtrlBase
const *)arg1
)->GetInternalBorder();
19619 wxPyEndAllowThreads(__tstate
);
19620 if (PyErr_Occurred()) SWIG_fail
;
19622 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
19629 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19630 PyObject
*resultobj
= 0;
19631 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19632 unsigned int arg2
;
19635 unsigned int val2
;
19637 PyObject
* obj0
= 0 ;
19638 PyObject
* obj1
= 0 ;
19639 char * kwnames
[] = {
19640 (char *) "self",(char *) "internalBorder", NULL
19643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19645 if (!SWIG_IsOK(res1
)) {
19646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19648 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19649 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
19650 if (!SWIG_IsOK(ecode2
)) {
19651 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "unsigned int""'");
19653 arg2
= static_cast< unsigned int >(val2
);
19655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19656 (arg1
)->SetInternalBorder(arg2
);
19657 wxPyEndAllowThreads(__tstate
);
19658 if (PyErr_Occurred()) SWIG_fail
;
19660 resultobj
= SWIG_Py_Void();
19667 SWIGINTERN PyObject
*_wrap_BookCtrlBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19668 PyObject
*resultobj
= 0;
19669 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19673 PyObject
*swig_obj
[1] ;
19675 if (!args
) SWIG_fail
;
19676 swig_obj
[0] = args
;
19677 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19678 if (!SWIG_IsOK(res1
)) {
19679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19681 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19684 result
= (bool)((wxBookCtrlBase
const *)arg1
)->IsVertical();
19685 wxPyEndAllowThreads(__tstate
);
19686 if (PyErr_Occurred()) SWIG_fail
;
19689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19697 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19698 PyObject
*resultobj
= 0;
19699 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19705 PyObject
* obj0
= 0 ;
19706 PyObject
* obj1
= 0 ;
19707 char * kwnames
[] = {
19708 (char *) "self",(char *) "margin", NULL
19711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetControlMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19713 if (!SWIG_IsOK(res1
)) {
19714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19716 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19717 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19718 if (!SWIG_IsOK(ecode2
)) {
19719 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "2"" of type '" "int""'");
19721 arg2
= static_cast< int >(val2
);
19723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19724 (arg1
)->SetControlMargin(arg2
);
19725 wxPyEndAllowThreads(__tstate
);
19726 if (PyErr_Occurred()) SWIG_fail
;
19728 resultobj
= SWIG_Py_Void();
19735 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19736 PyObject
*resultobj
= 0;
19737 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19741 PyObject
*swig_obj
[1] ;
19743 if (!args
) SWIG_fail
;
19744 swig_obj
[0] = args
;
19745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19746 if (!SWIG_IsOK(res1
)) {
19747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19749 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19752 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetControlMargin();
19753 wxPyEndAllowThreads(__tstate
);
19754 if (PyErr_Occurred()) SWIG_fail
;
19756 resultobj
= SWIG_From_int(static_cast< int >(result
));
19763 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19764 PyObject
*resultobj
= 0;
19765 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19771 PyObject
* obj0
= 0 ;
19772 PyObject
* obj1
= 0 ;
19773 char * kwnames
[] = {
19774 (char *) "self",(char *) "fit", NULL
19777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19779 if (!SWIG_IsOK(res1
)) {
19780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19782 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19783 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19784 if (!SWIG_IsOK(ecode2
)) {
19785 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
19787 arg2
= static_cast< bool >(val2
);
19789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19790 (arg1
)->SetFitToCurrentPage(arg2
);
19791 wxPyEndAllowThreads(__tstate
);
19792 if (PyErr_Occurred()) SWIG_fail
;
19794 resultobj
= SWIG_Py_Void();
19801 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19802 PyObject
*resultobj
= 0;
19803 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19807 PyObject
*swig_obj
[1] ;
19809 if (!args
) SWIG_fail
;
19810 swig_obj
[0] = args
;
19811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19812 if (!SWIG_IsOK(res1
)) {
19813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19815 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19818 result
= (bool)((wxBookCtrlBase
const *)arg1
)->GetFitToCurrentPage();
19819 wxPyEndAllowThreads(__tstate
);
19820 if (PyErr_Occurred()) SWIG_fail
;
19823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19831 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19832 PyObject
*resultobj
= 0;
19833 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19834 wxSizer
*result
= 0 ;
19837 PyObject
*swig_obj
[1] ;
19839 if (!args
) SWIG_fail
;
19840 swig_obj
[0] = args
;
19841 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19842 if (!SWIG_IsOK(res1
)) {
19843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlSizer" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19845 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19848 result
= (wxSizer
*)((wxBookCtrlBase
const *)arg1
)->GetControlSizer();
19849 wxPyEndAllowThreads(__tstate
);
19850 if (PyErr_Occurred()) SWIG_fail
;
19853 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19861 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19862 PyObject
*resultobj
= 0;
19863 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19870 PyObject
* obj0
= 0 ;
19871 PyObject
* obj1
= 0 ;
19872 char * kwnames
[] = {
19873 (char *) "self",(char *) "n", NULL
19876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19878 if (!SWIG_IsOK(res1
)) {
19879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19881 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19882 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19883 if (!SWIG_IsOK(ecode2
)) {
19884 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
19886 arg2
= static_cast< size_t >(val2
);
19888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19889 result
= (bool)(arg1
)->DeletePage(arg2
);
19890 wxPyEndAllowThreads(__tstate
);
19891 if (PyErr_Occurred()) SWIG_fail
;
19894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19902 SWIGINTERN PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19903 PyObject
*resultobj
= 0;
19904 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19911 PyObject
* obj0
= 0 ;
19912 PyObject
* obj1
= 0 ;
19913 char * kwnames
[] = {
19914 (char *) "self",(char *) "n", NULL
19917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19919 if (!SWIG_IsOK(res1
)) {
19920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19922 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19923 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19924 if (!SWIG_IsOK(ecode2
)) {
19925 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
19927 arg2
= static_cast< size_t >(val2
);
19929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19930 result
= (bool)(arg1
)->RemovePage(arg2
);
19931 wxPyEndAllowThreads(__tstate
);
19932 if (PyErr_Occurred()) SWIG_fail
;
19935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19943 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19944 PyObject
*resultobj
= 0;
19945 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19949 PyObject
*swig_obj
[1] ;
19951 if (!args
) SWIG_fail
;
19952 swig_obj
[0] = args
;
19953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19954 if (!SWIG_IsOK(res1
)) {
19955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19957 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19960 result
= (bool)(arg1
)->DeleteAllPages();
19961 wxPyEndAllowThreads(__tstate
);
19962 if (PyErr_Occurred()) SWIG_fail
;
19965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19973 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19974 PyObject
*resultobj
= 0;
19975 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19976 wxWindow
*arg2
= (wxWindow
*) 0 ;
19977 wxString
*arg3
= 0 ;
19978 bool arg4
= (bool) false ;
19979 int arg5
= (int) -1 ;
19985 bool temp3
= false ;
19990 PyObject
* obj0
= 0 ;
19991 PyObject
* obj1
= 0 ;
19992 PyObject
* obj2
= 0 ;
19993 PyObject
* obj3
= 0 ;
19994 PyObject
* obj4
= 0 ;
19995 char * kwnames
[] = {
19996 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
19999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20001 if (!SWIG_IsOK(res1
)) {
20002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20004 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20005 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20006 if (!SWIG_IsOK(res2
)) {
20007 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
20009 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20011 arg3
= wxString_in_helper(obj2
);
20012 if (arg3
== NULL
) SWIG_fail
;
20016 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
20017 if (!SWIG_IsOK(ecode4
)) {
20018 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
20020 arg4
= static_cast< bool >(val4
);
20023 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20024 if (!SWIG_IsOK(ecode5
)) {
20025 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
20027 arg5
= static_cast< int >(val5
);
20030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20031 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
20032 wxPyEndAllowThreads(__tstate
);
20033 if (PyErr_Occurred()) SWIG_fail
;
20036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20052 SWIGINTERN PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20053 PyObject
*resultobj
= 0;
20054 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20056 wxWindow
*arg3
= (wxWindow
*) 0 ;
20057 wxString
*arg4
= 0 ;
20058 bool arg5
= (bool) false ;
20059 int arg6
= (int) -1 ;
20067 bool temp4
= false ;
20072 PyObject
* obj0
= 0 ;
20073 PyObject
* obj1
= 0 ;
20074 PyObject
* obj2
= 0 ;
20075 PyObject
* obj3
= 0 ;
20076 PyObject
* obj4
= 0 ;
20077 PyObject
* obj5
= 0 ;
20078 char * kwnames
[] = {
20079 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20084 if (!SWIG_IsOK(res1
)) {
20085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20087 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20088 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20089 if (!SWIG_IsOK(ecode2
)) {
20090 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
20092 arg2
= static_cast< size_t >(val2
);
20093 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20094 if (!SWIG_IsOK(res3
)) {
20095 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
20097 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
20099 arg4
= wxString_in_helper(obj3
);
20100 if (arg4
== NULL
) SWIG_fail
;
20104 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
20105 if (!SWIG_IsOK(ecode5
)) {
20106 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
20108 arg5
= static_cast< bool >(val5
);
20111 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20112 if (!SWIG_IsOK(ecode6
)) {
20113 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
20115 arg6
= static_cast< int >(val6
);
20118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20119 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
20120 wxPyEndAllowThreads(__tstate
);
20121 if (PyErr_Occurred()) SWIG_fail
;
20124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20140 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20141 PyObject
*resultobj
= 0;
20142 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20149 PyObject
* obj0
= 0 ;
20150 PyObject
* obj1
= 0 ;
20151 char * kwnames
[] = {
20152 (char *) "self",(char *) "n", NULL
20155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20157 if (!SWIG_IsOK(res1
)) {
20158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20160 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20161 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20162 if (!SWIG_IsOK(ecode2
)) {
20163 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
20165 arg2
= static_cast< size_t >(val2
);
20167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20168 result
= (int)(arg1
)->SetSelection(arg2
);
20169 wxPyEndAllowThreads(__tstate
);
20170 if (PyErr_Occurred()) SWIG_fail
;
20172 resultobj
= SWIG_From_int(static_cast< int >(result
));
20179 SWIGINTERN PyObject
*_wrap_BookCtrlBase_ChangeSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20180 PyObject
*resultobj
= 0;
20181 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20188 PyObject
* obj0
= 0 ;
20189 PyObject
* obj1
= 0 ;
20190 char * kwnames
[] = {
20191 (char *) "self",(char *) "n", NULL
20194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_ChangeSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20196 if (!SWIG_IsOK(res1
)) {
20197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20199 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20200 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20201 if (!SWIG_IsOK(ecode2
)) {
20202 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "2"" of type '" "size_t""'");
20204 arg2
= static_cast< size_t >(val2
);
20206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20207 result
= (int)(arg1
)->ChangeSelection(arg2
);
20208 wxPyEndAllowThreads(__tstate
);
20209 if (PyErr_Occurred()) SWIG_fail
;
20211 resultobj
= SWIG_From_int(static_cast< int >(result
));
20218 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20219 PyObject
*resultobj
= 0;
20220 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20221 bool arg2
= (bool) true ;
20226 PyObject
* obj0
= 0 ;
20227 PyObject
* obj1
= 0 ;
20228 char * kwnames
[] = {
20229 (char *) "self",(char *) "forward", NULL
20232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",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_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20237 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20239 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20240 if (!SWIG_IsOK(ecode2
)) {
20241 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
20243 arg2
= static_cast< bool >(val2
);
20246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20247 (arg1
)->AdvanceSelection(arg2
);
20248 wxPyEndAllowThreads(__tstate
);
20249 if (PyErr_Occurred()) SWIG_fail
;
20251 resultobj
= SWIG_Py_Void();
20258 SWIGINTERN PyObject
*_wrap_BookCtrlBase_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20259 PyObject
*resultobj
= 0;
20260 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20261 wxPoint
*arg2
= 0 ;
20262 long *arg3
= (long *) 0 ;
20268 int res3
= SWIG_TMPOBJ
;
20269 PyObject
* obj0
= 0 ;
20270 PyObject
* obj1
= 0 ;
20271 char * kwnames
[] = {
20272 (char *) "self",(char *) "pt", NULL
20276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20278 if (!SWIG_IsOK(res1
)) {
20279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_HitTest" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20281 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20284 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20288 result
= (int)((wxBookCtrlBase
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
20289 wxPyEndAllowThreads(__tstate
);
20290 if (PyErr_Occurred()) SWIG_fail
;
20292 resultobj
= SWIG_From_int(static_cast< int >(result
));
20293 if (SWIG_IsTmpObj(res3
)) {
20294 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
20296 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20297 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
20305 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20306 PyObject
*resultobj
= 0;
20307 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20308 SwigValueWrapper
<wxVisualAttributes
> result
;
20311 PyObject
* obj0
= 0 ;
20312 char * kwnames
[] = {
20313 (char *) "variant", NULL
20316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20318 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20319 if (!SWIG_IsOK(ecode1
)) {
20320 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20322 arg1
= static_cast< wxWindowVariant
>(val1
);
20325 if (!wxPyCheckForApp()) SWIG_fail
;
20326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20327 result
= wxBookCtrlBase::GetClassDefaultAttributes(arg1
);
20328 wxPyEndAllowThreads(__tstate
);
20329 if (PyErr_Occurred()) SWIG_fail
;
20331 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20338 SWIGINTERN PyObject
*BookCtrlBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20340 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20341 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase
, SWIG_NewClientData(obj
));
20342 return SWIG_Py_Void();
20345 SWIGINTERN PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20346 PyObject
*resultobj
= 0;
20347 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20348 int arg2
= (int) 0 ;
20349 int arg3
= (int) -1 ;
20350 int arg4
= (int) -1 ;
20351 wxBookCtrlBaseEvent
*result
= 0 ;
20360 PyObject
* obj0
= 0 ;
20361 PyObject
* obj1
= 0 ;
20362 PyObject
* obj2
= 0 ;
20363 PyObject
* obj3
= 0 ;
20364 char * kwnames
[] = {
20365 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20370 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20371 if (!SWIG_IsOK(ecode1
)) {
20372 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20374 arg1
= static_cast< wxEventType
>(val1
);
20377 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20378 if (!SWIG_IsOK(ecode2
)) {
20379 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
20381 arg2
= static_cast< int >(val2
);
20384 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20385 if (!SWIG_IsOK(ecode3
)) {
20386 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
20388 arg3
= static_cast< int >(val3
);
20391 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20392 if (!SWIG_IsOK(ecode4
)) {
20393 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
20395 arg4
= static_cast< int >(val4
);
20398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20399 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
20400 wxPyEndAllowThreads(__tstate
);
20401 if (PyErr_Occurred()) SWIG_fail
;
20403 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_NEW
| 0 );
20410 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20411 PyObject
*resultobj
= 0;
20412 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20416 PyObject
*swig_obj
[1] ;
20418 if (!args
) SWIG_fail
;
20419 swig_obj
[0] = args
;
20420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20421 if (!SWIG_IsOK(res1
)) {
20422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20424 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20427 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
20428 wxPyEndAllowThreads(__tstate
);
20429 if (PyErr_Occurred()) SWIG_fail
;
20431 resultobj
= SWIG_From_int(static_cast< int >(result
));
20438 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20439 PyObject
*resultobj
= 0;
20440 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20446 PyObject
* obj0
= 0 ;
20447 PyObject
* obj1
= 0 ;
20448 char * kwnames
[] = {
20449 (char *) "self",(char *) "nSel", NULL
20452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20454 if (!SWIG_IsOK(res1
)) {
20455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20457 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20458 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20459 if (!SWIG_IsOK(ecode2
)) {
20460 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
20462 arg2
= static_cast< int >(val2
);
20464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20465 (arg1
)->SetSelection(arg2
);
20466 wxPyEndAllowThreads(__tstate
);
20467 if (PyErr_Occurred()) SWIG_fail
;
20469 resultobj
= SWIG_Py_Void();
20476 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20477 PyObject
*resultobj
= 0;
20478 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20482 PyObject
*swig_obj
[1] ;
20484 if (!args
) SWIG_fail
;
20485 swig_obj
[0] = args
;
20486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20487 if (!SWIG_IsOK(res1
)) {
20488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20490 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20493 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
20494 wxPyEndAllowThreads(__tstate
);
20495 if (PyErr_Occurred()) SWIG_fail
;
20497 resultobj
= SWIG_From_int(static_cast< int >(result
));
20504 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20505 PyObject
*resultobj
= 0;
20506 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20512 PyObject
* obj0
= 0 ;
20513 PyObject
* obj1
= 0 ;
20514 char * kwnames
[] = {
20515 (char *) "self",(char *) "nOldSel", NULL
20518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20520 if (!SWIG_IsOK(res1
)) {
20521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20523 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20524 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20525 if (!SWIG_IsOK(ecode2
)) {
20526 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
20528 arg2
= static_cast< int >(val2
);
20530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20531 (arg1
)->SetOldSelection(arg2
);
20532 wxPyEndAllowThreads(__tstate
);
20533 if (PyErr_Occurred()) SWIG_fail
;
20535 resultobj
= SWIG_Py_Void();
20542 SWIGINTERN PyObject
*BookCtrlBaseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20544 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20545 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_NewClientData(obj
));
20546 return SWIG_Py_Void();
20549 SWIGINTERN PyObject
*BookCtrlBaseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20550 return SWIG_Python_InitShadowInstance(args
);
20553 SWIGINTERN PyObject
*_wrap_new_Notebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20554 PyObject
*resultobj
= 0;
20555 wxWindow
*arg1
= (wxWindow
*) 0 ;
20556 int arg2
= (int) -1 ;
20557 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20558 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20559 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20560 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20561 long arg5
= (long) 0 ;
20562 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
20563 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20564 wxNotebook
*result
= 0 ;
20573 bool temp6
= false ;
20574 PyObject
* obj0
= 0 ;
20575 PyObject
* obj1
= 0 ;
20576 PyObject
* obj2
= 0 ;
20577 PyObject
* obj3
= 0 ;
20578 PyObject
* obj4
= 0 ;
20579 PyObject
* obj5
= 0 ;
20580 char * kwnames
[] = {
20581 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20586 if (!SWIG_IsOK(res1
)) {
20587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20589 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20591 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20592 if (!SWIG_IsOK(ecode2
)) {
20593 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20595 arg2
= static_cast< int >(val2
);
20600 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20606 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20610 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20611 if (!SWIG_IsOK(ecode5
)) {
20612 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20614 arg5
= static_cast< long >(val5
);
20618 arg6
= wxString_in_helper(obj5
);
20619 if (arg6
== NULL
) SWIG_fail
;
20624 if (!wxPyCheckForApp()) SWIG_fail
;
20625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20626 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20627 wxPyEndAllowThreads(__tstate
);
20628 if (PyErr_Occurred()) SWIG_fail
;
20630 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_NEW
| 0 );
20645 SWIGINTERN PyObject
*_wrap_new_PreNotebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20646 PyObject
*resultobj
= 0;
20647 wxNotebook
*result
= 0 ;
20649 if (!SWIG_Python_UnpackTuple(args
,"new_PreNotebook",0,0,0)) SWIG_fail
;
20651 if (!wxPyCheckForApp()) SWIG_fail
;
20652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20653 result
= (wxNotebook
*)new wxNotebook();
20654 wxPyEndAllowThreads(__tstate
);
20655 if (PyErr_Occurred()) SWIG_fail
;
20657 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_OWN
| 0 );
20664 SWIGINTERN PyObject
*_wrap_Notebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20665 PyObject
*resultobj
= 0;
20666 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20667 wxWindow
*arg2
= (wxWindow
*) 0 ;
20668 int arg3
= (int) -1 ;
20669 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20670 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20671 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20672 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20673 long arg6
= (long) 0 ;
20674 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
20675 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20687 bool temp7
= false ;
20688 PyObject
* obj0
= 0 ;
20689 PyObject
* obj1
= 0 ;
20690 PyObject
* obj2
= 0 ;
20691 PyObject
* obj3
= 0 ;
20692 PyObject
* obj4
= 0 ;
20693 PyObject
* obj5
= 0 ;
20694 PyObject
* obj6
= 0 ;
20695 char * kwnames
[] = {
20696 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20701 if (!SWIG_IsOK(res1
)) {
20702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20704 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20705 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20706 if (!SWIG_IsOK(res2
)) {
20707 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20709 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20711 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20712 if (!SWIG_IsOK(ecode3
)) {
20713 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20715 arg3
= static_cast< int >(val3
);
20720 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20726 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20730 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20731 if (!SWIG_IsOK(ecode6
)) {
20732 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20734 arg6
= static_cast< long >(val6
);
20738 arg7
= wxString_in_helper(obj6
);
20739 if (arg7
== NULL
) SWIG_fail
;
20744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20745 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20746 wxPyEndAllowThreads(__tstate
);
20747 if (PyErr_Occurred()) SWIG_fail
;
20750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20766 SWIGINTERN PyObject
*_wrap_Notebook_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20767 PyObject
*resultobj
= 0;
20768 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20772 PyObject
*swig_obj
[1] ;
20774 if (!args
) SWIG_fail
;
20775 swig_obj
[0] = args
;
20776 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20777 if (!SWIG_IsOK(res1
)) {
20778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20780 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20783 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
20784 wxPyEndAllowThreads(__tstate
);
20785 if (PyErr_Occurred()) SWIG_fail
;
20787 resultobj
= SWIG_From_int(static_cast< int >(result
));
20794 SWIGINTERN PyObject
*_wrap_Notebook_SetPadding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20795 PyObject
*resultobj
= 0;
20796 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20801 PyObject
* obj0
= 0 ;
20802 PyObject
* obj1
= 0 ;
20803 char * kwnames
[] = {
20804 (char *) "self",(char *) "padding", NULL
20807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20809 if (!SWIG_IsOK(res1
)) {
20810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
20812 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20815 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20819 (arg1
)->SetPadding((wxSize
const &)*arg2
);
20820 wxPyEndAllowThreads(__tstate
);
20821 if (PyErr_Occurred()) SWIG_fail
;
20823 resultobj
= SWIG_Py_Void();
20830 SWIGINTERN PyObject
*_wrap_Notebook_SetTabSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20831 PyObject
*resultobj
= 0;
20832 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20837 PyObject
* obj0
= 0 ;
20838 PyObject
* obj1
= 0 ;
20839 char * kwnames
[] = {
20840 (char *) "self",(char *) "sz", NULL
20843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20845 if (!SWIG_IsOK(res1
)) {
20846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
20848 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20851 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20855 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
20856 wxPyEndAllowThreads(__tstate
);
20857 if (PyErr_Occurred()) SWIG_fail
;
20859 resultobj
= SWIG_Py_Void();
20866 SWIGINTERN PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20867 PyObject
*resultobj
= 0;
20868 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20872 PyObject
*swig_obj
[1] ;
20874 if (!args
) SWIG_fail
;
20875 swig_obj
[0] = args
;
20876 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20877 if (!SWIG_IsOK(res1
)) {
20878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20880 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20883 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
20884 wxPyEndAllowThreads(__tstate
);
20885 if (PyErr_Occurred()) SWIG_fail
;
20887 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
20894 SWIGINTERN PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20895 PyObject
*resultobj
= 0;
20896 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20897 SwigValueWrapper
<wxVisualAttributes
> result
;
20900 PyObject
* obj0
= 0 ;
20901 char * kwnames
[] = {
20902 (char *) "variant", NULL
20905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20907 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20908 if (!SWIG_IsOK(ecode1
)) {
20909 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20911 arg1
= static_cast< wxWindowVariant
>(val1
);
20914 if (!wxPyCheckForApp()) SWIG_fail
;
20915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20916 result
= wxNotebook::GetClassDefaultAttributes(arg1
);
20917 wxPyEndAllowThreads(__tstate
);
20918 if (PyErr_Occurred()) SWIG_fail
;
20920 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20927 SWIGINTERN PyObject
*_wrap_Notebook_SendPageChangingEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20928 PyObject
*resultobj
= 0;
20929 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20936 PyObject
* obj0
= 0 ;
20937 PyObject
* obj1
= 0 ;
20938 char * kwnames
[] = {
20939 (char *) "self",(char *) "nPage", NULL
20942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SendPageChangingEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20944 if (!SWIG_IsOK(res1
)) {
20945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
20947 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20948 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20949 if (!SWIG_IsOK(ecode2
)) {
20950 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "2"" of type '" "int""'");
20952 arg2
= static_cast< int >(val2
);
20954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20955 result
= (bool)(arg1
)->SendPageChangingEvent(arg2
);
20956 wxPyEndAllowThreads(__tstate
);
20957 if (PyErr_Occurred()) SWIG_fail
;
20960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20968 SWIGINTERN PyObject
*_wrap_Notebook_SendPageChangedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20969 PyObject
*resultobj
= 0;
20970 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20972 int arg3
= (int) -1 ;
20979 PyObject
* obj0
= 0 ;
20980 PyObject
* obj1
= 0 ;
20981 PyObject
* obj2
= 0 ;
20982 char * kwnames
[] = {
20983 (char *) "self",(char *) "nPageOld",(char *) "nPageNew", NULL
20986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Notebook_SendPageChangedEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20988 if (!SWIG_IsOK(res1
)) {
20989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
20991 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20992 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20993 if (!SWIG_IsOK(ecode2
)) {
20994 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "2"" of type '" "int""'");
20996 arg2
= static_cast< int >(val2
);
20998 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20999 if (!SWIG_IsOK(ecode3
)) {
21000 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "3"" of type '" "int""'");
21002 arg3
= static_cast< int >(val3
);
21005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21006 (arg1
)->SendPageChangedEvent(arg2
,arg3
);
21007 wxPyEndAllowThreads(__tstate
);
21008 if (PyErr_Occurred()) SWIG_fail
;
21010 resultobj
= SWIG_Py_Void();
21017 SWIGINTERN PyObject
*Notebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21019 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21020 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook
, SWIG_NewClientData(obj
));
21021 return SWIG_Py_Void();
21024 SWIGINTERN PyObject
*Notebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21025 return SWIG_Python_InitShadowInstance(args
);
21028 SWIGINTERN PyObject
*_wrap_new_NotebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21029 PyObject
*resultobj
= 0;
21030 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21031 int arg2
= (int) 0 ;
21032 int arg3
= (int) -1 ;
21033 int arg4
= (int) -1 ;
21034 wxNotebookEvent
*result
= 0 ;
21043 PyObject
* obj0
= 0 ;
21044 PyObject
* obj1
= 0 ;
21045 PyObject
* obj2
= 0 ;
21046 PyObject
* obj3
= 0 ;
21047 char * kwnames
[] = {
21048 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21053 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21054 if (!SWIG_IsOK(ecode1
)) {
21055 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21057 arg1
= static_cast< wxEventType
>(val1
);
21060 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21061 if (!SWIG_IsOK(ecode2
)) {
21062 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
21064 arg2
= static_cast< int >(val2
);
21067 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21068 if (!SWIG_IsOK(ecode3
)) {
21069 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
21071 arg3
= static_cast< int >(val3
);
21074 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21075 if (!SWIG_IsOK(ecode4
)) {
21076 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
21078 arg4
= static_cast< int >(val4
);
21081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21082 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
21083 wxPyEndAllowThreads(__tstate
);
21084 if (PyErr_Occurred()) SWIG_fail
;
21086 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebookEvent
, SWIG_POINTER_NEW
| 0 );
21093 SWIGINTERN PyObject
*NotebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21095 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21096 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent
, SWIG_NewClientData(obj
));
21097 return SWIG_Py_Void();
21100 SWIGINTERN PyObject
*NotebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21101 return SWIG_Python_InitShadowInstance(args
);
21104 SWIGINTERN PyObject
*_wrap_new_Listbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21105 PyObject
*resultobj
= 0;
21106 wxWindow
*arg1
= (wxWindow
*) 0 ;
21107 int arg2
= (int) -1 ;
21108 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21109 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21110 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21111 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21112 long arg5
= (long) 0 ;
21113 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21114 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21115 wxListbook
*result
= 0 ;
21124 bool temp6
= false ;
21125 PyObject
* obj0
= 0 ;
21126 PyObject
* obj1
= 0 ;
21127 PyObject
* obj2
= 0 ;
21128 PyObject
* obj3
= 0 ;
21129 PyObject
* obj4
= 0 ;
21130 PyObject
* obj5
= 0 ;
21131 char * kwnames
[] = {
21132 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21137 if (!SWIG_IsOK(res1
)) {
21138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
21140 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21142 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21143 if (!SWIG_IsOK(ecode2
)) {
21144 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
21146 arg2
= static_cast< int >(val2
);
21151 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21157 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21161 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21162 if (!SWIG_IsOK(ecode5
)) {
21163 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
21165 arg5
= static_cast< long >(val5
);
21169 arg6
= wxString_in_helper(obj5
);
21170 if (arg6
== NULL
) SWIG_fail
;
21175 if (!wxPyCheckForApp()) SWIG_fail
;
21176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21177 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21178 wxPyEndAllowThreads(__tstate
);
21179 if (PyErr_Occurred()) SWIG_fail
;
21181 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_NEW
| 0 );
21196 SWIGINTERN PyObject
*_wrap_new_PreListbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21197 PyObject
*resultobj
= 0;
21198 wxListbook
*result
= 0 ;
21200 if (!SWIG_Python_UnpackTuple(args
,"new_PreListbook",0,0,0)) SWIG_fail
;
21202 if (!wxPyCheckForApp()) SWIG_fail
;
21203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21204 result
= (wxListbook
*)new wxListbook();
21205 wxPyEndAllowThreads(__tstate
);
21206 if (PyErr_Occurred()) SWIG_fail
;
21208 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_OWN
| 0 );
21215 SWIGINTERN PyObject
*_wrap_Listbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21216 PyObject
*resultobj
= 0;
21217 wxListbook
*arg1
= (wxListbook
*) 0 ;
21218 wxWindow
*arg2
= (wxWindow
*) 0 ;
21219 int arg3
= (int) -1 ;
21220 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21221 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21222 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21223 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21224 long arg6
= (long) 0 ;
21225 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21226 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21238 bool temp7
= false ;
21239 PyObject
* obj0
= 0 ;
21240 PyObject
* obj1
= 0 ;
21241 PyObject
* obj2
= 0 ;
21242 PyObject
* obj3
= 0 ;
21243 PyObject
* obj4
= 0 ;
21244 PyObject
* obj5
= 0 ;
21245 PyObject
* obj6
= 0 ;
21246 char * kwnames
[] = {
21247 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21252 if (!SWIG_IsOK(res1
)) {
21253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
21255 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21256 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21257 if (!SWIG_IsOK(res2
)) {
21258 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21260 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21262 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21263 if (!SWIG_IsOK(ecode3
)) {
21264 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
21266 arg3
= static_cast< int >(val3
);
21271 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21277 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21281 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21282 if (!SWIG_IsOK(ecode6
)) {
21283 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
21285 arg6
= static_cast< long >(val6
);
21289 arg7
= wxString_in_helper(obj6
);
21290 if (arg7
== NULL
) SWIG_fail
;
21295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21296 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21297 wxPyEndAllowThreads(__tstate
);
21298 if (PyErr_Occurred()) SWIG_fail
;
21301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21317 SWIGINTERN PyObject
*_wrap_Listbook_GetListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21318 PyObject
*resultobj
= 0;
21319 wxListbook
*arg1
= (wxListbook
*) 0 ;
21320 wxListView
*result
= 0 ;
21323 PyObject
*swig_obj
[1] ;
21325 if (!args
) SWIG_fail
;
21326 swig_obj
[0] = args
;
21327 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21328 if (!SWIG_IsOK(res1
)) {
21329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
21331 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21334 result
= (wxListView
*)(arg1
)->GetListView();
21335 wxPyEndAllowThreads(__tstate
);
21336 if (PyErr_Occurred()) SWIG_fail
;
21338 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, 0 | 0 );
21345 SWIGINTERN PyObject
*Listbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21347 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21348 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook
, SWIG_NewClientData(obj
));
21349 return SWIG_Py_Void();
21352 SWIGINTERN PyObject
*Listbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21353 return SWIG_Python_InitShadowInstance(args
);
21356 SWIGINTERN PyObject
*_wrap_new_ListbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21357 PyObject
*resultobj
= 0;
21358 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21359 int arg2
= (int) 0 ;
21360 int arg3
= (int) -1 ;
21361 int arg4
= (int) -1 ;
21362 wxListbookEvent
*result
= 0 ;
21371 PyObject
* obj0
= 0 ;
21372 PyObject
* obj1
= 0 ;
21373 PyObject
* obj2
= 0 ;
21374 PyObject
* obj3
= 0 ;
21375 char * kwnames
[] = {
21376 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21381 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21382 if (!SWIG_IsOK(ecode1
)) {
21383 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21385 arg1
= static_cast< wxEventType
>(val1
);
21388 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21389 if (!SWIG_IsOK(ecode2
)) {
21390 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
21392 arg2
= static_cast< int >(val2
);
21395 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21396 if (!SWIG_IsOK(ecode3
)) {
21397 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
21399 arg3
= static_cast< int >(val3
);
21402 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21403 if (!SWIG_IsOK(ecode4
)) {
21404 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
21406 arg4
= static_cast< int >(val4
);
21409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21410 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
21411 wxPyEndAllowThreads(__tstate
);
21412 if (PyErr_Occurred()) SWIG_fail
;
21414 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbookEvent
, SWIG_POINTER_NEW
| 0 );
21421 SWIGINTERN PyObject
*ListbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21423 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21424 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent
, SWIG_NewClientData(obj
));
21425 return SWIG_Py_Void();
21428 SWIGINTERN PyObject
*ListbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21429 return SWIG_Python_InitShadowInstance(args
);
21432 SWIGINTERN PyObject
*_wrap_new_Choicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21433 PyObject
*resultobj
= 0;
21434 wxWindow
*arg1
= (wxWindow
*) 0 ;
21436 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21437 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21438 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21439 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21440 long arg5
= (long) 0 ;
21441 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21442 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21443 wxChoicebook
*result
= 0 ;
21452 bool temp6
= false ;
21453 PyObject
* obj0
= 0 ;
21454 PyObject
* obj1
= 0 ;
21455 PyObject
* obj2
= 0 ;
21456 PyObject
* obj3
= 0 ;
21457 PyObject
* obj4
= 0 ;
21458 PyObject
* obj5
= 0 ;
21459 char * kwnames
[] = {
21460 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21465 if (!SWIG_IsOK(res1
)) {
21466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21468 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21469 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21470 if (!SWIG_IsOK(ecode2
)) {
21471 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
21473 arg2
= static_cast< int >(val2
);
21477 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21483 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21487 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21488 if (!SWIG_IsOK(ecode5
)) {
21489 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
21491 arg5
= static_cast< long >(val5
);
21495 arg6
= wxString_in_helper(obj5
);
21496 if (arg6
== NULL
) SWIG_fail
;
21501 if (!wxPyCheckForApp()) SWIG_fail
;
21502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21503 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21504 wxPyEndAllowThreads(__tstate
);
21505 if (PyErr_Occurred()) SWIG_fail
;
21507 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_NEW
| 0 );
21522 SWIGINTERN PyObject
*_wrap_new_PreChoicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21523 PyObject
*resultobj
= 0;
21524 wxChoicebook
*result
= 0 ;
21526 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoicebook",0,0,0)) SWIG_fail
;
21528 if (!wxPyCheckForApp()) SWIG_fail
;
21529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21530 result
= (wxChoicebook
*)new wxChoicebook();
21531 wxPyEndAllowThreads(__tstate
);
21532 if (PyErr_Occurred()) SWIG_fail
;
21534 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_OWN
| 0 );
21541 SWIGINTERN PyObject
*_wrap_Choicebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21542 PyObject
*resultobj
= 0;
21543 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21544 wxWindow
*arg2
= (wxWindow
*) 0 ;
21546 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21547 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21548 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21549 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21550 long arg6
= (long) 0 ;
21551 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21552 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21564 bool temp7
= false ;
21565 PyObject
* obj0
= 0 ;
21566 PyObject
* obj1
= 0 ;
21567 PyObject
* obj2
= 0 ;
21568 PyObject
* obj3
= 0 ;
21569 PyObject
* obj4
= 0 ;
21570 PyObject
* obj5
= 0 ;
21571 PyObject
* obj6
= 0 ;
21572 char * kwnames
[] = {
21573 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21578 if (!SWIG_IsOK(res1
)) {
21579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
21581 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21582 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21583 if (!SWIG_IsOK(res2
)) {
21584 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21586 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21587 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21588 if (!SWIG_IsOK(ecode3
)) {
21589 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
21591 arg3
= static_cast< int >(val3
);
21595 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21601 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21605 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21606 if (!SWIG_IsOK(ecode6
)) {
21607 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21609 arg6
= static_cast< long >(val6
);
21613 arg7
= wxString_in_helper(obj6
);
21614 if (arg7
== NULL
) SWIG_fail
;
21619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21620 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21621 wxPyEndAllowThreads(__tstate
);
21622 if (PyErr_Occurred()) SWIG_fail
;
21625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21641 SWIGINTERN PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21642 PyObject
*resultobj
= 0;
21643 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21644 wxChoice
*result
= 0 ;
21647 PyObject
*swig_obj
[1] ;
21649 if (!args
) SWIG_fail
;
21650 swig_obj
[0] = args
;
21651 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21652 if (!SWIG_IsOK(res1
)) {
21653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21655 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21658 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
21659 wxPyEndAllowThreads(__tstate
);
21660 if (PyErr_Occurred()) SWIG_fail
;
21662 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, 0 | 0 );
21669 SWIGINTERN PyObject
*Choicebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21671 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21672 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook
, SWIG_NewClientData(obj
));
21673 return SWIG_Py_Void();
21676 SWIGINTERN PyObject
*Choicebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21677 return SWIG_Python_InitShadowInstance(args
);
21680 SWIGINTERN PyObject
*_wrap_new_ChoicebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21681 PyObject
*resultobj
= 0;
21682 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21683 int arg2
= (int) 0 ;
21684 int arg3
= (int) -1 ;
21685 int arg4
= (int) -1 ;
21686 wxChoicebookEvent
*result
= 0 ;
21695 PyObject
* obj0
= 0 ;
21696 PyObject
* obj1
= 0 ;
21697 PyObject
* obj2
= 0 ;
21698 PyObject
* obj3
= 0 ;
21699 char * kwnames
[] = {
21700 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21705 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21706 if (!SWIG_IsOK(ecode1
)) {
21707 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21709 arg1
= static_cast< wxEventType
>(val1
);
21712 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21713 if (!SWIG_IsOK(ecode2
)) {
21714 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
21716 arg2
= static_cast< int >(val2
);
21719 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21720 if (!SWIG_IsOK(ecode3
)) {
21721 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
21723 arg3
= static_cast< int >(val3
);
21726 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21727 if (!SWIG_IsOK(ecode4
)) {
21728 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
21730 arg4
= static_cast< int >(val4
);
21733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21734 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
21735 wxPyEndAllowThreads(__tstate
);
21736 if (PyErr_Occurred()) SWIG_fail
;
21738 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebookEvent
, SWIG_POINTER_NEW
| 0 );
21745 SWIGINTERN PyObject
*ChoicebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21747 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21748 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent
, SWIG_NewClientData(obj
));
21749 return SWIG_Py_Void();
21752 SWIGINTERN PyObject
*ChoicebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21753 return SWIG_Python_InitShadowInstance(args
);
21756 SWIGINTERN PyObject
*_wrap_new_Treebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21757 PyObject
*resultobj
= 0;
21758 wxWindow
*arg1
= (wxWindow
*) 0 ;
21760 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21761 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21762 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21763 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21764 long arg5
= (long) wxBK_DEFAULT
;
21765 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21766 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21767 wxTreebook
*result
= 0 ;
21776 bool temp6
= false ;
21777 PyObject
* obj0
= 0 ;
21778 PyObject
* obj1
= 0 ;
21779 PyObject
* obj2
= 0 ;
21780 PyObject
* obj3
= 0 ;
21781 PyObject
* obj4
= 0 ;
21782 PyObject
* obj5
= 0 ;
21783 char * kwnames
[] = {
21784 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Treebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21789 if (!SWIG_IsOK(res1
)) {
21790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21792 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21793 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21794 if (!SWIG_IsOK(ecode2
)) {
21795 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
21797 arg2
= static_cast< int >(val2
);
21801 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21807 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21811 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21812 if (!SWIG_IsOK(ecode5
)) {
21813 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
21815 arg5
= static_cast< long >(val5
);
21819 arg6
= wxString_in_helper(obj5
);
21820 if (arg6
== NULL
) SWIG_fail
;
21825 if (!wxPyCheckForApp()) SWIG_fail
;
21826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21827 result
= (wxTreebook
*)new wxTreebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21828 wxPyEndAllowThreads(__tstate
);
21829 if (PyErr_Occurred()) SWIG_fail
;
21831 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_NEW
| 0 );
21846 SWIGINTERN PyObject
*_wrap_new_PreTreebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21847 PyObject
*resultobj
= 0;
21848 wxTreebook
*result
= 0 ;
21850 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreebook",0,0,0)) SWIG_fail
;
21852 if (!wxPyCheckForApp()) SWIG_fail
;
21853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21854 result
= (wxTreebook
*)new wxTreebook();
21855 wxPyEndAllowThreads(__tstate
);
21856 if (PyErr_Occurred()) SWIG_fail
;
21858 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_OWN
| 0 );
21865 SWIGINTERN PyObject
*_wrap_Treebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21866 PyObject
*resultobj
= 0;
21867 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21868 wxWindow
*arg2
= (wxWindow
*) 0 ;
21870 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21871 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21872 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21873 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21874 long arg6
= (long) wxBK_DEFAULT
;
21875 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21876 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21888 bool temp7
= false ;
21889 PyObject
* obj0
= 0 ;
21890 PyObject
* obj1
= 0 ;
21891 PyObject
* obj2
= 0 ;
21892 PyObject
* obj3
= 0 ;
21893 PyObject
* obj4
= 0 ;
21894 PyObject
* obj5
= 0 ;
21895 PyObject
* obj6
= 0 ;
21896 char * kwnames
[] = {
21897 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Treebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21902 if (!SWIG_IsOK(res1
)) {
21903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
21905 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21906 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21907 if (!SWIG_IsOK(res2
)) {
21908 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21910 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21911 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21912 if (!SWIG_IsOK(ecode3
)) {
21913 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
21915 arg3
= static_cast< int >(val3
);
21919 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21925 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21929 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21930 if (!SWIG_IsOK(ecode6
)) {
21931 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
21933 arg6
= static_cast< long >(val6
);
21937 arg7
= wxString_in_helper(obj6
);
21938 if (arg7
== NULL
) SWIG_fail
;
21943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21944 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21945 wxPyEndAllowThreads(__tstate
);
21946 if (PyErr_Occurred()) SWIG_fail
;
21949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21965 SWIGINTERN PyObject
*_wrap_Treebook_InsertSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21966 PyObject
*resultobj
= 0;
21967 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21969 wxWindow
*arg3
= (wxWindow
*) 0 ;
21970 wxString
*arg4
= 0 ;
21971 bool arg5
= (bool) false ;
21972 int arg6
= (int) wxNOT_FOUND
;
21980 bool temp4
= false ;
21985 PyObject
* obj0
= 0 ;
21986 PyObject
* obj1
= 0 ;
21987 PyObject
* obj2
= 0 ;
21988 PyObject
* obj3
= 0 ;
21989 PyObject
* obj4
= 0 ;
21990 PyObject
* obj5
= 0 ;
21991 char * kwnames
[] = {
21992 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21997 if (!SWIG_IsOK(res1
)) {
21998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22000 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22001 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22002 if (!SWIG_IsOK(ecode2
)) {
22003 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
22005 arg2
= static_cast< size_t >(val2
);
22006 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22007 if (!SWIG_IsOK(res3
)) {
22008 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
22010 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
22012 arg4
= wxString_in_helper(obj3
);
22013 if (arg4
== NULL
) SWIG_fail
;
22017 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
22018 if (!SWIG_IsOK(ecode5
)) {
22019 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
22021 arg5
= static_cast< bool >(val5
);
22024 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22025 if (!SWIG_IsOK(ecode6
)) {
22026 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
22028 arg6
= static_cast< int >(val6
);
22031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22032 result
= (bool)(arg1
)->InsertSubPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
22033 wxPyEndAllowThreads(__tstate
);
22034 if (PyErr_Occurred()) SWIG_fail
;
22037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22053 SWIGINTERN PyObject
*_wrap_Treebook_AddSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22054 PyObject
*resultobj
= 0;
22055 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22056 wxWindow
*arg2
= (wxWindow
*) 0 ;
22057 wxString
*arg3
= 0 ;
22058 bool arg4
= (bool) false ;
22059 int arg5
= (int) wxNOT_FOUND
;
22065 bool temp3
= false ;
22070 PyObject
* obj0
= 0 ;
22071 PyObject
* obj1
= 0 ;
22072 PyObject
* obj2
= 0 ;
22073 PyObject
* obj3
= 0 ;
22074 PyObject
* obj4
= 0 ;
22075 char * kwnames
[] = {
22076 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Treebook_AddSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22081 if (!SWIG_IsOK(res1
)) {
22082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22084 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22085 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22086 if (!SWIG_IsOK(res2
)) {
22087 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
22089 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22091 arg3
= wxString_in_helper(obj2
);
22092 if (arg3
== NULL
) SWIG_fail
;
22096 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
22097 if (!SWIG_IsOK(ecode4
)) {
22098 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
22100 arg4
= static_cast< bool >(val4
);
22103 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22104 if (!SWIG_IsOK(ecode5
)) {
22105 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
22107 arg5
= static_cast< int >(val5
);
22110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22111 result
= (bool)(arg1
)->AddSubPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
22112 wxPyEndAllowThreads(__tstate
);
22113 if (PyErr_Occurred()) SWIG_fail
;
22116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22132 SWIGINTERN PyObject
*_wrap_Treebook_IsNodeExpanded(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_IsNodeExpanded",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_IsNodeExpanded" "', 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_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
22157 arg2
= static_cast< size_t >(val2
);
22159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22160 result
= (bool)((wxTreebook
const *)arg1
)->IsNodeExpanded(arg2
);
22161 wxPyEndAllowThreads(__tstate
);
22162 if (PyErr_Occurred()) SWIG_fail
;
22165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22173 SWIGINTERN PyObject
*_wrap_Treebook_ExpandNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22174 PyObject
*resultobj
= 0;
22175 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22177 bool arg3
= (bool) true ;
22185 PyObject
* obj0
= 0 ;
22186 PyObject
* obj1
= 0 ;
22187 PyObject
* obj2
= 0 ;
22188 char * kwnames
[] = {
22189 (char *) "self",(char *) "pos",(char *) "expand", NULL
22192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Treebook_ExpandNode",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22194 if (!SWIG_IsOK(res1
)) {
22195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22197 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22198 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22199 if (!SWIG_IsOK(ecode2
)) {
22200 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
22202 arg2
= static_cast< size_t >(val2
);
22204 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22205 if (!SWIG_IsOK(ecode3
)) {
22206 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
22208 arg3
= static_cast< bool >(val3
);
22211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22212 result
= (bool)(arg1
)->ExpandNode(arg2
,arg3
);
22213 wxPyEndAllowThreads(__tstate
);
22214 if (PyErr_Occurred()) SWIG_fail
;
22217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22225 SWIGINTERN PyObject
*_wrap_Treebook_CollapseNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22226 PyObject
*resultobj
= 0;
22227 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22234 PyObject
* obj0
= 0 ;
22235 PyObject
* obj1
= 0 ;
22236 char * kwnames
[] = {
22237 (char *) "self",(char *) "pos", NULL
22240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_CollapseNode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22242 if (!SWIG_IsOK(res1
)) {
22243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22245 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22246 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22247 if (!SWIG_IsOK(ecode2
)) {
22248 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
22250 arg2
= static_cast< size_t >(val2
);
22252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22253 result
= (bool)(arg1
)->CollapseNode(arg2
);
22254 wxPyEndAllowThreads(__tstate
);
22255 if (PyErr_Occurred()) SWIG_fail
;
22258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22266 SWIGINTERN PyObject
*_wrap_Treebook_GetPageParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22267 PyObject
*resultobj
= 0;
22268 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22275 PyObject
* obj0
= 0 ;
22276 PyObject
* obj1
= 0 ;
22277 char * kwnames
[] = {
22278 (char *) "self",(char *) "pos", NULL
22281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_GetPageParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22283 if (!SWIG_IsOK(res1
)) {
22284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22286 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22287 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22288 if (!SWIG_IsOK(ecode2
)) {
22289 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
22291 arg2
= static_cast< size_t >(val2
);
22293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22294 result
= (int)((wxTreebook
const *)arg1
)->GetPageParent(arg2
);
22295 wxPyEndAllowThreads(__tstate
);
22296 if (PyErr_Occurred()) SWIG_fail
;
22298 resultobj
= SWIG_From_int(static_cast< int >(result
));
22305 SWIGINTERN PyObject
*_wrap_Treebook_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22306 PyObject
*resultobj
= 0;
22307 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22308 wxPyTreeCtrl
*result
= 0 ;
22311 PyObject
*swig_obj
[1] ;
22313 if (!args
) SWIG_fail
;
22314 swig_obj
[0] = args
;
22315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22316 if (!SWIG_IsOK(res1
)) {
22317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22319 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22322 result
= (wxPyTreeCtrl
*)((wxTreebook
const *)arg1
)->GetTreeCtrl();
22323 wxPyEndAllowThreads(__tstate
);
22324 if (PyErr_Occurred()) SWIG_fail
;
22327 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22335 SWIGINTERN PyObject
*Treebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22337 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22338 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook
, SWIG_NewClientData(obj
));
22339 return SWIG_Py_Void();
22342 SWIGINTERN PyObject
*Treebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22343 return SWIG_Python_InitShadowInstance(args
);
22346 SWIGINTERN PyObject
*_wrap_new_TreebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22347 PyObject
*resultobj
= 0;
22348 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22349 int arg2
= (int) 0 ;
22350 int arg3
= (int) wxNOT_FOUND
;
22351 int arg4
= (int) wxNOT_FOUND
;
22352 wxTreebookEvent
*result
= 0 ;
22361 PyObject
* obj0
= 0 ;
22362 PyObject
* obj1
= 0 ;
22363 PyObject
* obj2
= 0 ;
22364 PyObject
* obj3
= 0 ;
22365 char * kwnames
[] = {
22366 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TreebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22371 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22372 if (!SWIG_IsOK(ecode1
)) {
22373 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22375 arg1
= static_cast< wxEventType
>(val1
);
22378 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22379 if (!SWIG_IsOK(ecode2
)) {
22380 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
22382 arg2
= static_cast< int >(val2
);
22385 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22386 if (!SWIG_IsOK(ecode3
)) {
22387 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
22389 arg3
= static_cast< int >(val3
);
22392 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22393 if (!SWIG_IsOK(ecode4
)) {
22394 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
22396 arg4
= static_cast< int >(val4
);
22399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22400 result
= (wxTreebookEvent
*)new wxTreebookEvent(arg1
,arg2
,arg3
,arg4
);
22401 wxPyEndAllowThreads(__tstate
);
22402 if (PyErr_Occurred()) SWIG_fail
;
22404 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebookEvent
, SWIG_POINTER_NEW
| 0 );
22411 SWIGINTERN PyObject
*TreebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22413 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22414 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent
, SWIG_NewClientData(obj
));
22415 return SWIG_Py_Void();
22418 SWIGINTERN PyObject
*TreebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22419 return SWIG_Python_InitShadowInstance(args
);
22422 SWIGINTERN PyObject
*_wrap_new_Toolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22423 PyObject
*resultobj
= 0;
22424 wxWindow
*arg1
= (wxWindow
*) 0 ;
22426 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22427 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22428 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22429 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22430 long arg5
= (long) wxBK_DEFAULT
;
22431 wxString
const &arg6_defvalue
= wxPyEmptyString
;
22432 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22433 wxToolbook
*result
= 0 ;
22442 bool temp6
= false ;
22443 PyObject
* obj0
= 0 ;
22444 PyObject
* obj1
= 0 ;
22445 PyObject
* obj2
= 0 ;
22446 PyObject
* obj3
= 0 ;
22447 PyObject
* obj4
= 0 ;
22448 PyObject
* obj5
= 0 ;
22449 char * kwnames
[] = {
22450 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Toolbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22455 if (!SWIG_IsOK(res1
)) {
22456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
22458 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22459 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22460 if (!SWIG_IsOK(ecode2
)) {
22461 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
22463 arg2
= static_cast< int >(val2
);
22467 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22473 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22477 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22478 if (!SWIG_IsOK(ecode5
)) {
22479 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
22481 arg5
= static_cast< long >(val5
);
22485 arg6
= wxString_in_helper(obj5
);
22486 if (arg6
== NULL
) SWIG_fail
;
22491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22492 result
= (wxToolbook
*)new wxToolbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22493 wxPyEndAllowThreads(__tstate
);
22494 if (PyErr_Occurred()) SWIG_fail
;
22496 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_NEW
| 0 );
22511 SWIGINTERN PyObject
*_wrap_new_PreToolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22512 PyObject
*resultobj
= 0;
22513 wxToolbook
*result
= 0 ;
22515 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolbook",0,0,0)) SWIG_fail
;
22517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22518 result
= (wxToolbook
*)new wxToolbook();
22519 wxPyEndAllowThreads(__tstate
);
22520 if (PyErr_Occurred()) SWIG_fail
;
22522 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_OWN
| 0 );
22529 SWIGINTERN PyObject
*_wrap_Toolbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22530 PyObject
*resultobj
= 0;
22531 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22532 wxWindow
*arg2
= (wxWindow
*) 0 ;
22534 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22535 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22536 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22537 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22538 long arg6
= (long) 0 ;
22539 wxString
const &arg7_defvalue
= wxEmptyString
;
22540 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22552 bool temp7
= false ;
22553 PyObject
* obj0
= 0 ;
22554 PyObject
* obj1
= 0 ;
22555 PyObject
* obj2
= 0 ;
22556 PyObject
* obj3
= 0 ;
22557 PyObject
* obj4
= 0 ;
22558 PyObject
* obj5
= 0 ;
22559 PyObject
* obj6
= 0 ;
22560 char * kwnames
[] = {
22561 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Toolbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22566 if (!SWIG_IsOK(res1
)) {
22567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
22569 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22570 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22571 if (!SWIG_IsOK(res2
)) {
22572 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22574 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22575 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22576 if (!SWIG_IsOK(ecode3
)) {
22577 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
22579 arg3
= static_cast< int >(val3
);
22583 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22589 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22593 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22594 if (!SWIG_IsOK(ecode6
)) {
22595 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
22597 arg6
= static_cast< long >(val6
);
22601 arg7
= wxString_in_helper(obj6
);
22602 if (arg7
== NULL
) SWIG_fail
;
22607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22608 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22609 wxPyEndAllowThreads(__tstate
);
22610 if (PyErr_Occurred()) SWIG_fail
;
22613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22629 SWIGINTERN PyObject
*_wrap_Toolbook_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22630 PyObject
*resultobj
= 0;
22631 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22632 wxToolBarBase
*result
= 0 ;
22635 PyObject
*swig_obj
[1] ;
22637 if (!args
) SWIG_fail
;
22638 swig_obj
[0] = args
;
22639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22640 if (!SWIG_IsOK(res1
)) {
22641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22643 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22646 result
= (wxToolBarBase
*)((wxToolbook
const *)arg1
)->GetToolBar();
22647 wxPyEndAllowThreads(__tstate
);
22648 if (PyErr_Occurred()) SWIG_fail
;
22651 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22659 SWIGINTERN PyObject
*_wrap_Toolbook_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22660 PyObject
*resultobj
= 0;
22661 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22664 PyObject
*swig_obj
[1] ;
22666 if (!args
) SWIG_fail
;
22667 swig_obj
[0] = args
;
22668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22669 if (!SWIG_IsOK(res1
)) {
22670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22672 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22676 wxPyEndAllowThreads(__tstate
);
22677 if (PyErr_Occurred()) SWIG_fail
;
22679 resultobj
= SWIG_Py_Void();
22686 SWIGINTERN PyObject
*Toolbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22688 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22689 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook
, SWIG_NewClientData(obj
));
22690 return SWIG_Py_Void();
22693 SWIGINTERN PyObject
*Toolbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22694 return SWIG_Python_InitShadowInstance(args
);
22697 SWIGINTERN PyObject
*_wrap_new_ToolbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22698 PyObject
*resultobj
= 0;
22699 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22700 int arg2
= (int) 0 ;
22701 int arg3
= (int) wxNOT_FOUND
;
22702 int arg4
= (int) wxNOT_FOUND
;
22703 wxToolbookEvent
*result
= 0 ;
22712 PyObject
* obj0
= 0 ;
22713 PyObject
* obj1
= 0 ;
22714 PyObject
* obj2
= 0 ;
22715 PyObject
* obj3
= 0 ;
22716 char * kwnames
[] = {
22717 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ToolbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22722 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22723 if (!SWIG_IsOK(ecode1
)) {
22724 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22726 arg1
= static_cast< wxEventType
>(val1
);
22729 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22730 if (!SWIG_IsOK(ecode2
)) {
22731 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
22733 arg2
= static_cast< int >(val2
);
22736 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22737 if (!SWIG_IsOK(ecode3
)) {
22738 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
22740 arg3
= static_cast< int >(val3
);
22743 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22744 if (!SWIG_IsOK(ecode4
)) {
22745 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22747 arg4
= static_cast< int >(val4
);
22750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22751 result
= (wxToolbookEvent
*)new wxToolbookEvent(arg1
,arg2
,arg3
,arg4
);
22752 wxPyEndAllowThreads(__tstate
);
22753 if (PyErr_Occurred()) SWIG_fail
;
22755 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbookEvent
, SWIG_POINTER_NEW
| 0 );
22762 SWIGINTERN PyObject
*ToolbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22764 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22765 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent
, SWIG_NewClientData(obj
));
22766 return SWIG_Py_Void();
22769 SWIGINTERN PyObject
*ToolbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22770 return SWIG_Python_InitShadowInstance(args
);
22773 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22774 PyObject
*resultobj
= 0;
22775 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22779 PyObject
*swig_obj
[1] ;
22781 if (!args
) SWIG_fail
;
22782 swig_obj
[0] = args
;
22783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22784 if (!SWIG_IsOK(res1
)) {
22785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22787 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22790 result
= (int)(arg1
)->GetId();
22791 wxPyEndAllowThreads(__tstate
);
22792 if (PyErr_Occurred()) SWIG_fail
;
22794 resultobj
= SWIG_From_int(static_cast< int >(result
));
22801 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22802 PyObject
*resultobj
= 0;
22803 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22804 wxControl
*result
= 0 ;
22807 PyObject
*swig_obj
[1] ;
22809 if (!args
) SWIG_fail
;
22810 swig_obj
[0] = args
;
22811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22812 if (!SWIG_IsOK(res1
)) {
22813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22815 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22818 result
= (wxControl
*)(arg1
)->GetControl();
22819 wxPyEndAllowThreads(__tstate
);
22820 if (PyErr_Occurred()) SWIG_fail
;
22823 resultobj
= wxPyMake_wxObject(result
, 0);
22831 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22832 PyObject
*resultobj
= 0;
22833 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22834 wxToolBarBase
*result
= 0 ;
22837 PyObject
*swig_obj
[1] ;
22839 if (!args
) SWIG_fail
;
22840 swig_obj
[0] = args
;
22841 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22842 if (!SWIG_IsOK(res1
)) {
22843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22845 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22848 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
22849 wxPyEndAllowThreads(__tstate
);
22850 if (PyErr_Occurred()) SWIG_fail
;
22853 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22861 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22862 PyObject
*resultobj
= 0;
22863 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22867 PyObject
*swig_obj
[1] ;
22869 if (!args
) SWIG_fail
;
22870 swig_obj
[0] = args
;
22871 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22872 if (!SWIG_IsOK(res1
)) {
22873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22875 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22878 result
= (int)(arg1
)->IsButton();
22879 wxPyEndAllowThreads(__tstate
);
22880 if (PyErr_Occurred()) SWIG_fail
;
22882 resultobj
= SWIG_From_int(static_cast< int >(result
));
22889 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22890 PyObject
*resultobj
= 0;
22891 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22895 PyObject
*swig_obj
[1] ;
22897 if (!args
) SWIG_fail
;
22898 swig_obj
[0] = args
;
22899 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22900 if (!SWIG_IsOK(res1
)) {
22901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22903 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22906 result
= (int)(arg1
)->IsControl();
22907 wxPyEndAllowThreads(__tstate
);
22908 if (PyErr_Occurred()) SWIG_fail
;
22910 resultobj
= SWIG_From_int(static_cast< int >(result
));
22917 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22918 PyObject
*resultobj
= 0;
22919 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22923 PyObject
*swig_obj
[1] ;
22925 if (!args
) SWIG_fail
;
22926 swig_obj
[0] = args
;
22927 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22928 if (!SWIG_IsOK(res1
)) {
22929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22931 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22934 result
= (int)(arg1
)->IsSeparator();
22935 wxPyEndAllowThreads(__tstate
);
22936 if (PyErr_Occurred()) SWIG_fail
;
22938 resultobj
= SWIG_From_int(static_cast< int >(result
));
22945 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22946 PyObject
*resultobj
= 0;
22947 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22951 PyObject
*swig_obj
[1] ;
22953 if (!args
) SWIG_fail
;
22954 swig_obj
[0] = args
;
22955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22956 if (!SWIG_IsOK(res1
)) {
22957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22959 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22962 result
= (int)(arg1
)->GetStyle();
22963 wxPyEndAllowThreads(__tstate
);
22964 if (PyErr_Occurred()) SWIG_fail
;
22966 resultobj
= SWIG_From_int(static_cast< int >(result
));
22973 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22974 PyObject
*resultobj
= 0;
22975 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22979 PyObject
*swig_obj
[1] ;
22981 if (!args
) SWIG_fail
;
22982 swig_obj
[0] = args
;
22983 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22984 if (!SWIG_IsOK(res1
)) {
22985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22987 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22990 result
= (wxItemKind
)(arg1
)->GetKind();
22991 wxPyEndAllowThreads(__tstate
);
22992 if (PyErr_Occurred()) SWIG_fail
;
22994 resultobj
= SWIG_From_int(static_cast< int >(result
));
23001 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23002 PyObject
*resultobj
= 0;
23003 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23007 PyObject
*swig_obj
[1] ;
23009 if (!args
) SWIG_fail
;
23010 swig_obj
[0] = args
;
23011 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23012 if (!SWIG_IsOK(res1
)) {
23013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23015 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23018 result
= (bool)(arg1
)->IsEnabled();
23019 wxPyEndAllowThreads(__tstate
);
23020 if (PyErr_Occurred()) SWIG_fail
;
23023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23031 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23032 PyObject
*resultobj
= 0;
23033 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23037 PyObject
*swig_obj
[1] ;
23039 if (!args
) SWIG_fail
;
23040 swig_obj
[0] = args
;
23041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23042 if (!SWIG_IsOK(res1
)) {
23043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23045 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23048 result
= (bool)(arg1
)->IsToggled();
23049 wxPyEndAllowThreads(__tstate
);
23050 if (PyErr_Occurred()) SWIG_fail
;
23053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23061 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23062 PyObject
*resultobj
= 0;
23063 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23067 PyObject
*swig_obj
[1] ;
23069 if (!args
) SWIG_fail
;
23070 swig_obj
[0] = args
;
23071 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23072 if (!SWIG_IsOK(res1
)) {
23073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23075 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23078 result
= (bool)(arg1
)->CanBeToggled();
23079 wxPyEndAllowThreads(__tstate
);
23080 if (PyErr_Occurred()) SWIG_fail
;
23083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23091 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23092 PyObject
*resultobj
= 0;
23093 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23094 wxBitmap
*result
= 0 ;
23097 PyObject
*swig_obj
[1] ;
23099 if (!args
) SWIG_fail
;
23100 swig_obj
[0] = args
;
23101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23102 if (!SWIG_IsOK(res1
)) {
23103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23105 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23109 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
23110 result
= (wxBitmap
*) &_result_ref
;
23112 wxPyEndAllowThreads(__tstate
);
23113 if (PyErr_Occurred()) SWIG_fail
;
23116 wxBitmap
* resultptr
= new wxBitmap(*result
);
23117 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
23125 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23126 PyObject
*resultobj
= 0;
23127 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23128 wxBitmap
*result
= 0 ;
23131 PyObject
*swig_obj
[1] ;
23133 if (!args
) SWIG_fail
;
23134 swig_obj
[0] = args
;
23135 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23136 if (!SWIG_IsOK(res1
)) {
23137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23139 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23143 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
23144 result
= (wxBitmap
*) &_result_ref
;
23146 wxPyEndAllowThreads(__tstate
);
23147 if (PyErr_Occurred()) SWIG_fail
;
23150 wxBitmap
* resultptr
= new wxBitmap(*result
);
23151 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
23159 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23160 PyObject
*resultobj
= 0;
23161 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23165 PyObject
*swig_obj
[1] ;
23167 if (!args
) SWIG_fail
;
23168 swig_obj
[0] = args
;
23169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23170 if (!SWIG_IsOK(res1
)) {
23171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23173 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23176 result
= (arg1
)->GetBitmap();
23177 wxPyEndAllowThreads(__tstate
);
23178 if (PyErr_Occurred()) SWIG_fail
;
23180 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
23187 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23188 PyObject
*resultobj
= 0;
23189 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23193 PyObject
*swig_obj
[1] ;
23195 if (!args
) SWIG_fail
;
23196 swig_obj
[0] = args
;
23197 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23198 if (!SWIG_IsOK(res1
)) {
23199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23201 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23204 result
= (arg1
)->GetLabel();
23205 wxPyEndAllowThreads(__tstate
);
23206 if (PyErr_Occurred()) SWIG_fail
;
23210 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23212 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23221 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23222 PyObject
*resultobj
= 0;
23223 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23227 PyObject
*swig_obj
[1] ;
23229 if (!args
) SWIG_fail
;
23230 swig_obj
[0] = args
;
23231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23232 if (!SWIG_IsOK(res1
)) {
23233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23235 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23238 result
= (arg1
)->GetShortHelp();
23239 wxPyEndAllowThreads(__tstate
);
23240 if (PyErr_Occurred()) SWIG_fail
;
23244 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23246 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23255 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23256 PyObject
*resultobj
= 0;
23257 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23261 PyObject
*swig_obj
[1] ;
23263 if (!args
) SWIG_fail
;
23264 swig_obj
[0] = args
;
23265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23266 if (!SWIG_IsOK(res1
)) {
23267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23269 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23272 result
= (arg1
)->GetLongHelp();
23273 wxPyEndAllowThreads(__tstate
);
23274 if (PyErr_Occurred()) SWIG_fail
;
23278 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23280 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23289 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23290 PyObject
*resultobj
= 0;
23291 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23298 PyObject
* obj0
= 0 ;
23299 PyObject
* obj1
= 0 ;
23300 char * kwnames
[] = {
23301 (char *) "self",(char *) "enable", NULL
23304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23306 if (!SWIG_IsOK(res1
)) {
23307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23309 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23310 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23311 if (!SWIG_IsOK(ecode2
)) {
23312 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
23314 arg2
= static_cast< bool >(val2
);
23316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23317 result
= (bool)(arg1
)->Enable(arg2
);
23318 wxPyEndAllowThreads(__tstate
);
23319 if (PyErr_Occurred()) SWIG_fail
;
23322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23330 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23331 PyObject
*resultobj
= 0;
23332 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23335 PyObject
*swig_obj
[1] ;
23337 if (!args
) SWIG_fail
;
23338 swig_obj
[0] = args
;
23339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23340 if (!SWIG_IsOK(res1
)) {
23341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23343 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23347 wxPyEndAllowThreads(__tstate
);
23348 if (PyErr_Occurred()) SWIG_fail
;
23350 resultobj
= SWIG_Py_Void();
23357 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23358 PyObject
*resultobj
= 0;
23359 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23366 PyObject
* obj0
= 0 ;
23367 PyObject
* obj1
= 0 ;
23368 char * kwnames
[] = {
23369 (char *) "self",(char *) "toggle", NULL
23372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",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_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23377 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23378 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23379 if (!SWIG_IsOK(ecode2
)) {
23380 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
23382 arg2
= static_cast< bool >(val2
);
23384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23385 result
= (bool)(arg1
)->SetToggle(arg2
);
23386 wxPyEndAllowThreads(__tstate
);
23387 if (PyErr_Occurred()) SWIG_fail
;
23390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23398 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23399 PyObject
*resultobj
= 0;
23400 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23401 wxString
*arg2
= 0 ;
23405 bool temp2
= false ;
23406 PyObject
* obj0
= 0 ;
23407 PyObject
* obj1
= 0 ;
23408 char * kwnames
[] = {
23409 (char *) "self",(char *) "help", NULL
23412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23414 if (!SWIG_IsOK(res1
)) {
23415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23417 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23419 arg2
= wxString_in_helper(obj1
);
23420 if (arg2
== NULL
) SWIG_fail
;
23424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23425 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
23426 wxPyEndAllowThreads(__tstate
);
23427 if (PyErr_Occurred()) SWIG_fail
;
23430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23446 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23447 PyObject
*resultobj
= 0;
23448 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23449 wxString
*arg2
= 0 ;
23453 bool temp2
= false ;
23454 PyObject
* obj0
= 0 ;
23455 PyObject
* obj1
= 0 ;
23456 char * kwnames
[] = {
23457 (char *) "self",(char *) "help", NULL
23460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23462 if (!SWIG_IsOK(res1
)) {
23463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23465 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23467 arg2
= wxString_in_helper(obj1
);
23468 if (arg2
== NULL
) SWIG_fail
;
23472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23473 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
23474 wxPyEndAllowThreads(__tstate
);
23475 if (PyErr_Occurred()) SWIG_fail
;
23478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23494 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23495 PyObject
*resultobj
= 0;
23496 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23497 wxBitmap
*arg2
= 0 ;
23502 PyObject
* obj0
= 0 ;
23503 PyObject
* obj1
= 0 ;
23504 char * kwnames
[] = {
23505 (char *) "self",(char *) "bmp", NULL
23508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23510 if (!SWIG_IsOK(res1
)) {
23511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23513 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23514 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23515 if (!SWIG_IsOK(res2
)) {
23516 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23519 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23521 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23524 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
23525 wxPyEndAllowThreads(__tstate
);
23526 if (PyErr_Occurred()) SWIG_fail
;
23528 resultobj
= SWIG_Py_Void();
23535 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23536 PyObject
*resultobj
= 0;
23537 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23538 wxBitmap
*arg2
= 0 ;
23543 PyObject
* obj0
= 0 ;
23544 PyObject
* obj1
= 0 ;
23545 char * kwnames
[] = {
23546 (char *) "self",(char *) "bmp", NULL
23549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23551 if (!SWIG_IsOK(res1
)) {
23552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23554 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23555 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23556 if (!SWIG_IsOK(res2
)) {
23557 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23560 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23562 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23565 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
23566 wxPyEndAllowThreads(__tstate
);
23567 if (PyErr_Occurred()) SWIG_fail
;
23569 resultobj
= SWIG_Py_Void();
23576 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23577 PyObject
*resultobj
= 0;
23578 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23579 wxString
*arg2
= 0 ;
23582 bool temp2
= false ;
23583 PyObject
* obj0
= 0 ;
23584 PyObject
* obj1
= 0 ;
23585 char * kwnames
[] = {
23586 (char *) "self",(char *) "label", NULL
23589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23591 if (!SWIG_IsOK(res1
)) {
23592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23594 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23596 arg2
= wxString_in_helper(obj1
);
23597 if (arg2
== NULL
) SWIG_fail
;
23601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23602 (arg1
)->SetLabel((wxString
const &)*arg2
);
23603 wxPyEndAllowThreads(__tstate
);
23604 if (PyErr_Occurred()) SWIG_fail
;
23606 resultobj
= SWIG_Py_Void();
23621 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23622 PyObject
*resultobj
= 0;
23623 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23626 PyObject
*swig_obj
[1] ;
23628 if (!args
) SWIG_fail
;
23629 swig_obj
[0] = args
;
23630 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23631 if (!SWIG_IsOK(res1
)) {
23632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23634 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23638 wxPyEndAllowThreads(__tstate
);
23639 if (PyErr_Occurred()) SWIG_fail
;
23641 resultobj
= SWIG_Py_Void();
23648 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23649 PyObject
*resultobj
= 0;
23650 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23651 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
23656 PyObject
* obj0
= 0 ;
23657 PyObject
* obj1
= 0 ;
23658 char * kwnames
[] = {
23659 (char *) "self",(char *) "tbar", NULL
23662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23664 if (!SWIG_IsOK(res1
)) {
23665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23667 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23668 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23669 if (!SWIG_IsOK(res2
)) {
23670 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23672 arg2
= reinterpret_cast< wxToolBarBase
* >(argp2
);
23674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23675 (arg1
)->Attach(arg2
);
23676 wxPyEndAllowThreads(__tstate
);
23677 if (PyErr_Occurred()) SWIG_fail
;
23679 resultobj
= SWIG_Py_Void();
23686 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23687 PyObject
*resultobj
= 0;
23688 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23689 PyObject
*result
= 0 ;
23692 PyObject
*swig_obj
[1] ;
23694 if (!args
) SWIG_fail
;
23695 swig_obj
[0] = args
;
23696 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23697 if (!SWIG_IsOK(res1
)) {
23698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23700 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23703 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
23704 wxPyEndAllowThreads(__tstate
);
23705 if (PyErr_Occurred()) SWIG_fail
;
23707 resultobj
= result
;
23714 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23715 PyObject
*resultobj
= 0;
23716 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23717 PyObject
*arg2
= (PyObject
*) 0 ;
23720 PyObject
* obj0
= 0 ;
23721 PyObject
* obj1
= 0 ;
23722 char * kwnames
[] = {
23723 (char *) "self",(char *) "clientData", NULL
23726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23728 if (!SWIG_IsOK(res1
)) {
23729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23731 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23735 wxToolBarToolBase_SetClientData(arg1
,arg2
);
23736 wxPyEndAllowThreads(__tstate
);
23737 if (PyErr_Occurred()) SWIG_fail
;
23739 resultobj
= SWIG_Py_Void();
23746 SWIGINTERN PyObject
*ToolBarToolBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23748 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23749 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase
, SWIG_NewClientData(obj
));
23750 return SWIG_Py_Void();
23753 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23754 PyObject
*resultobj
= 0;
23755 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23757 wxString
*arg3
= 0 ;
23758 wxBitmap
*arg4
= 0 ;
23759 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
23760 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
23761 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
23762 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23763 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23764 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23765 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23766 PyObject
*arg9
= (PyObject
*) NULL
;
23767 wxToolBarToolBase
*result
= 0 ;
23772 bool temp3
= false ;
23779 bool temp7
= false ;
23780 bool temp8
= false ;
23781 PyObject
* obj0
= 0 ;
23782 PyObject
* obj1
= 0 ;
23783 PyObject
* obj2
= 0 ;
23784 PyObject
* obj3
= 0 ;
23785 PyObject
* obj4
= 0 ;
23786 PyObject
* obj5
= 0 ;
23787 PyObject
* obj6
= 0 ;
23788 PyObject
* obj7
= 0 ;
23789 PyObject
* obj8
= 0 ;
23790 char * kwnames
[] = {
23791 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
23795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23796 if (!SWIG_IsOK(res1
)) {
23797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23799 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23800 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23801 if (!SWIG_IsOK(ecode2
)) {
23802 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
23804 arg2
= static_cast< int >(val2
);
23806 arg3
= wxString_in_helper(obj2
);
23807 if (arg3
== NULL
) SWIG_fail
;
23810 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23811 if (!SWIG_IsOK(res4
)) {
23812 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23815 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23817 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
23819 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23820 if (!SWIG_IsOK(res5
)) {
23821 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23824 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23826 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23829 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23830 if (!SWIG_IsOK(ecode6
)) {
23831 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
23833 arg6
= static_cast< wxItemKind
>(val6
);
23837 arg7
= wxString_in_helper(obj6
);
23838 if (arg7
== NULL
) SWIG_fail
;
23844 arg8
= wxString_in_helper(obj7
);
23845 if (arg8
== NULL
) SWIG_fail
;
23853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23854 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
23855 wxPyEndAllowThreads(__tstate
);
23856 if (PyErr_Occurred()) SWIG_fail
;
23859 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23891 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23892 PyObject
*resultobj
= 0;
23893 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23896 wxString
*arg4
= 0 ;
23897 wxBitmap
*arg5
= 0 ;
23898 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
23899 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
23900 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
23901 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23902 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23903 wxString
const &arg9_defvalue
= wxPyEmptyString
;
23904 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
23905 PyObject
*arg10
= (PyObject
*) NULL
;
23906 wxToolBarToolBase
*result
= 0 ;
23913 bool temp4
= false ;
23920 bool temp8
= false ;
23921 bool temp9
= false ;
23922 PyObject
* obj0
= 0 ;
23923 PyObject
* obj1
= 0 ;
23924 PyObject
* obj2
= 0 ;
23925 PyObject
* obj3
= 0 ;
23926 PyObject
* obj4
= 0 ;
23927 PyObject
* obj5
= 0 ;
23928 PyObject
* obj6
= 0 ;
23929 PyObject
* obj7
= 0 ;
23930 PyObject
* obj8
= 0 ;
23931 PyObject
* obj9
= 0 ;
23932 char * kwnames
[] = {
23933 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
23937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23938 if (!SWIG_IsOK(res1
)) {
23939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23941 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23942 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23943 if (!SWIG_IsOK(ecode2
)) {
23944 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
23946 arg2
= static_cast< size_t >(val2
);
23947 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23948 if (!SWIG_IsOK(ecode3
)) {
23949 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
23951 arg3
= static_cast< int >(val3
);
23953 arg4
= wxString_in_helper(obj3
);
23954 if (arg4
== NULL
) SWIG_fail
;
23957 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23958 if (!SWIG_IsOK(res5
)) {
23959 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23962 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23964 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23966 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23967 if (!SWIG_IsOK(res6
)) {
23968 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23971 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23973 arg6
= reinterpret_cast< wxBitmap
* >(argp6
);
23976 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
23977 if (!SWIG_IsOK(ecode7
)) {
23978 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
23980 arg7
= static_cast< wxItemKind
>(val7
);
23984 arg8
= wxString_in_helper(obj7
);
23985 if (arg8
== NULL
) SWIG_fail
;
23991 arg9
= wxString_in_helper(obj8
);
23992 if (arg9
== NULL
) SWIG_fail
;
24000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24001 result
= (wxToolBarToolBase
*)wxToolBarBase_DoInsertTool(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxBitmap
const &)*arg6
,arg7
,(wxString
const &)*arg8
,(wxString
const &)*arg9
,arg10
);
24002 wxPyEndAllowThreads(__tstate
);
24003 if (PyErr_Occurred()) SWIG_fail
;
24006 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24038 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24039 PyObject
*resultobj
= 0;
24040 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24041 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
24042 wxToolBarToolBase
*result
= 0 ;
24047 PyObject
* obj0
= 0 ;
24048 PyObject
* obj1
= 0 ;
24049 char * kwnames
[] = {
24050 (char *) "self",(char *) "tool", NULL
24053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) 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_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24058 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24059 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
24060 if (!SWIG_IsOK(res2
)) {
24061 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
24063 arg2
= reinterpret_cast< wxToolBarToolBase
* >(argp2
);
24065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24066 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
24067 wxPyEndAllowThreads(__tstate
);
24068 if (PyErr_Occurred()) SWIG_fail
;
24071 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24079 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24080 PyObject
*resultobj
= 0;
24081 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24083 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
24084 wxToolBarToolBase
*result
= 0 ;
24091 PyObject
* obj0
= 0 ;
24092 PyObject
* obj1
= 0 ;
24093 PyObject
* obj2
= 0 ;
24094 char * kwnames
[] = {
24095 (char *) "self",(char *) "pos",(char *) "tool", NULL
24098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24100 if (!SWIG_IsOK(res1
)) {
24101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24103 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24104 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24105 if (!SWIG_IsOK(ecode2
)) {
24106 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
24108 arg2
= static_cast< size_t >(val2
);
24109 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
24110 if (!SWIG_IsOK(res3
)) {
24111 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
24113 arg3
= reinterpret_cast< wxToolBarToolBase
* >(argp3
);
24115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24116 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
24117 wxPyEndAllowThreads(__tstate
);
24118 if (PyErr_Occurred()) SWIG_fail
;
24121 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24129 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24130 PyObject
*resultobj
= 0;
24131 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24132 wxControl
*arg2
= (wxControl
*) 0 ;
24133 wxToolBarToolBase
*result
= 0 ;
24138 PyObject
* obj0
= 0 ;
24139 PyObject
* obj1
= 0 ;
24140 char * kwnames
[] = {
24141 (char *) "self",(char *) "control", NULL
24144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24146 if (!SWIG_IsOK(res1
)) {
24147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24149 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24150 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 | 0 );
24151 if (!SWIG_IsOK(res2
)) {
24152 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
24154 arg2
= reinterpret_cast< wxControl
* >(argp2
);
24156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24157 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
24158 wxPyEndAllowThreads(__tstate
);
24159 if (PyErr_Occurred()) SWIG_fail
;
24162 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24170 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24171 PyObject
*resultobj
= 0;
24172 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24174 wxControl
*arg3
= (wxControl
*) 0 ;
24175 wxToolBarToolBase
*result
= 0 ;
24182 PyObject
* obj0
= 0 ;
24183 PyObject
* obj1
= 0 ;
24184 PyObject
* obj2
= 0 ;
24185 char * kwnames
[] = {
24186 (char *) "self",(char *) "pos",(char *) "control", NULL
24189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24191 if (!SWIG_IsOK(res1
)) {
24192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24194 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24195 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24196 if (!SWIG_IsOK(ecode2
)) {
24197 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
24199 arg2
= static_cast< size_t >(val2
);
24200 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxControl
, 0 | 0 );
24201 if (!SWIG_IsOK(res3
)) {
24202 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
24204 arg3
= reinterpret_cast< wxControl
* >(argp3
);
24206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24207 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
24208 wxPyEndAllowThreads(__tstate
);
24209 if (PyErr_Occurred()) SWIG_fail
;
24212 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24220 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24221 PyObject
*resultobj
= 0;
24222 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24224 wxControl
*result
= 0 ;
24229 PyObject
* obj0
= 0 ;
24230 PyObject
* obj1
= 0 ;
24231 char * kwnames
[] = {
24232 (char *) "self",(char *) "id", NULL
24235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24237 if (!SWIG_IsOK(res1
)) {
24238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24240 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24241 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24242 if (!SWIG_IsOK(ecode2
)) {
24243 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
24245 arg2
= static_cast< int >(val2
);
24247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24248 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
24249 wxPyEndAllowThreads(__tstate
);
24250 if (PyErr_Occurred()) SWIG_fail
;
24253 resultobj
= wxPyMake_wxObject(result
, 0);
24261 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24262 PyObject
*resultobj
= 0;
24263 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24264 wxToolBarToolBase
*result
= 0 ;
24267 PyObject
*swig_obj
[1] ;
24269 if (!args
) SWIG_fail
;
24270 swig_obj
[0] = args
;
24271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24272 if (!SWIG_IsOK(res1
)) {
24273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24275 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24278 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
24279 wxPyEndAllowThreads(__tstate
);
24280 if (PyErr_Occurred()) SWIG_fail
;
24283 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24291 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24292 PyObject
*resultobj
= 0;
24293 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24295 wxToolBarToolBase
*result
= 0 ;
24300 PyObject
* obj0
= 0 ;
24301 PyObject
* obj1
= 0 ;
24302 char * kwnames
[] = {
24303 (char *) "self",(char *) "pos", NULL
24306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24308 if (!SWIG_IsOK(res1
)) {
24309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24311 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24312 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24313 if (!SWIG_IsOK(ecode2
)) {
24314 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
24316 arg2
= static_cast< size_t >(val2
);
24318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24319 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
24320 wxPyEndAllowThreads(__tstate
);
24321 if (PyErr_Occurred()) SWIG_fail
;
24324 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24332 SWIGINTERN PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24333 PyObject
*resultobj
= 0;
24334 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24336 wxToolBarToolBase
*result
= 0 ;
24341 PyObject
* obj0
= 0 ;
24342 PyObject
* obj1
= 0 ;
24343 char * kwnames
[] = {
24344 (char *) "self",(char *) "id", NULL
24347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24349 if (!SWIG_IsOK(res1
)) {
24350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24352 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24353 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24354 if (!SWIG_IsOK(ecode2
)) {
24355 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
24357 arg2
= static_cast< int >(val2
);
24359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24360 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
24361 wxPyEndAllowThreads(__tstate
);
24362 if (PyErr_Occurred()) SWIG_fail
;
24365 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24373 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24374 PyObject
*resultobj
= 0;
24375 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24382 PyObject
* obj0
= 0 ;
24383 PyObject
* obj1
= 0 ;
24384 char * kwnames
[] = {
24385 (char *) "self",(char *) "pos", NULL
24388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24390 if (!SWIG_IsOK(res1
)) {
24391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24393 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24394 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24395 if (!SWIG_IsOK(ecode2
)) {
24396 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
24398 arg2
= static_cast< size_t >(val2
);
24400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24401 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
24402 wxPyEndAllowThreads(__tstate
);
24403 if (PyErr_Occurred()) SWIG_fail
;
24406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24414 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24415 PyObject
*resultobj
= 0;
24416 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24423 PyObject
* obj0
= 0 ;
24424 PyObject
* obj1
= 0 ;
24425 char * kwnames
[] = {
24426 (char *) "self",(char *) "id", NULL
24429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24431 if (!SWIG_IsOK(res1
)) {
24432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24434 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24435 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24436 if (!SWIG_IsOK(ecode2
)) {
24437 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
24439 arg2
= static_cast< int >(val2
);
24441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24442 result
= (bool)(arg1
)->DeleteTool(arg2
);
24443 wxPyEndAllowThreads(__tstate
);
24444 if (PyErr_Occurred()) SWIG_fail
;
24447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24455 SWIGINTERN PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24456 PyObject
*resultobj
= 0;
24457 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24460 PyObject
*swig_obj
[1] ;
24462 if (!args
) SWIG_fail
;
24463 swig_obj
[0] = args
;
24464 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24465 if (!SWIG_IsOK(res1
)) {
24466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24468 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24471 (arg1
)->ClearTools();
24472 wxPyEndAllowThreads(__tstate
);
24473 if (PyErr_Occurred()) SWIG_fail
;
24475 resultobj
= SWIG_Py_Void();
24482 SWIGINTERN PyObject
*_wrap_ToolBarBase_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24483 PyObject
*resultobj
= 0;
24484 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24488 PyObject
*swig_obj
[1] ;
24490 if (!args
) SWIG_fail
;
24491 swig_obj
[0] = args
;
24492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24493 if (!SWIG_IsOK(res1
)) {
24494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24496 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24499 result
= (bool)(arg1
)->Realize();
24500 wxPyEndAllowThreads(__tstate
);
24501 if (PyErr_Occurred()) SWIG_fail
;
24504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24512 SWIGINTERN PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24513 PyObject
*resultobj
= 0;
24514 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24523 PyObject
* obj0
= 0 ;
24524 PyObject
* obj1
= 0 ;
24525 PyObject
* obj2
= 0 ;
24526 char * kwnames
[] = {
24527 (char *) "self",(char *) "id",(char *) "enable", NULL
24530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24532 if (!SWIG_IsOK(res1
)) {
24533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24535 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24536 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24537 if (!SWIG_IsOK(ecode2
)) {
24538 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
24540 arg2
= static_cast< int >(val2
);
24541 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24542 if (!SWIG_IsOK(ecode3
)) {
24543 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
24545 arg3
= static_cast< bool >(val3
);
24547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24548 (arg1
)->EnableTool(arg2
,arg3
);
24549 wxPyEndAllowThreads(__tstate
);
24550 if (PyErr_Occurred()) SWIG_fail
;
24552 resultobj
= SWIG_Py_Void();
24559 SWIGINTERN PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24560 PyObject
*resultobj
= 0;
24561 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24570 PyObject
* obj0
= 0 ;
24571 PyObject
* obj1
= 0 ;
24572 PyObject
* obj2
= 0 ;
24573 char * kwnames
[] = {
24574 (char *) "self",(char *) "id",(char *) "toggle", NULL
24577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24579 if (!SWIG_IsOK(res1
)) {
24580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24582 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24583 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24584 if (!SWIG_IsOK(ecode2
)) {
24585 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
24587 arg2
= static_cast< int >(val2
);
24588 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24589 if (!SWIG_IsOK(ecode3
)) {
24590 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
24592 arg3
= static_cast< bool >(val3
);
24594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24595 (arg1
)->ToggleTool(arg2
,arg3
);
24596 wxPyEndAllowThreads(__tstate
);
24597 if (PyErr_Occurred()) SWIG_fail
;
24599 resultobj
= SWIG_Py_Void();
24606 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24607 PyObject
*resultobj
= 0;
24608 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24617 PyObject
* obj0
= 0 ;
24618 PyObject
* obj1
= 0 ;
24619 PyObject
* obj2
= 0 ;
24620 char * kwnames
[] = {
24621 (char *) "self",(char *) "id",(char *) "toggle", NULL
24624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24626 if (!SWIG_IsOK(res1
)) {
24627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24629 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24630 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24631 if (!SWIG_IsOK(ecode2
)) {
24632 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
24634 arg2
= static_cast< int >(val2
);
24635 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24636 if (!SWIG_IsOK(ecode3
)) {
24637 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
24639 arg3
= static_cast< bool >(val3
);
24641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24642 (arg1
)->SetToggle(arg2
,arg3
);
24643 wxPyEndAllowThreads(__tstate
);
24644 if (PyErr_Occurred()) SWIG_fail
;
24646 resultobj
= SWIG_Py_Void();
24653 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24654 PyObject
*resultobj
= 0;
24655 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24657 PyObject
*result
= 0 ;
24662 PyObject
* obj0
= 0 ;
24663 PyObject
* obj1
= 0 ;
24664 char * kwnames
[] = {
24665 (char *) "self",(char *) "id", NULL
24668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24670 if (!SWIG_IsOK(res1
)) {
24671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24673 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24674 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24675 if (!SWIG_IsOK(ecode2
)) {
24676 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
24678 arg2
= static_cast< int >(val2
);
24680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24681 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
24682 wxPyEndAllowThreads(__tstate
);
24683 if (PyErr_Occurred()) SWIG_fail
;
24685 resultobj
= result
;
24692 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24693 PyObject
*resultobj
= 0;
24694 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24696 PyObject
*arg3
= (PyObject
*) 0 ;
24701 PyObject
* obj0
= 0 ;
24702 PyObject
* obj1
= 0 ;
24703 PyObject
* obj2
= 0 ;
24704 char * kwnames
[] = {
24705 (char *) "self",(char *) "id",(char *) "clientData", NULL
24708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24710 if (!SWIG_IsOK(res1
)) {
24711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24713 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24714 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24715 if (!SWIG_IsOK(ecode2
)) {
24716 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
24718 arg2
= static_cast< int >(val2
);
24721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24722 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
24723 wxPyEndAllowThreads(__tstate
);
24724 if (PyErr_Occurred()) SWIG_fail
;
24726 resultobj
= SWIG_Py_Void();
24733 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24734 PyObject
*resultobj
= 0;
24735 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24742 PyObject
* obj0
= 0 ;
24743 PyObject
* obj1
= 0 ;
24744 char * kwnames
[] = {
24745 (char *) "self",(char *) "id", NULL
24748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24750 if (!SWIG_IsOK(res1
)) {
24751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24753 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24754 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24755 if (!SWIG_IsOK(ecode2
)) {
24756 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
24758 arg2
= static_cast< int >(val2
);
24760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24761 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
24762 wxPyEndAllowThreads(__tstate
);
24763 if (PyErr_Occurred()) SWIG_fail
;
24765 resultobj
= SWIG_From_int(static_cast< int >(result
));
24772 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolState(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_GetToolState",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_GetToolState" "', 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_GetToolState" "', expected argument " "2"" of type '" "int""'");
24797 arg2
= static_cast< int >(val2
);
24799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24800 result
= (bool)(arg1
)->GetToolState(arg2
);
24801 wxPyEndAllowThreads(__tstate
);
24802 if (PyErr_Occurred()) SWIG_fail
;
24805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24813 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24814 PyObject
*resultobj
= 0;
24815 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24822 PyObject
* obj0
= 0 ;
24823 PyObject
* obj1
= 0 ;
24824 char * kwnames
[] = {
24825 (char *) "self",(char *) "id", NULL
24828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24830 if (!SWIG_IsOK(res1
)) {
24831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24833 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24834 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24835 if (!SWIG_IsOK(ecode2
)) {
24836 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
24838 arg2
= static_cast< int >(val2
);
24840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24841 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
24842 wxPyEndAllowThreads(__tstate
);
24843 if (PyErr_Occurred()) SWIG_fail
;
24846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24854 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24855 PyObject
*resultobj
= 0;
24856 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24858 wxString
*arg3
= 0 ;
24863 bool temp3
= false ;
24864 PyObject
* obj0
= 0 ;
24865 PyObject
* obj1
= 0 ;
24866 PyObject
* obj2
= 0 ;
24867 char * kwnames
[] = {
24868 (char *) "self",(char *) "id",(char *) "helpString", NULL
24871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24873 if (!SWIG_IsOK(res1
)) {
24874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24876 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24877 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24878 if (!SWIG_IsOK(ecode2
)) {
24879 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24881 arg2
= static_cast< int >(val2
);
24883 arg3
= wxString_in_helper(obj2
);
24884 if (arg3
== NULL
) SWIG_fail
;
24888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24889 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
24890 wxPyEndAllowThreads(__tstate
);
24891 if (PyErr_Occurred()) SWIG_fail
;
24893 resultobj
= SWIG_Py_Void();
24908 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24909 PyObject
*resultobj
= 0;
24910 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24917 PyObject
* obj0
= 0 ;
24918 PyObject
* obj1
= 0 ;
24919 char * kwnames
[] = {
24920 (char *) "self",(char *) "id", NULL
24923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24925 if (!SWIG_IsOK(res1
)) {
24926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24928 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24929 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24930 if (!SWIG_IsOK(ecode2
)) {
24931 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24933 arg2
= static_cast< int >(val2
);
24935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24936 result
= (arg1
)->GetToolShortHelp(arg2
);
24937 wxPyEndAllowThreads(__tstate
);
24938 if (PyErr_Occurred()) SWIG_fail
;
24942 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24944 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24953 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24954 PyObject
*resultobj
= 0;
24955 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24957 wxString
*arg3
= 0 ;
24962 bool temp3
= false ;
24963 PyObject
* obj0
= 0 ;
24964 PyObject
* obj1
= 0 ;
24965 PyObject
* obj2
= 0 ;
24966 char * kwnames
[] = {
24967 (char *) "self",(char *) "id",(char *) "helpString", NULL
24970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24972 if (!SWIG_IsOK(res1
)) {
24973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24975 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24976 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24977 if (!SWIG_IsOK(ecode2
)) {
24978 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24980 arg2
= static_cast< int >(val2
);
24982 arg3
= wxString_in_helper(obj2
);
24983 if (arg3
== NULL
) SWIG_fail
;
24987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24988 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
24989 wxPyEndAllowThreads(__tstate
);
24990 if (PyErr_Occurred()) SWIG_fail
;
24992 resultobj
= SWIG_Py_Void();
25007 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25008 PyObject
*resultobj
= 0;
25009 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25016 PyObject
* obj0
= 0 ;
25017 PyObject
* obj1
= 0 ;
25018 char * kwnames
[] = {
25019 (char *) "self",(char *) "id", NULL
25022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25024 if (!SWIG_IsOK(res1
)) {
25025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25027 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25028 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25029 if (!SWIG_IsOK(ecode2
)) {
25030 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25032 arg2
= static_cast< int >(val2
);
25034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25035 result
= (arg1
)->GetToolLongHelp(arg2
);
25036 wxPyEndAllowThreads(__tstate
);
25037 if (PyErr_Occurred()) SWIG_fail
;
25041 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25043 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25052 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25053 PyObject
*resultobj
= 0;
25054 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25063 PyObject
* obj0
= 0 ;
25064 PyObject
* obj1
= 0 ;
25065 PyObject
* obj2
= 0 ;
25066 char * kwnames
[] = {
25067 (char *) "self",(char *) "x",(char *) "y", NULL
25070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25072 if (!SWIG_IsOK(res1
)) {
25073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25075 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25076 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25077 if (!SWIG_IsOK(ecode2
)) {
25078 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
25080 arg2
= static_cast< int >(val2
);
25081 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25082 if (!SWIG_IsOK(ecode3
)) {
25083 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
25085 arg3
= static_cast< int >(val3
);
25087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25088 (arg1
)->SetMargins(arg2
,arg3
);
25089 wxPyEndAllowThreads(__tstate
);
25090 if (PyErr_Occurred()) SWIG_fail
;
25092 resultobj
= SWIG_Py_Void();
25099 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25100 PyObject
*resultobj
= 0;
25101 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25106 PyObject
* obj0
= 0 ;
25107 PyObject
* obj1
= 0 ;
25108 char * kwnames
[] = {
25109 (char *) "self",(char *) "size", NULL
25112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25114 if (!SWIG_IsOK(res1
)) {
25115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25117 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25120 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25124 (arg1
)->SetMargins((wxSize
const &)*arg2
);
25125 wxPyEndAllowThreads(__tstate
);
25126 if (PyErr_Occurred()) SWIG_fail
;
25128 resultobj
= SWIG_Py_Void();
25135 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25136 PyObject
*resultobj
= 0;
25137 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25143 PyObject
* obj0
= 0 ;
25144 PyObject
* obj1
= 0 ;
25145 char * kwnames
[] = {
25146 (char *) "self",(char *) "packing", NULL
25149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25151 if (!SWIG_IsOK(res1
)) {
25152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25154 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25155 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25156 if (!SWIG_IsOK(ecode2
)) {
25157 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
25159 arg2
= static_cast< int >(val2
);
25161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25162 (arg1
)->SetToolPacking(arg2
);
25163 wxPyEndAllowThreads(__tstate
);
25164 if (PyErr_Occurred()) SWIG_fail
;
25166 resultobj
= SWIG_Py_Void();
25173 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25174 PyObject
*resultobj
= 0;
25175 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25181 PyObject
* obj0
= 0 ;
25182 PyObject
* obj1
= 0 ;
25183 char * kwnames
[] = {
25184 (char *) "self",(char *) "separation", NULL
25187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25189 if (!SWIG_IsOK(res1
)) {
25190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25192 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25193 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25194 if (!SWIG_IsOK(ecode2
)) {
25195 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
25197 arg2
= static_cast< int >(val2
);
25199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25200 (arg1
)->SetToolSeparation(arg2
);
25201 wxPyEndAllowThreads(__tstate
);
25202 if (PyErr_Occurred()) SWIG_fail
;
25204 resultobj
= SWIG_Py_Void();
25211 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25212 PyObject
*resultobj
= 0;
25213 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25217 PyObject
*swig_obj
[1] ;
25219 if (!args
) SWIG_fail
;
25220 swig_obj
[0] = args
;
25221 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25222 if (!SWIG_IsOK(res1
)) {
25223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25225 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25228 result
= (arg1
)->GetToolMargins();
25229 wxPyEndAllowThreads(__tstate
);
25230 if (PyErr_Occurred()) SWIG_fail
;
25232 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25239 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25240 PyObject
*resultobj
= 0;
25241 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25245 PyObject
*swig_obj
[1] ;
25247 if (!args
) SWIG_fail
;
25248 swig_obj
[0] = args
;
25249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25250 if (!SWIG_IsOK(res1
)) {
25251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25253 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25256 result
= (arg1
)->GetMargins();
25257 wxPyEndAllowThreads(__tstate
);
25258 if (PyErr_Occurred()) SWIG_fail
;
25260 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25267 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25268 PyObject
*resultobj
= 0;
25269 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25273 PyObject
*swig_obj
[1] ;
25275 if (!args
) SWIG_fail
;
25276 swig_obj
[0] = args
;
25277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25278 if (!SWIG_IsOK(res1
)) {
25279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25281 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25284 result
= (int)(arg1
)->GetToolPacking();
25285 wxPyEndAllowThreads(__tstate
);
25286 if (PyErr_Occurred()) SWIG_fail
;
25288 resultobj
= SWIG_From_int(static_cast< int >(result
));
25295 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25296 PyObject
*resultobj
= 0;
25297 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25301 PyObject
*swig_obj
[1] ;
25303 if (!args
) SWIG_fail
;
25304 swig_obj
[0] = args
;
25305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25306 if (!SWIG_IsOK(res1
)) {
25307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25309 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25312 result
= (int)(arg1
)->GetToolSeparation();
25313 wxPyEndAllowThreads(__tstate
);
25314 if (PyErr_Occurred()) SWIG_fail
;
25316 resultobj
= SWIG_From_int(static_cast< int >(result
));
25323 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25324 PyObject
*resultobj
= 0;
25325 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25331 PyObject
* obj0
= 0 ;
25332 PyObject
* obj1
= 0 ;
25333 char * kwnames
[] = {
25334 (char *) "self",(char *) "nRows", NULL
25337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25339 if (!SWIG_IsOK(res1
)) {
25340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25342 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25343 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25344 if (!SWIG_IsOK(ecode2
)) {
25345 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
25347 arg2
= static_cast< int >(val2
);
25349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25350 (arg1
)->SetRows(arg2
);
25351 wxPyEndAllowThreads(__tstate
);
25352 if (PyErr_Occurred()) SWIG_fail
;
25354 resultobj
= SWIG_Py_Void();
25361 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25362 PyObject
*resultobj
= 0;
25363 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25372 PyObject
* obj0
= 0 ;
25373 PyObject
* obj1
= 0 ;
25374 PyObject
* obj2
= 0 ;
25375 char * kwnames
[] = {
25376 (char *) "self",(char *) "rows",(char *) "cols", NULL
25379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25381 if (!SWIG_IsOK(res1
)) {
25382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25384 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25385 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25386 if (!SWIG_IsOK(ecode2
)) {
25387 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
25389 arg2
= static_cast< int >(val2
);
25390 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25391 if (!SWIG_IsOK(ecode3
)) {
25392 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
25394 arg3
= static_cast< int >(val3
);
25396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25397 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
25398 wxPyEndAllowThreads(__tstate
);
25399 if (PyErr_Occurred()) SWIG_fail
;
25401 resultobj
= SWIG_Py_Void();
25408 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25409 PyObject
*resultobj
= 0;
25410 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25414 PyObject
*swig_obj
[1] ;
25416 if (!args
) SWIG_fail
;
25417 swig_obj
[0] = args
;
25418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25419 if (!SWIG_IsOK(res1
)) {
25420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25422 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25425 result
= (int)(arg1
)->GetMaxRows();
25426 wxPyEndAllowThreads(__tstate
);
25427 if (PyErr_Occurred()) SWIG_fail
;
25429 resultobj
= SWIG_From_int(static_cast< int >(result
));
25436 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25437 PyObject
*resultobj
= 0;
25438 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25442 PyObject
*swig_obj
[1] ;
25444 if (!args
) SWIG_fail
;
25445 swig_obj
[0] = args
;
25446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25447 if (!SWIG_IsOK(res1
)) {
25448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25450 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25453 result
= (int)(arg1
)->GetMaxCols();
25454 wxPyEndAllowThreads(__tstate
);
25455 if (PyErr_Occurred()) SWIG_fail
;
25457 resultobj
= SWIG_From_int(static_cast< int >(result
));
25464 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25465 PyObject
*resultobj
= 0;
25466 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25471 PyObject
* obj0
= 0 ;
25472 PyObject
* obj1
= 0 ;
25473 char * kwnames
[] = {
25474 (char *) "self",(char *) "size", NULL
25477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25479 if (!SWIG_IsOK(res1
)) {
25480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25482 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25485 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25489 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
25490 wxPyEndAllowThreads(__tstate
);
25491 if (PyErr_Occurred()) SWIG_fail
;
25493 resultobj
= SWIG_Py_Void();
25500 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25501 PyObject
*resultobj
= 0;
25502 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25506 PyObject
*swig_obj
[1] ;
25508 if (!args
) SWIG_fail
;
25509 swig_obj
[0] = args
;
25510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25511 if (!SWIG_IsOK(res1
)) {
25512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25514 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25517 result
= (arg1
)->GetToolBitmapSize();
25518 wxPyEndAllowThreads(__tstate
);
25519 if (PyErr_Occurred()) SWIG_fail
;
25521 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25528 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25529 PyObject
*resultobj
= 0;
25530 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25534 PyObject
*swig_obj
[1] ;
25536 if (!args
) SWIG_fail
;
25537 swig_obj
[0] = args
;
25538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25539 if (!SWIG_IsOK(res1
)) {
25540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25542 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25545 result
= (arg1
)->GetToolSize();
25546 wxPyEndAllowThreads(__tstate
);
25547 if (PyErr_Occurred()) SWIG_fail
;
25549 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25556 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25557 PyObject
*resultobj
= 0;
25558 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25561 wxToolBarToolBase
*result
= 0 ;
25568 PyObject
* obj0
= 0 ;
25569 PyObject
* obj1
= 0 ;
25570 PyObject
* obj2
= 0 ;
25571 char * kwnames
[] = {
25572 (char *) "self",(char *) "x",(char *) "y", NULL
25575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25577 if (!SWIG_IsOK(res1
)) {
25578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25580 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25581 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25582 if (!SWIG_IsOK(ecode2
)) {
25583 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25585 arg2
= static_cast< int >(val2
);
25586 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25587 if (!SWIG_IsOK(ecode3
)) {
25588 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25590 arg3
= static_cast< int >(val3
);
25592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25593 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
25594 wxPyEndAllowThreads(__tstate
);
25595 if (PyErr_Occurred()) SWIG_fail
;
25598 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25606 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25607 PyObject
*resultobj
= 0;
25608 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25610 wxToolBarToolBase
*result
= 0 ;
25615 PyObject
* obj0
= 0 ;
25616 PyObject
* obj1
= 0 ;
25617 char * kwnames
[] = {
25618 (char *) "self",(char *) "toolid", NULL
25621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25623 if (!SWIG_IsOK(res1
)) {
25624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25626 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25627 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25628 if (!SWIG_IsOK(ecode2
)) {
25629 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
25631 arg2
= static_cast< int >(val2
);
25633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25634 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
25635 wxPyEndAllowThreads(__tstate
);
25636 if (PyErr_Occurred()) SWIG_fail
;
25639 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25647 SWIGINTERN PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25648 PyObject
*resultobj
= 0;
25649 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25653 PyObject
*swig_obj
[1] ;
25655 if (!args
) SWIG_fail
;
25656 swig_obj
[0] = args
;
25657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25658 if (!SWIG_IsOK(res1
)) {
25659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25661 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25664 result
= (bool)(arg1
)->IsVertical();
25665 wxPyEndAllowThreads(__tstate
);
25666 if (PyErr_Occurred()) SWIG_fail
;
25669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25677 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25678 PyObject
*resultobj
= 0;
25679 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25683 PyObject
*swig_obj
[1] ;
25685 if (!args
) SWIG_fail
;
25686 swig_obj
[0] = args
;
25687 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25688 if (!SWIG_IsOK(res1
)) {
25689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25691 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25694 result
= (size_t)((wxToolBarBase
const *)arg1
)->GetToolsCount();
25695 wxPyEndAllowThreads(__tstate
);
25696 if (PyErr_Occurred()) SWIG_fail
;
25698 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
25705 SWIGINTERN PyObject
*ToolBarBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25707 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25708 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase
, SWIG_NewClientData(obj
));
25709 return SWIG_Py_Void();
25712 SWIGINTERN PyObject
*_wrap_new_ToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25713 PyObject
*resultobj
= 0;
25714 wxWindow
*arg1
= (wxWindow
*) 0 ;
25715 int arg2
= (int) -1 ;
25716 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25717 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25718 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25719 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25720 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25721 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
25722 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25723 wxToolBar
*result
= 0 ;
25732 bool temp6
= false ;
25733 PyObject
* obj0
= 0 ;
25734 PyObject
* obj1
= 0 ;
25735 PyObject
* obj2
= 0 ;
25736 PyObject
* obj3
= 0 ;
25737 PyObject
* obj4
= 0 ;
25738 PyObject
* obj5
= 0 ;
25739 char * kwnames
[] = {
25740 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25744 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25745 if (!SWIG_IsOK(res1
)) {
25746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
25748 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25750 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25751 if (!SWIG_IsOK(ecode2
)) {
25752 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
25754 arg2
= static_cast< int >(val2
);
25759 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25765 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25769 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
25770 if (!SWIG_IsOK(ecode5
)) {
25771 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
25773 arg5
= static_cast< long >(val5
);
25777 arg6
= wxString_in_helper(obj5
);
25778 if (arg6
== NULL
) SWIG_fail
;
25783 if (!wxPyCheckForApp()) SWIG_fail
;
25784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25785 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25786 wxPyEndAllowThreads(__tstate
);
25787 if (PyErr_Occurred()) SWIG_fail
;
25789 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_NEW
| 0 );
25804 SWIGINTERN PyObject
*_wrap_new_PreToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25805 PyObject
*resultobj
= 0;
25806 wxToolBar
*result
= 0 ;
25808 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolBar",0,0,0)) SWIG_fail
;
25810 if (!wxPyCheckForApp()) SWIG_fail
;
25811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25812 result
= (wxToolBar
*)new wxToolBar();
25813 wxPyEndAllowThreads(__tstate
);
25814 if (PyErr_Occurred()) SWIG_fail
;
25816 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_OWN
| 0 );
25823 SWIGINTERN PyObject
*_wrap_ToolBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25824 PyObject
*resultobj
= 0;
25825 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
25826 wxWindow
*arg2
= (wxWindow
*) 0 ;
25827 int arg3
= (int) -1 ;
25828 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25829 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25830 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25831 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25832 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25833 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
25834 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25846 bool temp7
= false ;
25847 PyObject
* obj0
= 0 ;
25848 PyObject
* obj1
= 0 ;
25849 PyObject
* obj2
= 0 ;
25850 PyObject
* obj3
= 0 ;
25851 PyObject
* obj4
= 0 ;
25852 PyObject
* obj5
= 0 ;
25853 PyObject
* obj6
= 0 ;
25854 char * kwnames
[] = {
25855 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
25860 if (!SWIG_IsOK(res1
)) {
25861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
25863 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
25864 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25865 if (!SWIG_IsOK(res2
)) {
25866 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
25868 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25870 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25871 if (!SWIG_IsOK(ecode3
)) {
25872 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
25874 arg3
= static_cast< int >(val3
);
25879 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25885 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25889 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
25890 if (!SWIG_IsOK(ecode6
)) {
25891 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
25893 arg6
= static_cast< long >(val6
);
25897 arg7
= wxString_in_helper(obj6
);
25898 if (arg7
== NULL
) SWIG_fail
;
25903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25904 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25905 wxPyEndAllowThreads(__tstate
);
25906 if (PyErr_Occurred()) SWIG_fail
;
25909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25925 SWIGINTERN PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25926 PyObject
*resultobj
= 0;
25927 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
25928 SwigValueWrapper
<wxVisualAttributes
> result
;
25931 PyObject
* obj0
= 0 ;
25932 char * kwnames
[] = {
25933 (char *) "variant", NULL
25936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
25938 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25939 if (!SWIG_IsOK(ecode1
)) {
25940 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
25942 arg1
= static_cast< wxWindowVariant
>(val1
);
25945 if (!wxPyCheckForApp()) SWIG_fail
;
25946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25947 result
= wxToolBar::GetClassDefaultAttributes(arg1
);
25948 wxPyEndAllowThreads(__tstate
);
25949 if (PyErr_Occurred()) SWIG_fail
;
25951 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
25958 SWIGINTERN PyObject
*ToolBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25960 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25961 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar
, SWIG_NewClientData(obj
));
25962 return SWIG_Py_Void();
25965 SWIGINTERN PyObject
*ToolBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25966 return SWIG_Python_InitShadowInstance(args
);
25969 SWIGINTERN
int ListCtrlNameStr_set(PyObject
*) {
25970 SWIG_Error(SWIG_AttributeError
,"Variable ListCtrlNameStr is read-only.");
25975 SWIGINTERN PyObject
*ListCtrlNameStr_get(void) {
25976 PyObject
*pyobj
= 0;
25980 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
25982 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
25989 SWIGINTERN PyObject
*_wrap_new_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25990 PyObject
*resultobj
= 0;
25991 wxColour
const &arg1_defvalue
= wxNullColour
;
25992 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
25993 wxColour
const &arg2_defvalue
= wxNullColour
;
25994 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
25995 wxFont
const &arg3_defvalue
= wxNullFont
;
25996 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
25997 wxListItemAttr
*result
= 0 ;
26002 PyObject
* obj0
= 0 ;
26003 PyObject
* obj1
= 0 ;
26004 PyObject
* obj2
= 0 ;
26005 char * kwnames
[] = {
26006 (char *) "colText",(char *) "colBack",(char *) "font", NULL
26009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26013 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
26019 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26023 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
26024 if (!SWIG_IsOK(res3
)) {
26025 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26028 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26030 arg3
= reinterpret_cast< wxFont
* >(argp3
);
26033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26034 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
26035 wxPyEndAllowThreads(__tstate
);
26036 if (PyErr_Occurred()) SWIG_fail
;
26038 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_NEW
| 0 );
26045 SWIGINTERN PyObject
*_wrap_delete_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26046 PyObject
*resultobj
= 0;
26047 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26050 PyObject
*swig_obj
[1] ;
26052 if (!args
) SWIG_fail
;
26053 swig_obj
[0] = args
;
26054 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_DISOWN
| 0 );
26055 if (!SWIG_IsOK(res1
)) {
26056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26058 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26063 wxPyEndAllowThreads(__tstate
);
26064 if (PyErr_Occurred()) SWIG_fail
;
26066 resultobj
= SWIG_Py_Void();
26073 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26074 PyObject
*resultobj
= 0;
26075 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26076 wxColour
*arg2
= 0 ;
26080 PyObject
* obj0
= 0 ;
26081 PyObject
* obj1
= 0 ;
26082 char * kwnames
[] = {
26083 (char *) "self",(char *) "colText", NULL
26086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26088 if (!SWIG_IsOK(res1
)) {
26089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26091 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26094 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26098 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
26099 wxPyEndAllowThreads(__tstate
);
26100 if (PyErr_Occurred()) SWIG_fail
;
26102 resultobj
= SWIG_Py_Void();
26109 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26110 PyObject
*resultobj
= 0;
26111 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26112 wxColour
*arg2
= 0 ;
26116 PyObject
* obj0
= 0 ;
26117 PyObject
* obj1
= 0 ;
26118 char * kwnames
[] = {
26119 (char *) "self",(char *) "colBack", NULL
26122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26124 if (!SWIG_IsOK(res1
)) {
26125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26127 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26130 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26134 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26135 wxPyEndAllowThreads(__tstate
);
26136 if (PyErr_Occurred()) SWIG_fail
;
26138 resultobj
= SWIG_Py_Void();
26145 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26146 PyObject
*resultobj
= 0;
26147 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26153 PyObject
* obj0
= 0 ;
26154 PyObject
* obj1
= 0 ;
26155 char * kwnames
[] = {
26156 (char *) "self",(char *) "font", NULL
26159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26161 if (!SWIG_IsOK(res1
)) {
26162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26164 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26165 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
26166 if (!SWIG_IsOK(res2
)) {
26167 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26170 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26172 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26175 (arg1
)->SetFont((wxFont
const &)*arg2
);
26176 wxPyEndAllowThreads(__tstate
);
26177 if (PyErr_Occurred()) SWIG_fail
;
26179 resultobj
= SWIG_Py_Void();
26186 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26187 PyObject
*resultobj
= 0;
26188 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26192 PyObject
*swig_obj
[1] ;
26194 if (!args
) SWIG_fail
;
26195 swig_obj
[0] = args
;
26196 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26197 if (!SWIG_IsOK(res1
)) {
26198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26200 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26203 result
= (bool)(arg1
)->HasTextColour();
26204 wxPyEndAllowThreads(__tstate
);
26205 if (PyErr_Occurred()) SWIG_fail
;
26208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26216 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26217 PyObject
*resultobj
= 0;
26218 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26222 PyObject
*swig_obj
[1] ;
26224 if (!args
) SWIG_fail
;
26225 swig_obj
[0] = args
;
26226 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26227 if (!SWIG_IsOK(res1
)) {
26228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26230 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26233 result
= (bool)(arg1
)->HasBackgroundColour();
26234 wxPyEndAllowThreads(__tstate
);
26235 if (PyErr_Occurred()) SWIG_fail
;
26238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26246 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26247 PyObject
*resultobj
= 0;
26248 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26252 PyObject
*swig_obj
[1] ;
26254 if (!args
) SWIG_fail
;
26255 swig_obj
[0] = args
;
26256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26257 if (!SWIG_IsOK(res1
)) {
26258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26260 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26263 result
= (bool)(arg1
)->HasFont();
26264 wxPyEndAllowThreads(__tstate
);
26265 if (PyErr_Occurred()) SWIG_fail
;
26268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26276 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26277 PyObject
*resultobj
= 0;
26278 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26282 PyObject
*swig_obj
[1] ;
26284 if (!args
) SWIG_fail
;
26285 swig_obj
[0] = args
;
26286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26287 if (!SWIG_IsOK(res1
)) {
26288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26290 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26293 result
= (arg1
)->GetTextColour();
26294 wxPyEndAllowThreads(__tstate
);
26295 if (PyErr_Occurred()) SWIG_fail
;
26297 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26304 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26305 PyObject
*resultobj
= 0;
26306 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26310 PyObject
*swig_obj
[1] ;
26312 if (!args
) SWIG_fail
;
26313 swig_obj
[0] = args
;
26314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26315 if (!SWIG_IsOK(res1
)) {
26316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26318 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26321 result
= (arg1
)->GetBackgroundColour();
26322 wxPyEndAllowThreads(__tstate
);
26323 if (PyErr_Occurred()) SWIG_fail
;
26325 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26332 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26333 PyObject
*resultobj
= 0;
26334 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26338 PyObject
*swig_obj
[1] ;
26340 if (!args
) SWIG_fail
;
26341 swig_obj
[0] = args
;
26342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26343 if (!SWIG_IsOK(res1
)) {
26344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26346 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26349 result
= (arg1
)->GetFont();
26350 wxPyEndAllowThreads(__tstate
);
26351 if (PyErr_Occurred()) SWIG_fail
;
26353 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
26360 SWIGINTERN PyObject
*_wrap_ListItemAttr_AssignFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26361 PyObject
*resultobj
= 0;
26362 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26363 wxListItemAttr
*arg2
= 0 ;
26368 PyObject
* obj0
= 0 ;
26369 PyObject
* obj1
= 0 ;
26370 char * kwnames
[] = {
26371 (char *) "self",(char *) "source", NULL
26374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_AssignFrom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26376 if (!SWIG_IsOK(res1
)) {
26377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26379 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26380 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItemAttr
, 0 | 0);
26381 if (!SWIG_IsOK(res2
)) {
26382 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26385 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26387 arg2
= reinterpret_cast< wxListItemAttr
* >(argp2
);
26389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26390 (arg1
)->AssignFrom((wxListItemAttr
const &)*arg2
);
26391 wxPyEndAllowThreads(__tstate
);
26392 if (PyErr_Occurred()) SWIG_fail
;
26394 resultobj
= SWIG_Py_Void();
26401 SWIGINTERN PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26402 PyObject
*resultobj
= 0;
26403 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26406 PyObject
*swig_obj
[1] ;
26408 if (!args
) SWIG_fail
;
26409 swig_obj
[0] = args
;
26410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26411 if (!SWIG_IsOK(res1
)) {
26412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26414 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26417 wxListItemAttr_Destroy(arg1
);
26418 wxPyEndAllowThreads(__tstate
);
26419 if (PyErr_Occurred()) SWIG_fail
;
26421 resultobj
= SWIG_Py_Void();
26428 SWIGINTERN PyObject
*ListItemAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26430 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26431 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr
, SWIG_NewClientData(obj
));
26432 return SWIG_Py_Void();
26435 SWIGINTERN PyObject
*ListItemAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26436 return SWIG_Python_InitShadowInstance(args
);
26439 SWIGINTERN PyObject
*_wrap_new_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26440 PyObject
*resultobj
= 0;
26441 wxListItem
*result
= 0 ;
26443 if (!SWIG_Python_UnpackTuple(args
,"new_ListItem",0,0,0)) SWIG_fail
;
26445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26446 result
= (wxListItem
*)new wxListItem();
26447 wxPyEndAllowThreads(__tstate
);
26448 if (PyErr_Occurred()) SWIG_fail
;
26450 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, SWIG_POINTER_NEW
| 0 );
26457 SWIGINTERN PyObject
*_wrap_delete_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26458 PyObject
*resultobj
= 0;
26459 wxListItem
*arg1
= (wxListItem
*) 0 ;
26462 PyObject
*swig_obj
[1] ;
26464 if (!args
) SWIG_fail
;
26465 swig_obj
[0] = args
;
26466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, SWIG_POINTER_DISOWN
| 0 );
26467 if (!SWIG_IsOK(res1
)) {
26468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
26470 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26475 wxPyEndAllowThreads(__tstate
);
26476 if (PyErr_Occurred()) SWIG_fail
;
26478 resultobj
= SWIG_Py_Void();
26485 SWIGINTERN PyObject
*_wrap_ListItem_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26486 PyObject
*resultobj
= 0;
26487 wxListItem
*arg1
= (wxListItem
*) 0 ;
26490 PyObject
*swig_obj
[1] ;
26492 if (!args
) SWIG_fail
;
26493 swig_obj
[0] = args
;
26494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26495 if (!SWIG_IsOK(res1
)) {
26496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
26498 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26502 wxPyEndAllowThreads(__tstate
);
26503 if (PyErr_Occurred()) SWIG_fail
;
26505 resultobj
= SWIG_Py_Void();
26512 SWIGINTERN PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26513 PyObject
*resultobj
= 0;
26514 wxListItem
*arg1
= (wxListItem
*) 0 ;
26517 PyObject
*swig_obj
[1] ;
26519 if (!args
) SWIG_fail
;
26520 swig_obj
[0] = args
;
26521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26522 if (!SWIG_IsOK(res1
)) {
26523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26525 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26528 (arg1
)->ClearAttributes();
26529 wxPyEndAllowThreads(__tstate
);
26530 if (PyErr_Occurred()) SWIG_fail
;
26532 resultobj
= SWIG_Py_Void();
26539 SWIGINTERN PyObject
*_wrap_ListItem_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26540 PyObject
*resultobj
= 0;
26541 wxListItem
*arg1
= (wxListItem
*) 0 ;
26547 PyObject
* obj0
= 0 ;
26548 PyObject
* obj1
= 0 ;
26549 char * kwnames
[] = {
26550 (char *) "self",(char *) "mask", NULL
26553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26554 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26555 if (!SWIG_IsOK(res1
)) {
26556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26558 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26559 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26560 if (!SWIG_IsOK(ecode2
)) {
26561 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
26563 arg2
= static_cast< long >(val2
);
26565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26566 (arg1
)->SetMask(arg2
);
26567 wxPyEndAllowThreads(__tstate
);
26568 if (PyErr_Occurred()) SWIG_fail
;
26570 resultobj
= SWIG_Py_Void();
26577 SWIGINTERN PyObject
*_wrap_ListItem_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26578 PyObject
*resultobj
= 0;
26579 wxListItem
*arg1
= (wxListItem
*) 0 ;
26585 PyObject
* obj0
= 0 ;
26586 PyObject
* obj1
= 0 ;
26587 char * kwnames
[] = {
26588 (char *) "self",(char *) "id", NULL
26591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26593 if (!SWIG_IsOK(res1
)) {
26594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26596 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26597 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26598 if (!SWIG_IsOK(ecode2
)) {
26599 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
26601 arg2
= static_cast< long >(val2
);
26603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26604 (arg1
)->SetId(arg2
);
26605 wxPyEndAllowThreads(__tstate
);
26606 if (PyErr_Occurred()) SWIG_fail
;
26608 resultobj
= SWIG_Py_Void();
26615 SWIGINTERN PyObject
*_wrap_ListItem_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26616 PyObject
*resultobj
= 0;
26617 wxListItem
*arg1
= (wxListItem
*) 0 ;
26623 PyObject
* obj0
= 0 ;
26624 PyObject
* obj1
= 0 ;
26625 char * kwnames
[] = {
26626 (char *) "self",(char *) "col", NULL
26629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26631 if (!SWIG_IsOK(res1
)) {
26632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26634 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26635 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26636 if (!SWIG_IsOK(ecode2
)) {
26637 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
26639 arg2
= static_cast< int >(val2
);
26641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26642 (arg1
)->SetColumn(arg2
);
26643 wxPyEndAllowThreads(__tstate
);
26644 if (PyErr_Occurred()) SWIG_fail
;
26646 resultobj
= SWIG_Py_Void();
26653 SWIGINTERN PyObject
*_wrap_ListItem_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26654 PyObject
*resultobj
= 0;
26655 wxListItem
*arg1
= (wxListItem
*) 0 ;
26661 PyObject
* obj0
= 0 ;
26662 PyObject
* obj1
= 0 ;
26663 char * kwnames
[] = {
26664 (char *) "self",(char *) "state", NULL
26667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26669 if (!SWIG_IsOK(res1
)) {
26670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26672 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26673 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26674 if (!SWIG_IsOK(ecode2
)) {
26675 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
26677 arg2
= static_cast< long >(val2
);
26679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26680 (arg1
)->SetState(arg2
);
26681 wxPyEndAllowThreads(__tstate
);
26682 if (PyErr_Occurred()) SWIG_fail
;
26684 resultobj
= SWIG_Py_Void();
26691 SWIGINTERN PyObject
*_wrap_ListItem_SetStateMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26692 PyObject
*resultobj
= 0;
26693 wxListItem
*arg1
= (wxListItem
*) 0 ;
26699 PyObject
* obj0
= 0 ;
26700 PyObject
* obj1
= 0 ;
26701 char * kwnames
[] = {
26702 (char *) "self",(char *) "stateMask", NULL
26705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26707 if (!SWIG_IsOK(res1
)) {
26708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26710 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26711 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26712 if (!SWIG_IsOK(ecode2
)) {
26713 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
26715 arg2
= static_cast< long >(val2
);
26717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26718 (arg1
)->SetStateMask(arg2
);
26719 wxPyEndAllowThreads(__tstate
);
26720 if (PyErr_Occurred()) SWIG_fail
;
26722 resultobj
= SWIG_Py_Void();
26729 SWIGINTERN PyObject
*_wrap_ListItem_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26730 PyObject
*resultobj
= 0;
26731 wxListItem
*arg1
= (wxListItem
*) 0 ;
26732 wxString
*arg2
= 0 ;
26735 bool temp2
= false ;
26736 PyObject
* obj0
= 0 ;
26737 PyObject
* obj1
= 0 ;
26738 char * kwnames
[] = {
26739 (char *) "self",(char *) "text", NULL
26742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26743 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26744 if (!SWIG_IsOK(res1
)) {
26745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26747 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26749 arg2
= wxString_in_helper(obj1
);
26750 if (arg2
== NULL
) SWIG_fail
;
26754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26755 (arg1
)->SetText((wxString
const &)*arg2
);
26756 wxPyEndAllowThreads(__tstate
);
26757 if (PyErr_Occurred()) SWIG_fail
;
26759 resultobj
= SWIG_Py_Void();
26774 SWIGINTERN PyObject
*_wrap_ListItem_SetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26775 PyObject
*resultobj
= 0;
26776 wxListItem
*arg1
= (wxListItem
*) 0 ;
26782 PyObject
* obj0
= 0 ;
26783 PyObject
* obj1
= 0 ;
26784 char * kwnames
[] = {
26785 (char *) "self",(char *) "image", NULL
26788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26790 if (!SWIG_IsOK(res1
)) {
26791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26793 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26794 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26795 if (!SWIG_IsOK(ecode2
)) {
26796 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
26798 arg2
= static_cast< int >(val2
);
26800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26801 (arg1
)->SetImage(arg2
);
26802 wxPyEndAllowThreads(__tstate
);
26803 if (PyErr_Occurred()) SWIG_fail
;
26805 resultobj
= SWIG_Py_Void();
26812 SWIGINTERN PyObject
*_wrap_ListItem_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26813 PyObject
*resultobj
= 0;
26814 wxListItem
*arg1
= (wxListItem
*) 0 ;
26820 PyObject
* obj0
= 0 ;
26821 PyObject
* obj1
= 0 ;
26822 char * kwnames
[] = {
26823 (char *) "self",(char *) "data", NULL
26826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26828 if (!SWIG_IsOK(res1
)) {
26829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26831 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26832 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26833 if (!SWIG_IsOK(ecode2
)) {
26834 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
26836 arg2
= static_cast< long >(val2
);
26838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26839 (arg1
)->SetData(arg2
);
26840 wxPyEndAllowThreads(__tstate
);
26841 if (PyErr_Occurred()) SWIG_fail
;
26843 resultobj
= SWIG_Py_Void();
26850 SWIGINTERN PyObject
*_wrap_ListItem_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26851 PyObject
*resultobj
= 0;
26852 wxListItem
*arg1
= (wxListItem
*) 0 ;
26858 PyObject
* obj0
= 0 ;
26859 PyObject
* obj1
= 0 ;
26860 char * kwnames
[] = {
26861 (char *) "self",(char *) "width", NULL
26864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26866 if (!SWIG_IsOK(res1
)) {
26867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26869 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26870 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26871 if (!SWIG_IsOK(ecode2
)) {
26872 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
26874 arg2
= static_cast< int >(val2
);
26876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26877 (arg1
)->SetWidth(arg2
);
26878 wxPyEndAllowThreads(__tstate
);
26879 if (PyErr_Occurred()) SWIG_fail
;
26881 resultobj
= SWIG_Py_Void();
26888 SWIGINTERN PyObject
*_wrap_ListItem_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26889 PyObject
*resultobj
= 0;
26890 wxListItem
*arg1
= (wxListItem
*) 0 ;
26891 wxListColumnFormat arg2
;
26896 PyObject
* obj0
= 0 ;
26897 PyObject
* obj1
= 0 ;
26898 char * kwnames
[] = {
26899 (char *) "self",(char *) "align", NULL
26902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26904 if (!SWIG_IsOK(res1
)) {
26905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
26907 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26908 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26909 if (!SWIG_IsOK(ecode2
)) {
26910 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
26912 arg2
= static_cast< wxListColumnFormat
>(val2
);
26914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26915 (arg1
)->SetAlign(arg2
);
26916 wxPyEndAllowThreads(__tstate
);
26917 if (PyErr_Occurred()) SWIG_fail
;
26919 resultobj
= SWIG_Py_Void();
26926 SWIGINTERN PyObject
*_wrap_ListItem_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26927 PyObject
*resultobj
= 0;
26928 wxListItem
*arg1
= (wxListItem
*) 0 ;
26929 wxColour
*arg2
= 0 ;
26933 PyObject
* obj0
= 0 ;
26934 PyObject
* obj1
= 0 ;
26935 char * kwnames
[] = {
26936 (char *) "self",(char *) "colText", NULL
26939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26941 if (!SWIG_IsOK(res1
)) {
26942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26944 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26947 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26951 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
26952 wxPyEndAllowThreads(__tstate
);
26953 if (PyErr_Occurred()) SWIG_fail
;
26955 resultobj
= SWIG_Py_Void();
26962 SWIGINTERN PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26963 PyObject
*resultobj
= 0;
26964 wxListItem
*arg1
= (wxListItem
*) 0 ;
26965 wxColour
*arg2
= 0 ;
26969 PyObject
* obj0
= 0 ;
26970 PyObject
* obj1
= 0 ;
26971 char * kwnames
[] = {
26972 (char *) "self",(char *) "colBack", NULL
26975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26977 if (!SWIG_IsOK(res1
)) {
26978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26980 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26983 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26987 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26988 wxPyEndAllowThreads(__tstate
);
26989 if (PyErr_Occurred()) SWIG_fail
;
26991 resultobj
= SWIG_Py_Void();
26998 SWIGINTERN PyObject
*_wrap_ListItem_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26999 PyObject
*resultobj
= 0;
27000 wxListItem
*arg1
= (wxListItem
*) 0 ;
27006 PyObject
* obj0
= 0 ;
27007 PyObject
* obj1
= 0 ;
27008 char * kwnames
[] = {
27009 (char *) "self",(char *) "font", NULL
27012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27014 if (!SWIG_IsOK(res1
)) {
27015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
27017 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27018 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
27019 if (!SWIG_IsOK(res2
)) {
27020 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27023 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27025 arg2
= reinterpret_cast< wxFont
* >(argp2
);
27027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27028 (arg1
)->SetFont((wxFont
const &)*arg2
);
27029 wxPyEndAllowThreads(__tstate
);
27030 if (PyErr_Occurred()) SWIG_fail
;
27032 resultobj
= SWIG_Py_Void();
27039 SWIGINTERN PyObject
*_wrap_ListItem_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27040 PyObject
*resultobj
= 0;
27041 wxListItem
*arg1
= (wxListItem
*) 0 ;
27045 PyObject
*swig_obj
[1] ;
27047 if (!args
) SWIG_fail
;
27048 swig_obj
[0] = args
;
27049 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27050 if (!SWIG_IsOK(res1
)) {
27051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
27053 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27056 result
= (long)(arg1
)->GetMask();
27057 wxPyEndAllowThreads(__tstate
);
27058 if (PyErr_Occurred()) SWIG_fail
;
27060 resultobj
= SWIG_From_long(static_cast< long >(result
));
27067 SWIGINTERN PyObject
*_wrap_ListItem_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27068 PyObject
*resultobj
= 0;
27069 wxListItem
*arg1
= (wxListItem
*) 0 ;
27073 PyObject
*swig_obj
[1] ;
27075 if (!args
) SWIG_fail
;
27076 swig_obj
[0] = args
;
27077 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27078 if (!SWIG_IsOK(res1
)) {
27079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
27081 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27084 result
= (long)(arg1
)->GetId();
27085 wxPyEndAllowThreads(__tstate
);
27086 if (PyErr_Occurred()) SWIG_fail
;
27088 resultobj
= SWIG_From_long(static_cast< long >(result
));
27095 SWIGINTERN PyObject
*_wrap_ListItem_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27096 PyObject
*resultobj
= 0;
27097 wxListItem
*arg1
= (wxListItem
*) 0 ;
27101 PyObject
*swig_obj
[1] ;
27103 if (!args
) SWIG_fail
;
27104 swig_obj
[0] = args
;
27105 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27106 if (!SWIG_IsOK(res1
)) {
27107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
27109 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27112 result
= (int)(arg1
)->GetColumn();
27113 wxPyEndAllowThreads(__tstate
);
27114 if (PyErr_Occurred()) SWIG_fail
;
27116 resultobj
= SWIG_From_int(static_cast< int >(result
));
27123 SWIGINTERN PyObject
*_wrap_ListItem_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27124 PyObject
*resultobj
= 0;
27125 wxListItem
*arg1
= (wxListItem
*) 0 ;
27129 PyObject
*swig_obj
[1] ;
27131 if (!args
) SWIG_fail
;
27132 swig_obj
[0] = args
;
27133 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27134 if (!SWIG_IsOK(res1
)) {
27135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
27137 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27140 result
= (long)(arg1
)->GetState();
27141 wxPyEndAllowThreads(__tstate
);
27142 if (PyErr_Occurred()) SWIG_fail
;
27144 resultobj
= SWIG_From_long(static_cast< long >(result
));
27151 SWIGINTERN PyObject
*_wrap_ListItem_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27152 PyObject
*resultobj
= 0;
27153 wxListItem
*arg1
= (wxListItem
*) 0 ;
27154 wxString
*result
= 0 ;
27157 PyObject
*swig_obj
[1] ;
27159 if (!args
) SWIG_fail
;
27160 swig_obj
[0] = args
;
27161 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27162 if (!SWIG_IsOK(res1
)) {
27163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
27165 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27169 wxString
const &_result_ref
= (arg1
)->GetText();
27170 result
= (wxString
*) &_result_ref
;
27172 wxPyEndAllowThreads(__tstate
);
27173 if (PyErr_Occurred()) SWIG_fail
;
27177 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27179 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27188 SWIGINTERN PyObject
*_wrap_ListItem_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27189 PyObject
*resultobj
= 0;
27190 wxListItem
*arg1
= (wxListItem
*) 0 ;
27194 PyObject
*swig_obj
[1] ;
27196 if (!args
) SWIG_fail
;
27197 swig_obj
[0] = args
;
27198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27199 if (!SWIG_IsOK(res1
)) {
27200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
27202 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27205 result
= (int)(arg1
)->GetImage();
27206 wxPyEndAllowThreads(__tstate
);
27207 if (PyErr_Occurred()) SWIG_fail
;
27209 resultobj
= SWIG_From_int(static_cast< int >(result
));
27216 SWIGINTERN PyObject
*_wrap_ListItem_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27217 PyObject
*resultobj
= 0;
27218 wxListItem
*arg1
= (wxListItem
*) 0 ;
27222 PyObject
*swig_obj
[1] ;
27224 if (!args
) SWIG_fail
;
27225 swig_obj
[0] = args
;
27226 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27227 if (!SWIG_IsOK(res1
)) {
27228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
27230 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27233 result
= (long)(arg1
)->GetData();
27234 wxPyEndAllowThreads(__tstate
);
27235 if (PyErr_Occurred()) SWIG_fail
;
27237 resultobj
= SWIG_From_long(static_cast< long >(result
));
27244 SWIGINTERN PyObject
*_wrap_ListItem_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27245 PyObject
*resultobj
= 0;
27246 wxListItem
*arg1
= (wxListItem
*) 0 ;
27250 PyObject
*swig_obj
[1] ;
27252 if (!args
) SWIG_fail
;
27253 swig_obj
[0] = args
;
27254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27255 if (!SWIG_IsOK(res1
)) {
27256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27258 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27261 result
= (int)(arg1
)->GetWidth();
27262 wxPyEndAllowThreads(__tstate
);
27263 if (PyErr_Occurred()) SWIG_fail
;
27265 resultobj
= SWIG_From_int(static_cast< int >(result
));
27272 SWIGINTERN PyObject
*_wrap_ListItem_GetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27273 PyObject
*resultobj
= 0;
27274 wxListItem
*arg1
= (wxListItem
*) 0 ;
27275 wxListColumnFormat result
;
27278 PyObject
*swig_obj
[1] ;
27280 if (!args
) SWIG_fail
;
27281 swig_obj
[0] = args
;
27282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27283 if (!SWIG_IsOK(res1
)) {
27284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27286 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27289 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
27290 wxPyEndAllowThreads(__tstate
);
27291 if (PyErr_Occurred()) SWIG_fail
;
27293 resultobj
= SWIG_From_int(static_cast< int >(result
));
27300 SWIGINTERN PyObject
*_wrap_ListItem_GetAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27301 PyObject
*resultobj
= 0;
27302 wxListItem
*arg1
= (wxListItem
*) 0 ;
27303 wxListItemAttr
*result
= 0 ;
27306 PyObject
*swig_obj
[1] ;
27308 if (!args
) SWIG_fail
;
27309 swig_obj
[0] = args
;
27310 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27311 if (!SWIG_IsOK(res1
)) {
27312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27314 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27317 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
27318 wxPyEndAllowThreads(__tstate
);
27319 if (PyErr_Occurred()) SWIG_fail
;
27321 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
27328 SWIGINTERN PyObject
*_wrap_ListItem_HasAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27329 PyObject
*resultobj
= 0;
27330 wxListItem
*arg1
= (wxListItem
*) 0 ;
27334 PyObject
*swig_obj
[1] ;
27336 if (!args
) SWIG_fail
;
27337 swig_obj
[0] = args
;
27338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27339 if (!SWIG_IsOK(res1
)) {
27340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27342 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27345 result
= (bool)(arg1
)->HasAttributes();
27346 wxPyEndAllowThreads(__tstate
);
27347 if (PyErr_Occurred()) SWIG_fail
;
27350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27358 SWIGINTERN PyObject
*_wrap_ListItem_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27359 PyObject
*resultobj
= 0;
27360 wxListItem
*arg1
= (wxListItem
*) 0 ;
27364 PyObject
*swig_obj
[1] ;
27366 if (!args
) SWIG_fail
;
27367 swig_obj
[0] = args
;
27368 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27369 if (!SWIG_IsOK(res1
)) {
27370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27372 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27375 result
= ((wxListItem
const *)arg1
)->GetTextColour();
27376 wxPyEndAllowThreads(__tstate
);
27377 if (PyErr_Occurred()) SWIG_fail
;
27379 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27386 SWIGINTERN PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27387 PyObject
*resultobj
= 0;
27388 wxListItem
*arg1
= (wxListItem
*) 0 ;
27392 PyObject
*swig_obj
[1] ;
27394 if (!args
) SWIG_fail
;
27395 swig_obj
[0] = args
;
27396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27397 if (!SWIG_IsOK(res1
)) {
27398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27400 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27403 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
27404 wxPyEndAllowThreads(__tstate
);
27405 if (PyErr_Occurred()) SWIG_fail
;
27407 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27414 SWIGINTERN PyObject
*_wrap_ListItem_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27415 PyObject
*resultobj
= 0;
27416 wxListItem
*arg1
= (wxListItem
*) 0 ;
27420 PyObject
*swig_obj
[1] ;
27422 if (!args
) SWIG_fail
;
27423 swig_obj
[0] = args
;
27424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27425 if (!SWIG_IsOK(res1
)) {
27426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
27428 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27431 result
= ((wxListItem
const *)arg1
)->GetFont();
27432 wxPyEndAllowThreads(__tstate
);
27433 if (PyErr_Occurred()) SWIG_fail
;
27435 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
27442 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27443 PyObject
*resultobj
= 0;
27444 wxListItem
*arg1
= (wxListItem
*) 0 ;
27450 PyObject
*swig_obj
[2] ;
27452 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_mask_set",2,2,swig_obj
)) SWIG_fail
;
27453 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27454 if (!SWIG_IsOK(res1
)) {
27455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27457 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27458 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27459 if (!SWIG_IsOK(ecode2
)) {
27460 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
27462 arg2
= static_cast< long >(val2
);
27463 if (arg1
) (arg1
)->m_mask
= arg2
;
27465 resultobj
= SWIG_Py_Void();
27472 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27473 PyObject
*resultobj
= 0;
27474 wxListItem
*arg1
= (wxListItem
*) 0 ;
27478 PyObject
*swig_obj
[1] ;
27480 if (!args
) SWIG_fail
;
27481 swig_obj
[0] = args
;
27482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27483 if (!SWIG_IsOK(res1
)) {
27484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27486 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27487 result
= (long) ((arg1
)->m_mask
);
27488 resultobj
= SWIG_From_long(static_cast< long >(result
));
27495 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27496 PyObject
*resultobj
= 0;
27497 wxListItem
*arg1
= (wxListItem
*) 0 ;
27503 PyObject
*swig_obj
[2] ;
27505 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_itemId_set",2,2,swig_obj
)) SWIG_fail
;
27506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27507 if (!SWIG_IsOK(res1
)) {
27508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27510 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27511 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27512 if (!SWIG_IsOK(ecode2
)) {
27513 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
27515 arg2
= static_cast< long >(val2
);
27516 if (arg1
) (arg1
)->m_itemId
= arg2
;
27518 resultobj
= SWIG_Py_Void();
27525 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27526 PyObject
*resultobj
= 0;
27527 wxListItem
*arg1
= (wxListItem
*) 0 ;
27531 PyObject
*swig_obj
[1] ;
27533 if (!args
) SWIG_fail
;
27534 swig_obj
[0] = args
;
27535 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27536 if (!SWIG_IsOK(res1
)) {
27537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27539 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27540 result
= (long) ((arg1
)->m_itemId
);
27541 resultobj
= SWIG_From_long(static_cast< long >(result
));
27548 SWIGINTERN PyObject
*_wrap_ListItem_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27549 PyObject
*resultobj
= 0;
27550 wxListItem
*arg1
= (wxListItem
*) 0 ;
27556 PyObject
*swig_obj
[2] ;
27558 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27560 if (!SWIG_IsOK(res1
)) {
27561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27563 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27564 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27565 if (!SWIG_IsOK(ecode2
)) {
27566 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
27568 arg2
= static_cast< int >(val2
);
27569 if (arg1
) (arg1
)->m_col
= arg2
;
27571 resultobj
= SWIG_Py_Void();
27578 SWIGINTERN PyObject
*_wrap_ListItem_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27579 PyObject
*resultobj
= 0;
27580 wxListItem
*arg1
= (wxListItem
*) 0 ;
27584 PyObject
*swig_obj
[1] ;
27586 if (!args
) SWIG_fail
;
27587 swig_obj
[0] = args
;
27588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27589 if (!SWIG_IsOK(res1
)) {
27590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27592 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27593 result
= (int) ((arg1
)->m_col
);
27594 resultobj
= SWIG_From_int(static_cast< int >(result
));
27601 SWIGINTERN PyObject
*_wrap_ListItem_m_state_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27602 PyObject
*resultobj
= 0;
27603 wxListItem
*arg1
= (wxListItem
*) 0 ;
27609 PyObject
*swig_obj
[2] ;
27611 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_state_set",2,2,swig_obj
)) SWIG_fail
;
27612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27613 if (!SWIG_IsOK(res1
)) {
27614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27616 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27617 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27618 if (!SWIG_IsOK(ecode2
)) {
27619 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
27621 arg2
= static_cast< long >(val2
);
27622 if (arg1
) (arg1
)->m_state
= arg2
;
27624 resultobj
= SWIG_Py_Void();
27631 SWIGINTERN PyObject
*_wrap_ListItem_m_state_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27632 PyObject
*resultobj
= 0;
27633 wxListItem
*arg1
= (wxListItem
*) 0 ;
27637 PyObject
*swig_obj
[1] ;
27639 if (!args
) SWIG_fail
;
27640 swig_obj
[0] = args
;
27641 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27642 if (!SWIG_IsOK(res1
)) {
27643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27645 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27646 result
= (long) ((arg1
)->m_state
);
27647 resultobj
= SWIG_From_long(static_cast< long >(result
));
27654 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27655 PyObject
*resultobj
= 0;
27656 wxListItem
*arg1
= (wxListItem
*) 0 ;
27662 PyObject
*swig_obj
[2] ;
27664 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_stateMask_set",2,2,swig_obj
)) SWIG_fail
;
27665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27666 if (!SWIG_IsOK(res1
)) {
27667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27669 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27670 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27671 if (!SWIG_IsOK(ecode2
)) {
27672 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
27674 arg2
= static_cast< long >(val2
);
27675 if (arg1
) (arg1
)->m_stateMask
= arg2
;
27677 resultobj
= SWIG_Py_Void();
27684 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27685 PyObject
*resultobj
= 0;
27686 wxListItem
*arg1
= (wxListItem
*) 0 ;
27690 PyObject
*swig_obj
[1] ;
27692 if (!args
) SWIG_fail
;
27693 swig_obj
[0] = args
;
27694 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27695 if (!SWIG_IsOK(res1
)) {
27696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27698 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27699 result
= (long) ((arg1
)->m_stateMask
);
27700 resultobj
= SWIG_From_long(static_cast< long >(result
));
27707 SWIGINTERN PyObject
*_wrap_ListItem_m_text_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27708 PyObject
*resultobj
= 0;
27709 wxListItem
*arg1
= (wxListItem
*) 0 ;
27710 wxString
*arg2
= (wxString
*) 0 ;
27713 bool temp2
= false ;
27714 PyObject
*swig_obj
[2] ;
27716 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_text_set",2,2,swig_obj
)) SWIG_fail
;
27717 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27718 if (!SWIG_IsOK(res1
)) {
27719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27721 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27723 arg2
= wxString_in_helper(swig_obj
[1]);
27724 if (arg2
== NULL
) SWIG_fail
;
27727 if (arg1
) (arg1
)->m_text
= *arg2
;
27729 resultobj
= SWIG_Py_Void();
27744 SWIGINTERN PyObject
*_wrap_ListItem_m_text_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27745 PyObject
*resultobj
= 0;
27746 wxListItem
*arg1
= (wxListItem
*) 0 ;
27747 wxString
*result
= 0 ;
27750 PyObject
*swig_obj
[1] ;
27752 if (!args
) SWIG_fail
;
27753 swig_obj
[0] = args
;
27754 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27755 if (!SWIG_IsOK(res1
)) {
27756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27758 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27759 result
= (wxString
*)& ((arg1
)->m_text
);
27762 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27764 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27773 SWIGINTERN PyObject
*_wrap_ListItem_m_image_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27774 PyObject
*resultobj
= 0;
27775 wxListItem
*arg1
= (wxListItem
*) 0 ;
27781 PyObject
*swig_obj
[2] ;
27783 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_image_set",2,2,swig_obj
)) SWIG_fail
;
27784 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27785 if (!SWIG_IsOK(res1
)) {
27786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27788 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27789 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27790 if (!SWIG_IsOK(ecode2
)) {
27791 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
27793 arg2
= static_cast< int >(val2
);
27794 if (arg1
) (arg1
)->m_image
= arg2
;
27796 resultobj
= SWIG_Py_Void();
27803 SWIGINTERN PyObject
*_wrap_ListItem_m_image_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27804 PyObject
*resultobj
= 0;
27805 wxListItem
*arg1
= (wxListItem
*) 0 ;
27809 PyObject
*swig_obj
[1] ;
27811 if (!args
) SWIG_fail
;
27812 swig_obj
[0] = args
;
27813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27814 if (!SWIG_IsOK(res1
)) {
27815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27817 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27818 result
= (int) ((arg1
)->m_image
);
27819 resultobj
= SWIG_From_int(static_cast< int >(result
));
27826 SWIGINTERN PyObject
*_wrap_ListItem_m_data_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27827 PyObject
*resultobj
= 0;
27828 wxListItem
*arg1
= (wxListItem
*) 0 ;
27834 PyObject
*swig_obj
[2] ;
27836 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_data_set",2,2,swig_obj
)) SWIG_fail
;
27837 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27838 if (!SWIG_IsOK(res1
)) {
27839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27841 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27842 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27843 if (!SWIG_IsOK(ecode2
)) {
27844 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
27846 arg2
= static_cast< long >(val2
);
27847 if (arg1
) (arg1
)->m_data
= arg2
;
27849 resultobj
= SWIG_Py_Void();
27856 SWIGINTERN PyObject
*_wrap_ListItem_m_data_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27857 PyObject
*resultobj
= 0;
27858 wxListItem
*arg1
= (wxListItem
*) 0 ;
27862 PyObject
*swig_obj
[1] ;
27864 if (!args
) SWIG_fail
;
27865 swig_obj
[0] = args
;
27866 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27867 if (!SWIG_IsOK(res1
)) {
27868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27870 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27871 result
= (long) ((arg1
)->m_data
);
27872 resultobj
= SWIG_From_long(static_cast< long >(result
));
27879 SWIGINTERN PyObject
*_wrap_ListItem_m_format_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27880 PyObject
*resultobj
= 0;
27881 wxListItem
*arg1
= (wxListItem
*) 0 ;
27887 PyObject
*swig_obj
[2] ;
27889 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_format_set",2,2,swig_obj
)) SWIG_fail
;
27890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27891 if (!SWIG_IsOK(res1
)) {
27892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27894 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27895 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27896 if (!SWIG_IsOK(ecode2
)) {
27897 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
27899 arg2
= static_cast< int >(val2
);
27900 if (arg1
) (arg1
)->m_format
= arg2
;
27902 resultobj
= SWIG_Py_Void();
27909 SWIGINTERN PyObject
*_wrap_ListItem_m_format_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27910 PyObject
*resultobj
= 0;
27911 wxListItem
*arg1
= (wxListItem
*) 0 ;
27915 PyObject
*swig_obj
[1] ;
27917 if (!args
) SWIG_fail
;
27918 swig_obj
[0] = args
;
27919 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27920 if (!SWIG_IsOK(res1
)) {
27921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27923 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27924 result
= (int) ((arg1
)->m_format
);
27925 resultobj
= SWIG_From_int(static_cast< int >(result
));
27932 SWIGINTERN PyObject
*_wrap_ListItem_m_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27933 PyObject
*resultobj
= 0;
27934 wxListItem
*arg1
= (wxListItem
*) 0 ;
27940 PyObject
*swig_obj
[2] ;
27942 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_width_set",2,2,swig_obj
)) SWIG_fail
;
27943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27944 if (!SWIG_IsOK(res1
)) {
27945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27947 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27948 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27949 if (!SWIG_IsOK(ecode2
)) {
27950 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
27952 arg2
= static_cast< int >(val2
);
27953 if (arg1
) (arg1
)->m_width
= arg2
;
27955 resultobj
= SWIG_Py_Void();
27962 SWIGINTERN PyObject
*_wrap_ListItem_m_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27963 PyObject
*resultobj
= 0;
27964 wxListItem
*arg1
= (wxListItem
*) 0 ;
27968 PyObject
*swig_obj
[1] ;
27970 if (!args
) SWIG_fail
;
27971 swig_obj
[0] = args
;
27972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27973 if (!SWIG_IsOK(res1
)) {
27974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27976 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27977 result
= (int) ((arg1
)->m_width
);
27978 resultobj
= SWIG_From_int(static_cast< int >(result
));
27985 SWIGINTERN PyObject
*ListItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27987 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27988 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem
, SWIG_NewClientData(obj
));
27989 return SWIG_Py_Void();
27992 SWIGINTERN PyObject
*ListItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27993 return SWIG_Python_InitShadowInstance(args
);
27996 SWIGINTERN PyObject
*_wrap_new_ListEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27997 PyObject
*resultobj
= 0;
27998 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27999 int arg2
= (int) 0 ;
28000 wxListEvent
*result
= 0 ;
28005 PyObject
* obj0
= 0 ;
28006 PyObject
* obj1
= 0 ;
28007 char * kwnames
[] = {
28008 (char *) "commandType",(char *) "id", NULL
28011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28013 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28014 if (!SWIG_IsOK(ecode1
)) {
28015 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
28017 arg1
= static_cast< wxEventType
>(val1
);
28020 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28021 if (!SWIG_IsOK(ecode2
)) {
28022 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
28024 arg2
= static_cast< int >(val2
);
28027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28028 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
28029 wxPyEndAllowThreads(__tstate
);
28030 if (PyErr_Occurred()) SWIG_fail
;
28032 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListEvent
, SWIG_POINTER_NEW
| 0 );
28039 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28040 PyObject
*resultobj
= 0;
28041 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28047 PyObject
*swig_obj
[2] ;
28049 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_code_set",2,2,swig_obj
)) SWIG_fail
;
28050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28051 if (!SWIG_IsOK(res1
)) {
28052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28054 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28055 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28056 if (!SWIG_IsOK(ecode2
)) {
28057 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
28059 arg2
= static_cast< int >(val2
);
28060 if (arg1
) (arg1
)->m_code
= arg2
;
28062 resultobj
= SWIG_Py_Void();
28069 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28070 PyObject
*resultobj
= 0;
28071 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28075 PyObject
*swig_obj
[1] ;
28077 if (!args
) SWIG_fail
;
28078 swig_obj
[0] = args
;
28079 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28080 if (!SWIG_IsOK(res1
)) {
28081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28083 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28084 result
= (int) ((arg1
)->m_code
);
28085 resultobj
= SWIG_From_int(static_cast< int >(result
));
28092 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28093 PyObject
*resultobj
= 0;
28094 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28100 PyObject
*swig_obj
[2] ;
28102 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_oldItemIndex_set",2,2,swig_obj
)) SWIG_fail
;
28103 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28104 if (!SWIG_IsOK(res1
)) {
28105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28107 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28108 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28109 if (!SWIG_IsOK(ecode2
)) {
28110 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
28112 arg2
= static_cast< long >(val2
);
28113 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
28115 resultobj
= SWIG_Py_Void();
28122 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28123 PyObject
*resultobj
= 0;
28124 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28128 PyObject
*swig_obj
[1] ;
28130 if (!args
) SWIG_fail
;
28131 swig_obj
[0] = args
;
28132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28133 if (!SWIG_IsOK(res1
)) {
28134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28136 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28137 result
= (long) ((arg1
)->m_oldItemIndex
);
28138 resultobj
= SWIG_From_long(static_cast< long >(result
));
28145 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28146 PyObject
*resultobj
= 0;
28147 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28153 PyObject
*swig_obj
[2] ;
28155 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_itemIndex_set",2,2,swig_obj
)) SWIG_fail
;
28156 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28157 if (!SWIG_IsOK(res1
)) {
28158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28160 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28161 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28162 if (!SWIG_IsOK(ecode2
)) {
28163 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
28165 arg2
= static_cast< long >(val2
);
28166 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
28168 resultobj
= SWIG_Py_Void();
28175 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28176 PyObject
*resultobj
= 0;
28177 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28181 PyObject
*swig_obj
[1] ;
28183 if (!args
) SWIG_fail
;
28184 swig_obj
[0] = args
;
28185 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28186 if (!SWIG_IsOK(res1
)) {
28187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28189 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28190 result
= (long) ((arg1
)->m_itemIndex
);
28191 resultobj
= SWIG_From_long(static_cast< long >(result
));
28198 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28199 PyObject
*resultobj
= 0;
28200 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28206 PyObject
*swig_obj
[2] ;
28208 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_col_set",2,2,swig_obj
)) SWIG_fail
;
28209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28210 if (!SWIG_IsOK(res1
)) {
28211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28213 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28214 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28215 if (!SWIG_IsOK(ecode2
)) {
28216 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
28218 arg2
= static_cast< int >(val2
);
28219 if (arg1
) (arg1
)->m_col
= arg2
;
28221 resultobj
= SWIG_Py_Void();
28228 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28229 PyObject
*resultobj
= 0;
28230 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28234 PyObject
*swig_obj
[1] ;
28236 if (!args
) SWIG_fail
;
28237 swig_obj
[0] = args
;
28238 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28239 if (!SWIG_IsOK(res1
)) {
28240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28242 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28243 result
= (int) ((arg1
)->m_col
);
28244 resultobj
= SWIG_From_int(static_cast< int >(result
));
28251 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28252 PyObject
*resultobj
= 0;
28253 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28254 wxPoint
*arg2
= (wxPoint
*) 0 ;
28259 PyObject
*swig_obj
[2] ;
28261 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_pointDrag_set",2,2,swig_obj
)) SWIG_fail
;
28262 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28263 if (!SWIG_IsOK(res1
)) {
28264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28266 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28267 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPoint
, 0 | 0 );
28268 if (!SWIG_IsOK(res2
)) {
28269 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
28271 arg2
= reinterpret_cast< wxPoint
* >(argp2
);
28272 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
28274 resultobj
= SWIG_Py_Void();
28281 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28282 PyObject
*resultobj
= 0;
28283 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28284 wxPoint
*result
= 0 ;
28287 PyObject
*swig_obj
[1] ;
28289 if (!args
) SWIG_fail
;
28290 swig_obj
[0] = args
;
28291 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28292 if (!SWIG_IsOK(res1
)) {
28293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28295 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28296 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
28297 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
28304 SWIGINTERN PyObject
*_wrap_ListEvent_m_item_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28305 PyObject
*resultobj
= 0;
28306 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28307 wxListItem
*result
= 0 ;
28310 PyObject
*swig_obj
[1] ;
28312 if (!args
) SWIG_fail
;
28313 swig_obj
[0] = args
;
28314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28315 if (!SWIG_IsOK(res1
)) {
28316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28318 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28319 result
= (wxListItem
*)& ((arg1
)->m_item
);
28321 resultobj
= wxPyMake_wxObject(result
, 0);
28329 SWIGINTERN PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28330 PyObject
*resultobj
= 0;
28331 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28335 PyObject
*swig_obj
[1] ;
28337 if (!args
) SWIG_fail
;
28338 swig_obj
[0] = args
;
28339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28340 if (!SWIG_IsOK(res1
)) {
28341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
28343 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28346 result
= (int)(arg1
)->GetKeyCode();
28347 wxPyEndAllowThreads(__tstate
);
28348 if (PyErr_Occurred()) SWIG_fail
;
28350 resultobj
= SWIG_From_int(static_cast< int >(result
));
28357 SWIGINTERN PyObject
*_wrap_ListEvent_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28358 PyObject
*resultobj
= 0;
28359 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28363 PyObject
*swig_obj
[1] ;
28365 if (!args
) SWIG_fail
;
28366 swig_obj
[0] = args
;
28367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28368 if (!SWIG_IsOK(res1
)) {
28369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
28371 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28374 result
= (long)(arg1
)->GetIndex();
28375 wxPyEndAllowThreads(__tstate
);
28376 if (PyErr_Occurred()) SWIG_fail
;
28378 resultobj
= SWIG_From_long(static_cast< long >(result
));
28385 SWIGINTERN PyObject
*_wrap_ListEvent_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28386 PyObject
*resultobj
= 0;
28387 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28391 PyObject
*swig_obj
[1] ;
28393 if (!args
) SWIG_fail
;
28394 swig_obj
[0] = args
;
28395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28396 if (!SWIG_IsOK(res1
)) {
28397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
28399 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28402 result
= (int)(arg1
)->GetColumn();
28403 wxPyEndAllowThreads(__tstate
);
28404 if (PyErr_Occurred()) SWIG_fail
;
28406 resultobj
= SWIG_From_int(static_cast< int >(result
));
28413 SWIGINTERN PyObject
*_wrap_ListEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28414 PyObject
*resultobj
= 0;
28415 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28419 PyObject
*swig_obj
[1] ;
28421 if (!args
) SWIG_fail
;
28422 swig_obj
[0] = args
;
28423 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28424 if (!SWIG_IsOK(res1
)) {
28425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
28427 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28430 result
= (arg1
)->GetPoint();
28431 wxPyEndAllowThreads(__tstate
);
28432 if (PyErr_Occurred()) SWIG_fail
;
28434 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
28441 SWIGINTERN PyObject
*_wrap_ListEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28442 PyObject
*resultobj
= 0;
28443 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28444 wxString
*result
= 0 ;
28447 PyObject
*swig_obj
[1] ;
28449 if (!args
) SWIG_fail
;
28450 swig_obj
[0] = args
;
28451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28452 if (!SWIG_IsOK(res1
)) {
28453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
28455 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28459 wxString
const &_result_ref
= (arg1
)->GetLabel();
28460 result
= (wxString
*) &_result_ref
;
28462 wxPyEndAllowThreads(__tstate
);
28463 if (PyErr_Occurred()) SWIG_fail
;
28467 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28469 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28478 SWIGINTERN PyObject
*_wrap_ListEvent_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28479 PyObject
*resultobj
= 0;
28480 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28481 wxString
*result
= 0 ;
28484 PyObject
*swig_obj
[1] ;
28486 if (!args
) SWIG_fail
;
28487 swig_obj
[0] = args
;
28488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28489 if (!SWIG_IsOK(res1
)) {
28490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
28492 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28496 wxString
const &_result_ref
= (arg1
)->GetText();
28497 result
= (wxString
*) &_result_ref
;
28499 wxPyEndAllowThreads(__tstate
);
28500 if (PyErr_Occurred()) SWIG_fail
;
28504 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28506 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28515 SWIGINTERN PyObject
*_wrap_ListEvent_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28516 PyObject
*resultobj
= 0;
28517 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28521 PyObject
*swig_obj
[1] ;
28523 if (!args
) SWIG_fail
;
28524 swig_obj
[0] = args
;
28525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28526 if (!SWIG_IsOK(res1
)) {
28527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
28529 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28532 result
= (int)(arg1
)->GetImage();
28533 wxPyEndAllowThreads(__tstate
);
28534 if (PyErr_Occurred()) SWIG_fail
;
28536 resultobj
= SWIG_From_int(static_cast< int >(result
));
28543 SWIGINTERN PyObject
*_wrap_ListEvent_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28544 PyObject
*resultobj
= 0;
28545 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28549 PyObject
*swig_obj
[1] ;
28551 if (!args
) SWIG_fail
;
28552 swig_obj
[0] = args
;
28553 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28554 if (!SWIG_IsOK(res1
)) {
28555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
28557 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28560 result
= (long)(arg1
)->GetData();
28561 wxPyEndAllowThreads(__tstate
);
28562 if (PyErr_Occurred()) SWIG_fail
;
28564 resultobj
= SWIG_From_long(static_cast< long >(result
));
28571 SWIGINTERN PyObject
*_wrap_ListEvent_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28572 PyObject
*resultobj
= 0;
28573 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28577 PyObject
*swig_obj
[1] ;
28579 if (!args
) SWIG_fail
;
28580 swig_obj
[0] = args
;
28581 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28582 if (!SWIG_IsOK(res1
)) {
28583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
28585 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28588 result
= (long)(arg1
)->GetMask();
28589 wxPyEndAllowThreads(__tstate
);
28590 if (PyErr_Occurred()) SWIG_fail
;
28592 resultobj
= SWIG_From_long(static_cast< long >(result
));
28599 SWIGINTERN PyObject
*_wrap_ListEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28600 PyObject
*resultobj
= 0;
28601 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28602 wxListItem
*result
= 0 ;
28605 PyObject
*swig_obj
[1] ;
28607 if (!args
) SWIG_fail
;
28608 swig_obj
[0] = args
;
28609 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28610 if (!SWIG_IsOK(res1
)) {
28611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
28613 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28617 wxListItem
const &_result_ref
= (arg1
)->GetItem();
28618 result
= (wxListItem
*) &_result_ref
;
28620 wxPyEndAllowThreads(__tstate
);
28621 if (PyErr_Occurred()) SWIG_fail
;
28623 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, 0 | 0 );
28630 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28631 PyObject
*resultobj
= 0;
28632 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28636 PyObject
*swig_obj
[1] ;
28638 if (!args
) SWIG_fail
;
28639 swig_obj
[0] = args
;
28640 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28641 if (!SWIG_IsOK(res1
)) {
28642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
28644 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28647 result
= (long)(arg1
)->GetCacheFrom();
28648 wxPyEndAllowThreads(__tstate
);
28649 if (PyErr_Occurred()) SWIG_fail
;
28651 resultobj
= SWIG_From_long(static_cast< long >(result
));
28658 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28659 PyObject
*resultobj
= 0;
28660 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28664 PyObject
*swig_obj
[1] ;
28666 if (!args
) SWIG_fail
;
28667 swig_obj
[0] = args
;
28668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28669 if (!SWIG_IsOK(res1
)) {
28670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
28672 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28675 result
= (long)(arg1
)->GetCacheTo();
28676 wxPyEndAllowThreads(__tstate
);
28677 if (PyErr_Occurred()) SWIG_fail
;
28679 resultobj
= SWIG_From_long(static_cast< long >(result
));
28686 SWIGINTERN PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28687 PyObject
*resultobj
= 0;
28688 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28692 PyObject
*swig_obj
[1] ;
28694 if (!args
) SWIG_fail
;
28695 swig_obj
[0] = args
;
28696 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28697 if (!SWIG_IsOK(res1
)) {
28698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
28700 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28703 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
28704 wxPyEndAllowThreads(__tstate
);
28705 if (PyErr_Occurred()) SWIG_fail
;
28708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28716 SWIGINTERN PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28717 PyObject
*resultobj
= 0;
28718 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28724 PyObject
* obj0
= 0 ;
28725 PyObject
* obj1
= 0 ;
28726 char * kwnames
[] = {
28727 (char *) "self",(char *) "editCancelled", NULL
28730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28732 if (!SWIG_IsOK(res1
)) {
28733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
28735 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28736 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28737 if (!SWIG_IsOK(ecode2
)) {
28738 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
28740 arg2
= static_cast< bool >(val2
);
28742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28743 (arg1
)->SetEditCanceled(arg2
);
28744 wxPyEndAllowThreads(__tstate
);
28745 if (PyErr_Occurred()) SWIG_fail
;
28747 resultobj
= SWIG_Py_Void();
28754 SWIGINTERN PyObject
*ListEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28756 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28757 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent
, SWIG_NewClientData(obj
));
28758 return SWIG_Py_Void();
28761 SWIGINTERN PyObject
*ListEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28762 return SWIG_Python_InitShadowInstance(args
);
28765 SWIGINTERN PyObject
*_wrap_new_ListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28766 PyObject
*resultobj
= 0;
28767 wxWindow
*arg1
= (wxWindow
*) 0 ;
28768 int arg2
= (int) -1 ;
28769 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28770 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28771 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28772 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28773 long arg5
= (long) wxLC_ICON
;
28774 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28775 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28776 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
28777 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28778 wxPyListCtrl
*result
= 0 ;
28789 bool temp7
= false ;
28790 PyObject
* obj0
= 0 ;
28791 PyObject
* obj1
= 0 ;
28792 PyObject
* obj2
= 0 ;
28793 PyObject
* obj3
= 0 ;
28794 PyObject
* obj4
= 0 ;
28795 PyObject
* obj5
= 0 ;
28796 PyObject
* obj6
= 0 ;
28797 char * kwnames
[] = {
28798 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28803 if (!SWIG_IsOK(res1
)) {
28804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
28806 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28808 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28809 if (!SWIG_IsOK(ecode2
)) {
28810 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
28812 arg2
= static_cast< int >(val2
);
28817 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28823 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28827 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28828 if (!SWIG_IsOK(ecode5
)) {
28829 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
28831 arg5
= static_cast< long >(val5
);
28834 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
28835 if (!SWIG_IsOK(res6
)) {
28836 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28839 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28841 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
28845 arg7
= wxString_in_helper(obj6
);
28846 if (arg7
== NULL
) SWIG_fail
;
28851 if (!wxPyCheckForApp()) SWIG_fail
;
28852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28853 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28854 wxPyEndAllowThreads(__tstate
);
28855 if (PyErr_Occurred()) SWIG_fail
;
28857 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_NEW
| 0 );
28872 SWIGINTERN PyObject
*_wrap_new_PreListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28873 PyObject
*resultobj
= 0;
28874 wxPyListCtrl
*result
= 0 ;
28876 if (!SWIG_Python_UnpackTuple(args
,"new_PreListCtrl",0,0,0)) SWIG_fail
;
28878 if (!wxPyCheckForApp()) SWIG_fail
;
28879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28880 result
= (wxPyListCtrl
*)new wxPyListCtrl();
28881 wxPyEndAllowThreads(__tstate
);
28882 if (PyErr_Occurred()) SWIG_fail
;
28884 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_OWN
| 0 );
28891 SWIGINTERN PyObject
*_wrap_ListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28892 PyObject
*resultobj
= 0;
28893 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28894 wxWindow
*arg2
= (wxWindow
*) 0 ;
28895 int arg3
= (int) -1 ;
28896 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28897 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28898 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28899 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28900 long arg6
= (long) wxLC_ICON
;
28901 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
28902 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
28903 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
28904 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28918 bool temp8
= false ;
28919 PyObject
* obj0
= 0 ;
28920 PyObject
* obj1
= 0 ;
28921 PyObject
* obj2
= 0 ;
28922 PyObject
* obj3
= 0 ;
28923 PyObject
* obj4
= 0 ;
28924 PyObject
* obj5
= 0 ;
28925 PyObject
* obj6
= 0 ;
28926 PyObject
* obj7
= 0 ;
28927 char * kwnames
[] = {
28928 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28933 if (!SWIG_IsOK(res1
)) {
28934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28936 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28937 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28938 if (!SWIG_IsOK(res2
)) {
28939 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
28941 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28943 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28944 if (!SWIG_IsOK(ecode3
)) {
28945 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
28947 arg3
= static_cast< int >(val3
);
28952 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28958 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28962 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28963 if (!SWIG_IsOK(ecode6
)) {
28964 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
28966 arg6
= static_cast< long >(val6
);
28969 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
28970 if (!SWIG_IsOK(res7
)) {
28971 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28974 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28976 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
28980 arg8
= wxString_in_helper(obj7
);
28981 if (arg8
== NULL
) SWIG_fail
;
28986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28987 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
28988 wxPyEndAllowThreads(__tstate
);
28989 if (PyErr_Occurred()) SWIG_fail
;
28992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29008 SWIGINTERN PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29009 PyObject
*resultobj
= 0;
29010 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29011 PyObject
*arg2
= (PyObject
*) 0 ;
29012 PyObject
*arg3
= (PyObject
*) 0 ;
29015 PyObject
* obj0
= 0 ;
29016 PyObject
* obj1
= 0 ;
29017 PyObject
* obj2
= 0 ;
29018 char * kwnames
[] = {
29019 (char *) "self",(char *) "self",(char *) "_class", NULL
29022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29024 if (!SWIG_IsOK(res1
)) {
29025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29027 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29032 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29033 wxPyEndAllowThreads(__tstate
);
29034 if (PyErr_Occurred()) SWIG_fail
;
29036 resultobj
= SWIG_Py_Void();
29043 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29044 PyObject
*resultobj
= 0;
29045 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29047 wxListItem
*result
= 0 ;
29052 PyObject
* obj0
= 0 ;
29053 PyObject
* obj1
= 0 ;
29054 char * kwnames
[] = {
29055 (char *) "self",(char *) "col", NULL
29058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29060 if (!SWIG_IsOK(res1
)) {
29061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29063 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29064 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29065 if (!SWIG_IsOK(ecode2
)) {
29066 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
29068 arg2
= static_cast< int >(val2
);
29070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29071 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
29072 wxPyEndAllowThreads(__tstate
);
29073 if (PyErr_Occurred()) SWIG_fail
;
29076 resultobj
= wxPyMake_wxObject(result
, 0);
29084 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29085 PyObject
*resultobj
= 0;
29086 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29088 wxListItem
*arg3
= 0 ;
29096 PyObject
* obj0
= 0 ;
29097 PyObject
* obj1
= 0 ;
29098 PyObject
* obj2
= 0 ;
29099 char * kwnames
[] = {
29100 (char *) "self",(char *) "col",(char *) "item", NULL
29103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29105 if (!SWIG_IsOK(res1
)) {
29106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29108 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29109 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29110 if (!SWIG_IsOK(ecode2
)) {
29111 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
29113 arg2
= static_cast< int >(val2
);
29114 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
29115 if (!SWIG_IsOK(res3
)) {
29116 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29119 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29121 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
29123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29124 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
29125 wxPyEndAllowThreads(__tstate
);
29126 if (PyErr_Occurred()) SWIG_fail
;
29129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29137 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29138 PyObject
*resultobj
= 0;
29139 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29146 PyObject
* obj0
= 0 ;
29147 PyObject
* obj1
= 0 ;
29148 char * kwnames
[] = {
29149 (char *) "self",(char *) "col", NULL
29152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29154 if (!SWIG_IsOK(res1
)) {
29155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29157 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29158 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29159 if (!SWIG_IsOK(ecode2
)) {
29160 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29162 arg2
= static_cast< int >(val2
);
29164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29165 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
29166 wxPyEndAllowThreads(__tstate
);
29167 if (PyErr_Occurred()) SWIG_fail
;
29169 resultobj
= SWIG_From_int(static_cast< int >(result
));
29176 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29177 PyObject
*resultobj
= 0;
29178 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29188 PyObject
* obj0
= 0 ;
29189 PyObject
* obj1
= 0 ;
29190 PyObject
* obj2
= 0 ;
29191 char * kwnames
[] = {
29192 (char *) "self",(char *) "col",(char *) "width", NULL
29195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29197 if (!SWIG_IsOK(res1
)) {
29198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29200 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29201 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29202 if (!SWIG_IsOK(ecode2
)) {
29203 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29205 arg2
= static_cast< int >(val2
);
29206 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29207 if (!SWIG_IsOK(ecode3
)) {
29208 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
29210 arg3
= static_cast< int >(val3
);
29212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29213 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
29214 wxPyEndAllowThreads(__tstate
);
29215 if (PyErr_Occurred()) SWIG_fail
;
29218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29226 SWIGINTERN PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29227 PyObject
*resultobj
= 0;
29228 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29232 PyObject
*swig_obj
[1] ;
29234 if (!args
) SWIG_fail
;
29235 swig_obj
[0] = args
;
29236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29237 if (!SWIG_IsOK(res1
)) {
29238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29240 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29243 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
29244 wxPyEndAllowThreads(__tstate
);
29245 if (PyErr_Occurred()) SWIG_fail
;
29247 resultobj
= SWIG_From_int(static_cast< int >(result
));
29254 SWIGINTERN PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29255 PyObject
*resultobj
= 0;
29256 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29260 PyObject
*swig_obj
[1] ;
29262 if (!args
) SWIG_fail
;
29263 swig_obj
[0] = args
;
29264 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29265 if (!SWIG_IsOK(res1
)) {
29266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29268 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29271 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
29272 wxPyEndAllowThreads(__tstate
);
29273 if (PyErr_Occurred()) SWIG_fail
;
29275 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29282 SWIGINTERN PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29283 PyObject
*resultobj
= 0;
29284 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29285 wxTextCtrl
*result
= 0 ;
29288 PyObject
*swig_obj
[1] ;
29290 if (!args
) SWIG_fail
;
29291 swig_obj
[0] = args
;
29292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29293 if (!SWIG_IsOK(res1
)) {
29294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29296 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29299 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
29300 wxPyEndAllowThreads(__tstate
);
29301 if (PyErr_Occurred()) SWIG_fail
;
29304 resultobj
= wxPyMake_wxObject(result
, 0);
29312 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29313 PyObject
*resultobj
= 0;
29314 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29316 int arg3
= (int) 0 ;
29317 wxListItem
*result
= 0 ;
29324 PyObject
* obj0
= 0 ;
29325 PyObject
* obj1
= 0 ;
29326 PyObject
* obj2
= 0 ;
29327 char * kwnames
[] = {
29328 (char *) "self",(char *) "itemId",(char *) "col", NULL
29331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29333 if (!SWIG_IsOK(res1
)) {
29334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29336 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29337 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29338 if (!SWIG_IsOK(ecode2
)) {
29339 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
29341 arg2
= static_cast< long >(val2
);
29343 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29344 if (!SWIG_IsOK(ecode3
)) {
29345 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
29347 arg3
= static_cast< int >(val3
);
29350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29351 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
29352 wxPyEndAllowThreads(__tstate
);
29353 if (PyErr_Occurred()) SWIG_fail
;
29356 resultobj
= wxPyMake_wxObject(result
, 0);
29364 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29365 PyObject
*resultobj
= 0;
29366 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29367 wxListItem
*arg2
= 0 ;
29373 PyObject
* obj0
= 0 ;
29374 PyObject
* obj1
= 0 ;
29375 char * kwnames
[] = {
29376 (char *) "self",(char *) "info", NULL
29379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29381 if (!SWIG_IsOK(res1
)) {
29382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29384 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29385 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
29386 if (!SWIG_IsOK(res2
)) {
29387 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29390 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29392 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
29394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29395 result
= (bool)(arg1
)->SetItem(*arg2
);
29396 wxPyEndAllowThreads(__tstate
);
29397 if (PyErr_Occurred()) SWIG_fail
;
29400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29408 SWIGINTERN PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29409 PyObject
*resultobj
= 0;
29410 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29413 wxString
*arg4
= 0 ;
29414 int arg5
= (int) -1 ;
29422 bool temp4
= false ;
29425 PyObject
* obj0
= 0 ;
29426 PyObject
* obj1
= 0 ;
29427 PyObject
* obj2
= 0 ;
29428 PyObject
* obj3
= 0 ;
29429 PyObject
* obj4
= 0 ;
29430 char * kwnames
[] = {
29431 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
29434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29436 if (!SWIG_IsOK(res1
)) {
29437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29439 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29440 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29441 if (!SWIG_IsOK(ecode2
)) {
29442 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
29444 arg2
= static_cast< long >(val2
);
29445 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29446 if (!SWIG_IsOK(ecode3
)) {
29447 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
29449 arg3
= static_cast< int >(val3
);
29451 arg4
= wxString_in_helper(obj3
);
29452 if (arg4
== NULL
) SWIG_fail
;
29456 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29457 if (!SWIG_IsOK(ecode5
)) {
29458 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
29460 arg5
= static_cast< int >(val5
);
29463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29464 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
29465 wxPyEndAllowThreads(__tstate
);
29466 if (PyErr_Occurred()) SWIG_fail
;
29468 resultobj
= SWIG_From_long(static_cast< long >(result
));
29483 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29484 PyObject
*resultobj
= 0;
29485 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29495 PyObject
* obj0
= 0 ;
29496 PyObject
* obj1
= 0 ;
29497 PyObject
* obj2
= 0 ;
29498 char * kwnames
[] = {
29499 (char *) "self",(char *) "item",(char *) "stateMask", NULL
29502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29504 if (!SWIG_IsOK(res1
)) {
29505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29507 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29508 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29509 if (!SWIG_IsOK(ecode2
)) {
29510 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
29512 arg2
= static_cast< long >(val2
);
29513 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29514 if (!SWIG_IsOK(ecode3
)) {
29515 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
29517 arg3
= static_cast< long >(val3
);
29519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29520 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
29521 wxPyEndAllowThreads(__tstate
);
29522 if (PyErr_Occurred()) SWIG_fail
;
29524 resultobj
= SWIG_From_int(static_cast< int >(result
));
29531 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29532 PyObject
*resultobj
= 0;
29533 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29546 PyObject
* obj0
= 0 ;
29547 PyObject
* obj1
= 0 ;
29548 PyObject
* obj2
= 0 ;
29549 PyObject
* obj3
= 0 ;
29550 char * kwnames
[] = {
29551 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
29554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29556 if (!SWIG_IsOK(res1
)) {
29557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29559 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29560 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29561 if (!SWIG_IsOK(ecode2
)) {
29562 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
29564 arg2
= static_cast< long >(val2
);
29565 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29566 if (!SWIG_IsOK(ecode3
)) {
29567 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
29569 arg3
= static_cast< long >(val3
);
29570 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
29571 if (!SWIG_IsOK(ecode4
)) {
29572 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
29574 arg4
= static_cast< long >(val4
);
29576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29577 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
29578 wxPyEndAllowThreads(__tstate
);
29579 if (PyErr_Occurred()) SWIG_fail
;
29582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29590 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29591 PyObject
*resultobj
= 0;
29592 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29595 int arg4
= (int) -1 ;
29605 PyObject
* obj0
= 0 ;
29606 PyObject
* obj1
= 0 ;
29607 PyObject
* obj2
= 0 ;
29608 PyObject
* obj3
= 0 ;
29609 char * kwnames
[] = {
29610 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
29613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29615 if (!SWIG_IsOK(res1
)) {
29616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29618 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29619 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29620 if (!SWIG_IsOK(ecode2
)) {
29621 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
29623 arg2
= static_cast< long >(val2
);
29624 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29625 if (!SWIG_IsOK(ecode3
)) {
29626 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
29628 arg3
= static_cast< int >(val3
);
29630 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29631 if (!SWIG_IsOK(ecode4
)) {
29632 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
29634 arg4
= static_cast< int >(val4
);
29637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29638 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
29639 wxPyEndAllowThreads(__tstate
);
29640 if (PyErr_Occurred()) SWIG_fail
;
29643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29651 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29652 PyObject
*resultobj
= 0;
29653 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29666 PyObject
* obj0
= 0 ;
29667 PyObject
* obj1
= 0 ;
29668 PyObject
* obj2
= 0 ;
29669 PyObject
* obj3
= 0 ;
29670 char * kwnames
[] = {
29671 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
29674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29676 if (!SWIG_IsOK(res1
)) {
29677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29679 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29680 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29681 if (!SWIG_IsOK(ecode2
)) {
29682 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
29684 arg2
= static_cast< long >(val2
);
29685 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29686 if (!SWIG_IsOK(ecode3
)) {
29687 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
29689 arg3
= static_cast< long >(val3
);
29690 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29691 if (!SWIG_IsOK(ecode4
)) {
29692 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
29694 arg4
= static_cast< int >(val4
);
29696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29697 result
= (bool)(arg1
)->SetItemColumnImage(arg2
,arg3
,arg4
);
29698 wxPyEndAllowThreads(__tstate
);
29699 if (PyErr_Occurred()) SWIG_fail
;
29702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29710 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29711 PyObject
*resultobj
= 0;
29712 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29719 PyObject
* obj0
= 0 ;
29720 PyObject
* obj1
= 0 ;
29721 char * kwnames
[] = {
29722 (char *) "self",(char *) "item", NULL
29725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29727 if (!SWIG_IsOK(res1
)) {
29728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29730 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29731 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29732 if (!SWIG_IsOK(ecode2
)) {
29733 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
29735 arg2
= static_cast< long >(val2
);
29737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29738 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
29739 wxPyEndAllowThreads(__tstate
);
29740 if (PyErr_Occurred()) SWIG_fail
;
29744 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29746 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29755 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29756 PyObject
*resultobj
= 0;
29757 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29759 wxString
*arg3
= 0 ;
29764 bool temp3
= false ;
29765 PyObject
* obj0
= 0 ;
29766 PyObject
* obj1
= 0 ;
29767 PyObject
* obj2
= 0 ;
29768 char * kwnames
[] = {
29769 (char *) "self",(char *) "item",(char *) "str", NULL
29772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29774 if (!SWIG_IsOK(res1
)) {
29775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29777 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29778 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29779 if (!SWIG_IsOK(ecode2
)) {
29780 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
29782 arg2
= static_cast< long >(val2
);
29784 arg3
= wxString_in_helper(obj2
);
29785 if (arg3
== NULL
) SWIG_fail
;
29789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29790 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
29791 wxPyEndAllowThreads(__tstate
);
29792 if (PyErr_Occurred()) SWIG_fail
;
29794 resultobj
= SWIG_Py_Void();
29809 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29810 PyObject
*resultobj
= 0;
29811 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29818 PyObject
* obj0
= 0 ;
29819 PyObject
* obj1
= 0 ;
29820 char * kwnames
[] = {
29821 (char *) "self",(char *) "item", NULL
29824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29826 if (!SWIG_IsOK(res1
)) {
29827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29829 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29830 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29831 if (!SWIG_IsOK(ecode2
)) {
29832 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
29834 arg2
= static_cast< long >(val2
);
29836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29837 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
29838 wxPyEndAllowThreads(__tstate
);
29839 if (PyErr_Occurred()) SWIG_fail
;
29841 resultobj
= SWIG_From_long(static_cast< long >(result
));
29848 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29849 PyObject
*resultobj
= 0;
29850 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29860 PyObject
* obj0
= 0 ;
29861 PyObject
* obj1
= 0 ;
29862 PyObject
* obj2
= 0 ;
29863 char * kwnames
[] = {
29864 (char *) "self",(char *) "item",(char *) "data", NULL
29867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29869 if (!SWIG_IsOK(res1
)) {
29870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29872 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29873 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29874 if (!SWIG_IsOK(ecode2
)) {
29875 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
29877 arg2
= static_cast< long >(val2
);
29878 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29879 if (!SWIG_IsOK(ecode3
)) {
29880 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
29882 arg3
= static_cast< long >(val3
);
29884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29885 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
29886 wxPyEndAllowThreads(__tstate
);
29887 if (PyErr_Occurred()) SWIG_fail
;
29890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29898 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29899 PyObject
*resultobj
= 0;
29900 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29907 PyObject
* obj0
= 0 ;
29908 PyObject
* obj1
= 0 ;
29909 char * kwnames
[] = {
29910 (char *) "self",(char *) "item", NULL
29913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29915 if (!SWIG_IsOK(res1
)) {
29916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29918 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29919 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29920 if (!SWIG_IsOK(ecode2
)) {
29921 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
29923 arg2
= static_cast< long >(val2
);
29925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29926 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
29927 wxPyEndAllowThreads(__tstate
);
29928 if (PyErr_Occurred()) SWIG_fail
;
29930 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
29937 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29938 PyObject
*resultobj
= 0;
29939 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29941 int arg3
= (int) wxLIST_RECT_BOUNDS
;
29949 PyObject
* obj0
= 0 ;
29950 PyObject
* obj1
= 0 ;
29951 PyObject
* obj2
= 0 ;
29952 char * kwnames
[] = {
29953 (char *) "self",(char *) "item",(char *) "code", NULL
29956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29958 if (!SWIG_IsOK(res1
)) {
29959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29961 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29962 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29963 if (!SWIG_IsOK(ecode2
)) {
29964 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
29966 arg2
= static_cast< long >(val2
);
29968 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29969 if (!SWIG_IsOK(ecode3
)) {
29970 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
29972 arg3
= static_cast< int >(val3
);
29975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29976 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
29977 wxPyEndAllowThreads(__tstate
);
29978 if (PyErr_Occurred()) SWIG_fail
;
29980 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29987 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29988 PyObject
*resultobj
= 0;
29989 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29991 wxPoint
*arg3
= 0 ;
29998 PyObject
* obj0
= 0 ;
29999 PyObject
* obj1
= 0 ;
30000 PyObject
* obj2
= 0 ;
30001 char * kwnames
[] = {
30002 (char *) "self",(char *) "item",(char *) "pos", NULL
30005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30007 if (!SWIG_IsOK(res1
)) {
30008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30010 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30011 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30012 if (!SWIG_IsOK(ecode2
)) {
30013 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
30015 arg2
= static_cast< long >(val2
);
30018 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30022 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
30023 wxPyEndAllowThreads(__tstate
);
30024 if (PyErr_Occurred()) SWIG_fail
;
30027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30035 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30036 PyObject
*resultobj
= 0;
30037 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30041 PyObject
*swig_obj
[1] ;
30043 if (!args
) SWIG_fail
;
30044 swig_obj
[0] = args
;
30045 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30046 if (!SWIG_IsOK(res1
)) {
30047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30049 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30052 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
30053 wxPyEndAllowThreads(__tstate
);
30054 if (PyErr_Occurred()) SWIG_fail
;
30056 resultobj
= SWIG_From_int(static_cast< int >(result
));
30063 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30064 PyObject
*resultobj
= 0;
30065 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30069 PyObject
*swig_obj
[1] ;
30071 if (!args
) SWIG_fail
;
30072 swig_obj
[0] = args
;
30073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30074 if (!SWIG_IsOK(res1
)) {
30075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30077 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30080 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
30081 wxPyEndAllowThreads(__tstate
);
30082 if (PyErr_Occurred()) SWIG_fail
;
30084 resultobj
= SWIG_From_int(static_cast< int >(result
));
30091 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30092 PyObject
*resultobj
= 0;
30093 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30097 PyObject
*swig_obj
[1] ;
30099 if (!args
) SWIG_fail
;
30100 swig_obj
[0] = args
;
30101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30102 if (!SWIG_IsOK(res1
)) {
30103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30105 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30108 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
30109 wxPyEndAllowThreads(__tstate
);
30110 if (PyErr_Occurred()) SWIG_fail
;
30112 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
30119 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30120 PyObject
*resultobj
= 0;
30121 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30123 bool arg3
= (bool) false ;
30130 PyObject
* obj0
= 0 ;
30131 PyObject
* obj1
= 0 ;
30132 PyObject
* obj2
= 0 ;
30133 char * kwnames
[] = {
30134 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
30137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30139 if (!SWIG_IsOK(res1
)) {
30140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30142 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30143 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30144 if (!SWIG_IsOK(ecode2
)) {
30145 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "2"" of type '" "int""'");
30147 arg2
= static_cast< int >(val2
);
30149 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30150 if (!SWIG_IsOK(ecode3
)) {
30151 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "3"" of type '" "bool""'");
30153 arg3
= static_cast< bool >(val3
);
30156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30157 (arg1
)->SetItemSpacing(arg2
,arg3
);
30158 wxPyEndAllowThreads(__tstate
);
30159 if (PyErr_Occurred()) SWIG_fail
;
30161 resultobj
= SWIG_Py_Void();
30168 SWIGINTERN PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30169 PyObject
*resultobj
= 0;
30170 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30174 PyObject
*swig_obj
[1] ;
30176 if (!args
) SWIG_fail
;
30177 swig_obj
[0] = args
;
30178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30179 if (!SWIG_IsOK(res1
)) {
30180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30182 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30185 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
30186 wxPyEndAllowThreads(__tstate
);
30187 if (PyErr_Occurred()) SWIG_fail
;
30189 resultobj
= SWIG_From_int(static_cast< int >(result
));
30196 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30197 PyObject
*resultobj
= 0;
30198 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30202 PyObject
*swig_obj
[1] ;
30204 if (!args
) SWIG_fail
;
30205 swig_obj
[0] = args
;
30206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30207 if (!SWIG_IsOK(res1
)) {
30208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30210 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30213 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
30214 wxPyEndAllowThreads(__tstate
);
30215 if (PyErr_Occurred()) SWIG_fail
;
30217 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
30224 SWIGINTERN PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30225 PyObject
*resultobj
= 0;
30226 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30227 wxColour
*arg2
= 0 ;
30231 PyObject
* obj0
= 0 ;
30232 PyObject
* obj1
= 0 ;
30233 char * kwnames
[] = {
30234 (char *) "self",(char *) "col", NULL
30237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30239 if (!SWIG_IsOK(res1
)) {
30240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30242 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30245 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30249 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
30250 wxPyEndAllowThreads(__tstate
);
30251 if (PyErr_Occurred()) SWIG_fail
;
30253 resultobj
= SWIG_Py_Void();
30260 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30261 PyObject
*resultobj
= 0;
30262 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30266 PyObject
*swig_obj
[1] ;
30268 if (!args
) SWIG_fail
;
30269 swig_obj
[0] = args
;
30270 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30271 if (!SWIG_IsOK(res1
)) {
30272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30274 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30277 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
30278 wxPyEndAllowThreads(__tstate
);
30279 if (PyErr_Occurred()) SWIG_fail
;
30281 resultobj
= SWIG_From_long(static_cast< long >(result
));
30288 SWIGINTERN PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30289 PyObject
*resultobj
= 0;
30290 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30292 bool arg3
= (bool) true ;
30299 PyObject
* obj0
= 0 ;
30300 PyObject
* obj1
= 0 ;
30301 PyObject
* obj2
= 0 ;
30302 char * kwnames
[] = {
30303 (char *) "self",(char *) "style",(char *) "add", NULL
30306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30308 if (!SWIG_IsOK(res1
)) {
30309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30311 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30312 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30313 if (!SWIG_IsOK(ecode2
)) {
30314 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
30316 arg2
= static_cast< long >(val2
);
30318 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30319 if (!SWIG_IsOK(ecode3
)) {
30320 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
30322 arg3
= static_cast< bool >(val3
);
30325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30326 (arg1
)->SetSingleStyle(arg2
,arg3
);
30327 wxPyEndAllowThreads(__tstate
);
30328 if (PyErr_Occurred()) SWIG_fail
;
30330 resultobj
= SWIG_Py_Void();
30337 SWIGINTERN PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30338 PyObject
*resultobj
= 0;
30339 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30341 int arg3
= (int) wxLIST_NEXT_ALL
;
30342 int arg4
= (int) wxLIST_STATE_DONTCARE
;
30352 PyObject
* obj0
= 0 ;
30353 PyObject
* obj1
= 0 ;
30354 PyObject
* obj2
= 0 ;
30355 PyObject
* obj3
= 0 ;
30356 char * kwnames
[] = {
30357 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
30360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30362 if (!SWIG_IsOK(res1
)) {
30363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30365 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30366 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30367 if (!SWIG_IsOK(ecode2
)) {
30368 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
30370 arg2
= static_cast< long >(val2
);
30372 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30373 if (!SWIG_IsOK(ecode3
)) {
30374 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
30376 arg3
= static_cast< int >(val3
);
30379 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30380 if (!SWIG_IsOK(ecode4
)) {
30381 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
30383 arg4
= static_cast< int >(val4
);
30386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30387 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
30388 wxPyEndAllowThreads(__tstate
);
30389 if (PyErr_Occurred()) SWIG_fail
;
30391 resultobj
= SWIG_From_long(static_cast< long >(result
));
30398 SWIGINTERN PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30399 PyObject
*resultobj
= 0;
30400 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30402 wxImageList
*result
= 0 ;
30407 PyObject
* obj0
= 0 ;
30408 PyObject
* obj1
= 0 ;
30409 char * kwnames
[] = {
30410 (char *) "self",(char *) "which", NULL
30413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30415 if (!SWIG_IsOK(res1
)) {
30416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30418 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30419 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30420 if (!SWIG_IsOK(ecode2
)) {
30421 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
30423 arg2
= static_cast< int >(val2
);
30425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30426 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
30427 wxPyEndAllowThreads(__tstate
);
30428 if (PyErr_Occurred()) SWIG_fail
;
30431 resultobj
= wxPyMake_wxObject(result
, (bool)0);
30439 SWIGINTERN PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30440 PyObject
*resultobj
= 0;
30441 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30442 wxImageList
*arg2
= (wxImageList
*) 0 ;
30450 PyObject
* obj0
= 0 ;
30451 PyObject
* obj1
= 0 ;
30452 PyObject
* obj2
= 0 ;
30453 char * kwnames
[] = {
30454 (char *) "self",(char *) "imageList",(char *) "which", NULL
30457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30459 if (!SWIG_IsOK(res1
)) {
30460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30462 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30463 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30464 if (!SWIG_IsOK(res2
)) {
30465 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30467 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
30468 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30469 if (!SWIG_IsOK(ecode3
)) {
30470 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
30472 arg3
= static_cast< int >(val3
);
30474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30475 (arg1
)->SetImageList(arg2
,arg3
);
30476 wxPyEndAllowThreads(__tstate
);
30477 if (PyErr_Occurred()) SWIG_fail
;
30479 resultobj
= SWIG_Py_Void();
30486 SWIGINTERN PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30487 PyObject
*resultobj
= 0;
30488 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30489 wxImageList
*arg2
= (wxImageList
*) 0 ;
30496 PyObject
* obj0
= 0 ;
30497 PyObject
* obj1
= 0 ;
30498 PyObject
* obj2
= 0 ;
30499 char * kwnames
[] = {
30500 (char *) "self",(char *) "imageList",(char *) "which", NULL
30503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30505 if (!SWIG_IsOK(res1
)) {
30506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30508 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30509 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
30510 if (!SWIG_IsOK(res2
)) {
30511 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30513 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30514 if (!SWIG_IsOK(ecode3
)) {
30515 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
30517 arg3
= static_cast< int >(val3
);
30519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30520 (arg1
)->AssignImageList(arg2
,arg3
);
30521 wxPyEndAllowThreads(__tstate
);
30522 if (PyErr_Occurred()) SWIG_fail
;
30524 resultobj
= SWIG_Py_Void();
30531 SWIGINTERN PyObject
*_wrap_ListCtrl_InReportView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30532 PyObject
*resultobj
= 0;
30533 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30537 PyObject
*swig_obj
[1] ;
30539 if (!args
) SWIG_fail
;
30540 swig_obj
[0] = args
;
30541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30542 if (!SWIG_IsOK(res1
)) {
30543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30545 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30548 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
30549 wxPyEndAllowThreads(__tstate
);
30550 if (PyErr_Occurred()) SWIG_fail
;
30553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30561 SWIGINTERN PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30562 PyObject
*resultobj
= 0;
30563 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30567 PyObject
*swig_obj
[1] ;
30569 if (!args
) SWIG_fail
;
30570 swig_obj
[0] = args
;
30571 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30572 if (!SWIG_IsOK(res1
)) {
30573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30575 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30578 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
30579 wxPyEndAllowThreads(__tstate
);
30580 if (PyErr_Occurred()) SWIG_fail
;
30583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30591 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30592 PyObject
*resultobj
= 0;
30593 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30599 PyObject
* obj0
= 0 ;
30600 PyObject
* obj1
= 0 ;
30601 char * kwnames
[] = {
30602 (char *) "self",(char *) "item", NULL
30605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30607 if (!SWIG_IsOK(res1
)) {
30608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30610 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30611 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30612 if (!SWIG_IsOK(ecode2
)) {
30613 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
30615 arg2
= static_cast< long >(val2
);
30617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30618 (arg1
)->RefreshItem(arg2
);
30619 wxPyEndAllowThreads(__tstate
);
30620 if (PyErr_Occurred()) SWIG_fail
;
30622 resultobj
= SWIG_Py_Void();
30629 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30630 PyObject
*resultobj
= 0;
30631 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30640 PyObject
* obj0
= 0 ;
30641 PyObject
* obj1
= 0 ;
30642 PyObject
* obj2
= 0 ;
30643 char * kwnames
[] = {
30644 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
30647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30649 if (!SWIG_IsOK(res1
)) {
30650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30652 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30653 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30654 if (!SWIG_IsOK(ecode2
)) {
30655 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "2"" of type '" "long""'");
30657 arg2
= static_cast< long >(val2
);
30658 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30659 if (!SWIG_IsOK(ecode3
)) {
30660 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
30662 arg3
= static_cast< long >(val3
);
30664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30665 (arg1
)->RefreshItems(arg2
,arg3
);
30666 wxPyEndAllowThreads(__tstate
);
30667 if (PyErr_Occurred()) SWIG_fail
;
30669 resultobj
= SWIG_Py_Void();
30676 SWIGINTERN PyObject
*_wrap_ListCtrl_Arrange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30677 PyObject
*resultobj
= 0;
30678 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30679 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
30685 PyObject
* obj0
= 0 ;
30686 PyObject
* obj1
= 0 ;
30687 char * kwnames
[] = {
30688 (char *) "self",(char *) "flag", NULL
30691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30693 if (!SWIG_IsOK(res1
)) {
30694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30696 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30698 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30699 if (!SWIG_IsOK(ecode2
)) {
30700 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
30702 arg2
= static_cast< int >(val2
);
30705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30706 result
= (bool)(arg1
)->Arrange(arg2
);
30707 wxPyEndAllowThreads(__tstate
);
30708 if (PyErr_Occurred()) SWIG_fail
;
30711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30719 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30720 PyObject
*resultobj
= 0;
30721 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30728 PyObject
* obj0
= 0 ;
30729 PyObject
* obj1
= 0 ;
30730 char * kwnames
[] = {
30731 (char *) "self",(char *) "item", NULL
30734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30736 if (!SWIG_IsOK(res1
)) {
30737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30739 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30740 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30741 if (!SWIG_IsOK(ecode2
)) {
30742 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
30744 arg2
= static_cast< long >(val2
);
30746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30747 result
= (bool)(arg1
)->DeleteItem(arg2
);
30748 wxPyEndAllowThreads(__tstate
);
30749 if (PyErr_Occurred()) SWIG_fail
;
30752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30760 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30761 PyObject
*resultobj
= 0;
30762 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30766 PyObject
*swig_obj
[1] ;
30768 if (!args
) SWIG_fail
;
30769 swig_obj
[0] = args
;
30770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30771 if (!SWIG_IsOK(res1
)) {
30772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30774 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30777 result
= (bool)(arg1
)->DeleteAllItems();
30778 wxPyEndAllowThreads(__tstate
);
30779 if (PyErr_Occurred()) SWIG_fail
;
30782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30790 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30791 PyObject
*resultobj
= 0;
30792 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30799 PyObject
* obj0
= 0 ;
30800 PyObject
* obj1
= 0 ;
30801 char * kwnames
[] = {
30802 (char *) "self",(char *) "col", NULL
30805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30807 if (!SWIG_IsOK(res1
)) {
30808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30810 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30811 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30812 if (!SWIG_IsOK(ecode2
)) {
30813 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
30815 arg2
= static_cast< int >(val2
);
30817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30818 result
= (bool)(arg1
)->DeleteColumn(arg2
);
30819 wxPyEndAllowThreads(__tstate
);
30820 if (PyErr_Occurred()) SWIG_fail
;
30823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30831 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30832 PyObject
*resultobj
= 0;
30833 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30837 PyObject
*swig_obj
[1] ;
30839 if (!args
) SWIG_fail
;
30840 swig_obj
[0] = args
;
30841 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30842 if (!SWIG_IsOK(res1
)) {
30843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30845 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30848 result
= (bool)(arg1
)->DeleteAllColumns();
30849 wxPyEndAllowThreads(__tstate
);
30850 if (PyErr_Occurred()) SWIG_fail
;
30853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30861 SWIGINTERN PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30862 PyObject
*resultobj
= 0;
30863 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30866 PyObject
*swig_obj
[1] ;
30868 if (!args
) SWIG_fail
;
30869 swig_obj
[0] = args
;
30870 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30871 if (!SWIG_IsOK(res1
)) {
30872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30874 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30877 (arg1
)->ClearAll();
30878 wxPyEndAllowThreads(__tstate
);
30879 if (PyErr_Occurred()) SWIG_fail
;
30881 resultobj
= SWIG_Py_Void();
30888 SWIGINTERN PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30889 PyObject
*resultobj
= 0;
30890 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30896 PyObject
* obj0
= 0 ;
30897 PyObject
* obj1
= 0 ;
30898 char * kwnames
[] = {
30899 (char *) "self",(char *) "item", NULL
30902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30904 if (!SWIG_IsOK(res1
)) {
30905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30907 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30908 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30909 if (!SWIG_IsOK(ecode2
)) {
30910 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
30912 arg2
= static_cast< long >(val2
);
30914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30915 (arg1
)->EditLabel(arg2
);
30916 wxPyEndAllowThreads(__tstate
);
30917 if (PyErr_Occurred()) SWIG_fail
;
30919 resultobj
= SWIG_Py_Void();
30926 SWIGINTERN PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30927 PyObject
*resultobj
= 0;
30928 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30935 PyObject
* obj0
= 0 ;
30936 PyObject
* obj1
= 0 ;
30937 char * kwnames
[] = {
30938 (char *) "self",(char *) "item", NULL
30941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30943 if (!SWIG_IsOK(res1
)) {
30944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30946 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30947 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30948 if (!SWIG_IsOK(ecode2
)) {
30949 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
30951 arg2
= static_cast< long >(val2
);
30953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30954 result
= (bool)(arg1
)->EnsureVisible(arg2
);
30955 wxPyEndAllowThreads(__tstate
);
30956 if (PyErr_Occurred()) SWIG_fail
;
30959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30967 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30968 PyObject
*resultobj
= 0;
30969 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30971 wxString
*arg3
= 0 ;
30972 bool arg4
= (bool) false ;
30978 bool temp3
= false ;
30981 PyObject
* obj0
= 0 ;
30982 PyObject
* obj1
= 0 ;
30983 PyObject
* obj2
= 0 ;
30984 PyObject
* obj3
= 0 ;
30985 char * kwnames
[] = {
30986 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
30989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30991 if (!SWIG_IsOK(res1
)) {
30992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30994 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30995 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30996 if (!SWIG_IsOK(ecode2
)) {
30997 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
30999 arg2
= static_cast< long >(val2
);
31001 arg3
= wxString_in_helper(obj2
);
31002 if (arg3
== NULL
) SWIG_fail
;
31006 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
31007 if (!SWIG_IsOK(ecode4
)) {
31008 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
31010 arg4
= static_cast< bool >(val4
);
31013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31014 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
31015 wxPyEndAllowThreads(__tstate
);
31016 if (PyErr_Occurred()) SWIG_fail
;
31018 resultobj
= SWIG_From_long(static_cast< long >(result
));
31033 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31034 PyObject
*resultobj
= 0;
31035 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31045 PyObject
* obj0
= 0 ;
31046 PyObject
* obj1
= 0 ;
31047 PyObject
* obj2
= 0 ;
31048 char * kwnames
[] = {
31049 (char *) "self",(char *) "start",(char *) "data", NULL
31052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31054 if (!SWIG_IsOK(res1
)) {
31055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31057 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31058 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31059 if (!SWIG_IsOK(ecode2
)) {
31060 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
31062 arg2
= static_cast< long >(val2
);
31063 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
31064 if (!SWIG_IsOK(ecode3
)) {
31065 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
31067 arg3
= static_cast< long >(val3
);
31069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31070 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
31071 wxPyEndAllowThreads(__tstate
);
31072 if (PyErr_Occurred()) SWIG_fail
;
31074 resultobj
= SWIG_From_long(static_cast< long >(result
));
31081 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31082 PyObject
*resultobj
= 0;
31083 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31085 wxPoint
*arg3
= 0 ;
31095 PyObject
* obj0
= 0 ;
31096 PyObject
* obj1
= 0 ;
31097 PyObject
* obj2
= 0 ;
31098 PyObject
* obj3
= 0 ;
31099 char * kwnames
[] = {
31100 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
31103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31105 if (!SWIG_IsOK(res1
)) {
31106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31108 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31109 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31110 if (!SWIG_IsOK(ecode2
)) {
31111 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
31113 arg2
= static_cast< long >(val2
);
31116 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31118 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31119 if (!SWIG_IsOK(ecode4
)) {
31120 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
31122 arg4
= static_cast< int >(val4
);
31124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31125 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
31126 wxPyEndAllowThreads(__tstate
);
31127 if (PyErr_Occurred()) SWIG_fail
;
31129 resultobj
= SWIG_From_long(static_cast< long >(result
));
31136 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31137 PyObject
*resultobj
= 0;
31138 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31139 wxPoint
*arg2
= 0 ;
31146 int res3
= SWIG_TMPOBJ
;
31147 PyObject
* obj0
= 0 ;
31148 PyObject
* obj1
= 0 ;
31149 char * kwnames
[] = {
31150 (char *) "self",(char *) "point", NULL
31154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31156 if (!SWIG_IsOK(res1
)) {
31157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31159 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31162 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31166 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
31167 wxPyEndAllowThreads(__tstate
);
31168 if (PyErr_Occurred()) SWIG_fail
;
31170 resultobj
= SWIG_From_long(static_cast< long >(result
));
31171 if (SWIG_IsTmpObj(res3
)) {
31172 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31174 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31175 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31183 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTestSubItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31184 PyObject
*resultobj
= 0;
31185 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31186 wxPoint
*arg2
= 0 ;
31188 long *arg4
= (long *) 0 ;
31194 int res3
= SWIG_TMPOBJ
;
31196 int res4
= SWIG_TMPOBJ
;
31197 PyObject
* obj0
= 0 ;
31198 PyObject
* obj1
= 0 ;
31199 char * kwnames
[] = {
31200 (char *) "self",(char *) "point", NULL
31205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTestSubItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31207 if (!SWIG_IsOK(res1
)) {
31208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTestSubItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31210 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31213 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31217 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
,arg4
);
31218 wxPyEndAllowThreads(__tstate
);
31219 if (PyErr_Occurred()) SWIG_fail
;
31221 resultobj
= SWIG_From_long(static_cast< long >(result
));
31222 if (SWIG_IsTmpObj(res3
)) {
31223 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31225 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31226 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31228 if (SWIG_IsTmpObj(res4
)) {
31229 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
31231 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31232 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
31240 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31241 PyObject
*resultobj
= 0;
31242 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31243 wxListItem
*arg2
= 0 ;
31249 PyObject
* obj0
= 0 ;
31250 PyObject
* obj1
= 0 ;
31251 char * kwnames
[] = {
31252 (char *) "self",(char *) "info", NULL
31255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31257 if (!SWIG_IsOK(res1
)) {
31258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31260 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31261 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
31262 if (!SWIG_IsOK(res2
)) {
31263 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31266 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31268 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
31270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31271 result
= (long)(arg1
)->InsertItem(*arg2
);
31272 wxPyEndAllowThreads(__tstate
);
31273 if (PyErr_Occurred()) SWIG_fail
;
31275 resultobj
= SWIG_From_long(static_cast< long >(result
));
31282 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31283 PyObject
*resultobj
= 0;
31284 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31286 wxString
*arg3
= 0 ;
31287 int arg4
= (int) -1 ;
31293 bool temp3
= false ;
31296 PyObject
* obj0
= 0 ;
31297 PyObject
* obj1
= 0 ;
31298 PyObject
* obj2
= 0 ;
31299 PyObject
* obj3
= 0 ;
31300 char * kwnames
[] = {
31301 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31306 if (!SWIG_IsOK(res1
)) {
31307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31309 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31310 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31311 if (!SWIG_IsOK(ecode2
)) {
31312 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
31314 arg2
= static_cast< long >(val2
);
31316 arg3
= wxString_in_helper(obj2
);
31317 if (arg3
== NULL
) SWIG_fail
;
31321 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31322 if (!SWIG_IsOK(ecode4
)) {
31323 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
31325 arg4
= static_cast< int >(val4
);
31328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31329 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31330 wxPyEndAllowThreads(__tstate
);
31331 if (PyErr_Occurred()) SWIG_fail
;
31333 resultobj
= SWIG_From_long(static_cast< long >(result
));
31348 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31349 PyObject
*resultobj
= 0;
31350 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31360 PyObject
* obj0
= 0 ;
31361 PyObject
* obj1
= 0 ;
31362 PyObject
* obj2
= 0 ;
31363 char * kwnames
[] = {
31364 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
31367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31369 if (!SWIG_IsOK(res1
)) {
31370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31372 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31373 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31374 if (!SWIG_IsOK(ecode2
)) {
31375 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
31377 arg2
= static_cast< long >(val2
);
31378 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31379 if (!SWIG_IsOK(ecode3
)) {
31380 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
31382 arg3
= static_cast< int >(val3
);
31384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31385 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
31386 wxPyEndAllowThreads(__tstate
);
31387 if (PyErr_Occurred()) SWIG_fail
;
31389 resultobj
= SWIG_From_long(static_cast< long >(result
));
31396 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31397 PyObject
*resultobj
= 0;
31398 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31400 wxString
*arg3
= 0 ;
31407 bool temp3
= false ;
31410 PyObject
* obj0
= 0 ;
31411 PyObject
* obj1
= 0 ;
31412 PyObject
* obj2
= 0 ;
31413 PyObject
* obj3
= 0 ;
31414 char * kwnames
[] = {
31415 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31420 if (!SWIG_IsOK(res1
)) {
31421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31423 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31424 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31425 if (!SWIG_IsOK(ecode2
)) {
31426 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
31428 arg2
= static_cast< long >(val2
);
31430 arg3
= wxString_in_helper(obj2
);
31431 if (arg3
== NULL
) SWIG_fail
;
31434 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31435 if (!SWIG_IsOK(ecode4
)) {
31436 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
31438 arg4
= static_cast< int >(val4
);
31440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31441 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31442 wxPyEndAllowThreads(__tstate
);
31443 if (PyErr_Occurred()) SWIG_fail
;
31445 resultobj
= SWIG_From_long(static_cast< long >(result
));
31460 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31461 PyObject
*resultobj
= 0;
31462 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31464 wxListItem
*arg3
= 0 ;
31472 PyObject
* obj0
= 0 ;
31473 PyObject
* obj1
= 0 ;
31474 PyObject
* obj2
= 0 ;
31475 char * kwnames
[] = {
31476 (char *) "self",(char *) "col",(char *) "info", NULL
31479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31481 if (!SWIG_IsOK(res1
)) {
31482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31484 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31485 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31486 if (!SWIG_IsOK(ecode2
)) {
31487 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
31489 arg2
= static_cast< long >(val2
);
31490 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
31491 if (!SWIG_IsOK(res3
)) {
31492 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31495 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31497 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
31499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31500 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
31501 wxPyEndAllowThreads(__tstate
);
31502 if (PyErr_Occurred()) SWIG_fail
;
31504 resultobj
= SWIG_From_long(static_cast< long >(result
));
31511 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31512 PyObject
*resultobj
= 0;
31513 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31515 wxString
*arg3
= 0 ;
31516 int arg4
= (int) wxLIST_FORMAT_LEFT
;
31517 int arg5
= (int) -1 ;
31523 bool temp3
= false ;
31528 PyObject
* obj0
= 0 ;
31529 PyObject
* obj1
= 0 ;
31530 PyObject
* obj2
= 0 ;
31531 PyObject
* obj3
= 0 ;
31532 PyObject
* obj4
= 0 ;
31533 char * kwnames
[] = {
31534 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
31537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31539 if (!SWIG_IsOK(res1
)) {
31540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31542 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31543 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31544 if (!SWIG_IsOK(ecode2
)) {
31545 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
31547 arg2
= static_cast< long >(val2
);
31549 arg3
= wxString_in_helper(obj2
);
31550 if (arg3
== NULL
) SWIG_fail
;
31554 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31555 if (!SWIG_IsOK(ecode4
)) {
31556 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
31558 arg4
= static_cast< int >(val4
);
31561 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31562 if (!SWIG_IsOK(ecode5
)) {
31563 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
31565 arg5
= static_cast< int >(val5
);
31568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31569 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
31570 wxPyEndAllowThreads(__tstate
);
31571 if (PyErr_Occurred()) SWIG_fail
;
31573 resultobj
= SWIG_From_long(static_cast< long >(result
));
31588 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31589 PyObject
*resultobj
= 0;
31590 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31596 PyObject
* obj0
= 0 ;
31597 PyObject
* obj1
= 0 ;
31598 char * kwnames
[] = {
31599 (char *) "self",(char *) "count", NULL
31602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31604 if (!SWIG_IsOK(res1
)) {
31605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31607 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31608 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31609 if (!SWIG_IsOK(ecode2
)) {
31610 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
31612 arg2
= static_cast< long >(val2
);
31614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31615 (arg1
)->SetItemCount(arg2
);
31616 wxPyEndAllowThreads(__tstate
);
31617 if (PyErr_Occurred()) SWIG_fail
;
31619 resultobj
= SWIG_Py_Void();
31626 SWIGINTERN PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31627 PyObject
*resultobj
= 0;
31628 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31638 PyObject
* obj0
= 0 ;
31639 PyObject
* obj1
= 0 ;
31640 PyObject
* obj2
= 0 ;
31641 char * kwnames
[] = {
31642 (char *) "self",(char *) "dx",(char *) "dy", NULL
31645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31647 if (!SWIG_IsOK(res1
)) {
31648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31650 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31651 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31652 if (!SWIG_IsOK(ecode2
)) {
31653 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
31655 arg2
= static_cast< int >(val2
);
31656 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31657 if (!SWIG_IsOK(ecode3
)) {
31658 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
31660 arg3
= static_cast< int >(val3
);
31662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31663 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
31664 wxPyEndAllowThreads(__tstate
);
31665 if (PyErr_Occurred()) SWIG_fail
;
31668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31676 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31677 PyObject
*resultobj
= 0;
31678 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31680 wxColour
*arg3
= 0 ;
31686 PyObject
* obj0
= 0 ;
31687 PyObject
* obj1
= 0 ;
31688 PyObject
* obj2
= 0 ;
31689 char * kwnames
[] = {
31690 (char *) "self",(char *) "item",(char *) "col", NULL
31693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31695 if (!SWIG_IsOK(res1
)) {
31696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31698 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31699 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31700 if (!SWIG_IsOK(ecode2
)) {
31701 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31703 arg2
= static_cast< long >(val2
);
31706 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31710 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
31711 wxPyEndAllowThreads(__tstate
);
31712 if (PyErr_Occurred()) SWIG_fail
;
31714 resultobj
= SWIG_Py_Void();
31721 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31722 PyObject
*resultobj
= 0;
31723 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31730 PyObject
* obj0
= 0 ;
31731 PyObject
* obj1
= 0 ;
31732 char * kwnames
[] = {
31733 (char *) "self",(char *) "item", NULL
31736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31738 if (!SWIG_IsOK(res1
)) {
31739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31741 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31742 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31743 if (!SWIG_IsOK(ecode2
)) {
31744 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31746 arg2
= static_cast< long >(val2
);
31748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31749 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
31750 wxPyEndAllowThreads(__tstate
);
31751 if (PyErr_Occurred()) SWIG_fail
;
31753 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31760 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31761 PyObject
*resultobj
= 0;
31762 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31764 wxColour
*arg3
= 0 ;
31770 PyObject
* obj0
= 0 ;
31771 PyObject
* obj1
= 0 ;
31772 PyObject
* obj2
= 0 ;
31773 char * kwnames
[] = {
31774 (char *) "self",(char *) "item",(char *) "col", NULL
31777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31779 if (!SWIG_IsOK(res1
)) {
31780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31782 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31783 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31784 if (!SWIG_IsOK(ecode2
)) {
31785 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31787 arg2
= static_cast< long >(val2
);
31790 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31794 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
31795 wxPyEndAllowThreads(__tstate
);
31796 if (PyErr_Occurred()) SWIG_fail
;
31798 resultobj
= SWIG_Py_Void();
31805 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31806 PyObject
*resultobj
= 0;
31807 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31814 PyObject
* obj0
= 0 ;
31815 PyObject
* obj1
= 0 ;
31816 char * kwnames
[] = {
31817 (char *) "self",(char *) "item", NULL
31820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31822 if (!SWIG_IsOK(res1
)) {
31823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31825 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31826 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31827 if (!SWIG_IsOK(ecode2
)) {
31828 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31830 arg2
= static_cast< long >(val2
);
31832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31833 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
31834 wxPyEndAllowThreads(__tstate
);
31835 if (PyErr_Occurred()) SWIG_fail
;
31837 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31844 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31845 PyObject
*resultobj
= 0;
31846 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31855 PyObject
* obj0
= 0 ;
31856 PyObject
* obj1
= 0 ;
31857 PyObject
* obj2
= 0 ;
31858 char * kwnames
[] = {
31859 (char *) "self",(char *) "item",(char *) "f", NULL
31862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31864 if (!SWIG_IsOK(res1
)) {
31865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31867 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31868 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31869 if (!SWIG_IsOK(ecode2
)) {
31870 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
31872 arg2
= static_cast< long >(val2
);
31873 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
31874 if (!SWIG_IsOK(res3
)) {
31875 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31878 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31880 arg3
= reinterpret_cast< wxFont
* >(argp3
);
31882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31883 (arg1
)->SetItemFont(arg2
,(wxFont
const &)*arg3
);
31884 wxPyEndAllowThreads(__tstate
);
31885 if (PyErr_Occurred()) SWIG_fail
;
31887 resultobj
= SWIG_Py_Void();
31894 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31895 PyObject
*resultobj
= 0;
31896 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31903 PyObject
* obj0
= 0 ;
31904 PyObject
* obj1
= 0 ;
31905 char * kwnames
[] = {
31906 (char *) "self",(char *) "item", NULL
31909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31911 if (!SWIG_IsOK(res1
)) {
31912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31914 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31915 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31916 if (!SWIG_IsOK(ecode2
)) {
31917 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
31919 arg2
= static_cast< long >(val2
);
31921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31922 result
= ((wxPyListCtrl
const *)arg1
)->GetItemFont(arg2
);
31923 wxPyEndAllowThreads(__tstate
);
31924 if (PyErr_Occurred()) SWIG_fail
;
31926 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
31933 SWIGINTERN PyObject
*_wrap_ListCtrl_SortItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31934 PyObject
*resultobj
= 0;
31935 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31936 PyObject
*arg2
= (PyObject
*) 0 ;
31940 PyObject
* obj0
= 0 ;
31941 PyObject
* obj1
= 0 ;
31942 char * kwnames
[] = {
31943 (char *) "self",(char *) "func", NULL
31946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31948 if (!SWIG_IsOK(res1
)) {
31949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31951 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31955 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
31956 wxPyEndAllowThreads(__tstate
);
31957 if (PyErr_Occurred()) SWIG_fail
;
31960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31968 SWIGINTERN PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31969 PyObject
*resultobj
= 0;
31970 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31971 wxWindow
*result
= 0 ;
31974 PyObject
*swig_obj
[1] ;
31976 if (!args
) SWIG_fail
;
31977 swig_obj
[0] = args
;
31978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31979 if (!SWIG_IsOK(res1
)) {
31980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31982 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31985 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
31986 wxPyEndAllowThreads(__tstate
);
31987 if (PyErr_Occurred()) SWIG_fail
;
31990 resultobj
= wxPyMake_wxObject(result
, 0);
31998 SWIGINTERN PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31999 PyObject
*resultobj
= 0;
32000 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
32001 SwigValueWrapper
<wxVisualAttributes
> result
;
32004 PyObject
* obj0
= 0 ;
32005 char * kwnames
[] = {
32006 (char *) "variant", NULL
32009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
32011 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32012 if (!SWIG_IsOK(ecode1
)) {
32013 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
32015 arg1
= static_cast< wxWindowVariant
>(val1
);
32018 if (!wxPyCheckForApp()) SWIG_fail
;
32019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32020 result
= wxPyListCtrl::GetClassDefaultAttributes(arg1
);
32021 wxPyEndAllowThreads(__tstate
);
32022 if (PyErr_Occurred()) SWIG_fail
;
32024 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
32031 SWIGINTERN PyObject
*ListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32033 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32034 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl
, SWIG_NewClientData(obj
));
32035 return SWIG_Py_Void();
32038 SWIGINTERN PyObject
*ListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32039 return SWIG_Python_InitShadowInstance(args
);
32042 SWIGINTERN PyObject
*_wrap_new_ListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32043 PyObject
*resultobj
= 0;
32044 wxWindow
*arg1
= (wxWindow
*) 0 ;
32045 int arg2
= (int) -1 ;
32046 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32047 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32048 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32049 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32050 long arg5
= (long) wxLC_REPORT
;
32051 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
32052 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
32053 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
32054 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32055 wxListView
*result
= 0 ;
32066 bool temp7
= false ;
32067 PyObject
* obj0
= 0 ;
32068 PyObject
* obj1
= 0 ;
32069 PyObject
* obj2
= 0 ;
32070 PyObject
* obj3
= 0 ;
32071 PyObject
* obj4
= 0 ;
32072 PyObject
* obj5
= 0 ;
32073 PyObject
* obj6
= 0 ;
32074 char * kwnames
[] = {
32075 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32080 if (!SWIG_IsOK(res1
)) {
32081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
32083 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32085 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32086 if (!SWIG_IsOK(ecode2
)) {
32087 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
32089 arg2
= static_cast< int >(val2
);
32094 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32100 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32104 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
32105 if (!SWIG_IsOK(ecode5
)) {
32106 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
32108 arg5
= static_cast< long >(val5
);
32111 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
32112 if (!SWIG_IsOK(res6
)) {
32113 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32116 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32118 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
32122 arg7
= wxString_in_helper(obj6
);
32123 if (arg7
== NULL
) SWIG_fail
;
32128 if (!wxPyCheckForApp()) SWIG_fail
;
32129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32130 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
32131 wxPyEndAllowThreads(__tstate
);
32132 if (PyErr_Occurred()) SWIG_fail
;
32134 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_NEW
| 0 );
32149 SWIGINTERN PyObject
*_wrap_new_PreListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32150 PyObject
*resultobj
= 0;
32151 wxListView
*result
= 0 ;
32153 if (!SWIG_Python_UnpackTuple(args
,"new_PreListView",0,0,0)) SWIG_fail
;
32155 if (!wxPyCheckForApp()) SWIG_fail
;
32156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32157 result
= (wxListView
*)new wxListView();
32158 wxPyEndAllowThreads(__tstate
);
32159 if (PyErr_Occurred()) SWIG_fail
;
32161 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_OWN
| 0 );
32168 SWIGINTERN PyObject
*_wrap_ListView_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32169 PyObject
*resultobj
= 0;
32170 wxListView
*arg1
= (wxListView
*) 0 ;
32171 wxWindow
*arg2
= (wxWindow
*) 0 ;
32172 int arg3
= (int) -1 ;
32173 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
32174 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
32175 wxSize
const &arg5_defvalue
= wxDefaultSize
;
32176 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
32177 long arg6
= (long) wxLC_REPORT
;
32178 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
32179 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
32180 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
32181 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
32195 bool temp8
= false ;
32196 PyObject
* obj0
= 0 ;
32197 PyObject
* obj1
= 0 ;
32198 PyObject
* obj2
= 0 ;
32199 PyObject
* obj3
= 0 ;
32200 PyObject
* obj4
= 0 ;
32201 PyObject
* obj5
= 0 ;
32202 PyObject
* obj6
= 0 ;
32203 PyObject
* obj7
= 0 ;
32204 char * kwnames
[] = {
32205 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
32209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32210 if (!SWIG_IsOK(res1
)) {
32211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
32213 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32214 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32215 if (!SWIG_IsOK(res2
)) {
32216 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
32218 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
32220 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32221 if (!SWIG_IsOK(ecode3
)) {
32222 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
32224 arg3
= static_cast< int >(val3
);
32229 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32235 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
32239 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
32240 if (!SWIG_IsOK(ecode6
)) {
32241 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
32243 arg6
= static_cast< long >(val6
);
32246 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
32247 if (!SWIG_IsOK(res7
)) {
32248 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32251 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32253 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
32257 arg8
= wxString_in_helper(obj7
);
32258 if (arg8
== NULL
) SWIG_fail
;
32263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32264 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
32265 wxPyEndAllowThreads(__tstate
);
32266 if (PyErr_Occurred()) SWIG_fail
;
32269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32285 SWIGINTERN PyObject
*_wrap_ListView_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32286 PyObject
*resultobj
= 0;
32287 wxListView
*arg1
= (wxListView
*) 0 ;
32289 bool arg3
= (bool) true ;
32296 PyObject
* obj0
= 0 ;
32297 PyObject
* obj1
= 0 ;
32298 PyObject
* obj2
= 0 ;
32299 char * kwnames
[] = {
32300 (char *) "self",(char *) "n",(char *) "on", NULL
32303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32305 if (!SWIG_IsOK(res1
)) {
32306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
32308 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32309 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32310 if (!SWIG_IsOK(ecode2
)) {
32311 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
32313 arg2
= static_cast< long >(val2
);
32315 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
32316 if (!SWIG_IsOK(ecode3
)) {
32317 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
32319 arg3
= static_cast< bool >(val3
);
32322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32323 (arg1
)->Select(arg2
,arg3
);
32324 wxPyEndAllowThreads(__tstate
);
32325 if (PyErr_Occurred()) SWIG_fail
;
32327 resultobj
= SWIG_Py_Void();
32334 SWIGINTERN PyObject
*_wrap_ListView_Focus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32335 PyObject
*resultobj
= 0;
32336 wxListView
*arg1
= (wxListView
*) 0 ;
32342 PyObject
* obj0
= 0 ;
32343 PyObject
* obj1
= 0 ;
32344 char * kwnames
[] = {
32345 (char *) "self",(char *) "index", NULL
32348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32350 if (!SWIG_IsOK(res1
)) {
32351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
32353 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32354 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32355 if (!SWIG_IsOK(ecode2
)) {
32356 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
32358 arg2
= static_cast< long >(val2
);
32360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32361 (arg1
)->Focus(arg2
);
32362 wxPyEndAllowThreads(__tstate
);
32363 if (PyErr_Occurred()) SWIG_fail
;
32365 resultobj
= SWIG_Py_Void();
32372 SWIGINTERN PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32373 PyObject
*resultobj
= 0;
32374 wxListView
*arg1
= (wxListView
*) 0 ;
32378 PyObject
*swig_obj
[1] ;
32380 if (!args
) SWIG_fail
;
32381 swig_obj
[0] = args
;
32382 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32383 if (!SWIG_IsOK(res1
)) {
32384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
32386 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32389 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
32390 wxPyEndAllowThreads(__tstate
);
32391 if (PyErr_Occurred()) SWIG_fail
;
32393 resultobj
= SWIG_From_long(static_cast< long >(result
));
32400 SWIGINTERN PyObject
*_wrap_ListView_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32401 PyObject
*resultobj
= 0;
32402 wxListView
*arg1
= (wxListView
*) 0 ;
32409 PyObject
* obj0
= 0 ;
32410 PyObject
* obj1
= 0 ;
32411 char * kwnames
[] = {
32412 (char *) "self",(char *) "item", NULL
32415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32417 if (!SWIG_IsOK(res1
)) {
32418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32420 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32421 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32422 if (!SWIG_IsOK(ecode2
)) {
32423 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
32425 arg2
= static_cast< long >(val2
);
32427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32428 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
32429 wxPyEndAllowThreads(__tstate
);
32430 if (PyErr_Occurred()) SWIG_fail
;
32432 resultobj
= SWIG_From_long(static_cast< long >(result
));
32439 SWIGINTERN PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32440 PyObject
*resultobj
= 0;
32441 wxListView
*arg1
= (wxListView
*) 0 ;
32445 PyObject
*swig_obj
[1] ;
32447 if (!args
) SWIG_fail
;
32448 swig_obj
[0] = args
;
32449 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32450 if (!SWIG_IsOK(res1
)) {
32451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32453 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32456 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
32457 wxPyEndAllowThreads(__tstate
);
32458 if (PyErr_Occurred()) SWIG_fail
;
32460 resultobj
= SWIG_From_long(static_cast< long >(result
));
32467 SWIGINTERN PyObject
*_wrap_ListView_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32468 PyObject
*resultobj
= 0;
32469 wxListView
*arg1
= (wxListView
*) 0 ;
32476 PyObject
* obj0
= 0 ;
32477 PyObject
* obj1
= 0 ;
32478 char * kwnames
[] = {
32479 (char *) "self",(char *) "index", NULL
32482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32484 if (!SWIG_IsOK(res1
)) {
32485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
32487 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32488 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32489 if (!SWIG_IsOK(ecode2
)) {
32490 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
32492 arg2
= static_cast< long >(val2
);
32494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32495 result
= (bool)(arg1
)->IsSelected(arg2
);
32496 wxPyEndAllowThreads(__tstate
);
32497 if (PyErr_Occurred()) SWIG_fail
;
32500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32508 SWIGINTERN PyObject
*_wrap_ListView_SetColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32509 PyObject
*resultobj
= 0;
32510 wxListView
*arg1
= (wxListView
*) 0 ;
32519 PyObject
* obj0
= 0 ;
32520 PyObject
* obj1
= 0 ;
32521 PyObject
* obj2
= 0 ;
32522 char * kwnames
[] = {
32523 (char *) "self",(char *) "col",(char *) "image", NULL
32526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32528 if (!SWIG_IsOK(res1
)) {
32529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32531 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32532 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32533 if (!SWIG_IsOK(ecode2
)) {
32534 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
32536 arg2
= static_cast< int >(val2
);
32537 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32538 if (!SWIG_IsOK(ecode3
)) {
32539 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
32541 arg3
= static_cast< int >(val3
);
32543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32544 (arg1
)->SetColumnImage(arg2
,arg3
);
32545 wxPyEndAllowThreads(__tstate
);
32546 if (PyErr_Occurred()) SWIG_fail
;
32548 resultobj
= SWIG_Py_Void();
32555 SWIGINTERN PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32556 PyObject
*resultobj
= 0;
32557 wxListView
*arg1
= (wxListView
*) 0 ;
32563 PyObject
* obj0
= 0 ;
32564 PyObject
* obj1
= 0 ;
32565 char * kwnames
[] = {
32566 (char *) "self",(char *) "col", NULL
32569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32571 if (!SWIG_IsOK(res1
)) {
32572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32574 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32575 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32576 if (!SWIG_IsOK(ecode2
)) {
32577 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
32579 arg2
= static_cast< int >(val2
);
32581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32582 (arg1
)->ClearColumnImage(arg2
);
32583 wxPyEndAllowThreads(__tstate
);
32584 if (PyErr_Occurred()) SWIG_fail
;
32586 resultobj
= SWIG_Py_Void();
32593 SWIGINTERN PyObject
*ListView_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32595 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32596 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView
, SWIG_NewClientData(obj
));
32597 return SWIG_Py_Void();
32600 SWIGINTERN PyObject
*ListView_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32601 return SWIG_Python_InitShadowInstance(args
);
32604 SWIGINTERN
int TreeCtrlNameStr_set(PyObject
*) {
32605 SWIG_Error(SWIG_AttributeError
,"Variable TreeCtrlNameStr is read-only.");
32610 SWIGINTERN PyObject
*TreeCtrlNameStr_get(void) {
32611 PyObject
*pyobj
= 0;
32615 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32617 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32624 SWIGINTERN PyObject
*_wrap_new_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32625 PyObject
*resultobj
= 0;
32626 wxTreeItemId
*result
= 0 ;
32628 if (!SWIG_Python_UnpackTuple(args
,"new_TreeItemId",0,0,0)) SWIG_fail
;
32630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32631 result
= (wxTreeItemId
*)new wxTreeItemId();
32632 wxPyEndAllowThreads(__tstate
);
32633 if (PyErr_Occurred()) SWIG_fail
;
32635 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_NEW
| 0 );
32642 SWIGINTERN PyObject
*_wrap_delete_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32643 PyObject
*resultobj
= 0;
32644 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32647 PyObject
*swig_obj
[1] ;
32649 if (!args
) SWIG_fail
;
32650 swig_obj
[0] = args
;
32651 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_DISOWN
| 0 );
32652 if (!SWIG_IsOK(res1
)) {
32653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32655 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32660 wxPyEndAllowThreads(__tstate
);
32661 if (PyErr_Occurred()) SWIG_fail
;
32663 resultobj
= SWIG_Py_Void();
32670 SWIGINTERN PyObject
*_wrap_TreeItemId_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32671 PyObject
*resultobj
= 0;
32672 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32676 PyObject
*swig_obj
[1] ;
32678 if (!args
) SWIG_fail
;
32679 swig_obj
[0] = args
;
32680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32681 if (!SWIG_IsOK(res1
)) {
32682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
32684 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32687 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
32688 wxPyEndAllowThreads(__tstate
);
32689 if (PyErr_Occurred()) SWIG_fail
;
32692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32700 SWIGINTERN PyObject
*_wrap_TreeItemId___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32701 PyObject
*resultobj
= 0;
32702 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32703 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32709 PyObject
* obj0
= 0 ;
32710 PyObject
* obj1
= 0 ;
32711 char * kwnames
[] = {
32712 (char *) "self",(char *) "other", NULL
32715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32717 if (!SWIG_IsOK(res1
)) {
32718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32720 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32721 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32722 if (!SWIG_IsOK(res2
)) {
32723 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32725 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32728 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
32729 wxPyEndAllowThreads(__tstate
);
32730 if (PyErr_Occurred()) SWIG_fail
;
32733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32741 SWIGINTERN PyObject
*_wrap_TreeItemId___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32742 PyObject
*resultobj
= 0;
32743 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32744 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32750 PyObject
* obj0
= 0 ;
32751 PyObject
* obj1
= 0 ;
32752 char * kwnames
[] = {
32753 (char *) "self",(char *) "other", NULL
32756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32758 if (!SWIG_IsOK(res1
)) {
32759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32761 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32762 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32763 if (!SWIG_IsOK(res2
)) {
32764 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32766 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32769 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
32770 wxPyEndAllowThreads(__tstate
);
32771 if (PyErr_Occurred()) SWIG_fail
;
32774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32782 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32783 PyObject
*resultobj
= 0;
32784 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32785 void *arg2
= (void *) 0 ;
32789 PyObject
*swig_obj
[2] ;
32791 if (!SWIG_Python_UnpackTuple(args
,"TreeItemId_m_pItem_set",2,2,swig_obj
)) SWIG_fail
;
32792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32793 if (!SWIG_IsOK(res1
)) {
32794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32796 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32797 res2
= SWIG_ConvertPtr(swig_obj
[1],SWIG_as_voidptrptr(&arg2
), 0, SWIG_POINTER_DISOWN
);
32798 if (!SWIG_IsOK(res2
)) {
32799 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
32801 if (arg1
) (arg1
)->m_pItem
= arg2
;
32803 resultobj
= SWIG_Py_Void();
32810 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32811 PyObject
*resultobj
= 0;
32812 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32816 PyObject
*swig_obj
[1] ;
32818 if (!args
) SWIG_fail
;
32819 swig_obj
[0] = args
;
32820 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32821 if (!SWIG_IsOK(res1
)) {
32822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32824 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32825 result
= (void *) ((arg1
)->m_pItem
);
32826 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
32833 SWIGINTERN PyObject
*TreeItemId_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32835 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32836 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId
, SWIG_NewClientData(obj
));
32837 return SWIG_Py_Void();
32840 SWIGINTERN PyObject
*TreeItemId_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32841 return SWIG_Python_InitShadowInstance(args
);
32844 SWIGINTERN PyObject
*_wrap_new_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32845 PyObject
*resultobj
= 0;
32846 PyObject
*arg1
= (PyObject
*) NULL
;
32847 wxPyTreeItemData
*result
= 0 ;
32848 PyObject
* obj0
= 0 ;
32849 char * kwnames
[] = {
32850 (char *) "obj", NULL
32853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) SWIG_fail
;
32858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32859 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
32860 wxPyEndAllowThreads(__tstate
);
32861 if (PyErr_Occurred()) SWIG_fail
;
32863 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_NEW
| 0 );
32870 SWIGINTERN PyObject
*_wrap_delete_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32871 PyObject
*resultobj
= 0;
32872 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32875 PyObject
*swig_obj
[1] ;
32877 if (!args
) SWIG_fail
;
32878 swig_obj
[0] = args
;
32879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
32880 if (!SWIG_IsOK(res1
)) {
32881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32883 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32888 wxPyEndAllowThreads(__tstate
);
32889 if (PyErr_Occurred()) SWIG_fail
;
32891 resultobj
= SWIG_Py_Void();
32898 SWIGINTERN PyObject
*_wrap_TreeItemData_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32899 PyObject
*resultobj
= 0;
32900 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32901 PyObject
*result
= 0 ;
32904 PyObject
*swig_obj
[1] ;
32906 if (!args
) SWIG_fail
;
32907 swig_obj
[0] = args
;
32908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32909 if (!SWIG_IsOK(res1
)) {
32910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32912 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32915 result
= (PyObject
*)(arg1
)->GetData();
32916 wxPyEndAllowThreads(__tstate
);
32917 if (PyErr_Occurred()) SWIG_fail
;
32919 resultobj
= result
;
32926 SWIGINTERN PyObject
*_wrap_TreeItemData_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32927 PyObject
*resultobj
= 0;
32928 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32929 PyObject
*arg2
= (PyObject
*) 0 ;
32932 PyObject
* obj0
= 0 ;
32933 PyObject
* obj1
= 0 ;
32934 char * kwnames
[] = {
32935 (char *) "self",(char *) "obj", NULL
32938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32940 if (!SWIG_IsOK(res1
)) {
32941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32943 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32947 (arg1
)->SetData(arg2
);
32948 wxPyEndAllowThreads(__tstate
);
32949 if (PyErr_Occurred()) SWIG_fail
;
32951 resultobj
= SWIG_Py_Void();
32958 SWIGINTERN PyObject
*_wrap_TreeItemData_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32959 PyObject
*resultobj
= 0;
32960 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32961 wxTreeItemId
*result
= 0 ;
32964 PyObject
*swig_obj
[1] ;
32966 if (!args
) SWIG_fail
;
32967 swig_obj
[0] = args
;
32968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32969 if (!SWIG_IsOK(res1
)) {
32970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32972 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32976 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
32977 result
= (wxTreeItemId
*) &_result_ref
;
32979 wxPyEndAllowThreads(__tstate
);
32980 if (PyErr_Occurred()) SWIG_fail
;
32982 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32989 SWIGINTERN PyObject
*_wrap_TreeItemData_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32990 PyObject
*resultobj
= 0;
32991 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32992 wxTreeItemId
*arg2
= 0 ;
32997 PyObject
* obj0
= 0 ;
32998 PyObject
* obj1
= 0 ;
32999 char * kwnames
[] = {
33000 (char *) "self",(char *) "id", NULL
33003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33005 if (!SWIG_IsOK(res1
)) {
33006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33008 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33009 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33010 if (!SWIG_IsOK(res2
)) {
33011 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33014 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33016 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33019 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
33020 wxPyEndAllowThreads(__tstate
);
33021 if (PyErr_Occurred()) SWIG_fail
;
33023 resultobj
= SWIG_Py_Void();
33030 SWIGINTERN PyObject
*_wrap_TreeItemData_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33031 PyObject
*resultobj
= 0;
33032 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33035 PyObject
*swig_obj
[1] ;
33037 if (!args
) SWIG_fail
;
33038 swig_obj
[0] = args
;
33039 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33040 if (!SWIG_IsOK(res1
)) {
33041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33043 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33046 wxPyTreeItemData_Destroy(arg1
);
33047 wxPyEndAllowThreads(__tstate
);
33048 if (PyErr_Occurred()) SWIG_fail
;
33050 resultobj
= SWIG_Py_Void();
33057 SWIGINTERN PyObject
*TreeItemData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33059 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33060 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData
, SWIG_NewClientData(obj
));
33061 return SWIG_Py_Void();
33064 SWIGINTERN PyObject
*TreeItemData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33065 return SWIG_Python_InitShadowInstance(args
);
33068 SWIGINTERN
int NullTreeItemId_set(PyObject
*_val
) {
33071 int res
= SWIG_ConvertPtr(_val
, &argp
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33072 if (!SWIG_IsOK(res
)) {
33073 SWIG_exception_fail(SWIG_ArgError(res
), "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33076 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33078 wxTreeItemId
* temp
;
33079 temp
= reinterpret_cast< wxTreeItemId
* >(argp
);
33080 wxNullTreeItemId
= *temp
;
33081 if (SWIG_IsNewObj(res
)) delete temp
;
33090 SWIGINTERN PyObject
*NullTreeItemId_get(void) {
33091 PyObject
*pyobj
= 0;
33093 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullTreeItemId
), SWIGTYPE_p_wxTreeItemId
, 0 );
33098 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33099 PyObject
*resultobj
= 0;
33100 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
33101 int arg2
= (int) 0 ;
33102 wxTreeEvent
*result
= 0 ;
33108 if ((nobjs
< 0) || (nobjs
> 2)) SWIG_fail
;
33110 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
33111 if (!SWIG_IsOK(ecode1
)) {
33112 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33114 arg1
= static_cast< wxEventType
>(val1
);
33117 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
33118 if (!SWIG_IsOK(ecode2
)) {
33119 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
33121 arg2
= static_cast< int >(val2
);
33124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33125 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
33126 wxPyEndAllowThreads(__tstate
);
33127 if (PyErr_Occurred()) SWIG_fail
;
33129 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
33136 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33137 PyObject
*resultobj
= 0;
33139 wxPyTreeCtrl
*arg2
= (wxPyTreeCtrl
*) 0 ;
33140 wxTreeItemId
&arg3_defvalue
= wxNullTreeItemId
;
33141 wxTreeItemId
*arg3
= (wxTreeItemId
*) &arg3_defvalue
;
33142 wxTreeEvent
*result
= 0 ;
33150 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
33151 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
33152 if (!SWIG_IsOK(ecode1
)) {
33153 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33155 arg1
= static_cast< wxEventType
>(val1
);
33156 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33157 if (!SWIG_IsOK(res2
)) {
33158 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "wxPyTreeCtrl *""'");
33160 arg2
= reinterpret_cast< wxPyTreeCtrl
* >(argp2
);
33162 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 );
33163 if (!SWIG_IsOK(res3
)) {
33164 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33167 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33169 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
33172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33173 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
,*arg3
);
33174 wxPyEndAllowThreads(__tstate
);
33175 if (PyErr_Occurred()) SWIG_fail
;
33177 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
33184 SWIGINTERN PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
) {
33188 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_TreeEvent",0,3,argv
))) SWIG_fail
;
33190 if ((argc
>= 0) && (argc
<= 2)) {
33195 int res
= SWIG_AsVal_int(argv
[1], NULL
);
33196 _v
= SWIG_CheckState(res
);
33199 if (!_v
) goto check_1
;
33201 return _wrap_new_TreeEvent__SWIG_0(self
, argc
, argv
);
33205 if ((argc
>= 2) && (argc
<= 3)) {
33206 return _wrap_new_TreeEvent__SWIG_1(self
, argc
, argv
);
33210 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TreeEvent'");
33215 SWIGINTERN PyObject
*_wrap_TreeEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33216 PyObject
*resultobj
= 0;
33217 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33218 wxTreeItemId result
;
33221 PyObject
*swig_obj
[1] ;
33223 if (!args
) SWIG_fail
;
33224 swig_obj
[0] = args
;
33225 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33226 if (!SWIG_IsOK(res1
)) {
33227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33229 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33232 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
33233 wxPyEndAllowThreads(__tstate
);
33234 if (PyErr_Occurred()) SWIG_fail
;
33236 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33243 SWIGINTERN PyObject
*_wrap_TreeEvent_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33244 PyObject
*resultobj
= 0;
33245 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33246 wxTreeItemId
*arg2
= 0 ;
33251 PyObject
* obj0
= 0 ;
33252 PyObject
* obj1
= 0 ;
33253 char * kwnames
[] = {
33254 (char *) "self",(char *) "item", NULL
33257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33259 if (!SWIG_IsOK(res1
)) {
33260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33262 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33263 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33264 if (!SWIG_IsOK(res2
)) {
33265 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33268 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33270 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33273 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
33274 wxPyEndAllowThreads(__tstate
);
33275 if (PyErr_Occurred()) SWIG_fail
;
33277 resultobj
= SWIG_Py_Void();
33284 SWIGINTERN PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33285 PyObject
*resultobj
= 0;
33286 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33287 wxTreeItemId result
;
33290 PyObject
*swig_obj
[1] ;
33292 if (!args
) SWIG_fail
;
33293 swig_obj
[0] = args
;
33294 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33295 if (!SWIG_IsOK(res1
)) {
33296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33298 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33301 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
33302 wxPyEndAllowThreads(__tstate
);
33303 if (PyErr_Occurred()) SWIG_fail
;
33305 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33312 SWIGINTERN PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33313 PyObject
*resultobj
= 0;
33314 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33315 wxTreeItemId
*arg2
= 0 ;
33320 PyObject
* obj0
= 0 ;
33321 PyObject
* obj1
= 0 ;
33322 char * kwnames
[] = {
33323 (char *) "self",(char *) "item", NULL
33326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33328 if (!SWIG_IsOK(res1
)) {
33329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33331 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33332 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33333 if (!SWIG_IsOK(res2
)) {
33334 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33337 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33339 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33342 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
33343 wxPyEndAllowThreads(__tstate
);
33344 if (PyErr_Occurred()) SWIG_fail
;
33346 resultobj
= SWIG_Py_Void();
33353 SWIGINTERN PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33354 PyObject
*resultobj
= 0;
33355 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33359 PyObject
*swig_obj
[1] ;
33361 if (!args
) SWIG_fail
;
33362 swig_obj
[0] = args
;
33363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33364 if (!SWIG_IsOK(res1
)) {
33365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33367 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33370 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
33371 wxPyEndAllowThreads(__tstate
);
33372 if (PyErr_Occurred()) SWIG_fail
;
33374 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
33381 SWIGINTERN PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33382 PyObject
*resultobj
= 0;
33383 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33384 wxPoint
*arg2
= 0 ;
33388 PyObject
* obj0
= 0 ;
33389 PyObject
* obj1
= 0 ;
33390 char * kwnames
[] = {
33391 (char *) "self",(char *) "pt", NULL
33394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33396 if (!SWIG_IsOK(res1
)) {
33397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33399 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33402 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33406 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
33407 wxPyEndAllowThreads(__tstate
);
33408 if (PyErr_Occurred()) SWIG_fail
;
33410 resultobj
= SWIG_Py_Void();
33417 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33418 PyObject
*resultobj
= 0;
33419 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33420 wxKeyEvent
*result
= 0 ;
33423 PyObject
*swig_obj
[1] ;
33425 if (!args
) SWIG_fail
;
33426 swig_obj
[0] = args
;
33427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33428 if (!SWIG_IsOK(res1
)) {
33429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33431 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33435 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
33436 result
= (wxKeyEvent
*) &_result_ref
;
33438 wxPyEndAllowThreads(__tstate
);
33439 if (PyErr_Occurred()) SWIG_fail
;
33441 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
33448 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33449 PyObject
*resultobj
= 0;
33450 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33454 PyObject
*swig_obj
[1] ;
33456 if (!args
) SWIG_fail
;
33457 swig_obj
[0] = args
;
33458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33459 if (!SWIG_IsOK(res1
)) {
33460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33462 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33465 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
33466 wxPyEndAllowThreads(__tstate
);
33467 if (PyErr_Occurred()) SWIG_fail
;
33469 resultobj
= SWIG_From_int(static_cast< int >(result
));
33476 SWIGINTERN PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33477 PyObject
*resultobj
= 0;
33478 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33479 wxKeyEvent
*arg2
= 0 ;
33484 PyObject
* obj0
= 0 ;
33485 PyObject
* obj1
= 0 ;
33486 char * kwnames
[] = {
33487 (char *) "self",(char *) "evt", NULL
33490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33492 if (!SWIG_IsOK(res1
)) {
33493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33495 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33496 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
33497 if (!SWIG_IsOK(res2
)) {
33498 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33501 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33503 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
33505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33506 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
33507 wxPyEndAllowThreads(__tstate
);
33508 if (PyErr_Occurred()) SWIG_fail
;
33510 resultobj
= SWIG_Py_Void();
33517 SWIGINTERN PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33518 PyObject
*resultobj
= 0;
33519 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33520 wxString
*result
= 0 ;
33523 PyObject
*swig_obj
[1] ;
33525 if (!args
) SWIG_fail
;
33526 swig_obj
[0] = args
;
33527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33528 if (!SWIG_IsOK(res1
)) {
33529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33531 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33535 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
33536 result
= (wxString
*) &_result_ref
;
33538 wxPyEndAllowThreads(__tstate
);
33539 if (PyErr_Occurred()) SWIG_fail
;
33543 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33545 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33554 SWIGINTERN PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33555 PyObject
*resultobj
= 0;
33556 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33557 wxString
*arg2
= 0 ;
33560 bool temp2
= false ;
33561 PyObject
* obj0
= 0 ;
33562 PyObject
* obj1
= 0 ;
33563 char * kwnames
[] = {
33564 (char *) "self",(char *) "label", NULL
33567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33569 if (!SWIG_IsOK(res1
)) {
33570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33572 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33574 arg2
= wxString_in_helper(obj1
);
33575 if (arg2
== NULL
) SWIG_fail
;
33579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33580 (arg1
)->SetLabel((wxString
const &)*arg2
);
33581 wxPyEndAllowThreads(__tstate
);
33582 if (PyErr_Occurred()) SWIG_fail
;
33584 resultobj
= SWIG_Py_Void();
33599 SWIGINTERN PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33600 PyObject
*resultobj
= 0;
33601 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33605 PyObject
*swig_obj
[1] ;
33607 if (!args
) SWIG_fail
;
33608 swig_obj
[0] = args
;
33609 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33610 if (!SWIG_IsOK(res1
)) {
33611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33613 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33616 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
33617 wxPyEndAllowThreads(__tstate
);
33618 if (PyErr_Occurred()) SWIG_fail
;
33621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33629 SWIGINTERN PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33630 PyObject
*resultobj
= 0;
33631 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33637 PyObject
* obj0
= 0 ;
33638 PyObject
* obj1
= 0 ;
33639 char * kwnames
[] = {
33640 (char *) "self",(char *) "editCancelled", NULL
33643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33645 if (!SWIG_IsOK(res1
)) {
33646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33648 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33649 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33650 if (!SWIG_IsOK(ecode2
)) {
33651 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
33653 arg2
= static_cast< bool >(val2
);
33655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33656 (arg1
)->SetEditCanceled(arg2
);
33657 wxPyEndAllowThreads(__tstate
);
33658 if (PyErr_Occurred()) SWIG_fail
;
33660 resultobj
= SWIG_Py_Void();
33667 SWIGINTERN PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33668 PyObject
*resultobj
= 0;
33669 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33670 wxString
*arg2
= 0 ;
33673 bool temp2
= false ;
33674 PyObject
* obj0
= 0 ;
33675 PyObject
* obj1
= 0 ;
33676 char * kwnames
[] = {
33677 (char *) "self",(char *) "toolTip", NULL
33680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33682 if (!SWIG_IsOK(res1
)) {
33683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33685 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33687 arg2
= wxString_in_helper(obj1
);
33688 if (arg2
== NULL
) SWIG_fail
;
33692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33693 (arg1
)->SetToolTip((wxString
const &)*arg2
);
33694 wxPyEndAllowThreads(__tstate
);
33695 if (PyErr_Occurred()) SWIG_fail
;
33697 resultobj
= SWIG_Py_Void();
33712 SWIGINTERN PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33713 PyObject
*resultobj
= 0;
33714 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33718 PyObject
*swig_obj
[1] ;
33720 if (!args
) SWIG_fail
;
33721 swig_obj
[0] = args
;
33722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33723 if (!SWIG_IsOK(res1
)) {
33724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33726 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33729 result
= (arg1
)->GetToolTip();
33730 wxPyEndAllowThreads(__tstate
);
33731 if (PyErr_Occurred()) SWIG_fail
;
33735 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33737 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33746 SWIGINTERN PyObject
*TreeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33748 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33749 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent
, SWIG_NewClientData(obj
));
33750 return SWIG_Py_Void();
33753 SWIGINTERN PyObject
*TreeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33754 return SWIG_Python_InitShadowInstance(args
);
33757 SWIGINTERN PyObject
*_wrap_new_TreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33758 PyObject
*resultobj
= 0;
33759 wxWindow
*arg1
= (wxWindow
*) 0 ;
33760 int arg2
= (int) -1 ;
33761 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33762 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33763 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33764 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33765 long arg5
= (long) wxTR_DEFAULT_STYLE
;
33766 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33767 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33768 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
33769 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33770 wxPyTreeCtrl
*result
= 0 ;
33781 bool temp7
= false ;
33782 PyObject
* obj0
= 0 ;
33783 PyObject
* obj1
= 0 ;
33784 PyObject
* obj2
= 0 ;
33785 PyObject
* obj3
= 0 ;
33786 PyObject
* obj4
= 0 ;
33787 PyObject
* obj5
= 0 ;
33788 PyObject
* obj6
= 0 ;
33789 char * kwnames
[] = {
33790 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33795 if (!SWIG_IsOK(res1
)) {
33796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
33798 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33800 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33801 if (!SWIG_IsOK(ecode2
)) {
33802 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
33804 arg2
= static_cast< int >(val2
);
33809 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33815 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33819 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
33820 if (!SWIG_IsOK(ecode5
)) {
33821 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
33823 arg5
= static_cast< long >(val5
);
33826 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
33827 if (!SWIG_IsOK(res6
)) {
33828 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33831 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33833 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
33837 arg7
= wxString_in_helper(obj6
);
33838 if (arg7
== NULL
) SWIG_fail
;
33843 if (!wxPyCheckForApp()) SWIG_fail
;
33844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33845 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33846 wxPyEndAllowThreads(__tstate
);
33847 if (PyErr_Occurred()) SWIG_fail
;
33849 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_NEW
| 0 );
33864 SWIGINTERN PyObject
*_wrap_new_PreTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33865 PyObject
*resultobj
= 0;
33866 wxPyTreeCtrl
*result
= 0 ;
33868 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreeCtrl",0,0,0)) SWIG_fail
;
33870 if (!wxPyCheckForApp()) SWIG_fail
;
33871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33872 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
33873 wxPyEndAllowThreads(__tstate
);
33874 if (PyErr_Occurred()) SWIG_fail
;
33876 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_OWN
| 0 );
33883 SWIGINTERN PyObject
*_wrap_TreeCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33884 PyObject
*resultobj
= 0;
33885 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33886 wxWindow
*arg2
= (wxWindow
*) 0 ;
33887 int arg3
= (int) -1 ;
33888 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33889 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33890 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33891 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33892 long arg6
= (long) wxTR_DEFAULT_STYLE
;
33893 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
33894 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
33895 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
33896 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
33910 bool temp8
= false ;
33911 PyObject
* obj0
= 0 ;
33912 PyObject
* obj1
= 0 ;
33913 PyObject
* obj2
= 0 ;
33914 PyObject
* obj3
= 0 ;
33915 PyObject
* obj4
= 0 ;
33916 PyObject
* obj5
= 0 ;
33917 PyObject
* obj6
= 0 ;
33918 PyObject
* obj7
= 0 ;
33919 char * kwnames
[] = {
33920 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
33924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33925 if (!SWIG_IsOK(res1
)) {
33926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33928 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33929 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33930 if (!SWIG_IsOK(res2
)) {
33931 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
33933 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33935 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33936 if (!SWIG_IsOK(ecode3
)) {
33937 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
33939 arg3
= static_cast< int >(val3
);
33944 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33950 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33954 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
33955 if (!SWIG_IsOK(ecode6
)) {
33956 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
33958 arg6
= static_cast< long >(val6
);
33961 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
33962 if (!SWIG_IsOK(res7
)) {
33963 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33966 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33968 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
33972 arg8
= wxString_in_helper(obj7
);
33973 if (arg8
== NULL
) SWIG_fail
;
33978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33979 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
33980 wxPyEndAllowThreads(__tstate
);
33981 if (PyErr_Occurred()) SWIG_fail
;
33984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34000 SWIGINTERN PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34001 PyObject
*resultobj
= 0;
34002 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34003 PyObject
*arg2
= (PyObject
*) 0 ;
34004 PyObject
*arg3
= (PyObject
*) 0 ;
34007 PyObject
* obj0
= 0 ;
34008 PyObject
* obj1
= 0 ;
34009 PyObject
* obj2
= 0 ;
34010 char * kwnames
[] = {
34011 (char *) "self",(char *) "self",(char *) "_class", NULL
34014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34016 if (!SWIG_IsOK(res1
)) {
34017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34019 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34024 (arg1
)->_setCallbackInfo(arg2
,arg3
);
34025 wxPyEndAllowThreads(__tstate
);
34026 if (PyErr_Occurred()) SWIG_fail
;
34028 resultobj
= SWIG_Py_Void();
34035 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34036 PyObject
*resultobj
= 0;
34037 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34038 unsigned int result
;
34041 PyObject
*swig_obj
[1] ;
34043 if (!args
) SWIG_fail
;
34044 swig_obj
[0] = args
;
34045 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34046 if (!SWIG_IsOK(res1
)) {
34047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34049 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34052 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetCount();
34053 wxPyEndAllowThreads(__tstate
);
34054 if (PyErr_Occurred()) SWIG_fail
;
34056 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34063 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34064 PyObject
*resultobj
= 0;
34065 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34066 unsigned int result
;
34069 PyObject
*swig_obj
[1] ;
34071 if (!args
) SWIG_fail
;
34072 swig_obj
[0] = args
;
34073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34074 if (!SWIG_IsOK(res1
)) {
34075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34077 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34080 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
34081 wxPyEndAllowThreads(__tstate
);
34082 if (PyErr_Occurred()) SWIG_fail
;
34084 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34091 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34092 PyObject
*resultobj
= 0;
34093 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34094 unsigned int arg2
;
34097 unsigned int val2
;
34099 PyObject
* obj0
= 0 ;
34100 PyObject
* obj1
= 0 ;
34101 char * kwnames
[] = {
34102 (char *) "self",(char *) "indent", NULL
34105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34107 if (!SWIG_IsOK(res1
)) {
34108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34110 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34111 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
34112 if (!SWIG_IsOK(ecode2
)) {
34113 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
34115 arg2
= static_cast< unsigned int >(val2
);
34117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34118 (arg1
)->SetIndent(arg2
);
34119 wxPyEndAllowThreads(__tstate
);
34120 if (PyErr_Occurred()) SWIG_fail
;
34122 resultobj
= SWIG_Py_Void();
34129 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34130 PyObject
*resultobj
= 0;
34131 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34132 unsigned int result
;
34135 PyObject
*swig_obj
[1] ;
34137 if (!args
) SWIG_fail
;
34138 swig_obj
[0] = args
;
34139 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34140 if (!SWIG_IsOK(res1
)) {
34141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34143 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34146 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
34147 wxPyEndAllowThreads(__tstate
);
34148 if (PyErr_Occurred()) SWIG_fail
;
34150 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34157 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34158 PyObject
*resultobj
= 0;
34159 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34160 unsigned int arg2
;
34163 unsigned int val2
;
34165 PyObject
* obj0
= 0 ;
34166 PyObject
* obj1
= 0 ;
34167 char * kwnames
[] = {
34168 (char *) "self",(char *) "spacing", NULL
34171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34173 if (!SWIG_IsOK(res1
)) {
34174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34176 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34177 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
34178 if (!SWIG_IsOK(ecode2
)) {
34179 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
34181 arg2
= static_cast< unsigned int >(val2
);
34183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34184 (arg1
)->SetSpacing(arg2
);
34185 wxPyEndAllowThreads(__tstate
);
34186 if (PyErr_Occurred()) SWIG_fail
;
34188 resultobj
= SWIG_Py_Void();
34195 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34196 PyObject
*resultobj
= 0;
34197 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34198 wxImageList
*result
= 0 ;
34201 PyObject
*swig_obj
[1] ;
34203 if (!args
) SWIG_fail
;
34204 swig_obj
[0] = args
;
34205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34206 if (!SWIG_IsOK(res1
)) {
34207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34209 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34212 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
34213 wxPyEndAllowThreads(__tstate
);
34214 if (PyErr_Occurred()) SWIG_fail
;
34217 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34225 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34226 PyObject
*resultobj
= 0;
34227 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34228 wxImageList
*result
= 0 ;
34231 PyObject
*swig_obj
[1] ;
34233 if (!args
) SWIG_fail
;
34234 swig_obj
[0] = args
;
34235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34236 if (!SWIG_IsOK(res1
)) {
34237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34239 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34242 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
34243 wxPyEndAllowThreads(__tstate
);
34244 if (PyErr_Occurred()) SWIG_fail
;
34247 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34255 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34256 PyObject
*resultobj
= 0;
34257 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34258 wxImageList
*arg2
= (wxImageList
*) 0 ;
34263 PyObject
* obj0
= 0 ;
34264 PyObject
* obj1
= 0 ;
34265 char * kwnames
[] = {
34266 (char *) "self",(char *) "imageList", NULL
34269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34271 if (!SWIG_IsOK(res1
)) {
34272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34274 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34275 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34276 if (!SWIG_IsOK(res2
)) {
34277 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34279 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34282 (arg1
)->SetImageList(arg2
);
34283 wxPyEndAllowThreads(__tstate
);
34284 if (PyErr_Occurred()) SWIG_fail
;
34286 resultobj
= SWIG_Py_Void();
34293 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34294 PyObject
*resultobj
= 0;
34295 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34296 wxImageList
*arg2
= (wxImageList
*) 0 ;
34301 PyObject
* obj0
= 0 ;
34302 PyObject
* obj1
= 0 ;
34303 char * kwnames
[] = {
34304 (char *) "self",(char *) "imageList", NULL
34307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34309 if (!SWIG_IsOK(res1
)) {
34310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34312 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34313 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34314 if (!SWIG_IsOK(res2
)) {
34315 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34317 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34320 (arg1
)->SetStateImageList(arg2
);
34321 wxPyEndAllowThreads(__tstate
);
34322 if (PyErr_Occurred()) SWIG_fail
;
34324 resultobj
= SWIG_Py_Void();
34331 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34332 PyObject
*resultobj
= 0;
34333 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34334 wxImageList
*arg2
= (wxImageList
*) 0 ;
34338 PyObject
* obj0
= 0 ;
34339 PyObject
* obj1
= 0 ;
34340 char * kwnames
[] = {
34341 (char *) "self",(char *) "imageList", NULL
34344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34346 if (!SWIG_IsOK(res1
)) {
34347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34349 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34350 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34351 if (!SWIG_IsOK(res2
)) {
34352 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34356 (arg1
)->AssignImageList(arg2
);
34357 wxPyEndAllowThreads(__tstate
);
34358 if (PyErr_Occurred()) SWIG_fail
;
34360 resultobj
= SWIG_Py_Void();
34367 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34368 PyObject
*resultobj
= 0;
34369 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34370 wxImageList
*arg2
= (wxImageList
*) 0 ;
34374 PyObject
* obj0
= 0 ;
34375 PyObject
* obj1
= 0 ;
34376 char * kwnames
[] = {
34377 (char *) "self",(char *) "imageList", NULL
34380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",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_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34385 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34386 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34387 if (!SWIG_IsOK(res2
)) {
34388 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34392 (arg1
)->AssignStateImageList(arg2
);
34393 wxPyEndAllowThreads(__tstate
);
34394 if (PyErr_Occurred()) SWIG_fail
;
34396 resultobj
= SWIG_Py_Void();
34403 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34404 PyObject
*resultobj
= 0;
34405 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34406 wxTreeItemId
*arg2
= 0 ;
34412 PyObject
* obj0
= 0 ;
34413 PyObject
* obj1
= 0 ;
34414 char * kwnames
[] = {
34415 (char *) "self",(char *) "item", NULL
34418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34420 if (!SWIG_IsOK(res1
)) {
34421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34423 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34424 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34425 if (!SWIG_IsOK(res2
)) {
34426 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34429 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34431 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34434 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
34435 wxPyEndAllowThreads(__tstate
);
34436 if (PyErr_Occurred()) SWIG_fail
;
34440 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34442 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34451 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34452 PyObject
*resultobj
= 0;
34453 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34454 wxTreeItemId
*arg2
= 0 ;
34455 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34463 PyObject
* obj0
= 0 ;
34464 PyObject
* obj1
= 0 ;
34465 PyObject
* obj2
= 0 ;
34466 char * kwnames
[] = {
34467 (char *) "self",(char *) "item",(char *) "which", NULL
34470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34472 if (!SWIG_IsOK(res1
)) {
34473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34475 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34476 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34477 if (!SWIG_IsOK(res2
)) {
34478 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34481 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34483 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34485 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34486 if (!SWIG_IsOK(ecode3
)) {
34487 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
34489 arg3
= static_cast< wxTreeItemIcon
>(val3
);
34492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34493 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,arg3
);
34494 wxPyEndAllowThreads(__tstate
);
34495 if (PyErr_Occurred()) SWIG_fail
;
34497 resultobj
= SWIG_From_int(static_cast< int >(result
));
34504 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34505 PyObject
*resultobj
= 0;
34506 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34507 wxTreeItemId
*arg2
= 0 ;
34508 wxPyTreeItemData
*result
= 0 ;
34513 PyObject
* obj0
= 0 ;
34514 PyObject
* obj1
= 0 ;
34515 char * kwnames
[] = {
34516 (char *) "self",(char *) "item", NULL
34519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34521 if (!SWIG_IsOK(res1
)) {
34522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34524 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34525 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34526 if (!SWIG_IsOK(res2
)) {
34527 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34530 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34532 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34535 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
34536 wxPyEndAllowThreads(__tstate
);
34537 if (PyErr_Occurred()) SWIG_fail
;
34539 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
34546 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34547 PyObject
*resultobj
= 0;
34548 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34549 wxTreeItemId
*arg2
= 0 ;
34550 PyObject
*result
= 0 ;
34555 PyObject
* obj0
= 0 ;
34556 PyObject
* obj1
= 0 ;
34557 char * kwnames
[] = {
34558 (char *) "self",(char *) "item", NULL
34561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34563 if (!SWIG_IsOK(res1
)) {
34564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34566 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34567 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34568 if (!SWIG_IsOK(res2
)) {
34569 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34572 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34574 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34577 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
34578 wxPyEndAllowThreads(__tstate
);
34579 if (PyErr_Occurred()) SWIG_fail
;
34581 resultobj
= result
;
34588 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34589 PyObject
*resultobj
= 0;
34590 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34591 wxTreeItemId
*arg2
= 0 ;
34597 PyObject
* obj0
= 0 ;
34598 PyObject
* obj1
= 0 ;
34599 char * kwnames
[] = {
34600 (char *) "self",(char *) "item", NULL
34603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34605 if (!SWIG_IsOK(res1
)) {
34606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34608 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34609 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34610 if (!SWIG_IsOK(res2
)) {
34611 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34614 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34616 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34619 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
34620 wxPyEndAllowThreads(__tstate
);
34621 if (PyErr_Occurred()) SWIG_fail
;
34623 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34630 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34631 PyObject
*resultobj
= 0;
34632 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34633 wxTreeItemId
*arg2
= 0 ;
34639 PyObject
* obj0
= 0 ;
34640 PyObject
* obj1
= 0 ;
34641 char * kwnames
[] = {
34642 (char *) "self",(char *) "item", NULL
34645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34647 if (!SWIG_IsOK(res1
)) {
34648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34650 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34651 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34652 if (!SWIG_IsOK(res2
)) {
34653 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34656 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34658 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34661 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
34662 wxPyEndAllowThreads(__tstate
);
34663 if (PyErr_Occurred()) SWIG_fail
;
34665 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34672 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34673 PyObject
*resultobj
= 0;
34674 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34675 wxTreeItemId
*arg2
= 0 ;
34681 PyObject
* obj0
= 0 ;
34682 PyObject
* obj1
= 0 ;
34683 char * kwnames
[] = {
34684 (char *) "self",(char *) "item", NULL
34687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34689 if (!SWIG_IsOK(res1
)) {
34690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34692 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34693 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34694 if (!SWIG_IsOK(res2
)) {
34695 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34698 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34700 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34703 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
34704 wxPyEndAllowThreads(__tstate
);
34705 if (PyErr_Occurred()) SWIG_fail
;
34707 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
34714 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34715 PyObject
*resultobj
= 0;
34716 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34717 wxTreeItemId
*arg2
= 0 ;
34718 wxString
*arg3
= 0 ;
34723 bool temp3
= false ;
34724 PyObject
* obj0
= 0 ;
34725 PyObject
* obj1
= 0 ;
34726 PyObject
* obj2
= 0 ;
34727 char * kwnames
[] = {
34728 (char *) "self",(char *) "item",(char *) "text", NULL
34731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34733 if (!SWIG_IsOK(res1
)) {
34734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34736 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34737 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34738 if (!SWIG_IsOK(res2
)) {
34739 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34742 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34744 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34746 arg3
= wxString_in_helper(obj2
);
34747 if (arg3
== NULL
) SWIG_fail
;
34751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34752 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
34753 wxPyEndAllowThreads(__tstate
);
34754 if (PyErr_Occurred()) SWIG_fail
;
34756 resultobj
= SWIG_Py_Void();
34771 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34772 PyObject
*resultobj
= 0;
34773 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34774 wxTreeItemId
*arg2
= 0 ;
34776 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34785 PyObject
* obj0
= 0 ;
34786 PyObject
* obj1
= 0 ;
34787 PyObject
* obj2
= 0 ;
34788 PyObject
* obj3
= 0 ;
34789 char * kwnames
[] = {
34790 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
34793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34795 if (!SWIG_IsOK(res1
)) {
34796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34798 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34799 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34800 if (!SWIG_IsOK(res2
)) {
34801 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34804 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34806 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34807 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34808 if (!SWIG_IsOK(ecode3
)) {
34809 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
34811 arg3
= static_cast< int >(val3
);
34813 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34814 if (!SWIG_IsOK(ecode4
)) {
34815 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
34817 arg4
= static_cast< wxTreeItemIcon
>(val4
);
34820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34821 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,arg4
);
34822 wxPyEndAllowThreads(__tstate
);
34823 if (PyErr_Occurred()) SWIG_fail
;
34825 resultobj
= SWIG_Py_Void();
34832 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34833 PyObject
*resultobj
= 0;
34834 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34835 wxTreeItemId
*arg2
= 0 ;
34836 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
34842 PyObject
* obj0
= 0 ;
34843 PyObject
* obj1
= 0 ;
34844 PyObject
* obj2
= 0 ;
34845 char * kwnames
[] = {
34846 (char *) "self",(char *) "item",(char *) "data", NULL
34849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34851 if (!SWIG_IsOK(res1
)) {
34852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34854 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34855 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34856 if (!SWIG_IsOK(res2
)) {
34857 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34860 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34862 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34863 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
34864 if (!SWIG_IsOK(res3
)) {
34865 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
34868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34869 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34870 wxPyEndAllowThreads(__tstate
);
34871 if (PyErr_Occurred()) SWIG_fail
;
34873 resultobj
= SWIG_Py_Void();
34880 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34881 PyObject
*resultobj
= 0;
34882 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34883 wxTreeItemId
*arg2
= 0 ;
34884 PyObject
*arg3
= (PyObject
*) 0 ;
34889 PyObject
* obj0
= 0 ;
34890 PyObject
* obj1
= 0 ;
34891 PyObject
* obj2
= 0 ;
34892 char * kwnames
[] = {
34893 (char *) "self",(char *) "item",(char *) "obj", NULL
34896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34898 if (!SWIG_IsOK(res1
)) {
34899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34901 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34902 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34903 if (!SWIG_IsOK(res2
)) {
34904 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34907 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34909 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34913 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34914 wxPyEndAllowThreads(__tstate
);
34915 if (PyErr_Occurred()) SWIG_fail
;
34917 resultobj
= SWIG_Py_Void();
34924 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34925 PyObject
*resultobj
= 0;
34926 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34927 wxTreeItemId
*arg2
= 0 ;
34928 bool arg3
= (bool) true ;
34935 PyObject
* obj0
= 0 ;
34936 PyObject
* obj1
= 0 ;
34937 PyObject
* obj2
= 0 ;
34938 char * kwnames
[] = {
34939 (char *) "self",(char *) "item",(char *) "has", NULL
34942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34944 if (!SWIG_IsOK(res1
)) {
34945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34947 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34948 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34949 if (!SWIG_IsOK(res2
)) {
34950 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34953 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34955 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34957 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34958 if (!SWIG_IsOK(ecode3
)) {
34959 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
34961 arg3
= static_cast< bool >(val3
);
34964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34965 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
34966 wxPyEndAllowThreads(__tstate
);
34967 if (PyErr_Occurred()) SWIG_fail
;
34969 resultobj
= SWIG_Py_Void();
34976 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34977 PyObject
*resultobj
= 0;
34978 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34979 wxTreeItemId
*arg2
= 0 ;
34980 bool arg3
= (bool) true ;
34987 PyObject
* obj0
= 0 ;
34988 PyObject
* obj1
= 0 ;
34989 PyObject
* obj2
= 0 ;
34990 char * kwnames
[] = {
34991 (char *) "self",(char *) "item",(char *) "bold", NULL
34994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34996 if (!SWIG_IsOK(res1
)) {
34997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34999 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35000 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35001 if (!SWIG_IsOK(res2
)) {
35002 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35005 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35007 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35009 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35010 if (!SWIG_IsOK(ecode3
)) {
35011 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
35013 arg3
= static_cast< bool >(val3
);
35016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35017 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
35018 wxPyEndAllowThreads(__tstate
);
35019 if (PyErr_Occurred()) SWIG_fail
;
35021 resultobj
= SWIG_Py_Void();
35028 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35029 PyObject
*resultobj
= 0;
35030 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35031 wxTreeItemId
*arg2
= 0 ;
35032 bool arg3
= (bool) true ;
35039 PyObject
* obj0
= 0 ;
35040 PyObject
* obj1
= 0 ;
35041 PyObject
* obj2
= 0 ;
35042 char * kwnames
[] = {
35043 (char *) "self",(char *) "item",(char *) "highlight", NULL
35046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35048 if (!SWIG_IsOK(res1
)) {
35049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35051 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35052 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35053 if (!SWIG_IsOK(res2
)) {
35054 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35057 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35059 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35061 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35062 if (!SWIG_IsOK(ecode3
)) {
35063 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
35065 arg3
= static_cast< bool >(val3
);
35068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35069 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
35070 wxPyEndAllowThreads(__tstate
);
35071 if (PyErr_Occurred()) SWIG_fail
;
35073 resultobj
= SWIG_Py_Void();
35080 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35081 PyObject
*resultobj
= 0;
35082 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35083 wxTreeItemId
*arg2
= 0 ;
35084 wxColour
*arg3
= 0 ;
35090 PyObject
* obj0
= 0 ;
35091 PyObject
* obj1
= 0 ;
35092 PyObject
* obj2
= 0 ;
35093 char * kwnames
[] = {
35094 (char *) "self",(char *) "item",(char *) "col", NULL
35097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35099 if (!SWIG_IsOK(res1
)) {
35100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35102 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35103 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35104 if (!SWIG_IsOK(res2
)) {
35105 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35108 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35110 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35113 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35117 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
35118 wxPyEndAllowThreads(__tstate
);
35119 if (PyErr_Occurred()) SWIG_fail
;
35121 resultobj
= SWIG_Py_Void();
35128 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35129 PyObject
*resultobj
= 0;
35130 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35131 wxTreeItemId
*arg2
= 0 ;
35132 wxColour
*arg3
= 0 ;
35138 PyObject
* obj0
= 0 ;
35139 PyObject
* obj1
= 0 ;
35140 PyObject
* obj2
= 0 ;
35141 char * kwnames
[] = {
35142 (char *) "self",(char *) "item",(char *) "col", NULL
35145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35147 if (!SWIG_IsOK(res1
)) {
35148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35150 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35151 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35152 if (!SWIG_IsOK(res2
)) {
35153 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35156 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35158 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35161 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35165 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
35166 wxPyEndAllowThreads(__tstate
);
35167 if (PyErr_Occurred()) SWIG_fail
;
35169 resultobj
= SWIG_Py_Void();
35176 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35177 PyObject
*resultobj
= 0;
35178 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35179 wxTreeItemId
*arg2
= 0 ;
35187 PyObject
* obj0
= 0 ;
35188 PyObject
* obj1
= 0 ;
35189 PyObject
* obj2
= 0 ;
35190 char * kwnames
[] = {
35191 (char *) "self",(char *) "item",(char *) "font", NULL
35194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35196 if (!SWIG_IsOK(res1
)) {
35197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35199 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35200 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35201 if (!SWIG_IsOK(res2
)) {
35202 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35205 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35207 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35208 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
35209 if (!SWIG_IsOK(res3
)) {
35210 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35213 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35215 arg3
= reinterpret_cast< wxFont
* >(argp3
);
35217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35218 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
35219 wxPyEndAllowThreads(__tstate
);
35220 if (PyErr_Occurred()) SWIG_fail
;
35222 resultobj
= SWIG_Py_Void();
35229 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35230 PyObject
*resultobj
= 0;
35231 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35232 wxTreeItemId
*arg2
= 0 ;
35238 PyObject
* obj0
= 0 ;
35239 PyObject
* obj1
= 0 ;
35240 char * kwnames
[] = {
35241 (char *) "self",(char *) "item", NULL
35244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35246 if (!SWIG_IsOK(res1
)) {
35247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35249 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35250 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35251 if (!SWIG_IsOK(res2
)) {
35252 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35255 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35257 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35260 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
35261 wxPyEndAllowThreads(__tstate
);
35262 if (PyErr_Occurred()) SWIG_fail
;
35265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35273 SWIGINTERN PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35274 PyObject
*resultobj
= 0;
35275 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35276 wxTreeItemId
*arg2
= 0 ;
35282 PyObject
* obj0
= 0 ;
35283 PyObject
* obj1
= 0 ;
35284 char * kwnames
[] = {
35285 (char *) "self",(char *) "item", NULL
35288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35290 if (!SWIG_IsOK(res1
)) {
35291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35293 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35294 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35295 if (!SWIG_IsOK(res2
)) {
35296 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35299 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35301 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35304 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
35305 wxPyEndAllowThreads(__tstate
);
35306 if (PyErr_Occurred()) SWIG_fail
;
35309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35317 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35318 PyObject
*resultobj
= 0;
35319 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35320 wxTreeItemId
*arg2
= 0 ;
35326 PyObject
* obj0
= 0 ;
35327 PyObject
* obj1
= 0 ;
35328 char * kwnames
[] = {
35329 (char *) "self",(char *) "item", NULL
35332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35334 if (!SWIG_IsOK(res1
)) {
35335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35337 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35338 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35339 if (!SWIG_IsOK(res2
)) {
35340 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35343 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35345 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35348 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
35349 wxPyEndAllowThreads(__tstate
);
35350 if (PyErr_Occurred()) SWIG_fail
;
35353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35361 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35362 PyObject
*resultobj
= 0;
35363 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35364 wxTreeItemId
*arg2
= 0 ;
35370 PyObject
* obj0
= 0 ;
35371 PyObject
* obj1
= 0 ;
35372 char * kwnames
[] = {
35373 (char *) "self",(char *) "item", NULL
35376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35378 if (!SWIG_IsOK(res1
)) {
35379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35381 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35382 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35383 if (!SWIG_IsOK(res2
)) {
35384 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35387 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35389 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35392 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
35393 wxPyEndAllowThreads(__tstate
);
35394 if (PyErr_Occurred()) SWIG_fail
;
35397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35405 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35406 PyObject
*resultobj
= 0;
35407 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35408 wxTreeItemId
*arg2
= 0 ;
35414 PyObject
* obj0
= 0 ;
35415 PyObject
* obj1
= 0 ;
35416 char * kwnames
[] = {
35417 (char *) "self",(char *) "item", NULL
35420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35422 if (!SWIG_IsOK(res1
)) {
35423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35425 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35426 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35427 if (!SWIG_IsOK(res2
)) {
35428 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35431 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35433 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35436 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
35437 wxPyEndAllowThreads(__tstate
);
35438 if (PyErr_Occurred()) SWIG_fail
;
35441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35449 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35450 PyObject
*resultobj
= 0;
35451 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35452 wxTreeItemId
*arg2
= 0 ;
35453 bool arg3
= (bool) true ;
35461 PyObject
* obj0
= 0 ;
35462 PyObject
* obj1
= 0 ;
35463 PyObject
* obj2
= 0 ;
35464 char * kwnames
[] = {
35465 (char *) "self",(char *) "item",(char *) "recursively", NULL
35468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35470 if (!SWIG_IsOK(res1
)) {
35471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35473 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35474 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35475 if (!SWIG_IsOK(res2
)) {
35476 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35479 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35481 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35483 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35484 if (!SWIG_IsOK(ecode3
)) {
35485 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
35487 arg3
= static_cast< bool >(val3
);
35490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35491 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
35492 wxPyEndAllowThreads(__tstate
);
35493 if (PyErr_Occurred()) SWIG_fail
;
35495 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
35502 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35503 PyObject
*resultobj
= 0;
35504 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35505 wxTreeItemId result
;
35508 PyObject
*swig_obj
[1] ;
35510 if (!args
) SWIG_fail
;
35511 swig_obj
[0] = args
;
35512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35513 if (!SWIG_IsOK(res1
)) {
35514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35516 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35519 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
35520 wxPyEndAllowThreads(__tstate
);
35521 if (PyErr_Occurred()) SWIG_fail
;
35523 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35530 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35531 PyObject
*resultobj
= 0;
35532 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35533 wxTreeItemId result
;
35536 PyObject
*swig_obj
[1] ;
35538 if (!args
) SWIG_fail
;
35539 swig_obj
[0] = args
;
35540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35541 if (!SWIG_IsOK(res1
)) {
35542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35544 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35547 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
35548 wxPyEndAllowThreads(__tstate
);
35549 if (PyErr_Occurred()) SWIG_fail
;
35551 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35558 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35559 PyObject
*resultobj
= 0;
35560 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35561 PyObject
*result
= 0 ;
35564 PyObject
*swig_obj
[1] ;
35566 if (!args
) SWIG_fail
;
35567 swig_obj
[0] = args
;
35568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35569 if (!SWIG_IsOK(res1
)) {
35570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35572 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35575 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
35576 wxPyEndAllowThreads(__tstate
);
35577 if (PyErr_Occurred()) SWIG_fail
;
35579 resultobj
= result
;
35586 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35587 PyObject
*resultobj
= 0;
35588 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35589 wxTreeItemId
*arg2
= 0 ;
35590 wxTreeItemId result
;
35595 PyObject
* obj0
= 0 ;
35596 PyObject
* obj1
= 0 ;
35597 char * kwnames
[] = {
35598 (char *) "self",(char *) "item", NULL
35601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35603 if (!SWIG_IsOK(res1
)) {
35604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35606 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35607 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35608 if (!SWIG_IsOK(res2
)) {
35609 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35612 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35614 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35617 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
35618 wxPyEndAllowThreads(__tstate
);
35619 if (PyErr_Occurred()) SWIG_fail
;
35621 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35628 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35629 PyObject
*resultobj
= 0;
35630 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35631 wxTreeItemId
*arg2
= 0 ;
35632 PyObject
*result
= 0 ;
35637 PyObject
* obj0
= 0 ;
35638 PyObject
* obj1
= 0 ;
35639 char * kwnames
[] = {
35640 (char *) "self",(char *) "item", NULL
35643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35645 if (!SWIG_IsOK(res1
)) {
35646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35648 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35649 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35650 if (!SWIG_IsOK(res2
)) {
35651 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35654 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35656 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35659 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
35660 wxPyEndAllowThreads(__tstate
);
35661 if (PyErr_Occurred()) SWIG_fail
;
35663 resultobj
= result
;
35670 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35671 PyObject
*resultobj
= 0;
35672 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35673 wxTreeItemId
*arg2
= 0 ;
35674 void *arg3
= (void *) 0 ;
35675 PyObject
*result
= 0 ;
35681 PyObject
* obj0
= 0 ;
35682 PyObject
* obj1
= 0 ;
35683 PyObject
* obj2
= 0 ;
35684 char * kwnames
[] = {
35685 (char *) "self",(char *) "item",(char *) "cookie", NULL
35688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35690 if (!SWIG_IsOK(res1
)) {
35691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35693 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35694 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35695 if (!SWIG_IsOK(res2
)) {
35696 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35699 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35701 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35702 res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
), 0, 0);
35703 if (!SWIG_IsOK(res3
)) {
35704 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
35707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35708 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35709 wxPyEndAllowThreads(__tstate
);
35710 if (PyErr_Occurred()) SWIG_fail
;
35712 resultobj
= result
;
35719 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35720 PyObject
*resultobj
= 0;
35721 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35722 wxTreeItemId
*arg2
= 0 ;
35723 wxTreeItemId result
;
35728 PyObject
* obj0
= 0 ;
35729 PyObject
* obj1
= 0 ;
35730 char * kwnames
[] = {
35731 (char *) "self",(char *) "item", NULL
35734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35736 if (!SWIG_IsOK(res1
)) {
35737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35739 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35740 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35741 if (!SWIG_IsOK(res2
)) {
35742 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35745 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35747 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35750 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
35751 wxPyEndAllowThreads(__tstate
);
35752 if (PyErr_Occurred()) SWIG_fail
;
35754 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35761 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35762 PyObject
*resultobj
= 0;
35763 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35764 wxTreeItemId
*arg2
= 0 ;
35765 wxTreeItemId result
;
35770 PyObject
* obj0
= 0 ;
35771 PyObject
* obj1
= 0 ;
35772 char * kwnames
[] = {
35773 (char *) "self",(char *) "item", NULL
35776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35778 if (!SWIG_IsOK(res1
)) {
35779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35781 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35782 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35783 if (!SWIG_IsOK(res2
)) {
35784 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35787 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35789 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35792 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
35793 wxPyEndAllowThreads(__tstate
);
35794 if (PyErr_Occurred()) SWIG_fail
;
35796 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35803 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35804 PyObject
*resultobj
= 0;
35805 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35806 wxTreeItemId
*arg2
= 0 ;
35807 wxTreeItemId result
;
35812 PyObject
* obj0
= 0 ;
35813 PyObject
* obj1
= 0 ;
35814 char * kwnames
[] = {
35815 (char *) "self",(char *) "item", NULL
35818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35820 if (!SWIG_IsOK(res1
)) {
35821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35823 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35824 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35825 if (!SWIG_IsOK(res2
)) {
35826 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35829 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35831 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35834 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
35835 wxPyEndAllowThreads(__tstate
);
35836 if (PyErr_Occurred()) SWIG_fail
;
35838 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35845 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35846 PyObject
*resultobj
= 0;
35847 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35848 wxTreeItemId result
;
35851 PyObject
*swig_obj
[1] ;
35853 if (!args
) SWIG_fail
;
35854 swig_obj
[0] = args
;
35855 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35856 if (!SWIG_IsOK(res1
)) {
35857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35859 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35862 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
35863 wxPyEndAllowThreads(__tstate
);
35864 if (PyErr_Occurred()) SWIG_fail
;
35866 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35873 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35874 PyObject
*resultobj
= 0;
35875 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35876 wxTreeItemId
*arg2
= 0 ;
35877 wxTreeItemId result
;
35882 PyObject
* obj0
= 0 ;
35883 PyObject
* obj1
= 0 ;
35884 char * kwnames
[] = {
35885 (char *) "self",(char *) "item", NULL
35888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35890 if (!SWIG_IsOK(res1
)) {
35891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35893 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35894 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35895 if (!SWIG_IsOK(res2
)) {
35896 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35899 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35901 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35904 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
35905 wxPyEndAllowThreads(__tstate
);
35906 if (PyErr_Occurred()) SWIG_fail
;
35908 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35915 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35916 PyObject
*resultobj
= 0;
35917 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35918 wxTreeItemId
*arg2
= 0 ;
35919 wxTreeItemId result
;
35924 PyObject
* obj0
= 0 ;
35925 PyObject
* obj1
= 0 ;
35926 char * kwnames
[] = {
35927 (char *) "self",(char *) "item", NULL
35930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35932 if (!SWIG_IsOK(res1
)) {
35933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35935 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35936 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35937 if (!SWIG_IsOK(res2
)) {
35938 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35941 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35943 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35946 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
35947 wxPyEndAllowThreads(__tstate
);
35948 if (PyErr_Occurred()) SWIG_fail
;
35950 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35957 SWIGINTERN PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35958 PyObject
*resultobj
= 0;
35959 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35960 wxString
*arg2
= 0 ;
35961 int arg3
= (int) -1 ;
35962 int arg4
= (int) -1 ;
35963 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
35964 wxTreeItemId result
;
35967 bool temp2
= false ;
35973 PyObject
* obj0
= 0 ;
35974 PyObject
* obj1
= 0 ;
35975 PyObject
* obj2
= 0 ;
35976 PyObject
* obj3
= 0 ;
35977 PyObject
* obj4
= 0 ;
35978 char * kwnames
[] = {
35979 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35984 if (!SWIG_IsOK(res1
)) {
35985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35987 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35989 arg2
= wxString_in_helper(obj1
);
35990 if (arg2
== NULL
) SWIG_fail
;
35994 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35995 if (!SWIG_IsOK(ecode3
)) {
35996 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
35998 arg3
= static_cast< int >(val3
);
36001 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36002 if (!SWIG_IsOK(ecode4
)) {
36003 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
36005 arg4
= static_cast< int >(val4
);
36008 res5
= SWIG_ConvertPtr(obj4
, SWIG_as_voidptrptr(&arg5
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36009 if (!SWIG_IsOK(res5
)) {
36010 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
36014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36015 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
36016 wxPyEndAllowThreads(__tstate
);
36017 if (PyErr_Occurred()) SWIG_fail
;
36019 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36034 SWIGINTERN PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36035 PyObject
*resultobj
= 0;
36036 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36037 wxTreeItemId
*arg2
= 0 ;
36038 wxString
*arg3
= 0 ;
36039 int arg4
= (int) -1 ;
36040 int arg5
= (int) -1 ;
36041 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
36042 wxTreeItemId result
;
36047 bool temp3
= false ;
36053 PyObject
* obj0
= 0 ;
36054 PyObject
* obj1
= 0 ;
36055 PyObject
* obj2
= 0 ;
36056 PyObject
* obj3
= 0 ;
36057 PyObject
* obj4
= 0 ;
36058 PyObject
* obj5
= 0 ;
36059 char * kwnames
[] = {
36060 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36065 if (!SWIG_IsOK(res1
)) {
36066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36068 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36069 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36070 if (!SWIG_IsOK(res2
)) {
36071 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36074 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36076 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36078 arg3
= wxString_in_helper(obj2
);
36079 if (arg3
== NULL
) SWIG_fail
;
36083 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36084 if (!SWIG_IsOK(ecode4
)) {
36085 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
36087 arg4
= static_cast< int >(val4
);
36090 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36091 if (!SWIG_IsOK(ecode5
)) {
36092 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
36094 arg5
= static_cast< int >(val5
);
36097 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36098 if (!SWIG_IsOK(res6
)) {
36099 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36104 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
36105 wxPyEndAllowThreads(__tstate
);
36106 if (PyErr_Occurred()) SWIG_fail
;
36108 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36123 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36124 PyObject
*resultobj
= 0;
36125 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36126 wxTreeItemId
*arg2
= 0 ;
36127 wxTreeItemId
*arg3
= 0 ;
36128 wxString
*arg4
= 0 ;
36129 int arg5
= (int) -1 ;
36130 int arg6
= (int) -1 ;
36131 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
36132 wxTreeItemId result
;
36139 bool temp4
= false ;
36145 PyObject
* obj0
= 0 ;
36146 PyObject
* obj1
= 0 ;
36147 PyObject
* obj2
= 0 ;
36148 PyObject
* obj3
= 0 ;
36149 PyObject
* obj4
= 0 ;
36150 PyObject
* obj5
= 0 ;
36151 PyObject
* obj6
= 0 ;
36152 char * kwnames
[] = {
36153 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36158 if (!SWIG_IsOK(res1
)) {
36159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36161 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36162 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36163 if (!SWIG_IsOK(res2
)) {
36164 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36167 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36169 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36170 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36171 if (!SWIG_IsOK(res3
)) {
36172 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36175 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36177 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
36179 arg4
= wxString_in_helper(obj3
);
36180 if (arg4
== NULL
) SWIG_fail
;
36184 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36185 if (!SWIG_IsOK(ecode5
)) {
36186 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
36188 arg5
= static_cast< int >(val5
);
36191 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36192 if (!SWIG_IsOK(ecode6
)) {
36193 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
36195 arg6
= static_cast< int >(val6
);
36198 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36199 if (!SWIG_IsOK(res7
)) {
36200 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36205 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36206 wxPyEndAllowThreads(__tstate
);
36207 if (PyErr_Occurred()) SWIG_fail
;
36209 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36224 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36225 PyObject
*resultobj
= 0;
36226 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36227 wxTreeItemId
*arg2
= 0 ;
36229 wxString
*arg4
= 0 ;
36230 int arg5
= (int) -1 ;
36231 int arg6
= (int) -1 ;
36232 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
36233 wxTreeItemId result
;
36240 bool temp4
= false ;
36246 PyObject
* obj0
= 0 ;
36247 PyObject
* obj1
= 0 ;
36248 PyObject
* obj2
= 0 ;
36249 PyObject
* obj3
= 0 ;
36250 PyObject
* obj4
= 0 ;
36251 PyObject
* obj5
= 0 ;
36252 PyObject
* obj6
= 0 ;
36253 char * kwnames
[] = {
36254 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36259 if (!SWIG_IsOK(res1
)) {
36260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36262 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36263 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36264 if (!SWIG_IsOK(res2
)) {
36265 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36268 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36270 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36271 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
36272 if (!SWIG_IsOK(ecode3
)) {
36273 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
36275 arg3
= static_cast< size_t >(val3
);
36277 arg4
= wxString_in_helper(obj3
);
36278 if (arg4
== NULL
) SWIG_fail
;
36282 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36283 if (!SWIG_IsOK(ecode5
)) {
36284 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
36286 arg5
= static_cast< int >(val5
);
36289 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36290 if (!SWIG_IsOK(ecode6
)) {
36291 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
36293 arg6
= static_cast< int >(val6
);
36296 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36297 if (!SWIG_IsOK(res7
)) {
36298 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36303 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36304 wxPyEndAllowThreads(__tstate
);
36305 if (PyErr_Occurred()) SWIG_fail
;
36307 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36322 SWIGINTERN PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36323 PyObject
*resultobj
= 0;
36324 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36325 wxTreeItemId
*arg2
= 0 ;
36326 wxString
*arg3
= 0 ;
36327 int arg4
= (int) -1 ;
36328 int arg5
= (int) -1 ;
36329 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
36330 wxTreeItemId result
;
36335 bool temp3
= false ;
36341 PyObject
* obj0
= 0 ;
36342 PyObject
* obj1
= 0 ;
36343 PyObject
* obj2
= 0 ;
36344 PyObject
* obj3
= 0 ;
36345 PyObject
* obj4
= 0 ;
36346 PyObject
* obj5
= 0 ;
36347 char * kwnames
[] = {
36348 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36353 if (!SWIG_IsOK(res1
)) {
36354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36356 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36357 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36358 if (!SWIG_IsOK(res2
)) {
36359 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36362 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36364 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36366 arg3
= wxString_in_helper(obj2
);
36367 if (arg3
== NULL
) SWIG_fail
;
36371 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36372 if (!SWIG_IsOK(ecode4
)) {
36373 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
36375 arg4
= static_cast< int >(val4
);
36378 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36379 if (!SWIG_IsOK(ecode5
)) {
36380 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
36382 arg5
= static_cast< int >(val5
);
36385 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36386 if (!SWIG_IsOK(res6
)) {
36387 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36392 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
36393 wxPyEndAllowThreads(__tstate
);
36394 if (PyErr_Occurred()) SWIG_fail
;
36396 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36411 SWIGINTERN PyObject
*_wrap_TreeCtrl_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36412 PyObject
*resultobj
= 0;
36413 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36414 wxTreeItemId
*arg2
= 0 ;
36419 PyObject
* obj0
= 0 ;
36420 PyObject
* obj1
= 0 ;
36421 char * kwnames
[] = {
36422 (char *) "self",(char *) "item", NULL
36425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36427 if (!SWIG_IsOK(res1
)) {
36428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36430 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36431 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36432 if (!SWIG_IsOK(res2
)) {
36433 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36436 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36438 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36441 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
36442 wxPyEndAllowThreads(__tstate
);
36443 if (PyErr_Occurred()) SWIG_fail
;
36445 resultobj
= SWIG_Py_Void();
36452 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36453 PyObject
*resultobj
= 0;
36454 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36455 wxTreeItemId
*arg2
= 0 ;
36460 PyObject
* obj0
= 0 ;
36461 PyObject
* obj1
= 0 ;
36462 char * kwnames
[] = {
36463 (char *) "self",(char *) "item", NULL
36466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36468 if (!SWIG_IsOK(res1
)) {
36469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36471 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36472 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36473 if (!SWIG_IsOK(res2
)) {
36474 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36477 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36479 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36482 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
36483 wxPyEndAllowThreads(__tstate
);
36484 if (PyErr_Occurred()) SWIG_fail
;
36486 resultobj
= SWIG_Py_Void();
36493 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36494 PyObject
*resultobj
= 0;
36495 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36498 PyObject
*swig_obj
[1] ;
36500 if (!args
) SWIG_fail
;
36501 swig_obj
[0] = args
;
36502 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36503 if (!SWIG_IsOK(res1
)) {
36504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36506 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36509 (arg1
)->DeleteAllItems();
36510 wxPyEndAllowThreads(__tstate
);
36511 if (PyErr_Occurred()) SWIG_fail
;
36513 resultobj
= SWIG_Py_Void();
36520 SWIGINTERN PyObject
*_wrap_TreeCtrl_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36521 PyObject
*resultobj
= 0;
36522 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36523 wxTreeItemId
*arg2
= 0 ;
36528 PyObject
* obj0
= 0 ;
36529 PyObject
* obj1
= 0 ;
36530 char * kwnames
[] = {
36531 (char *) "self",(char *) "item", NULL
36534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36536 if (!SWIG_IsOK(res1
)) {
36537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36539 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36540 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36541 if (!SWIG_IsOK(res2
)) {
36542 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36545 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36547 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36550 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
36551 wxPyEndAllowThreads(__tstate
);
36552 if (PyErr_Occurred()) SWIG_fail
;
36554 resultobj
= SWIG_Py_Void();
36561 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAllChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36562 PyObject
*resultobj
= 0;
36563 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36564 wxTreeItemId
*arg2
= 0 ;
36569 PyObject
* obj0
= 0 ;
36570 PyObject
* obj1
= 0 ;
36571 char * kwnames
[] = {
36572 (char *) "self",(char *) "item", NULL
36575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ExpandAllChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36577 if (!SWIG_IsOK(res1
)) {
36578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36580 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36581 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36582 if (!SWIG_IsOK(res2
)) {
36583 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36586 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36588 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36591 (arg1
)->ExpandAllChildren((wxTreeItemId
const &)*arg2
);
36592 wxPyEndAllowThreads(__tstate
);
36593 if (PyErr_Occurred()) SWIG_fail
;
36595 resultobj
= SWIG_Py_Void();
36602 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36603 PyObject
*resultobj
= 0;
36604 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36607 PyObject
*swig_obj
[1] ;
36609 if (!args
) SWIG_fail
;
36610 swig_obj
[0] = args
;
36611 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36612 if (!SWIG_IsOK(res1
)) {
36613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36615 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36618 (arg1
)->ExpandAll();
36619 wxPyEndAllowThreads(__tstate
);
36620 if (PyErr_Occurred()) SWIG_fail
;
36622 resultobj
= SWIG_Py_Void();
36629 SWIGINTERN PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36630 PyObject
*resultobj
= 0;
36631 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36632 wxTreeItemId
*arg2
= 0 ;
36637 PyObject
* obj0
= 0 ;
36638 PyObject
* obj1
= 0 ;
36639 char * kwnames
[] = {
36640 (char *) "self",(char *) "item", NULL
36643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36645 if (!SWIG_IsOK(res1
)) {
36646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36648 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36649 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36650 if (!SWIG_IsOK(res2
)) {
36651 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36654 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36656 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36659 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
36660 wxPyEndAllowThreads(__tstate
);
36661 if (PyErr_Occurred()) SWIG_fail
;
36663 resultobj
= SWIG_Py_Void();
36670 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36671 PyObject
*resultobj
= 0;
36672 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36673 wxTreeItemId
*arg2
= 0 ;
36678 PyObject
* obj0
= 0 ;
36679 PyObject
* obj1
= 0 ;
36680 char * kwnames
[] = {
36681 (char *) "self",(char *) "item", NULL
36684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36686 if (!SWIG_IsOK(res1
)) {
36687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36689 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36690 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36691 if (!SWIG_IsOK(res2
)) {
36692 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36695 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36697 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36700 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
36701 wxPyEndAllowThreads(__tstate
);
36702 if (PyErr_Occurred()) SWIG_fail
;
36704 resultobj
= SWIG_Py_Void();
36711 SWIGINTERN PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36712 PyObject
*resultobj
= 0;
36713 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36714 wxTreeItemId
*arg2
= 0 ;
36719 PyObject
* obj0
= 0 ;
36720 PyObject
* obj1
= 0 ;
36721 char * kwnames
[] = {
36722 (char *) "self",(char *) "item", NULL
36725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36727 if (!SWIG_IsOK(res1
)) {
36728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36730 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36731 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36732 if (!SWIG_IsOK(res2
)) {
36733 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36736 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36738 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36741 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
36742 wxPyEndAllowThreads(__tstate
);
36743 if (PyErr_Occurred()) SWIG_fail
;
36745 resultobj
= SWIG_Py_Void();
36752 SWIGINTERN PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36753 PyObject
*resultobj
= 0;
36754 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36757 PyObject
*swig_obj
[1] ;
36759 if (!args
) SWIG_fail
;
36760 swig_obj
[0] = args
;
36761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36762 if (!SWIG_IsOK(res1
)) {
36763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36765 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36768 (arg1
)->Unselect();
36769 wxPyEndAllowThreads(__tstate
);
36770 if (PyErr_Occurred()) SWIG_fail
;
36772 resultobj
= SWIG_Py_Void();
36779 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36780 PyObject
*resultobj
= 0;
36781 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36782 wxTreeItemId
*arg2
= 0 ;
36787 PyObject
* obj0
= 0 ;
36788 PyObject
* obj1
= 0 ;
36789 char * kwnames
[] = {
36790 (char *) "self",(char *) "item", NULL
36793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36795 if (!SWIG_IsOK(res1
)) {
36796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36798 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36799 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36800 if (!SWIG_IsOK(res2
)) {
36801 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36804 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36806 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36809 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
36810 wxPyEndAllowThreads(__tstate
);
36811 if (PyErr_Occurred()) SWIG_fail
;
36813 resultobj
= SWIG_Py_Void();
36820 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36821 PyObject
*resultobj
= 0;
36822 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36825 PyObject
*swig_obj
[1] ;
36827 if (!args
) SWIG_fail
;
36828 swig_obj
[0] = args
;
36829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36830 if (!SWIG_IsOK(res1
)) {
36831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36833 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36836 (arg1
)->UnselectAll();
36837 wxPyEndAllowThreads(__tstate
);
36838 if (PyErr_Occurred()) SWIG_fail
;
36840 resultobj
= SWIG_Py_Void();
36847 SWIGINTERN PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36848 PyObject
*resultobj
= 0;
36849 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36850 wxTreeItemId
*arg2
= 0 ;
36851 bool arg3
= (bool) true ;
36858 PyObject
* obj0
= 0 ;
36859 PyObject
* obj1
= 0 ;
36860 PyObject
* obj2
= 0 ;
36861 char * kwnames
[] = {
36862 (char *) "self",(char *) "item",(char *) "select", NULL
36865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36867 if (!SWIG_IsOK(res1
)) {
36868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36870 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36871 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36872 if (!SWIG_IsOK(res2
)) {
36873 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36876 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36878 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36880 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36881 if (!SWIG_IsOK(ecode3
)) {
36882 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
36884 arg3
= static_cast< bool >(val3
);
36887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36888 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
36889 wxPyEndAllowThreads(__tstate
);
36890 if (PyErr_Occurred()) SWIG_fail
;
36892 resultobj
= SWIG_Py_Void();
36899 SWIGINTERN PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36900 PyObject
*resultobj
= 0;
36901 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36902 wxTreeItemId
*arg2
= 0 ;
36907 PyObject
* obj0
= 0 ;
36908 PyObject
* obj1
= 0 ;
36909 char * kwnames
[] = {
36910 (char *) "self",(char *) "item", NULL
36913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36915 if (!SWIG_IsOK(res1
)) {
36916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36918 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36919 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36920 if (!SWIG_IsOK(res2
)) {
36921 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36924 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36926 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36929 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
36930 wxPyEndAllowThreads(__tstate
);
36931 if (PyErr_Occurred()) SWIG_fail
;
36933 resultobj
= SWIG_Py_Void();
36940 SWIGINTERN PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36941 PyObject
*resultobj
= 0;
36942 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36943 wxTreeItemId
*arg2
= 0 ;
36948 PyObject
* obj0
= 0 ;
36949 PyObject
* obj1
= 0 ;
36950 char * kwnames
[] = {
36951 (char *) "self",(char *) "item", NULL
36954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36956 if (!SWIG_IsOK(res1
)) {
36957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36959 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36960 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36961 if (!SWIG_IsOK(res2
)) {
36962 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36965 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36967 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36970 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
36971 wxPyEndAllowThreads(__tstate
);
36972 if (PyErr_Occurred()) SWIG_fail
;
36974 resultobj
= SWIG_Py_Void();
36981 SWIGINTERN PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36982 PyObject
*resultobj
= 0;
36983 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36984 wxTreeItemId
*arg2
= 0 ;
36989 PyObject
* obj0
= 0 ;
36990 PyObject
* obj1
= 0 ;
36991 char * kwnames
[] = {
36992 (char *) "self",(char *) "item", NULL
36995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36997 if (!SWIG_IsOK(res1
)) {
36998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37000 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37001 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37002 if (!SWIG_IsOK(res2
)) {
37003 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37006 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37008 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37011 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
37012 wxPyEndAllowThreads(__tstate
);
37013 if (PyErr_Occurred()) SWIG_fail
;
37015 resultobj
= SWIG_Py_Void();
37022 SWIGINTERN PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37023 PyObject
*resultobj
= 0;
37024 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37025 wxTreeItemId
*arg2
= 0 ;
37030 PyObject
* obj0
= 0 ;
37031 PyObject
* obj1
= 0 ;
37032 char * kwnames
[] = {
37033 (char *) "self",(char *) "item", NULL
37036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37038 if (!SWIG_IsOK(res1
)) {
37039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37041 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37042 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37043 if (!SWIG_IsOK(res2
)) {
37044 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37047 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37049 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37052 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
37053 wxPyEndAllowThreads(__tstate
);
37054 if (PyErr_Occurred()) SWIG_fail
;
37056 resultobj
= SWIG_Py_Void();
37063 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37064 PyObject
*resultobj
= 0;
37065 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37066 wxTextCtrl
*result
= 0 ;
37069 PyObject
*swig_obj
[1] ;
37071 if (!args
) SWIG_fail
;
37072 swig_obj
[0] = args
;
37073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37074 if (!SWIG_IsOK(res1
)) {
37075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37077 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37080 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
37081 wxPyEndAllowThreads(__tstate
);
37082 if (PyErr_Occurred()) SWIG_fail
;
37085 resultobj
= wxPyMake_wxObject(result
, 0);
37093 SWIGINTERN PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37094 PyObject
*resultobj
= 0;
37095 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37096 wxTreeItemId
*arg2
= 0 ;
37101 PyObject
* obj0
= 0 ;
37102 PyObject
* obj1
= 0 ;
37103 char * kwnames
[] = {
37104 (char *) "self",(char *) "item", NULL
37107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37109 if (!SWIG_IsOK(res1
)) {
37110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37112 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37113 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37114 if (!SWIG_IsOK(res2
)) {
37115 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37118 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37120 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37123 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
37124 wxPyEndAllowThreads(__tstate
);
37125 if (PyErr_Occurred()) SWIG_fail
;
37127 resultobj
= SWIG_Py_Void();
37134 SWIGINTERN PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37135 PyObject
*resultobj
= 0;
37136 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37137 wxPoint
*arg2
= 0 ;
37139 wxTreeItemId result
;
37144 int res3
= SWIG_TMPOBJ
;
37145 PyObject
* obj0
= 0 ;
37146 PyObject
* obj1
= 0 ;
37147 char * kwnames
[] = {
37148 (char *) "self",(char *) "point", NULL
37152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37154 if (!SWIG_IsOK(res1
)) {
37155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37157 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37160 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37164 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
37165 wxPyEndAllowThreads(__tstate
);
37166 if (PyErr_Occurred()) SWIG_fail
;
37168 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37169 if (SWIG_IsTmpObj(res3
)) {
37170 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
37172 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
37173 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
37181 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37182 PyObject
*resultobj
= 0;
37183 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37184 wxTreeItemId
*arg2
= 0 ;
37185 bool arg3
= (bool) false ;
37186 PyObject
*result
= 0 ;
37193 PyObject
* obj0
= 0 ;
37194 PyObject
* obj1
= 0 ;
37195 PyObject
* obj2
= 0 ;
37196 char * kwnames
[] = {
37197 (char *) "self",(char *) "item",(char *) "textOnly", NULL
37200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37202 if (!SWIG_IsOK(res1
)) {
37203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37205 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37206 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37207 if (!SWIG_IsOK(res2
)) {
37208 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37211 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37213 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37215 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37216 if (!SWIG_IsOK(ecode3
)) {
37217 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
37219 arg3
= static_cast< bool >(val3
);
37222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37223 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
37224 wxPyEndAllowThreads(__tstate
);
37225 if (PyErr_Occurred()) SWIG_fail
;
37227 resultobj
= result
;
37234 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37235 PyObject
*resultobj
= 0;
37236 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
37237 SwigValueWrapper
<wxVisualAttributes
> result
;
37240 PyObject
* obj0
= 0 ;
37241 char * kwnames
[] = {
37242 (char *) "variant", NULL
37245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
37247 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
37248 if (!SWIG_IsOK(ecode1
)) {
37249 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
37251 arg1
= static_cast< wxWindowVariant
>(val1
);
37254 if (!wxPyCheckForApp()) SWIG_fail
;
37255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37256 result
= wxPyTreeCtrl::GetClassDefaultAttributes(arg1
);
37257 wxPyEndAllowThreads(__tstate
);
37258 if (PyErr_Occurred()) SWIG_fail
;
37260 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
37267 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37268 PyObject
*resultobj
= 0;
37269 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37275 PyObject
* obj0
= 0 ;
37276 PyObject
* obj1
= 0 ;
37277 char * kwnames
[] = {
37278 (char *) "self",(char *) "q", NULL
37281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetQuickBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37283 if (!SWIG_IsOK(res1
)) {
37284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37286 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37287 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37288 if (!SWIG_IsOK(ecode2
)) {
37289 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "2"" of type '" "bool""'");
37291 arg2
= static_cast< bool >(val2
);
37293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37294 (arg1
)->SetQuickBestSize(arg2
);
37295 wxPyEndAllowThreads(__tstate
);
37296 if (PyErr_Occurred()) SWIG_fail
;
37298 resultobj
= SWIG_Py_Void();
37305 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37306 PyObject
*resultobj
= 0;
37307 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37311 PyObject
*swig_obj
[1] ;
37313 if (!args
) SWIG_fail
;
37314 swig_obj
[0] = args
;
37315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37316 if (!SWIG_IsOK(res1
)) {
37317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37319 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37322 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->GetQuickBestSize();
37323 wxPyEndAllowThreads(__tstate
);
37324 if (PyErr_Occurred()) SWIG_fail
;
37327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37335 SWIGINTERN PyObject
*TreeCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37337 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37338 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl
, SWIG_NewClientData(obj
));
37339 return SWIG_Py_Void();
37342 SWIGINTERN PyObject
*TreeCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37343 return SWIG_Python_InitShadowInstance(args
);
37346 SWIGINTERN
int DirDialogDefaultFolderStr_set(PyObject
*) {
37347 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogDefaultFolderStr is read-only.");
37352 SWIGINTERN PyObject
*DirDialogDefaultFolderStr_get(void) {
37353 PyObject
*pyobj
= 0;
37357 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37359 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37366 SWIGINTERN PyObject
*_wrap_new_GenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37367 PyObject
*resultobj
= 0;
37368 wxWindow
*arg1
= (wxWindow
*) 0 ;
37369 int arg2
= (int) (int)-1 ;
37370 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
37371 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
37372 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37373 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37374 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37375 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37376 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37377 wxString
const &arg7_defvalue
= wxPyEmptyString
;
37378 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
37379 int arg8
= (int) 0 ;
37380 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
37381 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
37382 wxGenericDirCtrl
*result
= 0 ;
37387 bool temp3
= false ;
37392 bool temp7
= false ;
37395 bool temp9
= false ;
37396 PyObject
* obj0
= 0 ;
37397 PyObject
* obj1
= 0 ;
37398 PyObject
* obj2
= 0 ;
37399 PyObject
* obj3
= 0 ;
37400 PyObject
* obj4
= 0 ;
37401 PyObject
* obj5
= 0 ;
37402 PyObject
* obj6
= 0 ;
37403 PyObject
* obj7
= 0 ;
37404 PyObject
* obj8
= 0 ;
37405 char * kwnames
[] = {
37406 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
37410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37411 if (!SWIG_IsOK(res1
)) {
37412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
37414 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37416 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37417 if (!SWIG_IsOK(ecode2
)) {
37418 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
37420 arg2
= static_cast< int >(val2
);
37424 arg3
= wxString_in_helper(obj2
);
37425 if (arg3
== NULL
) SWIG_fail
;
37432 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37438 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37442 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
37443 if (!SWIG_IsOK(ecode6
)) {
37444 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
37446 arg6
= static_cast< long >(val6
);
37450 arg7
= wxString_in_helper(obj6
);
37451 if (arg7
== NULL
) SWIG_fail
;
37456 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
37457 if (!SWIG_IsOK(ecode8
)) {
37458 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
37460 arg8
= static_cast< int >(val8
);
37464 arg9
= wxString_in_helper(obj8
);
37465 if (arg9
== NULL
) SWIG_fail
;
37470 if (!wxPyCheckForApp()) SWIG_fail
;
37471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37472 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
37473 wxPyEndAllowThreads(__tstate
);
37474 if (PyErr_Occurred()) SWIG_fail
;
37476 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_NEW
| 0 );
37507 SWIGINTERN PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37508 PyObject
*resultobj
= 0;
37509 wxGenericDirCtrl
*result
= 0 ;
37511 if (!SWIG_Python_UnpackTuple(args
,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail
;
37513 if (!wxPyCheckForApp()) SWIG_fail
;
37514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37515 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
37516 wxPyEndAllowThreads(__tstate
);
37517 if (PyErr_Occurred()) SWIG_fail
;
37519 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_OWN
| 0 );
37526 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37527 PyObject
*resultobj
= 0;
37528 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37529 wxWindow
*arg2
= (wxWindow
*) 0 ;
37530 int arg3
= (int) (int)-1 ;
37531 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
37532 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
37533 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
37534 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
37535 wxSize
const &arg6_defvalue
= wxDefaultSize
;
37536 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
37537 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37538 wxString
const &arg8_defvalue
= wxPyEmptyString
;
37539 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
37540 int arg9
= (int) 0 ;
37541 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
37542 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
37550 bool temp4
= false ;
37555 bool temp8
= false ;
37558 bool temp10
= false ;
37559 PyObject
* obj0
= 0 ;
37560 PyObject
* obj1
= 0 ;
37561 PyObject
* obj2
= 0 ;
37562 PyObject
* obj3
= 0 ;
37563 PyObject
* obj4
= 0 ;
37564 PyObject
* obj5
= 0 ;
37565 PyObject
* obj6
= 0 ;
37566 PyObject
* obj7
= 0 ;
37567 PyObject
* obj8
= 0 ;
37568 PyObject
* obj9
= 0 ;
37569 char * kwnames
[] = {
37570 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
37574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37575 if (!SWIG_IsOK(res1
)) {
37576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37578 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37579 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37580 if (!SWIG_IsOK(res2
)) {
37581 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
37583 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
37585 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37586 if (!SWIG_IsOK(ecode3
)) {
37587 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
37589 arg3
= static_cast< int >(val3
);
37593 arg4
= wxString_in_helper(obj3
);
37594 if (arg4
== NULL
) SWIG_fail
;
37601 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
37607 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
37611 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
37612 if (!SWIG_IsOK(ecode7
)) {
37613 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
37615 arg7
= static_cast< long >(val7
);
37619 arg8
= wxString_in_helper(obj7
);
37620 if (arg8
== NULL
) SWIG_fail
;
37625 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
37626 if (!SWIG_IsOK(ecode9
)) {
37627 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
37629 arg9
= static_cast< int >(val9
);
37633 arg10
= wxString_in_helper(obj9
);
37634 if (arg10
== NULL
) SWIG_fail
;
37639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37640 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
37641 wxPyEndAllowThreads(__tstate
);
37642 if (PyErr_Occurred()) SWIG_fail
;
37645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37677 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37678 PyObject
*resultobj
= 0;
37679 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37680 wxString
*arg2
= 0 ;
37684 bool temp2
= false ;
37685 PyObject
* obj0
= 0 ;
37686 PyObject
* obj1
= 0 ;
37687 char * kwnames
[] = {
37688 (char *) "self",(char *) "path", NULL
37691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37693 if (!SWIG_IsOK(res1
)) {
37694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37696 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37698 arg2
= wxString_in_helper(obj1
);
37699 if (arg2
== NULL
) SWIG_fail
;
37703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37704 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
37705 wxPyEndAllowThreads(__tstate
);
37706 if (PyErr_Occurred()) SWIG_fail
;
37709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37725 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_CollapsePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37726 PyObject
*resultobj
= 0;
37727 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37728 wxString
*arg2
= 0 ;
37732 bool temp2
= false ;
37733 PyObject
* obj0
= 0 ;
37734 PyObject
* obj1
= 0 ;
37735 char * kwnames
[] = {
37736 (char *) "self",(char *) "path", NULL
37739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_CollapsePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37741 if (!SWIG_IsOK(res1
)) {
37742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_CollapsePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37744 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37746 arg2
= wxString_in_helper(obj1
);
37747 if (arg2
== NULL
) SWIG_fail
;
37751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37752 result
= (bool)(arg1
)->CollapsePath((wxString
const &)*arg2
);
37753 wxPyEndAllowThreads(__tstate
);
37754 if (PyErr_Occurred()) SWIG_fail
;
37757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37773 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37774 PyObject
*resultobj
= 0;
37775 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37779 PyObject
*swig_obj
[1] ;
37781 if (!args
) SWIG_fail
;
37782 swig_obj
[0] = args
;
37783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37784 if (!SWIG_IsOK(res1
)) {
37785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37787 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37790 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
37791 wxPyEndAllowThreads(__tstate
);
37792 if (PyErr_Occurred()) SWIG_fail
;
37796 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37798 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37807 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37808 PyObject
*resultobj
= 0;
37809 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37810 wxString
*arg2
= 0 ;
37813 bool temp2
= false ;
37814 PyObject
* obj0
= 0 ;
37815 PyObject
* obj1
= 0 ;
37816 char * kwnames
[] = {
37817 (char *) "self",(char *) "path", NULL
37820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37822 if (!SWIG_IsOK(res1
)) {
37823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37825 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37827 arg2
= wxString_in_helper(obj1
);
37828 if (arg2
== NULL
) SWIG_fail
;
37832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37833 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
37834 wxPyEndAllowThreads(__tstate
);
37835 if (PyErr_Occurred()) SWIG_fail
;
37837 resultobj
= SWIG_Py_Void();
37852 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37853 PyObject
*resultobj
= 0;
37854 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37858 PyObject
*swig_obj
[1] ;
37860 if (!args
) SWIG_fail
;
37861 swig_obj
[0] = args
;
37862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37863 if (!SWIG_IsOK(res1
)) {
37864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37866 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37869 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
37870 wxPyEndAllowThreads(__tstate
);
37871 if (PyErr_Occurred()) SWIG_fail
;
37875 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37877 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37886 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37887 PyObject
*resultobj
= 0;
37888 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37892 PyObject
*swig_obj
[1] ;
37894 if (!args
) SWIG_fail
;
37895 swig_obj
[0] = args
;
37896 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37897 if (!SWIG_IsOK(res1
)) {
37898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37900 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37903 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
37904 wxPyEndAllowThreads(__tstate
);
37905 if (PyErr_Occurred()) SWIG_fail
;
37909 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37911 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37920 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37921 PyObject
*resultobj
= 0;
37922 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37923 wxString
*arg2
= 0 ;
37926 bool temp2
= false ;
37927 PyObject
* obj0
= 0 ;
37928 PyObject
* obj1
= 0 ;
37929 char * kwnames
[] = {
37930 (char *) "self",(char *) "path", NULL
37933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37935 if (!SWIG_IsOK(res1
)) {
37936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37938 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37940 arg2
= wxString_in_helper(obj1
);
37941 if (arg2
== NULL
) SWIG_fail
;
37945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37946 (arg1
)->SetPath((wxString
const &)*arg2
);
37947 wxPyEndAllowThreads(__tstate
);
37948 if (PyErr_Occurred()) SWIG_fail
;
37950 resultobj
= SWIG_Py_Void();
37965 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37966 PyObject
*resultobj
= 0;
37967 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37973 PyObject
* obj0
= 0 ;
37974 PyObject
* obj1
= 0 ;
37975 char * kwnames
[] = {
37976 (char *) "self",(char *) "show", NULL
37979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37981 if (!SWIG_IsOK(res1
)) {
37982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37984 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37985 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37986 if (!SWIG_IsOK(ecode2
)) {
37987 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
37989 arg2
= static_cast< bool >(val2
);
37991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37992 (arg1
)->ShowHidden(arg2
);
37993 wxPyEndAllowThreads(__tstate
);
37994 if (PyErr_Occurred()) SWIG_fail
;
37996 resultobj
= SWIG_Py_Void();
38003 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38004 PyObject
*resultobj
= 0;
38005 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38009 PyObject
*swig_obj
[1] ;
38011 if (!args
) SWIG_fail
;
38012 swig_obj
[0] = args
;
38013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38014 if (!SWIG_IsOK(res1
)) {
38015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38017 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38020 result
= (bool)(arg1
)->GetShowHidden();
38021 wxPyEndAllowThreads(__tstate
);
38022 if (PyErr_Occurred()) SWIG_fail
;
38025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38033 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38034 PyObject
*resultobj
= 0;
38035 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38039 PyObject
*swig_obj
[1] ;
38041 if (!args
) SWIG_fail
;
38042 swig_obj
[0] = args
;
38043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38044 if (!SWIG_IsOK(res1
)) {
38045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38047 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38050 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
38051 wxPyEndAllowThreads(__tstate
);
38052 if (PyErr_Occurred()) SWIG_fail
;
38056 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38058 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38067 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38068 PyObject
*resultobj
= 0;
38069 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38070 wxString
*arg2
= 0 ;
38073 bool temp2
= false ;
38074 PyObject
* obj0
= 0 ;
38075 PyObject
* obj1
= 0 ;
38076 char * kwnames
[] = {
38077 (char *) "self",(char *) "filter", NULL
38080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38082 if (!SWIG_IsOK(res1
)) {
38083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38085 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38087 arg2
= wxString_in_helper(obj1
);
38088 if (arg2
== NULL
) SWIG_fail
;
38092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38093 (arg1
)->SetFilter((wxString
const &)*arg2
);
38094 wxPyEndAllowThreads(__tstate
);
38095 if (PyErr_Occurred()) SWIG_fail
;
38097 resultobj
= SWIG_Py_Void();
38112 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38113 PyObject
*resultobj
= 0;
38114 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38118 PyObject
*swig_obj
[1] ;
38120 if (!args
) SWIG_fail
;
38121 swig_obj
[0] = args
;
38122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38123 if (!SWIG_IsOK(res1
)) {
38124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38126 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38129 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
38130 wxPyEndAllowThreads(__tstate
);
38131 if (PyErr_Occurred()) SWIG_fail
;
38133 resultobj
= SWIG_From_int(static_cast< int >(result
));
38140 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38141 PyObject
*resultobj
= 0;
38142 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38148 PyObject
* obj0
= 0 ;
38149 PyObject
* obj1
= 0 ;
38150 char * kwnames
[] = {
38151 (char *) "self",(char *) "n", NULL
38154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38156 if (!SWIG_IsOK(res1
)) {
38157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38159 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38160 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38161 if (!SWIG_IsOK(ecode2
)) {
38162 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
38164 arg2
= static_cast< int >(val2
);
38166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38167 (arg1
)->SetFilterIndex(arg2
);
38168 wxPyEndAllowThreads(__tstate
);
38169 if (PyErr_Occurred()) SWIG_fail
;
38171 resultobj
= SWIG_Py_Void();
38178 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38179 PyObject
*resultobj
= 0;
38180 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38181 wxTreeItemId result
;
38184 PyObject
*swig_obj
[1] ;
38186 if (!args
) SWIG_fail
;
38187 swig_obj
[0] = args
;
38188 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38189 if (!SWIG_IsOK(res1
)) {
38190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38192 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38195 result
= (arg1
)->GetRootId();
38196 wxPyEndAllowThreads(__tstate
);
38197 if (PyErr_Occurred()) SWIG_fail
;
38199 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38206 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38207 PyObject
*resultobj
= 0;
38208 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38209 wxPyTreeCtrl
*result
= 0 ;
38212 PyObject
*swig_obj
[1] ;
38214 if (!args
) SWIG_fail
;
38215 swig_obj
[0] = args
;
38216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38217 if (!SWIG_IsOK(res1
)) {
38218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38220 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38223 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
38224 wxPyEndAllowThreads(__tstate
);
38225 if (PyErr_Occurred()) SWIG_fail
;
38228 resultobj
= wxPyMake_wxObject(result
, 0);
38236 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38237 PyObject
*resultobj
= 0;
38238 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38239 wxDirFilterListCtrl
*result
= 0 ;
38242 PyObject
*swig_obj
[1] ;
38244 if (!args
) SWIG_fail
;
38245 swig_obj
[0] = args
;
38246 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38247 if (!SWIG_IsOK(res1
)) {
38248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38250 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38253 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
38254 wxPyEndAllowThreads(__tstate
);
38255 if (PyErr_Occurred()) SWIG_fail
;
38257 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38264 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38265 PyObject
*resultobj
= 0;
38266 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38267 wxTreeItemId arg2
;
38268 wxString
*arg3
= 0 ;
38270 wxTreeItemId result
;
38275 bool temp3
= false ;
38277 int res4
= SWIG_TMPOBJ
;
38278 PyObject
* obj0
= 0 ;
38279 PyObject
* obj1
= 0 ;
38280 PyObject
* obj2
= 0 ;
38281 char * kwnames
[] = {
38282 (char *) "self",(char *) "parentId",(char *) "path", NULL
38286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38288 if (!SWIG_IsOK(res1
)) {
38289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38291 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38293 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
38294 if (!SWIG_IsOK(res2
)) {
38295 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38298 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38300 wxTreeItemId
* temp
= reinterpret_cast< wxTreeItemId
* >(argp2
);
38302 if (SWIG_IsNewObj(res2
)) delete temp
;
38306 arg3
= wxString_in_helper(obj2
);
38307 if (arg3
== NULL
) SWIG_fail
;
38311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38312 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
38313 wxPyEndAllowThreads(__tstate
);
38314 if (PyErr_Occurred()) SWIG_fail
;
38316 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38317 if (SWIG_IsTmpObj(res4
)) {
38318 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
38320 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38321 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
38337 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38338 PyObject
*resultobj
= 0;
38339 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38342 PyObject
*swig_obj
[1] ;
38344 if (!args
) SWIG_fail
;
38345 swig_obj
[0] = args
;
38346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38347 if (!SWIG_IsOK(res1
)) {
38348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38350 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38353 (arg1
)->DoResize();
38354 wxPyEndAllowThreads(__tstate
);
38355 if (PyErr_Occurred()) SWIG_fail
;
38357 resultobj
= SWIG_Py_Void();
38364 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38365 PyObject
*resultobj
= 0;
38366 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38369 PyObject
*swig_obj
[1] ;
38371 if (!args
) SWIG_fail
;
38372 swig_obj
[0] = args
;
38373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38374 if (!SWIG_IsOK(res1
)) {
38375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38377 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38380 (arg1
)->ReCreateTree();
38381 wxPyEndAllowThreads(__tstate
);
38382 if (PyErr_Occurred()) SWIG_fail
;
38384 resultobj
= SWIG_Py_Void();
38391 SWIGINTERN PyObject
*GenericDirCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38393 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38394 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl
, SWIG_NewClientData(obj
));
38395 return SWIG_Py_Void();
38398 SWIGINTERN PyObject
*GenericDirCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38399 return SWIG_Python_InitShadowInstance(args
);
38402 SWIGINTERN PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38403 PyObject
*resultobj
= 0;
38404 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38405 int arg2
= (int) (int)-1 ;
38406 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38407 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38408 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38409 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38410 long arg5
= (long) 0 ;
38411 wxDirFilterListCtrl
*result
= 0 ;
38420 PyObject
* obj0
= 0 ;
38421 PyObject
* obj1
= 0 ;
38422 PyObject
* obj2
= 0 ;
38423 PyObject
* obj3
= 0 ;
38424 PyObject
* obj4
= 0 ;
38425 char * kwnames
[] = {
38426 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38431 if (!SWIG_IsOK(res1
)) {
38432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38434 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38436 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38437 if (!SWIG_IsOK(ecode2
)) {
38438 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
38440 arg2
= static_cast< int >(val2
);
38445 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38451 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38455 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38456 if (!SWIG_IsOK(ecode5
)) {
38457 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
38459 arg5
= static_cast< long >(val5
);
38462 if (!wxPyCheckForApp()) SWIG_fail
;
38463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38464 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
38465 wxPyEndAllowThreads(__tstate
);
38466 if (PyErr_Occurred()) SWIG_fail
;
38468 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_NEW
| 0 );
38475 SWIGINTERN PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38476 PyObject
*resultobj
= 0;
38477 wxDirFilterListCtrl
*result
= 0 ;
38479 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail
;
38481 if (!wxPyCheckForApp()) SWIG_fail
;
38482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38483 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
38484 wxPyEndAllowThreads(__tstate
);
38485 if (PyErr_Occurred()) SWIG_fail
;
38487 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_OWN
| 0 );
38494 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38495 PyObject
*resultobj
= 0;
38496 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38497 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
38498 int arg3
= (int) (int)-1 ;
38499 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
38500 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
38501 wxSize
const &arg5_defvalue
= wxDefaultSize
;
38502 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
38503 long arg6
= (long) 0 ;
38515 PyObject
* obj0
= 0 ;
38516 PyObject
* obj1
= 0 ;
38517 PyObject
* obj2
= 0 ;
38518 PyObject
* obj3
= 0 ;
38519 PyObject
* obj4
= 0 ;
38520 PyObject
* obj5
= 0 ;
38521 char * kwnames
[] = {
38522 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38527 if (!SWIG_IsOK(res1
)) {
38528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38530 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38531 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38532 if (!SWIG_IsOK(res2
)) {
38533 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
38535 arg2
= reinterpret_cast< wxGenericDirCtrl
* >(argp2
);
38537 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38538 if (!SWIG_IsOK(ecode3
)) {
38539 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
38541 arg3
= static_cast< int >(val3
);
38546 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
38552 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
38556 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
38557 if (!SWIG_IsOK(ecode6
)) {
38558 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
38560 arg6
= static_cast< long >(val6
);
38563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38564 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
38565 wxPyEndAllowThreads(__tstate
);
38566 if (PyErr_Occurred()) SWIG_fail
;
38569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38577 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38578 PyObject
*resultobj
= 0;
38579 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38580 wxString
*arg2
= 0 ;
38584 bool temp2
= false ;
38587 PyObject
* obj0
= 0 ;
38588 PyObject
* obj1
= 0 ;
38589 PyObject
* obj2
= 0 ;
38590 char * kwnames
[] = {
38591 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
38594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38596 if (!SWIG_IsOK(res1
)) {
38597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38599 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38601 arg2
= wxString_in_helper(obj1
);
38602 if (arg2
== NULL
) SWIG_fail
;
38605 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38606 if (!SWIG_IsOK(ecode3
)) {
38607 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
38609 arg3
= static_cast< int >(val3
);
38611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38612 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
38613 wxPyEndAllowThreads(__tstate
);
38614 if (PyErr_Occurred()) SWIG_fail
;
38616 resultobj
= SWIG_Py_Void();
38631 SWIGINTERN PyObject
*DirFilterListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38633 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38634 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_NewClientData(obj
));
38635 return SWIG_Py_Void();
38638 SWIGINTERN PyObject
*DirFilterListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38639 return SWIG_Python_InitShadowInstance(args
);
38642 SWIGINTERN PyObject
*_wrap_new_PyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38643 PyObject
*resultobj
= 0;
38644 wxWindow
*arg1
= (wxWindow
*) 0 ;
38645 int arg2
= (int) (int)-1 ;
38646 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38647 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38648 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38649 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38650 long arg5
= (long) 0 ;
38651 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
38652 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
38653 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
38654 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
38655 wxPyControl
*result
= 0 ;
38666 bool temp7
= false ;
38667 PyObject
* obj0
= 0 ;
38668 PyObject
* obj1
= 0 ;
38669 PyObject
* obj2
= 0 ;
38670 PyObject
* obj3
= 0 ;
38671 PyObject
* obj4
= 0 ;
38672 PyObject
* obj5
= 0 ;
38673 PyObject
* obj6
= 0 ;
38674 char * kwnames
[] = {
38675 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
38678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
38679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38680 if (!SWIG_IsOK(res1
)) {
38681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
38683 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38685 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38686 if (!SWIG_IsOK(ecode2
)) {
38687 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
38689 arg2
= static_cast< int >(val2
);
38694 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38700 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38704 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38705 if (!SWIG_IsOK(ecode5
)) {
38706 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
38708 arg5
= static_cast< long >(val5
);
38711 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
38712 if (!SWIG_IsOK(res6
)) {
38713 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38716 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38718 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
38722 arg7
= wxString_in_helper(obj6
);
38723 if (arg7
== NULL
) SWIG_fail
;
38728 if (!wxPyCheckForApp()) SWIG_fail
;
38729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38730 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
38731 wxPyEndAllowThreads(__tstate
);
38732 if (PyErr_Occurred()) SWIG_fail
;
38734 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_NEW
| 0 );
38749 SWIGINTERN PyObject
*_wrap_new_PrePyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38750 PyObject
*resultobj
= 0;
38751 wxPyControl
*result
= 0 ;
38753 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyControl",0,0,0)) SWIG_fail
;
38755 if (!wxPyCheckForApp()) SWIG_fail
;
38756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38757 result
= (wxPyControl
*)new wxPyControl();
38758 wxPyEndAllowThreads(__tstate
);
38759 if (PyErr_Occurred()) SWIG_fail
;
38761 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_OWN
| 0 );
38768 SWIGINTERN PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38769 PyObject
*resultobj
= 0;
38770 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38771 PyObject
*arg2
= (PyObject
*) 0 ;
38772 PyObject
*arg3
= (PyObject
*) 0 ;
38775 PyObject
* obj0
= 0 ;
38776 PyObject
* obj1
= 0 ;
38777 PyObject
* obj2
= 0 ;
38778 char * kwnames
[] = {
38779 (char *) "self",(char *) "self",(char *) "_class", NULL
38782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38784 if (!SWIG_IsOK(res1
)) {
38785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
38787 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38792 (arg1
)->_setCallbackInfo(arg2
,arg3
);
38793 wxPyEndAllowThreads(__tstate
);
38794 if (PyErr_Occurred()) SWIG_fail
;
38796 resultobj
= SWIG_Py_Void();
38803 SWIGINTERN PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38804 PyObject
*resultobj
= 0;
38805 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38806 wxDC
*arg2
= (wxDC
*) 0 ;
38812 PyObject
* obj0
= 0 ;
38813 PyObject
* obj1
= 0 ;
38814 char * kwnames
[] = {
38815 (char *) "self",(char *) "dc", NULL
38818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38820 if (!SWIG_IsOK(res1
)) {
38821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
38823 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38824 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
38825 if (!SWIG_IsOK(res2
)) {
38826 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
38828 arg2
= reinterpret_cast< wxDC
* >(argp2
);
38830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38831 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
38832 wxPyEndAllowThreads(__tstate
);
38833 if (PyErr_Occurred()) SWIG_fail
;
38836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38844 SWIGINTERN PyObject
*_wrap_PyControl_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38845 PyObject
*resultobj
= 0;
38846 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38861 PyObject
* obj0
= 0 ;
38862 PyObject
* obj1
= 0 ;
38863 PyObject
* obj2
= 0 ;
38864 PyObject
* obj3
= 0 ;
38865 PyObject
* obj4
= 0 ;
38866 char * kwnames
[] = {
38867 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
38870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38872 if (!SWIG_IsOK(res1
)) {
38873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
38875 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38876 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38877 if (!SWIG_IsOK(ecode2
)) {
38878 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
38880 arg2
= static_cast< int >(val2
);
38881 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38882 if (!SWIG_IsOK(ecode3
)) {
38883 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
38885 arg3
= static_cast< int >(val3
);
38886 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38887 if (!SWIG_IsOK(ecode4
)) {
38888 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
38890 arg4
= static_cast< int >(val4
);
38891 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38892 if (!SWIG_IsOK(ecode5
)) {
38893 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
38895 arg5
= static_cast< int >(val5
);
38897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38898 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
38899 wxPyEndAllowThreads(__tstate
);
38900 if (PyErr_Occurred()) SWIG_fail
;
38902 resultobj
= SWIG_Py_Void();
38909 SWIGINTERN PyObject
*_wrap_PyControl_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38910 PyObject
*resultobj
= 0;
38911 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38916 int arg6
= (int) wxSIZE_AUTO
;
38929 PyObject
* obj0
= 0 ;
38930 PyObject
* obj1
= 0 ;
38931 PyObject
* obj2
= 0 ;
38932 PyObject
* obj3
= 0 ;
38933 PyObject
* obj4
= 0 ;
38934 PyObject
* obj5
= 0 ;
38935 char * kwnames
[] = {
38936 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
38939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38941 if (!SWIG_IsOK(res1
)) {
38942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38944 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38945 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38946 if (!SWIG_IsOK(ecode2
)) {
38947 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
38949 arg2
= static_cast< int >(val2
);
38950 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38951 if (!SWIG_IsOK(ecode3
)) {
38952 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
38954 arg3
= static_cast< int >(val3
);
38955 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38956 if (!SWIG_IsOK(ecode4
)) {
38957 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
38959 arg4
= static_cast< int >(val4
);
38960 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38961 if (!SWIG_IsOK(ecode5
)) {
38962 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
38964 arg5
= static_cast< int >(val5
);
38966 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
38967 if (!SWIG_IsOK(ecode6
)) {
38968 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
38970 arg6
= static_cast< int >(val6
);
38973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38974 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
38975 wxPyEndAllowThreads(__tstate
);
38976 if (PyErr_Occurred()) SWIG_fail
;
38978 resultobj
= SWIG_Py_Void();
38985 SWIGINTERN PyObject
*_wrap_PyControl_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38986 PyObject
*resultobj
= 0;
38987 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38996 PyObject
* obj0
= 0 ;
38997 PyObject
* obj1
= 0 ;
38998 PyObject
* obj2
= 0 ;
38999 char * kwnames
[] = {
39000 (char *) "self",(char *) "width",(char *) "height", NULL
39003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39005 if (!SWIG_IsOK(res1
)) {
39006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39008 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39009 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39010 if (!SWIG_IsOK(ecode2
)) {
39011 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
39013 arg2
= static_cast< int >(val2
);
39014 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39015 if (!SWIG_IsOK(ecode3
)) {
39016 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
39018 arg3
= static_cast< int >(val3
);
39020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39021 (arg1
)->DoSetClientSize(arg2
,arg3
);
39022 wxPyEndAllowThreads(__tstate
);
39023 if (PyErr_Occurred()) SWIG_fail
;
39025 resultobj
= SWIG_Py_Void();
39032 SWIGINTERN PyObject
*_wrap_PyControl_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39033 PyObject
*resultobj
= 0;
39034 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39043 PyObject
* obj0
= 0 ;
39044 PyObject
* obj1
= 0 ;
39045 PyObject
* obj2
= 0 ;
39046 char * kwnames
[] = {
39047 (char *) "self",(char *) "x",(char *) "y", NULL
39050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39052 if (!SWIG_IsOK(res1
)) {
39053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39055 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39056 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39057 if (!SWIG_IsOK(ecode2
)) {
39058 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
39060 arg2
= static_cast< int >(val2
);
39061 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39062 if (!SWIG_IsOK(ecode3
)) {
39063 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
39065 arg3
= static_cast< int >(val3
);
39067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39068 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
39069 wxPyEndAllowThreads(__tstate
);
39070 if (PyErr_Occurred()) SWIG_fail
;
39072 resultobj
= SWIG_Py_Void();
39079 SWIGINTERN PyObject
*_wrap_PyControl_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39080 PyObject
*resultobj
= 0;
39081 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39082 int *arg2
= (int *) 0 ;
39083 int *arg3
= (int *) 0 ;
39087 int res2
= SWIG_TMPOBJ
;
39089 int res3
= SWIG_TMPOBJ
;
39090 PyObject
*swig_obj
[1] ;
39094 if (!args
) SWIG_fail
;
39095 swig_obj
[0] = args
;
39096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39097 if (!SWIG_IsOK(res1
)) {
39098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39100 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39103 ((wxPyControl
const *)arg1
)->DoGetSize(arg2
,arg3
);
39104 wxPyEndAllowThreads(__tstate
);
39105 if (PyErr_Occurred()) SWIG_fail
;
39107 resultobj
= SWIG_Py_Void();
39108 if (SWIG_IsTmpObj(res2
)) {
39109 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39111 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39112 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39114 if (SWIG_IsTmpObj(res3
)) {
39115 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39117 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39118 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39126 SWIGINTERN PyObject
*_wrap_PyControl_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39127 PyObject
*resultobj
= 0;
39128 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39129 int *arg2
= (int *) 0 ;
39130 int *arg3
= (int *) 0 ;
39134 int res2
= SWIG_TMPOBJ
;
39136 int res3
= SWIG_TMPOBJ
;
39137 PyObject
*swig_obj
[1] ;
39141 if (!args
) SWIG_fail
;
39142 swig_obj
[0] = args
;
39143 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39144 if (!SWIG_IsOK(res1
)) {
39145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39147 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39150 ((wxPyControl
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
39151 wxPyEndAllowThreads(__tstate
);
39152 if (PyErr_Occurred()) SWIG_fail
;
39154 resultobj
= SWIG_Py_Void();
39155 if (SWIG_IsTmpObj(res2
)) {
39156 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39158 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39159 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39161 if (SWIG_IsTmpObj(res3
)) {
39162 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39164 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39165 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39173 SWIGINTERN PyObject
*_wrap_PyControl_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39174 PyObject
*resultobj
= 0;
39175 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39176 int *arg2
= (int *) 0 ;
39177 int *arg3
= (int *) 0 ;
39181 int res2
= SWIG_TMPOBJ
;
39183 int res3
= SWIG_TMPOBJ
;
39184 PyObject
*swig_obj
[1] ;
39188 if (!args
) SWIG_fail
;
39189 swig_obj
[0] = args
;
39190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39191 if (!SWIG_IsOK(res1
)) {
39192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39194 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39197 ((wxPyControl
const *)arg1
)->DoGetPosition(arg2
,arg3
);
39198 wxPyEndAllowThreads(__tstate
);
39199 if (PyErr_Occurred()) SWIG_fail
;
39201 resultobj
= SWIG_Py_Void();
39202 if (SWIG_IsTmpObj(res2
)) {
39203 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39205 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39206 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39208 if (SWIG_IsTmpObj(res3
)) {
39209 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39211 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39212 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39220 SWIGINTERN PyObject
*_wrap_PyControl_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39221 PyObject
*resultobj
= 0;
39222 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39226 PyObject
*swig_obj
[1] ;
39228 if (!args
) SWIG_fail
;
39229 swig_obj
[0] = args
;
39230 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39231 if (!SWIG_IsOK(res1
)) {
39232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39234 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39237 result
= ((wxPyControl
const *)arg1
)->DoGetVirtualSize();
39238 wxPyEndAllowThreads(__tstate
);
39239 if (PyErr_Occurred()) SWIG_fail
;
39241 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39248 SWIGINTERN PyObject
*_wrap_PyControl_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39249 PyObject
*resultobj
= 0;
39250 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39254 PyObject
*swig_obj
[1] ;
39256 if (!args
) SWIG_fail
;
39257 swig_obj
[0] = args
;
39258 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39259 if (!SWIG_IsOK(res1
)) {
39260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39262 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39265 result
= ((wxPyControl
const *)arg1
)->DoGetBestSize();
39266 wxPyEndAllowThreads(__tstate
);
39267 if (PyErr_Occurred()) SWIG_fail
;
39269 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39276 SWIGINTERN PyObject
*_wrap_PyControl_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39277 PyObject
*resultobj
= 0;
39278 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39279 SwigValueWrapper
<wxVisualAttributes
> result
;
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_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
39290 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39293 result
= (arg1
)->GetDefaultAttributes();
39294 wxPyEndAllowThreads(__tstate
);
39295 if (PyErr_Occurred()) SWIG_fail
;
39297 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
39304 SWIGINTERN PyObject
*_wrap_PyControl_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39305 PyObject
*resultobj
= 0;
39306 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39309 PyObject
*swig_obj
[1] ;
39311 if (!args
) SWIG_fail
;
39312 swig_obj
[0] = args
;
39313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39314 if (!SWIG_IsOK(res1
)) {
39315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
39317 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39320 (arg1
)->OnInternalIdle();
39321 wxPyEndAllowThreads(__tstate
);
39322 if (PyErr_Occurred()) SWIG_fail
;
39324 resultobj
= SWIG_Py_Void();
39331 SWIGINTERN PyObject
*PyControl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39333 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39334 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl
, SWIG_NewClientData(obj
));
39335 return SWIG_Py_Void();
39338 SWIGINTERN PyObject
*PyControl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39339 return SWIG_Python_InitShadowInstance(args
);
39342 SWIGINTERN PyObject
*_wrap_new_HelpEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39343 PyObject
*resultobj
= 0;
39344 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
39345 int arg2
= (int) 0 ;
39346 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39347 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39348 wxHelpEvent::Origin arg4
= (wxHelpEvent::Origin
) wxHelpEvent::Origin_Unknown
;
39349 wxHelpEvent
*result
= 0 ;
39357 PyObject
* obj0
= 0 ;
39358 PyObject
* obj1
= 0 ;
39359 PyObject
* obj2
= 0 ;
39360 PyObject
* obj3
= 0 ;
39361 char * kwnames
[] = {
39362 (char *) "type",(char *) "winid",(char *) "pt",(char *) "origin", NULL
39365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39367 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
39368 if (!SWIG_IsOK(ecode1
)) {
39369 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
39371 arg1
= static_cast< wxEventType
>(val1
);
39374 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39375 if (!SWIG_IsOK(ecode2
)) {
39376 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
39378 arg2
= static_cast< int >(val2
);
39383 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39387 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39388 if (!SWIG_IsOK(ecode4
)) {
39389 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HelpEvent" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
39391 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
39394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39395 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
,arg4
);
39396 wxPyEndAllowThreads(__tstate
);
39397 if (PyErr_Occurred()) SWIG_fail
;
39399 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_NEW
| 0 );
39406 SWIGINTERN PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39407 PyObject
*resultobj
= 0;
39408 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39412 PyObject
*swig_obj
[1] ;
39414 if (!args
) SWIG_fail
;
39415 swig_obj
[0] = args
;
39416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39417 if (!SWIG_IsOK(res1
)) {
39418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39420 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39423 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
39424 wxPyEndAllowThreads(__tstate
);
39425 if (PyErr_Occurred()) SWIG_fail
;
39427 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
39434 SWIGINTERN PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39435 PyObject
*resultobj
= 0;
39436 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39437 wxPoint
*arg2
= 0 ;
39441 PyObject
* obj0
= 0 ;
39442 PyObject
* obj1
= 0 ;
39443 char * kwnames
[] = {
39444 (char *) "self",(char *) "pos", NULL
39447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39449 if (!SWIG_IsOK(res1
)) {
39450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39452 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39455 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39459 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
39460 wxPyEndAllowThreads(__tstate
);
39461 if (PyErr_Occurred()) SWIG_fail
;
39463 resultobj
= SWIG_Py_Void();
39470 SWIGINTERN PyObject
*_wrap_HelpEvent_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39471 PyObject
*resultobj
= 0;
39472 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39473 wxString
*result
= 0 ;
39476 PyObject
*swig_obj
[1] ;
39478 if (!args
) SWIG_fail
;
39479 swig_obj
[0] = args
;
39480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39481 if (!SWIG_IsOK(res1
)) {
39482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39484 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39488 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
39489 result
= (wxString
*) &_result_ref
;
39491 wxPyEndAllowThreads(__tstate
);
39492 if (PyErr_Occurred()) SWIG_fail
;
39496 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39498 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39507 SWIGINTERN PyObject
*_wrap_HelpEvent_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39508 PyObject
*resultobj
= 0;
39509 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39510 wxString
*arg2
= 0 ;
39513 bool temp2
= false ;
39514 PyObject
* obj0
= 0 ;
39515 PyObject
* obj1
= 0 ;
39516 char * kwnames
[] = {
39517 (char *) "self",(char *) "link", NULL
39520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39522 if (!SWIG_IsOK(res1
)) {
39523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39525 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39527 arg2
= wxString_in_helper(obj1
);
39528 if (arg2
== NULL
) SWIG_fail
;
39532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39533 (arg1
)->SetLink((wxString
const &)*arg2
);
39534 wxPyEndAllowThreads(__tstate
);
39535 if (PyErr_Occurred()) SWIG_fail
;
39537 resultobj
= SWIG_Py_Void();
39552 SWIGINTERN PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39553 PyObject
*resultobj
= 0;
39554 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39555 wxString
*result
= 0 ;
39558 PyObject
*swig_obj
[1] ;
39560 if (!args
) SWIG_fail
;
39561 swig_obj
[0] = args
;
39562 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39563 if (!SWIG_IsOK(res1
)) {
39564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39566 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39570 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
39571 result
= (wxString
*) &_result_ref
;
39573 wxPyEndAllowThreads(__tstate
);
39574 if (PyErr_Occurred()) SWIG_fail
;
39578 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39580 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39589 SWIGINTERN PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39590 PyObject
*resultobj
= 0;
39591 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39592 wxString
*arg2
= 0 ;
39595 bool temp2
= false ;
39596 PyObject
* obj0
= 0 ;
39597 PyObject
* obj1
= 0 ;
39598 char * kwnames
[] = {
39599 (char *) "self",(char *) "target", NULL
39602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39604 if (!SWIG_IsOK(res1
)) {
39605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39607 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39609 arg2
= wxString_in_helper(obj1
);
39610 if (arg2
== NULL
) SWIG_fail
;
39614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39615 (arg1
)->SetTarget((wxString
const &)*arg2
);
39616 wxPyEndAllowThreads(__tstate
);
39617 if (PyErr_Occurred()) SWIG_fail
;
39619 resultobj
= SWIG_Py_Void();
39634 SWIGINTERN PyObject
*_wrap_HelpEvent_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39635 PyObject
*resultobj
= 0;
39636 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39637 wxHelpEvent::Origin result
;
39640 PyObject
*swig_obj
[1] ;
39642 if (!args
) SWIG_fail
;
39643 swig_obj
[0] = args
;
39644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39645 if (!SWIG_IsOK(res1
)) {
39646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39648 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39651 result
= (wxHelpEvent::Origin
)((wxHelpEvent
const *)arg1
)->GetOrigin();
39652 wxPyEndAllowThreads(__tstate
);
39653 if (PyErr_Occurred()) SWIG_fail
;
39655 resultobj
= SWIG_From_int(static_cast< int >(result
));
39662 SWIGINTERN PyObject
*_wrap_HelpEvent_SetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39663 PyObject
*resultobj
= 0;
39664 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39665 wxHelpEvent::Origin arg2
;
39670 PyObject
* obj0
= 0 ;
39671 PyObject
* obj1
= 0 ;
39672 char * kwnames
[] = {
39673 (char *) "self",(char *) "origin", NULL
39676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetOrigin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39678 if (!SWIG_IsOK(res1
)) {
39679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39681 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39682 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39683 if (!SWIG_IsOK(ecode2
)) {
39684 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "2"" of type '" "wxHelpEvent::Origin""'");
39686 arg2
= static_cast< wxHelpEvent::Origin
>(val2
);
39688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39689 (arg1
)->SetOrigin(arg2
);
39690 wxPyEndAllowThreads(__tstate
);
39691 if (PyErr_Occurred()) SWIG_fail
;
39693 resultobj
= SWIG_Py_Void();
39700 SWIGINTERN PyObject
*HelpEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39702 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39703 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent
, SWIG_NewClientData(obj
));
39704 return SWIG_Py_Void();
39707 SWIGINTERN PyObject
*HelpEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39708 return SWIG_Python_InitShadowInstance(args
);
39711 SWIGINTERN PyObject
*_wrap_new_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39712 PyObject
*resultobj
= 0;
39713 wxWindow
*arg1
= (wxWindow
*) NULL
;
39714 bool arg2
= (bool) true ;
39715 wxContextHelp
*result
= 0 ;
39720 PyObject
* obj0
= 0 ;
39721 PyObject
* obj1
= 0 ;
39722 char * kwnames
[] = {
39723 (char *) "window",(char *) "doNow", NULL
39726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39729 if (!SWIG_IsOK(res1
)) {
39730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
39732 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39735 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
39736 if (!SWIG_IsOK(ecode2
)) {
39737 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
39739 arg2
= static_cast< bool >(val2
);
39742 if (!wxPyCheckForApp()) SWIG_fail
;
39743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39744 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
39745 wxPyEndAllowThreads(__tstate
);
39746 if (PyErr_Occurred()) SWIG_fail
;
39748 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_NEW
| 0 );
39755 SWIGINTERN PyObject
*_wrap_delete_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39756 PyObject
*resultobj
= 0;
39757 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39760 PyObject
*swig_obj
[1] ;
39762 if (!args
) SWIG_fail
;
39763 swig_obj
[0] = args
;
39764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_DISOWN
| 0 );
39765 if (!SWIG_IsOK(res1
)) {
39766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39768 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39773 wxPyEndAllowThreads(__tstate
);
39774 if (PyErr_Occurred()) SWIG_fail
;
39776 resultobj
= SWIG_Py_Void();
39783 SWIGINTERN PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39784 PyObject
*resultobj
= 0;
39785 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39786 wxWindow
*arg2
= (wxWindow
*) NULL
;
39792 PyObject
* obj0
= 0 ;
39793 PyObject
* obj1
= 0 ;
39794 char * kwnames
[] = {
39795 (char *) "self",(char *) "window", NULL
39798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39800 if (!SWIG_IsOK(res1
)) {
39801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39803 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39805 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39806 if (!SWIG_IsOK(res2
)) {
39807 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39809 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39813 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
39814 wxPyEndAllowThreads(__tstate
);
39815 if (PyErr_Occurred()) SWIG_fail
;
39818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39826 SWIGINTERN PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39827 PyObject
*resultobj
= 0;
39828 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39832 PyObject
*swig_obj
[1] ;
39834 if (!args
) SWIG_fail
;
39835 swig_obj
[0] = args
;
39836 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39837 if (!SWIG_IsOK(res1
)) {
39838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39840 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39843 result
= (bool)(arg1
)->EndContextHelp();
39844 wxPyEndAllowThreads(__tstate
);
39845 if (PyErr_Occurred()) SWIG_fail
;
39848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39856 SWIGINTERN PyObject
*ContextHelp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39858 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39859 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp
, SWIG_NewClientData(obj
));
39860 return SWIG_Py_Void();
39863 SWIGINTERN PyObject
*ContextHelp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39864 return SWIG_Python_InitShadowInstance(args
);
39867 SWIGINTERN PyObject
*_wrap_new_ContextHelpButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39868 PyObject
*resultobj
= 0;
39869 wxWindow
*arg1
= (wxWindow
*) 0 ;
39870 int arg2
= (int) wxID_CONTEXT_HELP
;
39871 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39872 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39873 wxSize
const &arg4_defvalue
= wxDefaultSize
;
39874 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
39875 long arg5
= (long) wxBU_AUTODRAW
;
39876 wxContextHelpButton
*result
= 0 ;
39885 PyObject
* obj0
= 0 ;
39886 PyObject
* obj1
= 0 ;
39887 PyObject
* obj2
= 0 ;
39888 PyObject
* obj3
= 0 ;
39889 PyObject
* obj4
= 0 ;
39890 char * kwnames
[] = {
39891 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
39894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39896 if (!SWIG_IsOK(res1
)) {
39897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
39899 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39901 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39902 if (!SWIG_IsOK(ecode2
)) {
39903 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
39905 arg2
= static_cast< int >(val2
);
39910 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39916 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
39920 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
39921 if (!SWIG_IsOK(ecode5
)) {
39922 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
39924 arg5
= static_cast< long >(val5
);
39927 if (!wxPyCheckForApp()) SWIG_fail
;
39928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39929 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
39930 wxPyEndAllowThreads(__tstate
);
39931 if (PyErr_Occurred()) SWIG_fail
;
39933 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelpButton
, SWIG_POINTER_NEW
| 0 );
39940 SWIGINTERN PyObject
*ContextHelpButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39942 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39943 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton
, SWIG_NewClientData(obj
));
39944 return SWIG_Py_Void();
39947 SWIGINTERN PyObject
*ContextHelpButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39948 return SWIG_Python_InitShadowInstance(args
);
39951 SWIGINTERN PyObject
*_wrap_delete_HelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39952 PyObject
*resultobj
= 0;
39953 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39956 PyObject
*swig_obj
[1] ;
39958 if (!args
) SWIG_fail
;
39959 swig_obj
[0] = args
;
39960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
39961 if (!SWIG_IsOK(res1
)) {
39962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39964 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39969 wxPyEndAllowThreads(__tstate
);
39970 if (PyErr_Occurred()) SWIG_fail
;
39972 resultobj
= SWIG_Py_Void();
39979 SWIGINTERN PyObject
*_wrap_HelpProvider_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39980 PyObject
*resultobj
= 0;
39981 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39982 wxHelpProvider
*result
= 0 ;
39984 PyObject
* obj0
= 0 ;
39985 char * kwnames
[] = {
39986 (char *) "helpProvider", NULL
39989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) SWIG_fail
;
39990 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
39991 if (!SWIG_IsOK(res1
)) {
39992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39996 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
39997 wxPyEndAllowThreads(__tstate
);
39998 if (PyErr_Occurred()) SWIG_fail
;
40000 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_OWN
| 0 );
40007 SWIGINTERN PyObject
*_wrap_HelpProvider_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40008 PyObject
*resultobj
= 0;
40009 wxHelpProvider
*result
= 0 ;
40011 if (!SWIG_Python_UnpackTuple(args
,"HelpProvider_Get",0,0,0)) SWIG_fail
;
40013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40014 result
= (wxHelpProvider
*)wxHelpProvider::Get();
40015 wxPyEndAllowThreads(__tstate
);
40016 if (PyErr_Occurred()) SWIG_fail
;
40018 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40025 SWIGINTERN PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40026 PyObject
*resultobj
= 0;
40027 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40028 wxWindow
*arg2
= (wxWindow
*) 0 ;
40034 PyObject
* obj0
= 0 ;
40035 PyObject
* obj1
= 0 ;
40036 char * kwnames
[] = {
40037 (char *) "self",(char *) "window", NULL
40040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40042 if (!SWIG_IsOK(res1
)) {
40043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40045 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40046 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40047 if (!SWIG_IsOK(res2
)) {
40048 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
40050 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40053 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
40054 wxPyEndAllowThreads(__tstate
);
40055 if (PyErr_Occurred()) SWIG_fail
;
40059 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
40061 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
40070 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40071 PyObject
*resultobj
= 0;
40072 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40073 wxWindow
*arg2
= (wxWindow
*) 0 ;
40079 PyObject
* obj0
= 0 ;
40080 PyObject
* obj1
= 0 ;
40081 char * kwnames
[] = {
40082 (char *) "self",(char *) "window", NULL
40085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40087 if (!SWIG_IsOK(res1
)) {
40088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40090 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40091 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40092 if (!SWIG_IsOK(res2
)) {
40093 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40095 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40098 result
= (bool)(arg1
)->ShowHelp(arg2
);
40099 wxPyEndAllowThreads(__tstate
);
40100 if (PyErr_Occurred()) SWIG_fail
;
40103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40111 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelpAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40112 PyObject
*resultobj
= 0;
40113 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40114 wxWindowBase
*arg2
= (wxWindowBase
*) 0 ;
40115 wxPoint
*arg3
= 0 ;
40116 wxHelpEvent::Origin arg4
;
40125 PyObject
* obj0
= 0 ;
40126 PyObject
* obj1
= 0 ;
40127 PyObject
* obj2
= 0 ;
40128 PyObject
* obj3
= 0 ;
40129 char * kwnames
[] = {
40130 (char *) "self",(char *) "window",(char *) "pt",(char *) "origin", NULL
40133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HelpProvider_ShowHelpAtPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40135 if (!SWIG_IsOK(res1
)) {
40136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40138 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40139 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindowBase
, 0 | 0 );
40140 if (!SWIG_IsOK(res2
)) {
40141 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "2"" of type '" "wxWindowBase *""'");
40143 arg2
= reinterpret_cast< wxWindowBase
* >(argp2
);
40146 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40148 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
40149 if (!SWIG_IsOK(ecode4
)) {
40150 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
40152 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
40154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40155 result
= (bool)(arg1
)->ShowHelpAtPoint(arg2
,(wxPoint
const &)*arg3
,arg4
);
40156 wxPyEndAllowThreads(__tstate
);
40157 if (PyErr_Occurred()) SWIG_fail
;
40160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40168 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40169 PyObject
*resultobj
= 0;
40170 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40171 wxWindow
*arg2
= (wxWindow
*) 0 ;
40172 wxString
*arg3
= 0 ;
40177 bool temp3
= false ;
40178 PyObject
* obj0
= 0 ;
40179 PyObject
* obj1
= 0 ;
40180 PyObject
* obj2
= 0 ;
40181 char * kwnames
[] = {
40182 (char *) "self",(char *) "window",(char *) "text", NULL
40185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40187 if (!SWIG_IsOK(res1
)) {
40188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40190 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40191 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40192 if (!SWIG_IsOK(res2
)) {
40193 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40195 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40197 arg3
= wxString_in_helper(obj2
);
40198 if (arg3
== NULL
) SWIG_fail
;
40202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40203 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40204 wxPyEndAllowThreads(__tstate
);
40205 if (PyErr_Occurred()) SWIG_fail
;
40207 resultobj
= SWIG_Py_Void();
40222 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40223 PyObject
*resultobj
= 0;
40224 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40226 wxString
*arg3
= 0 ;
40231 bool temp3
= false ;
40232 PyObject
* obj0
= 0 ;
40233 PyObject
* obj1
= 0 ;
40234 PyObject
* obj2
= 0 ;
40235 char * kwnames
[] = {
40236 (char *) "self",(char *) "id",(char *) "text", NULL
40239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40241 if (!SWIG_IsOK(res1
)) {
40242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40244 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40245 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40246 if (!SWIG_IsOK(ecode2
)) {
40247 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
40249 arg2
= static_cast< int >(val2
);
40251 arg3
= wxString_in_helper(obj2
);
40252 if (arg3
== NULL
) SWIG_fail
;
40256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40257 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40258 wxPyEndAllowThreads(__tstate
);
40259 if (PyErr_Occurred()) SWIG_fail
;
40261 resultobj
= SWIG_Py_Void();
40276 SWIGINTERN PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40277 PyObject
*resultobj
= 0;
40278 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40279 wxWindow
*arg2
= (wxWindow
*) 0 ;
40284 PyObject
* obj0
= 0 ;
40285 PyObject
* obj1
= 0 ;
40286 char * kwnames
[] = {
40287 (char *) "self",(char *) "window", NULL
40290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40292 if (!SWIG_IsOK(res1
)) {
40293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40295 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40296 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40297 if (!SWIG_IsOK(res2
)) {
40298 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40300 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40303 (arg1
)->RemoveHelp(arg2
);
40304 wxPyEndAllowThreads(__tstate
);
40305 if (PyErr_Occurred()) SWIG_fail
;
40307 resultobj
= SWIG_Py_Void();
40314 SWIGINTERN PyObject
*_wrap_HelpProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40315 PyObject
*resultobj
= 0;
40316 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40319 PyObject
*swig_obj
[1] ;
40321 if (!args
) SWIG_fail
;
40322 swig_obj
[0] = args
;
40323 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40324 if (!SWIG_IsOK(res1
)) {
40325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40327 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40330 wxHelpProvider_Destroy(arg1
);
40331 wxPyEndAllowThreads(__tstate
);
40332 if (PyErr_Occurred()) SWIG_fail
;
40334 resultobj
= SWIG_Py_Void();
40341 SWIGINTERN PyObject
*HelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40343 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40344 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider
, SWIG_NewClientData(obj
));
40345 return SWIG_Py_Void();
40348 SWIGINTERN PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40349 PyObject
*resultobj
= 0;
40350 wxSimpleHelpProvider
*result
= 0 ;
40352 if (!SWIG_Python_UnpackTuple(args
,"new_SimpleHelpProvider",0,0,0)) SWIG_fail
;
40354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40355 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
40356 wxPyEndAllowThreads(__tstate
);
40357 if (PyErr_Occurred()) SWIG_fail
;
40359 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_POINTER_NEW
| 0 );
40366 SWIGINTERN PyObject
*SimpleHelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40368 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40369 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_NewClientData(obj
));
40370 return SWIG_Py_Void();
40373 SWIGINTERN PyObject
*SimpleHelpProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40374 return SWIG_Python_InitShadowInstance(args
);
40377 SWIGINTERN PyObject
*_wrap_new_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40378 PyObject
*resultobj
= 0;
40379 wxBitmap
*arg1
= 0 ;
40380 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40381 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40382 wxGenericDragImage
*result
= 0 ;
40387 PyObject
* obj0
= 0 ;
40388 PyObject
* obj1
= 0 ;
40389 char * kwnames
[] = {
40390 (char *) "image",(char *) "cursor", NULL
40393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40394 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
40395 if (!SWIG_IsOK(res1
)) {
40396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40399 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40401 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
40403 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40404 if (!SWIG_IsOK(res2
)) {
40405 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40408 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40410 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40413 if (!wxPyCheckForApp()) SWIG_fail
;
40414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40415 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
40416 wxPyEndAllowThreads(__tstate
);
40417 if (PyErr_Occurred()) SWIG_fail
;
40419 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_NEW
| 0 );
40426 SWIGINTERN PyObject
*_wrap_new_DragIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40427 PyObject
*resultobj
= 0;
40429 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40430 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40431 wxGenericDragImage
*result
= 0 ;
40436 PyObject
* obj0
= 0 ;
40437 PyObject
* obj1
= 0 ;
40438 char * kwnames
[] = {
40439 (char *) "image",(char *) "cursor", NULL
40442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40443 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
40444 if (!SWIG_IsOK(res1
)) {
40445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40448 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40450 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
40452 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40453 if (!SWIG_IsOK(res2
)) {
40454 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40457 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40459 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40462 if (!wxPyCheckForApp()) SWIG_fail
;
40463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40464 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
40465 wxPyEndAllowThreads(__tstate
);
40466 if (PyErr_Occurred()) SWIG_fail
;
40468 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40475 SWIGINTERN PyObject
*_wrap_new_DragString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40476 PyObject
*resultobj
= 0;
40477 wxString
*arg1
= 0 ;
40478 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40479 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40480 wxGenericDragImage
*result
= 0 ;
40481 bool temp1
= false ;
40484 PyObject
* obj0
= 0 ;
40485 PyObject
* obj1
= 0 ;
40486 char * kwnames
[] = {
40487 (char *) "str",(char *) "cursor", NULL
40490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40492 arg1
= wxString_in_helper(obj0
);
40493 if (arg1
== NULL
) SWIG_fail
;
40497 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40498 if (!SWIG_IsOK(res2
)) {
40499 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40502 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40504 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40507 if (!wxPyCheckForApp()) SWIG_fail
;
40508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40509 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
40510 wxPyEndAllowThreads(__tstate
);
40511 if (PyErr_Occurred()) SWIG_fail
;
40513 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40528 SWIGINTERN PyObject
*_wrap_new_DragTreeItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40529 PyObject
*resultobj
= 0;
40530 wxPyTreeCtrl
*arg1
= 0 ;
40531 wxTreeItemId
*arg2
= 0 ;
40532 wxGenericDragImage
*result
= 0 ;
40537 PyObject
* obj0
= 0 ;
40538 PyObject
* obj1
= 0 ;
40539 char * kwnames
[] = {
40540 (char *) "treeCtrl",(char *) "id", NULL
40543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40544 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0);
40545 if (!SWIG_IsOK(res1
)) {
40546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40549 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40551 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
40552 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 );
40553 if (!SWIG_IsOK(res2
)) {
40554 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40557 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40559 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
40561 if (!wxPyCheckForApp()) SWIG_fail
;
40562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40563 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
40564 wxPyEndAllowThreads(__tstate
);
40565 if (PyErr_Occurred()) SWIG_fail
;
40567 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40574 SWIGINTERN PyObject
*_wrap_new_DragListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40575 PyObject
*resultobj
= 0;
40576 wxPyListCtrl
*arg1
= 0 ;
40578 wxGenericDragImage
*result
= 0 ;
40583 PyObject
* obj0
= 0 ;
40584 PyObject
* obj1
= 0 ;
40585 char * kwnames
[] = {
40586 (char *) "listCtrl",(char *) "id", NULL
40589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40590 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyListCtrl
, 0 | 0);
40591 if (!SWIG_IsOK(res1
)) {
40592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40595 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40597 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
40598 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
40599 if (!SWIG_IsOK(ecode2
)) {
40600 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
40602 arg2
= static_cast< long >(val2
);
40604 if (!wxPyCheckForApp()) SWIG_fail
;
40605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40606 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
40607 wxPyEndAllowThreads(__tstate
);
40608 if (PyErr_Occurred()) SWIG_fail
;
40610 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40617 SWIGINTERN PyObject
*_wrap_delete_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40618 PyObject
*resultobj
= 0;
40619 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40622 PyObject
*swig_obj
[1] ;
40624 if (!args
) SWIG_fail
;
40625 swig_obj
[0] = args
;
40626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_DISOWN
| 0 );
40627 if (!SWIG_IsOK(res1
)) {
40628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40630 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40635 wxPyEndAllowThreads(__tstate
);
40636 if (PyErr_Occurred()) SWIG_fail
;
40638 resultobj
= SWIG_Py_Void();
40645 SWIGINTERN PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40646 PyObject
*resultobj
= 0;
40647 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40648 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
40653 PyObject
* obj0
= 0 ;
40654 PyObject
* obj1
= 0 ;
40655 char * kwnames
[] = {
40656 (char *) "self",(char *) "bitmap", NULL
40659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40661 if (!SWIG_IsOK(res1
)) {
40662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40664 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40665 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
40666 if (!SWIG_IsOK(res2
)) {
40667 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
40669 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
40671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40672 (arg1
)->SetBackingBitmap(arg2
);
40673 wxPyEndAllowThreads(__tstate
);
40674 if (PyErr_Occurred()) SWIG_fail
;
40676 resultobj
= SWIG_Py_Void();
40683 SWIGINTERN PyObject
*_wrap_DragImage_BeginDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40684 PyObject
*resultobj
= 0;
40685 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40686 wxPoint
*arg2
= 0 ;
40687 wxWindow
*arg3
= (wxWindow
*) 0 ;
40688 bool arg4
= (bool) false ;
40689 wxRect
*arg5
= (wxRect
*) NULL
;
40700 PyObject
* obj0
= 0 ;
40701 PyObject
* obj1
= 0 ;
40702 PyObject
* obj2
= 0 ;
40703 PyObject
* obj3
= 0 ;
40704 PyObject
* obj4
= 0 ;
40705 char * kwnames
[] = {
40706 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
40709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40711 if (!SWIG_IsOK(res1
)) {
40712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40714 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40717 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40719 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40720 if (!SWIG_IsOK(res3
)) {
40721 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
40723 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40725 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
40726 if (!SWIG_IsOK(ecode4
)) {
40727 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
40729 arg4
= static_cast< bool >(val4
);
40732 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxRect
, 0 | 0 );
40733 if (!SWIG_IsOK(res5
)) {
40734 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
40736 arg5
= reinterpret_cast< wxRect
* >(argp5
);
40739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40740 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
40741 wxPyEndAllowThreads(__tstate
);
40742 if (PyErr_Occurred()) SWIG_fail
;
40745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40753 SWIGINTERN PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40754 PyObject
*resultobj
= 0;
40755 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40756 wxPoint
*arg2
= 0 ;
40757 wxWindow
*arg3
= (wxWindow
*) 0 ;
40758 wxWindow
*arg4
= (wxWindow
*) 0 ;
40767 PyObject
* obj0
= 0 ;
40768 PyObject
* obj1
= 0 ;
40769 PyObject
* obj2
= 0 ;
40770 PyObject
* obj3
= 0 ;
40771 char * kwnames
[] = {
40772 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
40775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40777 if (!SWIG_IsOK(res1
)) {
40778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40780 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40783 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40785 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40786 if (!SWIG_IsOK(res3
)) {
40787 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
40789 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40790 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40791 if (!SWIG_IsOK(res4
)) {
40792 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
40794 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
40796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40797 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
40798 wxPyEndAllowThreads(__tstate
);
40799 if (PyErr_Occurred()) SWIG_fail
;
40802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40810 SWIGINTERN PyObject
*_wrap_DragImage_EndDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40811 PyObject
*resultobj
= 0;
40812 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40816 PyObject
*swig_obj
[1] ;
40818 if (!args
) SWIG_fail
;
40819 swig_obj
[0] = args
;
40820 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40821 if (!SWIG_IsOK(res1
)) {
40822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40824 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40827 result
= (bool)(arg1
)->EndDrag();
40828 wxPyEndAllowThreads(__tstate
);
40829 if (PyErr_Occurred()) SWIG_fail
;
40832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40840 SWIGINTERN PyObject
*_wrap_DragImage_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40841 PyObject
*resultobj
= 0;
40842 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40843 wxPoint
*arg2
= 0 ;
40848 PyObject
* obj0
= 0 ;
40849 PyObject
* obj1
= 0 ;
40850 char * kwnames
[] = {
40851 (char *) "self",(char *) "pt", NULL
40854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40856 if (!SWIG_IsOK(res1
)) {
40857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40859 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40862 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40866 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
40867 wxPyEndAllowThreads(__tstate
);
40868 if (PyErr_Occurred()) SWIG_fail
;
40871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40879 SWIGINTERN PyObject
*_wrap_DragImage_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40880 PyObject
*resultobj
= 0;
40881 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40885 PyObject
*swig_obj
[1] ;
40887 if (!args
) SWIG_fail
;
40888 swig_obj
[0] = args
;
40889 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40890 if (!SWIG_IsOK(res1
)) {
40891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40893 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40896 result
= (bool)(arg1
)->Show();
40897 wxPyEndAllowThreads(__tstate
);
40898 if (PyErr_Occurred()) SWIG_fail
;
40901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40909 SWIGINTERN PyObject
*_wrap_DragImage_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40910 PyObject
*resultobj
= 0;
40911 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40915 PyObject
*swig_obj
[1] ;
40917 if (!args
) SWIG_fail
;
40918 swig_obj
[0] = args
;
40919 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40920 if (!SWIG_IsOK(res1
)) {
40921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40923 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40926 result
= (bool)(arg1
)->Hide();
40927 wxPyEndAllowThreads(__tstate
);
40928 if (PyErr_Occurred()) SWIG_fail
;
40931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40939 SWIGINTERN PyObject
*_wrap_DragImage_GetImageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40940 PyObject
*resultobj
= 0;
40941 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40942 wxPoint
*arg2
= 0 ;
40947 PyObject
* obj0
= 0 ;
40948 PyObject
* obj1
= 0 ;
40949 char * kwnames
[] = {
40950 (char *) "self",(char *) "pos", NULL
40953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40955 if (!SWIG_IsOK(res1
)) {
40956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40958 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40961 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40965 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
40966 wxPyEndAllowThreads(__tstate
);
40967 if (PyErr_Occurred()) SWIG_fail
;
40969 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
40976 SWIGINTERN PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40977 PyObject
*resultobj
= 0;
40978 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40980 wxPoint
*arg3
= 0 ;
40987 PyObject
* obj0
= 0 ;
40988 PyObject
* obj1
= 0 ;
40989 PyObject
* obj2
= 0 ;
40990 char * kwnames
[] = {
40991 (char *) "self",(char *) "dc",(char *) "pos", NULL
40994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40996 if (!SWIG_IsOK(res1
)) {
40997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40999 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41000 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
41001 if (!SWIG_IsOK(res2
)) {
41002 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41005 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41007 arg2
= reinterpret_cast< wxDC
* >(argp2
);
41010 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
41013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41014 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
41015 wxPyEndAllowThreads(__tstate
);
41016 if (PyErr_Occurred()) SWIG_fail
;
41019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41027 SWIGINTERN PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41028 PyObject
*resultobj
= 0;
41029 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41031 wxMemoryDC
*arg3
= 0 ;
41043 PyObject
* obj0
= 0 ;
41044 PyObject
* obj1
= 0 ;
41045 PyObject
* obj2
= 0 ;
41046 PyObject
* obj3
= 0 ;
41047 PyObject
* obj4
= 0 ;
41048 char * kwnames
[] = {
41049 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
41052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41054 if (!SWIG_IsOK(res1
)) {
41055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41057 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41058 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
41059 if (!SWIG_IsOK(res2
)) {
41060 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41063 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41065 arg2
= reinterpret_cast< wxDC
* >(argp2
);
41066 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxMemoryDC
, 0 );
41067 if (!SWIG_IsOK(res3
)) {
41068 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41071 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41073 arg3
= reinterpret_cast< wxMemoryDC
* >(argp3
);
41076 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
41080 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
41083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41084 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
41085 wxPyEndAllowThreads(__tstate
);
41086 if (PyErr_Occurred()) SWIG_fail
;
41089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41097 SWIGINTERN PyObject
*_wrap_DragImage_RedrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41098 PyObject
*resultobj
= 0;
41099 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41100 wxPoint
*arg2
= 0 ;
41101 wxPoint
*arg3
= 0 ;
41113 PyObject
* obj0
= 0 ;
41114 PyObject
* obj1
= 0 ;
41115 PyObject
* obj2
= 0 ;
41116 PyObject
* obj3
= 0 ;
41117 PyObject
* obj4
= 0 ;
41118 char * kwnames
[] = {
41119 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
41122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41124 if (!SWIG_IsOK(res1
)) {
41125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41127 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41130 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41134 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
41136 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
41137 if (!SWIG_IsOK(ecode4
)) {
41138 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
41140 arg4
= static_cast< bool >(val4
);
41141 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
41142 if (!SWIG_IsOK(ecode5
)) {
41143 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
41145 arg5
= static_cast< bool >(val5
);
41147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41148 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
41149 wxPyEndAllowThreads(__tstate
);
41150 if (PyErr_Occurred()) SWIG_fail
;
41153 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41161 SWIGINTERN PyObject
*DragImage_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41163 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41164 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage
, SWIG_NewClientData(obj
));
41165 return SWIG_Py_Void();
41168 SWIGINTERN PyObject
*DragImage_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41169 return SWIG_Python_InitShadowInstance(args
);
41172 SWIGINTERN
int DatePickerCtrlNameStr_set(PyObject
*) {
41173 SWIG_Error(SWIG_AttributeError
,"Variable DatePickerCtrlNameStr is read-only.");
41178 SWIGINTERN PyObject
*DatePickerCtrlNameStr_get(void) {
41179 PyObject
*pyobj
= 0;
41183 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
41185 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
41192 SWIGINTERN PyObject
*_wrap_new_DatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41193 PyObject
*resultobj
= 0;
41194 wxWindow
*arg1
= (wxWindow
*) 0 ;
41195 int arg2
= (int) -1 ;
41196 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
41197 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
41198 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
41199 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
41200 wxSize
const &arg5_defvalue
= wxDefaultSize
;
41201 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
41202 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41203 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
41204 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
41205 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
41206 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41207 wxDatePickerCtrl
*result
= 0 ;
41220 bool temp8
= false ;
41221 PyObject
* obj0
= 0 ;
41222 PyObject
* obj1
= 0 ;
41223 PyObject
* obj2
= 0 ;
41224 PyObject
* obj3
= 0 ;
41225 PyObject
* obj4
= 0 ;
41226 PyObject
* obj5
= 0 ;
41227 PyObject
* obj6
= 0 ;
41228 PyObject
* obj7
= 0 ;
41229 char * kwnames
[] = {
41230 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41235 if (!SWIG_IsOK(res1
)) {
41236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41238 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41240 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41241 if (!SWIG_IsOK(ecode2
)) {
41242 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
41244 arg2
= static_cast< int >(val2
);
41247 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41248 if (!SWIG_IsOK(res3
)) {
41249 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41252 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41254 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41259 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
41265 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
41269 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
41270 if (!SWIG_IsOK(ecode6
)) {
41271 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
41273 arg6
= static_cast< long >(val6
);
41276 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
41277 if (!SWIG_IsOK(res7
)) {
41278 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41281 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41283 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
41287 arg8
= wxString_in_helper(obj7
);
41288 if (arg8
== NULL
) SWIG_fail
;
41293 if (!wxPyCheckForApp()) SWIG_fail
;
41294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41295 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
41296 wxPyEndAllowThreads(__tstate
);
41297 if (PyErr_Occurred()) SWIG_fail
;
41299 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_NEW
| 0 );
41314 SWIGINTERN PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41315 PyObject
*resultobj
= 0;
41316 wxDatePickerCtrl
*result
= 0 ;
41318 if (!SWIG_Python_UnpackTuple(args
,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail
;
41320 if (!wxPyCheckForApp()) SWIG_fail
;
41321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41322 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
41323 wxPyEndAllowThreads(__tstate
);
41324 if (PyErr_Occurred()) SWIG_fail
;
41326 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_OWN
| 0 );
41333 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41334 PyObject
*resultobj
= 0;
41335 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41336 wxWindow
*arg2
= (wxWindow
*) 0 ;
41337 int arg3
= (int) -1 ;
41338 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
41339 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
41340 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41341 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41342 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41343 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41344 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41345 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
41346 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
41347 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
41348 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41364 bool temp9
= false ;
41365 PyObject
* obj0
= 0 ;
41366 PyObject
* obj1
= 0 ;
41367 PyObject
* obj2
= 0 ;
41368 PyObject
* obj3
= 0 ;
41369 PyObject
* obj4
= 0 ;
41370 PyObject
* obj5
= 0 ;
41371 PyObject
* obj6
= 0 ;
41372 PyObject
* obj7
= 0 ;
41373 PyObject
* obj8
= 0 ;
41374 char * kwnames
[] = {
41375 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41380 if (!SWIG_IsOK(res1
)) {
41381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41383 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41384 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41385 if (!SWIG_IsOK(res2
)) {
41386 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41388 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41390 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41391 if (!SWIG_IsOK(ecode3
)) {
41392 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41394 arg3
= static_cast< int >(val3
);
41397 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41398 if (!SWIG_IsOK(res4
)) {
41399 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41402 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41404 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
41409 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41415 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41419 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41420 if (!SWIG_IsOK(ecode7
)) {
41421 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
41423 arg7
= static_cast< long >(val7
);
41426 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
41427 if (!SWIG_IsOK(res8
)) {
41428 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41431 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41433 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
41437 arg9
= wxString_in_helper(obj8
);
41438 if (arg9
== NULL
) SWIG_fail
;
41443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41444 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
41445 wxPyEndAllowThreads(__tstate
);
41446 if (PyErr_Occurred()) SWIG_fail
;
41449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41465 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41466 PyObject
*resultobj
= 0;
41467 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41468 wxDateTime
*arg2
= 0 ;
41473 PyObject
* obj0
= 0 ;
41474 PyObject
* obj1
= 0 ;
41475 char * kwnames
[] = {
41476 (char *) "self",(char *) "dt", NULL
41479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41481 if (!SWIG_IsOK(res1
)) {
41482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41484 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41485 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41486 if (!SWIG_IsOK(res2
)) {
41487 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41490 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41492 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41495 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
41496 wxPyEndAllowThreads(__tstate
);
41497 if (PyErr_Occurred()) SWIG_fail
;
41499 resultobj
= SWIG_Py_Void();
41506 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41507 PyObject
*resultobj
= 0;
41508 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41512 PyObject
*swig_obj
[1] ;
41514 if (!args
) SWIG_fail
;
41515 swig_obj
[0] = args
;
41516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41517 if (!SWIG_IsOK(res1
)) {
41518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
41520 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41523 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
41524 wxPyEndAllowThreads(__tstate
);
41525 if (PyErr_Occurred()) SWIG_fail
;
41527 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41534 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41535 PyObject
*resultobj
= 0;
41536 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41537 wxDateTime
*arg2
= 0 ;
41538 wxDateTime
*arg3
= 0 ;
41545 PyObject
* obj0
= 0 ;
41546 PyObject
* obj1
= 0 ;
41547 PyObject
* obj2
= 0 ;
41548 char * kwnames
[] = {
41549 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
41552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41554 if (!SWIG_IsOK(res1
)) {
41555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41557 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41558 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41559 if (!SWIG_IsOK(res2
)) {
41560 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41563 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41565 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41566 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41567 if (!SWIG_IsOK(res3
)) {
41568 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41571 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41573 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41576 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
41577 wxPyEndAllowThreads(__tstate
);
41578 if (PyErr_Occurred()) SWIG_fail
;
41580 resultobj
= SWIG_Py_Void();
41587 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41588 PyObject
*resultobj
= 0;
41589 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41593 PyObject
*swig_obj
[1] ;
41595 if (!args
) SWIG_fail
;
41596 swig_obj
[0] = args
;
41597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41598 if (!SWIG_IsOK(res1
)) {
41599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41601 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41604 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
41605 wxPyEndAllowThreads(__tstate
);
41606 if (PyErr_Occurred()) SWIG_fail
;
41608 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41615 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41616 PyObject
*resultobj
= 0;
41617 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41621 PyObject
*swig_obj
[1] ;
41623 if (!args
) SWIG_fail
;
41624 swig_obj
[0] = args
;
41625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41626 if (!SWIG_IsOK(res1
)) {
41627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41629 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41632 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
41633 wxPyEndAllowThreads(__tstate
);
41634 if (PyErr_Occurred()) SWIG_fail
;
41636 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41643 SWIGINTERN PyObject
*DatePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41645 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41646 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl
, SWIG_NewClientData(obj
));
41647 return SWIG_Py_Void();
41650 SWIGINTERN PyObject
*DatePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41651 return SWIG_Python_InitShadowInstance(args
);
41654 SWIGINTERN
int HyperlinkCtrlNameStr_set(PyObject
*) {
41655 SWIG_Error(SWIG_AttributeError
,"Variable HyperlinkCtrlNameStr is read-only.");
41660 SWIGINTERN PyObject
*HyperlinkCtrlNameStr_get(void) {
41661 PyObject
*pyobj
= 0;
41665 pyobj
= PyUnicode_FromWideChar((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41667 pyobj
= PyString_FromStringAndSize((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41674 SWIGINTERN PyObject
*_wrap_new_HyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41675 PyObject
*resultobj
= 0;
41676 wxWindow
*arg1
= (wxWindow
*) 0 ;
41678 wxString
*arg3
= 0 ;
41679 wxString
*arg4
= 0 ;
41680 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41681 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41682 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41683 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41684 long arg7
= (long) wxHL_DEFAULT_STYLE
;
41685 wxString
const &arg8_defvalue
= wxPyHyperlinkCtrlNameStr
;
41686 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41687 wxHyperlinkCtrl
*result
= 0 ;
41692 bool temp3
= false ;
41693 bool temp4
= false ;
41698 bool temp8
= false ;
41699 PyObject
* obj0
= 0 ;
41700 PyObject
* obj1
= 0 ;
41701 PyObject
* obj2
= 0 ;
41702 PyObject
* obj3
= 0 ;
41703 PyObject
* obj4
= 0 ;
41704 PyObject
* obj5
= 0 ;
41705 PyObject
* obj6
= 0 ;
41706 PyObject
* obj7
= 0 ;
41707 char * kwnames
[] = {
41708 (char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_HyperlinkCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41713 if (!SWIG_IsOK(res1
)) {
41714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41716 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41717 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41718 if (!SWIG_IsOK(ecode2
)) {
41719 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkCtrl" "', expected argument " "2"" of type '" "int""'");
41721 arg2
= static_cast< int >(val2
);
41723 arg3
= wxString_in_helper(obj2
);
41724 if (arg3
== NULL
) SWIG_fail
;
41728 arg4
= wxString_in_helper(obj3
);
41729 if (arg4
== NULL
) SWIG_fail
;
41735 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41741 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41745 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41746 if (!SWIG_IsOK(ecode7
)) {
41747 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_HyperlinkCtrl" "', expected argument " "7"" of type '" "long""'");
41749 arg7
= static_cast< long >(val7
);
41753 arg8
= wxString_in_helper(obj7
);
41754 if (arg8
== NULL
) SWIG_fail
;
41759 if (!wxPyCheckForApp()) SWIG_fail
;
41760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41761 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
41762 wxPyEndAllowThreads(__tstate
);
41763 if (PyErr_Occurred()) SWIG_fail
;
41765 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_NEW
| 0 );
41796 SWIGINTERN PyObject
*_wrap_new_PreHyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41797 PyObject
*resultobj
= 0;
41798 wxHyperlinkCtrl
*result
= 0 ;
41800 if (!SWIG_Python_UnpackTuple(args
,"new_PreHyperlinkCtrl",0,0,0)) SWIG_fail
;
41802 if (!wxPyCheckForApp()) SWIG_fail
;
41803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41804 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl();
41805 wxPyEndAllowThreads(__tstate
);
41806 if (PyErr_Occurred()) SWIG_fail
;
41808 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_OWN
| 0 );
41815 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41816 PyObject
*resultobj
= 0;
41817 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41818 wxWindow
*arg2
= (wxWindow
*) 0 ;
41820 wxString
*arg4
= 0 ;
41821 wxString
*arg5
= 0 ;
41822 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
41823 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
41824 wxSize
const &arg7_defvalue
= wxDefaultSize
;
41825 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
41826 long arg8
= (long) wxHL_DEFAULT_STYLE
;
41827 wxString
const &arg9_defvalue
= wxPyHyperlinkCtrlNameStr
;
41828 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41836 bool temp4
= false ;
41837 bool temp5
= false ;
41842 bool temp9
= false ;
41843 PyObject
* obj0
= 0 ;
41844 PyObject
* obj1
= 0 ;
41845 PyObject
* obj2
= 0 ;
41846 PyObject
* obj3
= 0 ;
41847 PyObject
* obj4
= 0 ;
41848 PyObject
* obj5
= 0 ;
41849 PyObject
* obj6
= 0 ;
41850 PyObject
* obj7
= 0 ;
41851 PyObject
* obj8
= 0 ;
41852 char * kwnames
[] = {
41853 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOO:HyperlinkCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41858 if (!SWIG_IsOK(res1
)) {
41859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41861 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41862 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41863 if (!SWIG_IsOK(res2
)) {
41864 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41866 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41867 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41868 if (!SWIG_IsOK(ecode3
)) {
41869 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41871 arg3
= static_cast< int >(val3
);
41873 arg4
= wxString_in_helper(obj3
);
41874 if (arg4
== NULL
) SWIG_fail
;
41878 arg5
= wxString_in_helper(obj4
);
41879 if (arg5
== NULL
) SWIG_fail
;
41885 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
41891 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
41895 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
41896 if (!SWIG_IsOK(ecode8
)) {
41897 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "8"" of type '" "long""'");
41899 arg8
= static_cast< long >(val8
);
41903 arg9
= wxString_in_helper(obj8
);
41904 if (arg9
== NULL
) SWIG_fail
;
41909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41910 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
41911 wxPyEndAllowThreads(__tstate
);
41912 if (PyErr_Occurred()) SWIG_fail
;
41915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41947 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41948 PyObject
*resultobj
= 0;
41949 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41953 PyObject
*swig_obj
[1] ;
41955 if (!args
) SWIG_fail
;
41956 swig_obj
[0] = args
;
41957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41958 if (!SWIG_IsOK(res1
)) {
41959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41961 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41964 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetHoverColour();
41965 wxPyEndAllowThreads(__tstate
);
41966 if (PyErr_Occurred()) SWIG_fail
;
41968 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
41975 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41976 PyObject
*resultobj
= 0;
41977 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41978 wxColour
*arg2
= 0 ;
41982 PyObject
* obj0
= 0 ;
41983 PyObject
* obj1
= 0 ;
41984 char * kwnames
[] = {
41985 (char *) "self",(char *) "colour", NULL
41988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetHoverColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41990 if (!SWIG_IsOK(res1
)) {
41991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41993 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41996 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
41999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42000 (arg1
)->SetHoverColour((wxColour
const &)*arg2
);
42001 wxPyEndAllowThreads(__tstate
);
42002 if (PyErr_Occurred()) SWIG_fail
;
42004 resultobj
= SWIG_Py_Void();
42011 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42012 PyObject
*resultobj
= 0;
42013 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42017 PyObject
*swig_obj
[1] ;
42019 if (!args
) SWIG_fail
;
42020 swig_obj
[0] = args
;
42021 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42022 if (!SWIG_IsOK(res1
)) {
42023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42025 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42028 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetNormalColour();
42029 wxPyEndAllowThreads(__tstate
);
42030 if (PyErr_Occurred()) SWIG_fail
;
42032 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42039 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42040 PyObject
*resultobj
= 0;
42041 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42042 wxColour
*arg2
= 0 ;
42046 PyObject
* obj0
= 0 ;
42047 PyObject
* obj1
= 0 ;
42048 char * kwnames
[] = {
42049 (char *) "self",(char *) "colour", NULL
42052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetNormalColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42054 if (!SWIG_IsOK(res1
)) {
42055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42057 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42060 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42064 (arg1
)->SetNormalColour((wxColour
const &)*arg2
);
42065 wxPyEndAllowThreads(__tstate
);
42066 if (PyErr_Occurred()) SWIG_fail
;
42068 resultobj
= SWIG_Py_Void();
42075 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42076 PyObject
*resultobj
= 0;
42077 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42081 PyObject
*swig_obj
[1] ;
42083 if (!args
) SWIG_fail
;
42084 swig_obj
[0] = args
;
42085 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42086 if (!SWIG_IsOK(res1
)) {
42087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42089 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42092 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetVisitedColour();
42093 wxPyEndAllowThreads(__tstate
);
42094 if (PyErr_Occurred()) SWIG_fail
;
42096 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42103 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42104 PyObject
*resultobj
= 0;
42105 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42106 wxColour
*arg2
= 0 ;
42110 PyObject
* obj0
= 0 ;
42111 PyObject
* obj1
= 0 ;
42112 char * kwnames
[] = {
42113 (char *) "self",(char *) "colour", NULL
42116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetVisitedColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42118 if (!SWIG_IsOK(res1
)) {
42119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42121 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42124 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42128 (arg1
)->SetVisitedColour((wxColour
const &)*arg2
);
42129 wxPyEndAllowThreads(__tstate
);
42130 if (PyErr_Occurred()) SWIG_fail
;
42132 resultobj
= SWIG_Py_Void();
42139 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42140 PyObject
*resultobj
= 0;
42141 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42145 PyObject
*swig_obj
[1] ;
42147 if (!args
) SWIG_fail
;
42148 swig_obj
[0] = args
;
42149 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42150 if (!SWIG_IsOK(res1
)) {
42151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42153 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42156 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetURL();
42157 wxPyEndAllowThreads(__tstate
);
42158 if (PyErr_Occurred()) SWIG_fail
;
42162 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42164 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42173 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42174 PyObject
*resultobj
= 0;
42175 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42176 wxString
*arg2
= 0 ;
42179 bool temp2
= false ;
42180 PyObject
* obj0
= 0 ;
42181 PyObject
* obj1
= 0 ;
42182 char * kwnames
[] = {
42183 (char *) "self",(char *) "url", NULL
42186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42188 if (!SWIG_IsOK(res1
)) {
42189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42191 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42193 arg2
= wxString_in_helper(obj1
);
42194 if (arg2
== NULL
) SWIG_fail
;
42198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42199 (arg1
)->SetURL((wxString
const &)*arg2
);
42200 wxPyEndAllowThreads(__tstate
);
42201 if (PyErr_Occurred()) SWIG_fail
;
42203 resultobj
= SWIG_Py_Void();
42218 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42219 PyObject
*resultobj
= 0;
42220 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42221 bool arg2
= (bool) true ;
42226 PyObject
* obj0
= 0 ;
42227 PyObject
* obj1
= 0 ;
42228 char * kwnames
[] = {
42229 (char *) "self",(char *) "visited", NULL
42232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HyperlinkCtrl_SetVisited",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42234 if (!SWIG_IsOK(res1
)) {
42235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42237 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42239 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42240 if (!SWIG_IsOK(ecode2
)) {
42241 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "2"" of type '" "bool""'");
42243 arg2
= static_cast< bool >(val2
);
42246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42247 (arg1
)->SetVisited(arg2
);
42248 wxPyEndAllowThreads(__tstate
);
42249 if (PyErr_Occurred()) SWIG_fail
;
42251 resultobj
= SWIG_Py_Void();
42258 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42259 PyObject
*resultobj
= 0;
42260 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42264 PyObject
*swig_obj
[1] ;
42266 if (!args
) SWIG_fail
;
42267 swig_obj
[0] = args
;
42268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42269 if (!SWIG_IsOK(res1
)) {
42270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42272 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42275 result
= (bool)((wxHyperlinkCtrl
const *)arg1
)->GetVisited();
42276 wxPyEndAllowThreads(__tstate
);
42277 if (PyErr_Occurred()) SWIG_fail
;
42280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42288 SWIGINTERN PyObject
*HyperlinkCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42290 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42291 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_NewClientData(obj
));
42292 return SWIG_Py_Void();
42295 SWIGINTERN PyObject
*HyperlinkCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42296 return SWIG_Python_InitShadowInstance(args
);
42299 SWIGINTERN PyObject
*_wrap_new_HyperlinkEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42300 PyObject
*resultobj
= 0;
42301 wxObject
*arg1
= (wxObject
*) 0 ;
42303 wxString
*arg3
= 0 ;
42304 wxHyperlinkEvent
*result
= 0 ;
42309 bool temp3
= false ;
42310 PyObject
* obj0
= 0 ;
42311 PyObject
* obj1
= 0 ;
42312 PyObject
* obj2
= 0 ;
42313 char * kwnames
[] = {
42314 (char *) "generator",(char *) "id",(char *) "url", NULL
42317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_HyperlinkEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
42318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
42319 if (!SWIG_IsOK(res1
)) {
42320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkEvent" "', expected argument " "1"" of type '" "wxObject *""'");
42322 arg1
= reinterpret_cast< wxObject
* >(argp1
);
42323 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42324 if (!SWIG_IsOK(ecode2
)) {
42325 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkEvent" "', expected argument " "2"" of type '" "int""'");
42327 arg2
= static_cast< int >(val2
);
42329 arg3
= wxString_in_helper(obj2
);
42330 if (arg3
== NULL
) SWIG_fail
;
42334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42335 result
= (wxHyperlinkEvent
*)new wxHyperlinkEvent(arg1
,arg2
,(wxString
const &)*arg3
);
42336 wxPyEndAllowThreads(__tstate
);
42337 if (PyErr_Occurred()) SWIG_fail
;
42339 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkEvent
, SWIG_POINTER_NEW
| 0 );
42354 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42355 PyObject
*resultobj
= 0;
42356 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42360 PyObject
*swig_obj
[1] ;
42362 if (!args
) SWIG_fail
;
42363 swig_obj
[0] = args
;
42364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42365 if (!SWIG_IsOK(res1
)) {
42366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent const *""'");
42368 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42371 result
= ((wxHyperlinkEvent
const *)arg1
)->GetURL();
42372 wxPyEndAllowThreads(__tstate
);
42373 if (PyErr_Occurred()) SWIG_fail
;
42377 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42379 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42388 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42389 PyObject
*resultobj
= 0;
42390 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42391 wxString
*arg2
= 0 ;
42394 bool temp2
= false ;
42395 PyObject
* obj0
= 0 ;
42396 PyObject
* obj1
= 0 ;
42397 char * kwnames
[] = {
42398 (char *) "self",(char *) "url", NULL
42401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkEvent_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42403 if (!SWIG_IsOK(res1
)) {
42404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent *""'");
42406 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42408 arg2
= wxString_in_helper(obj1
);
42409 if (arg2
== NULL
) SWIG_fail
;
42413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42414 (arg1
)->SetURL((wxString
const &)*arg2
);
42415 wxPyEndAllowThreads(__tstate
);
42416 if (PyErr_Occurred()) SWIG_fail
;
42418 resultobj
= SWIG_Py_Void();
42433 SWIGINTERN PyObject
*HyperlinkEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42435 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42436 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkEvent
, SWIG_NewClientData(obj
));
42437 return SWIG_Py_Void();
42440 SWIGINTERN PyObject
*HyperlinkEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42441 return SWIG_Python_InitShadowInstance(args
);
42444 SWIGINTERN PyObject
*_wrap_PickerBase_CreateBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42445 PyObject
*resultobj
= 0;
42446 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42447 wxWindow
*arg2
= (wxWindow
*) 0 ;
42449 wxString
const &arg4_defvalue
= wxEmptyString
;
42450 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
42451 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
42452 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
42453 wxSize
const &arg6_defvalue
= wxDefaultSize
;
42454 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
42455 long arg7
= (long) 0 ;
42456 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
42457 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
42458 wxString
const &arg9_defvalue
= wxButtonNameStr
;
42459 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
42467 bool temp4
= false ;
42474 bool temp9
= false ;
42475 PyObject
* obj0
= 0 ;
42476 PyObject
* obj1
= 0 ;
42477 PyObject
* obj2
= 0 ;
42478 PyObject
* obj3
= 0 ;
42479 PyObject
* obj4
= 0 ;
42480 PyObject
* obj5
= 0 ;
42481 PyObject
* obj6
= 0 ;
42482 PyObject
* obj7
= 0 ;
42483 PyObject
* obj8
= 0 ;
42484 char * kwnames
[] = {
42485 (char *) "self",(char *) "parent",(char *) "id",(char *) "text",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:PickerBase_CreateBase",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
42489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42490 if (!SWIG_IsOK(res1
)) {
42491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_CreateBase" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42493 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42494 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42495 if (!SWIG_IsOK(res2
)) {
42496 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PickerBase_CreateBase" "', expected argument " "2"" of type '" "wxWindow *""'");
42498 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
42499 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42500 if (!SWIG_IsOK(ecode3
)) {
42501 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PickerBase_CreateBase" "', expected argument " "3"" of type '" "int""'");
42503 arg3
= static_cast< int >(val3
);
42506 arg4
= wxString_in_helper(obj3
);
42507 if (arg4
== NULL
) SWIG_fail
;
42514 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
42520 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
42524 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
42525 if (!SWIG_IsOK(ecode7
)) {
42526 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PickerBase_CreateBase" "', expected argument " "7"" of type '" "long""'");
42528 arg7
= static_cast< long >(val7
);
42531 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
42532 if (!SWIG_IsOK(res8
)) {
42533 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42536 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42538 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
42542 arg9
= wxString_in_helper(obj8
);
42543 if (arg9
== NULL
) SWIG_fail
;
42548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42549 result
= (bool)(arg1
)->CreateBase(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
42550 wxPyEndAllowThreads(__tstate
);
42551 if (PyErr_Occurred()) SWIG_fail
;
42554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42578 SWIGINTERN PyObject
*_wrap_PickerBase_SetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42579 PyObject
*resultobj
= 0;
42580 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42586 PyObject
* obj0
= 0 ;
42587 PyObject
* obj1
= 0 ;
42588 char * kwnames
[] = {
42589 (char *) "self",(char *) "newmargin", NULL
42592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetInternalMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42594 if (!SWIG_IsOK(res1
)) {
42595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42597 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42598 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42599 if (!SWIG_IsOK(ecode2
)) {
42600 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "2"" of type '" "int""'");
42602 arg2
= static_cast< int >(val2
);
42604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42605 (arg1
)->SetInternalMargin(arg2
);
42606 wxPyEndAllowThreads(__tstate
);
42607 if (PyErr_Occurred()) SWIG_fail
;
42609 resultobj
= SWIG_Py_Void();
42616 SWIGINTERN PyObject
*_wrap_PickerBase_GetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42617 PyObject
*resultobj
= 0;
42618 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42622 PyObject
*swig_obj
[1] ;
42624 if (!args
) SWIG_fail
;
42625 swig_obj
[0] = args
;
42626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42627 if (!SWIG_IsOK(res1
)) {
42628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42630 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42633 result
= (int)((wxPickerBase
const *)arg1
)->GetInternalMargin();
42634 wxPyEndAllowThreads(__tstate
);
42635 if (PyErr_Occurred()) SWIG_fail
;
42637 resultobj
= SWIG_From_int(static_cast< int >(result
));
42644 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42645 PyObject
*resultobj
= 0;
42646 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42652 PyObject
* obj0
= 0 ;
42653 PyObject
* obj1
= 0 ;
42654 char * kwnames
[] = {
42655 (char *) "self",(char *) "prop", NULL
42658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetTextCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42660 if (!SWIG_IsOK(res1
)) {
42661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42663 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42664 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42665 if (!SWIG_IsOK(ecode2
)) {
42666 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42668 arg2
= static_cast< int >(val2
);
42670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42671 (arg1
)->SetTextCtrlProportion(arg2
);
42672 wxPyEndAllowThreads(__tstate
);
42673 if (PyErr_Occurred()) SWIG_fail
;
42675 resultobj
= SWIG_Py_Void();
42682 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42683 PyObject
*resultobj
= 0;
42684 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42688 PyObject
*swig_obj
[1] ;
42690 if (!args
) SWIG_fail
;
42691 swig_obj
[0] = args
;
42692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42693 if (!SWIG_IsOK(res1
)) {
42694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42696 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42699 result
= (int)((wxPickerBase
const *)arg1
)->GetTextCtrlProportion();
42700 wxPyEndAllowThreads(__tstate
);
42701 if (PyErr_Occurred()) SWIG_fail
;
42703 resultobj
= SWIG_From_int(static_cast< int >(result
));
42710 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42711 PyObject
*resultobj
= 0;
42712 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42718 PyObject
* obj0
= 0 ;
42719 PyObject
* obj1
= 0 ;
42720 char * kwnames
[] = {
42721 (char *) "self",(char *) "prop", NULL
42724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetPickerCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42726 if (!SWIG_IsOK(res1
)) {
42727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42729 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42730 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42731 if (!SWIG_IsOK(ecode2
)) {
42732 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42734 arg2
= static_cast< int >(val2
);
42736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42737 (arg1
)->SetPickerCtrlProportion(arg2
);
42738 wxPyEndAllowThreads(__tstate
);
42739 if (PyErr_Occurred()) SWIG_fail
;
42741 resultobj
= SWIG_Py_Void();
42748 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42749 PyObject
*resultobj
= 0;
42750 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42754 PyObject
*swig_obj
[1] ;
42756 if (!args
) SWIG_fail
;
42757 swig_obj
[0] = args
;
42758 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42759 if (!SWIG_IsOK(res1
)) {
42760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42762 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42765 result
= (int)((wxPickerBase
const *)arg1
)->GetPickerCtrlProportion();
42766 wxPyEndAllowThreads(__tstate
);
42767 if (PyErr_Occurred()) SWIG_fail
;
42769 resultobj
= SWIG_From_int(static_cast< int >(result
));
42776 SWIGINTERN PyObject
*_wrap_PickerBase_IsTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42777 PyObject
*resultobj
= 0;
42778 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42782 PyObject
*swig_obj
[1] ;
42784 if (!args
) SWIG_fail
;
42785 swig_obj
[0] = args
;
42786 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42787 if (!SWIG_IsOK(res1
)) {
42788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42790 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42793 result
= (bool)((wxPickerBase
const *)arg1
)->IsTextCtrlGrowable();
42794 wxPyEndAllowThreads(__tstate
);
42795 if (PyErr_Occurred()) SWIG_fail
;
42798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42806 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42807 PyObject
*resultobj
= 0;
42808 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42809 bool arg2
= (bool) true ;
42814 PyObject
* obj0
= 0 ;
42815 PyObject
* obj1
= 0 ;
42816 char * kwnames
[] = {
42817 (char *) "self",(char *) "grow", NULL
42820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetTextCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42822 if (!SWIG_IsOK(res1
)) {
42823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42825 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42827 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42828 if (!SWIG_IsOK(ecode2
)) {
42829 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
42831 arg2
= static_cast< bool >(val2
);
42834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42835 (arg1
)->SetTextCtrlGrowable(arg2
);
42836 wxPyEndAllowThreads(__tstate
);
42837 if (PyErr_Occurred()) SWIG_fail
;
42839 resultobj
= SWIG_Py_Void();
42846 SWIGINTERN PyObject
*_wrap_PickerBase_IsPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42847 PyObject
*resultobj
= 0;
42848 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42852 PyObject
*swig_obj
[1] ;
42854 if (!args
) SWIG_fail
;
42855 swig_obj
[0] = args
;
42856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42857 if (!SWIG_IsOK(res1
)) {
42858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42860 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42863 result
= (bool)((wxPickerBase
const *)arg1
)->IsPickerCtrlGrowable();
42864 wxPyEndAllowThreads(__tstate
);
42865 if (PyErr_Occurred()) SWIG_fail
;
42868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42876 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42877 PyObject
*resultobj
= 0;
42878 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42879 bool arg2
= (bool) true ;
42884 PyObject
* obj0
= 0 ;
42885 PyObject
* obj1
= 0 ;
42886 char * kwnames
[] = {
42887 (char *) "self",(char *) "grow", NULL
42890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetPickerCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42892 if (!SWIG_IsOK(res1
)) {
42893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42895 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42897 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42898 if (!SWIG_IsOK(ecode2
)) {
42899 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
42901 arg2
= static_cast< bool >(val2
);
42904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42905 (arg1
)->SetPickerCtrlGrowable(arg2
);
42906 wxPyEndAllowThreads(__tstate
);
42907 if (PyErr_Occurred()) SWIG_fail
;
42909 resultobj
= SWIG_Py_Void();
42916 SWIGINTERN PyObject
*_wrap_PickerBase_HasTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42917 PyObject
*resultobj
= 0;
42918 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42922 PyObject
*swig_obj
[1] ;
42924 if (!args
) SWIG_fail
;
42925 swig_obj
[0] = args
;
42926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42927 if (!SWIG_IsOK(res1
)) {
42928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_HasTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42930 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42933 result
= (bool)((wxPickerBase
const *)arg1
)->HasTextCtrl();
42934 wxPyEndAllowThreads(__tstate
);
42935 if (PyErr_Occurred()) SWIG_fail
;
42938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42946 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42947 PyObject
*resultobj
= 0;
42948 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42949 wxTextCtrl
*result
= 0 ;
42952 PyObject
*swig_obj
[1] ;
42954 if (!args
) SWIG_fail
;
42955 swig_obj
[0] = args
;
42956 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42957 if (!SWIG_IsOK(res1
)) {
42958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42960 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42963 result
= (wxTextCtrl
*)(arg1
)->GetTextCtrl();
42964 wxPyEndAllowThreads(__tstate
);
42965 if (PyErr_Occurred()) SWIG_fail
;
42968 resultobj
= wxPyMake_wxObject(result
, 0);
42976 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42977 PyObject
*resultobj
= 0;
42978 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42979 wxControl
*result
= 0 ;
42982 PyObject
*swig_obj
[1] ;
42984 if (!args
) SWIG_fail
;
42985 swig_obj
[0] = args
;
42986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42987 if (!SWIG_IsOK(res1
)) {
42988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42990 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42993 result
= (wxControl
*)(arg1
)->GetPickerCtrl();
42994 wxPyEndAllowThreads(__tstate
);
42995 if (PyErr_Occurred()) SWIG_fail
;
42998 resultobj
= wxPyMake_wxObject(result
, 0);
43006 SWIGINTERN PyObject
*PickerBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43008 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43009 SWIG_TypeNewClientData(SWIGTYPE_p_wxPickerBase
, SWIG_NewClientData(obj
));
43010 return SWIG_Py_Void();
43013 SWIGINTERN
int ColourPickerCtrlNameStr_set(PyObject
*) {
43014 SWIG_Error(SWIG_AttributeError
,"Variable ColourPickerCtrlNameStr is read-only.");
43019 SWIGINTERN PyObject
*ColourPickerCtrlNameStr_get(void) {
43020 PyObject
*pyobj
= 0;
43024 pyobj
= PyUnicode_FromWideChar((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
43026 pyobj
= PyString_FromStringAndSize((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
43033 SWIGINTERN PyObject
*_wrap_new_ColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43034 PyObject
*resultobj
= 0;
43035 wxWindow
*arg1
= (wxWindow
*) 0 ;
43036 int arg2
= (int) -1 ;
43037 wxColour
const &arg3_defvalue
= *wxBLACK
;
43038 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
43039 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
43040 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
43041 wxSize
const &arg5_defvalue
= wxDefaultSize
;
43042 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
43043 long arg6
= (long) wxCLRP_DEFAULT_STYLE
;
43044 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
43045 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
43046 wxString
const &arg8_defvalue
= wxPyColourPickerCtrlNameStr
;
43047 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
43048 wxColourPickerCtrl
*result
= 0 ;
43060 bool temp8
= false ;
43061 PyObject
* obj0
= 0 ;
43062 PyObject
* obj1
= 0 ;
43063 PyObject
* obj2
= 0 ;
43064 PyObject
* obj3
= 0 ;
43065 PyObject
* obj4
= 0 ;
43066 PyObject
* obj5
= 0 ;
43067 PyObject
* obj6
= 0 ;
43068 PyObject
* obj7
= 0 ;
43069 char * kwnames
[] = {
43070 (char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ColourPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
43074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43075 if (!SWIG_IsOK(res1
)) {
43076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43078 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43080 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43081 if (!SWIG_IsOK(ecode2
)) {
43082 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerCtrl" "', expected argument " "2"" of type '" "int""'");
43084 arg2
= static_cast< int >(val2
);
43089 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43095 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
43101 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
43105 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
43106 if (!SWIG_IsOK(ecode6
)) {
43107 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ColourPickerCtrl" "', expected argument " "6"" of type '" "long""'");
43109 arg6
= static_cast< long >(val6
);
43112 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
43113 if (!SWIG_IsOK(res7
)) {
43114 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43117 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43119 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
43123 arg8
= wxString_in_helper(obj7
);
43124 if (arg8
== NULL
) SWIG_fail
;
43129 if (!wxPyCheckForApp()) SWIG_fail
;
43130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43131 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl(arg1
,arg2
,(wxColour
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
43132 wxPyEndAllowThreads(__tstate
);
43133 if (PyErr_Occurred()) SWIG_fail
;
43135 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_NEW
| 0 );
43150 SWIGINTERN PyObject
*_wrap_new_PreColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43151 PyObject
*resultobj
= 0;
43152 wxColourPickerCtrl
*result
= 0 ;
43154 if (!SWIG_Python_UnpackTuple(args
,"new_PreColourPickerCtrl",0,0,0)) SWIG_fail
;
43156 if (!wxPyCheckForApp()) SWIG_fail
;
43157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43158 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl();
43159 wxPyEndAllowThreads(__tstate
);
43160 if (PyErr_Occurred()) SWIG_fail
;
43162 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_OWN
| 0 );
43169 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43170 PyObject
*resultobj
= 0;
43171 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43172 wxWindow
*arg2
= (wxWindow
*) 0 ;
43174 wxColour
const &arg4_defvalue
= *wxBLACK
;
43175 wxColour
*arg4
= (wxColour
*) &arg4_defvalue
;
43176 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
43177 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
43178 wxSize
const &arg6_defvalue
= wxDefaultSize
;
43179 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
43180 long arg7
= (long) wxCLRP_DEFAULT_STYLE
;
43181 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
43182 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
43183 wxString
const &arg9_defvalue
= wxPyColourPickerCtrlNameStr
;
43184 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
43199 bool temp9
= false ;
43200 PyObject
* obj0
= 0 ;
43201 PyObject
* obj1
= 0 ;
43202 PyObject
* obj2
= 0 ;
43203 PyObject
* obj3
= 0 ;
43204 PyObject
* obj4
= 0 ;
43205 PyObject
* obj5
= 0 ;
43206 PyObject
* obj6
= 0 ;
43207 PyObject
* obj7
= 0 ;
43208 PyObject
* obj8
= 0 ;
43209 char * kwnames
[] = {
43210 (char *) "self",(char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ColourPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
43214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43215 if (!SWIG_IsOK(res1
)) {
43216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43218 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43219 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43220 if (!SWIG_IsOK(res2
)) {
43221 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43223 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43224 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43225 if (!SWIG_IsOK(ecode3
)) {
43226 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43228 arg3
= static_cast< int >(val3
);
43232 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
43238 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
43244 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
43248 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
43249 if (!SWIG_IsOK(ecode7
)) {
43250 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
43252 arg7
= static_cast< long >(val7
);
43255 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
43256 if (!SWIG_IsOK(res8
)) {
43257 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43260 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43262 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
43266 arg9
= wxString_in_helper(obj8
);
43267 if (arg9
== NULL
) SWIG_fail
;
43272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43273 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
43274 wxPyEndAllowThreads(__tstate
);
43275 if (PyErr_Occurred()) SWIG_fail
;
43278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43294 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43295 PyObject
*resultobj
= 0;
43296 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43300 PyObject
*swig_obj
[1] ;
43302 if (!args
) SWIG_fail
;
43303 swig_obj
[0] = args
;
43304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43305 if (!SWIG_IsOK(res1
)) {
43306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_GetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl const *""'");
43308 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43311 result
= ((wxColourPickerCtrl
const *)arg1
)->GetColour();
43312 wxPyEndAllowThreads(__tstate
);
43313 if (PyErr_Occurred()) SWIG_fail
;
43315 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43322 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43323 PyObject
*resultobj
= 0;
43324 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43325 wxColour
*arg2
= 0 ;
43329 PyObject
* obj0
= 0 ;
43330 PyObject
* obj1
= 0 ;
43331 char * kwnames
[] = {
43332 (char *) "self",(char *) "col", NULL
43335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerCtrl_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43337 if (!SWIG_IsOK(res1
)) {
43338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_SetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43340 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43343 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43347 (arg1
)->SetColour((wxColour
const &)*arg2
);
43348 wxPyEndAllowThreads(__tstate
);
43349 if (PyErr_Occurred()) SWIG_fail
;
43351 resultobj
= SWIG_Py_Void();
43358 SWIGINTERN PyObject
*ColourPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43360 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43361 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerCtrl
, SWIG_NewClientData(obj
));
43362 return SWIG_Py_Void();
43365 SWIGINTERN PyObject
*ColourPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43366 return SWIG_Python_InitShadowInstance(args
);
43369 SWIGINTERN PyObject
*_wrap_new_ColourPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43370 PyObject
*resultobj
= 0;
43371 wxObject
*arg1
= (wxObject
*) 0 ;
43373 wxColour
*arg3
= 0 ;
43374 wxColourPickerEvent
*result
= 0 ;
43380 PyObject
* obj0
= 0 ;
43381 PyObject
* obj1
= 0 ;
43382 PyObject
* obj2
= 0 ;
43383 char * kwnames
[] = {
43384 (char *) "generator",(char *) "id",(char *) "col", NULL
43387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ColourPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
43388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
43389 if (!SWIG_IsOK(res1
)) {
43390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
43392 arg1
= reinterpret_cast< wxObject
* >(argp1
);
43393 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43394 if (!SWIG_IsOK(ecode2
)) {
43395 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerEvent" "', expected argument " "2"" of type '" "int""'");
43397 arg2
= static_cast< int >(val2
);
43400 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43404 result
= (wxColourPickerEvent
*)new wxColourPickerEvent(arg1
,arg2
,(wxColour
const &)*arg3
);
43405 wxPyEndAllowThreads(__tstate
);
43406 if (PyErr_Occurred()) SWIG_fail
;
43408 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerEvent
, SWIG_POINTER_NEW
| 0 );
43415 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43416 PyObject
*resultobj
= 0;
43417 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43421 PyObject
*swig_obj
[1] ;
43423 if (!args
) SWIG_fail
;
43424 swig_obj
[0] = args
;
43425 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43426 if (!SWIG_IsOK(res1
)) {
43427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_GetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent const *""'");
43429 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43432 result
= ((wxColourPickerEvent
const *)arg1
)->GetColour();
43433 wxPyEndAllowThreads(__tstate
);
43434 if (PyErr_Occurred()) SWIG_fail
;
43436 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43443 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43444 PyObject
*resultobj
= 0;
43445 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43446 wxColour
*arg2
= 0 ;
43450 PyObject
* obj0
= 0 ;
43451 PyObject
* obj1
= 0 ;
43452 char * kwnames
[] = {
43453 (char *) "self",(char *) "c", NULL
43456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerEvent_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43458 if (!SWIG_IsOK(res1
)) {
43459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_SetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent *""'");
43461 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43464 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43468 (arg1
)->SetColour((wxColour
const &)*arg2
);
43469 wxPyEndAllowThreads(__tstate
);
43470 if (PyErr_Occurred()) SWIG_fail
;
43472 resultobj
= SWIG_Py_Void();
43479 SWIGINTERN PyObject
*ColourPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43481 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43482 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerEvent
, SWIG_NewClientData(obj
));
43483 return SWIG_Py_Void();
43486 SWIGINTERN PyObject
*ColourPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43487 return SWIG_Python_InitShadowInstance(args
);
43490 SWIGINTERN
int FilePickerCtrlNameStr_set(PyObject
*) {
43491 SWIG_Error(SWIG_AttributeError
,"Variable FilePickerCtrlNameStr is read-only.");
43496 SWIGINTERN PyObject
*FilePickerCtrlNameStr_get(void) {
43497 PyObject
*pyobj
= 0;
43501 pyobj
= PyUnicode_FromWideChar((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43503 pyobj
= PyString_FromStringAndSize((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43510 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
43511 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
43516 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
43517 PyObject
*pyobj
= 0;
43521 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43523 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43530 SWIGINTERN
int DirPickerCtrlNameStr_set(PyObject
*) {
43531 SWIG_Error(SWIG_AttributeError
,"Variable DirPickerCtrlNameStr is read-only.");
43536 SWIGINTERN PyObject
*DirPickerCtrlNameStr_get(void) {
43537 PyObject
*pyobj
= 0;
43541 pyobj
= PyUnicode_FromWideChar((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43543 pyobj
= PyString_FromStringAndSize((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43550 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
43551 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
43556 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
43557 PyObject
*pyobj
= 0;
43561 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43563 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43570 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
43571 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
43576 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
43577 PyObject
*pyobj
= 0;
43581 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43583 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43590 SWIGINTERN PyObject
*_wrap_new_FilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43591 PyObject
*resultobj
= 0;
43592 wxWindow
*arg1
= (wxWindow
*) 0 ;
43593 int arg2
= (int) -1 ;
43594 wxString
const &arg3_defvalue
= wxPyEmptyString
;
43595 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
43596 wxString
const &arg4_defvalue
= wxPyFileSelectorPromptStr
;
43597 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43598 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
43599 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43600 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
43601 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
43602 wxSize
const &arg7_defvalue
= wxDefaultSize
;
43603 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
43604 long arg8
= (long) wxFLP_DEFAULT_STYLE
;
43605 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
43606 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
43607 wxString
const &arg10_defvalue
= wxPyFilePickerCtrlNameStr
;
43608 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
43609 wxFilePickerCtrl
*result
= 0 ;
43614 bool temp3
= false ;
43615 bool temp4
= false ;
43616 bool temp5
= false ;
43623 bool temp10
= false ;
43624 PyObject
* obj0
= 0 ;
43625 PyObject
* obj1
= 0 ;
43626 PyObject
* obj2
= 0 ;
43627 PyObject
* obj3
= 0 ;
43628 PyObject
* obj4
= 0 ;
43629 PyObject
* obj5
= 0 ;
43630 PyObject
* obj6
= 0 ;
43631 PyObject
* obj7
= 0 ;
43632 PyObject
* obj8
= 0 ;
43633 PyObject
* obj9
= 0 ;
43634 char * kwnames
[] = {
43635 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_FilePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
43639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43640 if (!SWIG_IsOK(res1
)) {
43641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FilePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43643 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43645 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43646 if (!SWIG_IsOK(ecode2
)) {
43647 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FilePickerCtrl" "', expected argument " "2"" of type '" "int""'");
43649 arg2
= static_cast< int >(val2
);
43653 arg3
= wxString_in_helper(obj2
);
43654 if (arg3
== NULL
) SWIG_fail
;
43660 arg4
= wxString_in_helper(obj3
);
43661 if (arg4
== NULL
) SWIG_fail
;
43667 arg5
= wxString_in_helper(obj4
);
43668 if (arg5
== NULL
) SWIG_fail
;
43675 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
43681 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
43685 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
43686 if (!SWIG_IsOK(ecode8
)) {
43687 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_FilePickerCtrl" "', expected argument " "8"" of type '" "long""'");
43689 arg8
= static_cast< long >(val8
);
43692 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
43693 if (!SWIG_IsOK(res9
)) {
43694 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43697 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43699 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
43703 arg10
= wxString_in_helper(obj9
);
43704 if (arg10
== NULL
) SWIG_fail
;
43709 if (!wxPyCheckForApp()) SWIG_fail
;
43710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43711 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
);
43712 wxPyEndAllowThreads(__tstate
);
43713 if (PyErr_Occurred()) SWIG_fail
;
43715 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_NEW
| 0 );
43754 SWIGINTERN PyObject
*_wrap_new_PreFilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43755 PyObject
*resultobj
= 0;
43756 wxFilePickerCtrl
*result
= 0 ;
43758 if (!SWIG_Python_UnpackTuple(args
,"new_PreFilePickerCtrl",0,0,0)) SWIG_fail
;
43760 if (!wxPyCheckForApp()) SWIG_fail
;
43761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43762 result
= (wxFilePickerCtrl
*)new wxFilePickerCtrl();
43763 wxPyEndAllowThreads(__tstate
);
43764 if (PyErr_Occurred()) SWIG_fail
;
43766 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_OWN
| 0 );
43773 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43774 PyObject
*resultobj
= 0;
43775 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43776 wxWindow
*arg2
= (wxWindow
*) 0 ;
43777 int arg3
= (int) -1 ;
43778 wxString
const &arg4_defvalue
= wxPyEmptyString
;
43779 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43780 wxString
const &arg5_defvalue
= wxPyFileSelectorPromptStr
;
43781 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43782 wxString
const &arg6_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
43783 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
43784 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
43785 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
43786 wxSize
const &arg8_defvalue
= wxDefaultSize
;
43787 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
43788 long arg9
= (long) wxFLP_DEFAULT_STYLE
;
43789 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
43790 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
43791 wxString
const &arg11_defvalue
= wxPyFilePickerCtrlNameStr
;
43792 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
43800 bool temp4
= false ;
43801 bool temp5
= false ;
43802 bool temp6
= false ;
43809 bool temp11
= false ;
43810 PyObject
* obj0
= 0 ;
43811 PyObject
* obj1
= 0 ;
43812 PyObject
* obj2
= 0 ;
43813 PyObject
* obj3
= 0 ;
43814 PyObject
* obj4
= 0 ;
43815 PyObject
* obj5
= 0 ;
43816 PyObject
* obj6
= 0 ;
43817 PyObject
* obj7
= 0 ;
43818 PyObject
* obj8
= 0 ;
43819 PyObject
* obj9
= 0 ;
43820 PyObject
* obj10
= 0 ;
43821 char * kwnames
[] = {
43822 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:FilePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
43826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43827 if (!SWIG_IsOK(res1
)) {
43828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_Create" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
43830 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43831 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43832 if (!SWIG_IsOK(res2
)) {
43833 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FilePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43835 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43837 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43838 if (!SWIG_IsOK(ecode3
)) {
43839 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FilePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43841 arg3
= static_cast< int >(val3
);
43845 arg4
= wxString_in_helper(obj3
);
43846 if (arg4
== NULL
) SWIG_fail
;
43852 arg5
= wxString_in_helper(obj4
);
43853 if (arg5
== NULL
) SWIG_fail
;
43859 arg6
= wxString_in_helper(obj5
);
43860 if (arg6
== NULL
) SWIG_fail
;
43867 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
43873 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
43877 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
43878 if (!SWIG_IsOK(ecode9
)) {
43879 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "FilePickerCtrl_Create" "', expected argument " "9"" of type '" "long""'");
43881 arg9
= static_cast< long >(val9
);
43884 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
43885 if (!SWIG_IsOK(res10
)) {
43886 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
43889 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
43891 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
43895 arg11
= wxString_in_helper(obj10
);
43896 if (arg11
== NULL
) SWIG_fail
;
43901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43902 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
);
43903 wxPyEndAllowThreads(__tstate
);
43904 if (PyErr_Occurred()) SWIG_fail
;
43907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43947 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43948 PyObject
*resultobj
= 0;
43949 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43953 PyObject
*swig_obj
[1] ;
43955 if (!args
) SWIG_fail
;
43956 swig_obj
[0] = args
;
43957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43958 if (!SWIG_IsOK(res1
)) {
43959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
43961 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43964 result
= ((wxFilePickerCtrl
const *)arg1
)->GetPath();
43965 wxPyEndAllowThreads(__tstate
);
43966 if (PyErr_Occurred()) SWIG_fail
;
43970 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
43972 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
43981 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43982 PyObject
*resultobj
= 0;
43983 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43984 wxString
*arg2
= 0 ;
43987 bool temp2
= false ;
43988 PyObject
* obj0
= 0 ;
43989 PyObject
* obj1
= 0 ;
43990 char * kwnames
[] = {
43991 (char *) "self",(char *) "str", NULL
43994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43996 if (!SWIG_IsOK(res1
)) {
43997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
43999 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44001 arg2
= wxString_in_helper(obj1
);
44002 if (arg2
== NULL
) SWIG_fail
;
44006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44007 (arg1
)->SetPath((wxString
const &)*arg2
);
44008 wxPyEndAllowThreads(__tstate
);
44009 if (PyErr_Occurred()) SWIG_fail
;
44011 resultobj
= SWIG_Py_Void();
44026 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44027 PyObject
*resultobj
= 0;
44028 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44029 wxString
*arg2
= 0 ;
44033 bool temp2
= false ;
44034 PyObject
* obj0
= 0 ;
44035 PyObject
* obj1
= 0 ;
44036 char * kwnames
[] = {
44037 (char *) "self",(char *) "path", NULL
44040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44042 if (!SWIG_IsOK(res1
)) {
44043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44045 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44047 arg2
= wxString_in_helper(obj1
);
44048 if (arg2
== NULL
) SWIG_fail
;
44052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44053 result
= (bool)((wxFilePickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
44054 wxPyEndAllowThreads(__tstate
);
44055 if (PyErr_Occurred()) SWIG_fail
;
44058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44074 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44075 PyObject
*resultobj
= 0;
44076 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44080 PyObject
*swig_obj
[1] ;
44082 if (!args
) SWIG_fail
;
44083 swig_obj
[0] = args
;
44084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44085 if (!SWIG_IsOK(res1
)) {
44086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44088 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44091 result
= ((wxFilePickerCtrl
const *)arg1
)->GetTextCtrlValue();
44092 wxPyEndAllowThreads(__tstate
);
44093 if (PyErr_Occurred()) SWIG_fail
;
44097 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44099 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44108 SWIGINTERN PyObject
*FilePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44110 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44111 SWIG_TypeNewClientData(SWIGTYPE_p_wxFilePickerCtrl
, SWIG_NewClientData(obj
));
44112 return SWIG_Py_Void();
44115 SWIGINTERN PyObject
*FilePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44116 return SWIG_Python_InitShadowInstance(args
);
44119 SWIGINTERN PyObject
*_wrap_new_DirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44120 PyObject
*resultobj
= 0;
44121 wxWindow
*arg1
= (wxWindow
*) 0 ;
44122 int arg2
= (int) -1 ;
44123 wxString
const &arg3_defvalue
= wxPyEmptyString
;
44124 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
44125 wxString
const &arg4_defvalue
= wxPyDirSelectorPromptStr
;
44126 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44127 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
44128 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
44129 wxSize
const &arg6_defvalue
= wxDefaultSize
;
44130 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
44131 long arg7
= (long) wxDIRP_DEFAULT_STYLE
;
44132 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
44133 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
44134 wxString
const &arg9_defvalue
= wxPyDirPickerCtrlNameStr
;
44135 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
44136 wxDirPickerCtrl
*result
= 0 ;
44141 bool temp3
= false ;
44142 bool temp4
= false ;
44149 bool temp9
= false ;
44150 PyObject
* obj0
= 0 ;
44151 PyObject
* obj1
= 0 ;
44152 PyObject
* obj2
= 0 ;
44153 PyObject
* obj3
= 0 ;
44154 PyObject
* obj4
= 0 ;
44155 PyObject
* obj5
= 0 ;
44156 PyObject
* obj6
= 0 ;
44157 PyObject
* obj7
= 0 ;
44158 PyObject
* obj8
= 0 ;
44159 char * kwnames
[] = {
44160 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_DirPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
44164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44165 if (!SWIG_IsOK(res1
)) {
44166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44168 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44170 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44171 if (!SWIG_IsOK(ecode2
)) {
44172 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44174 arg2
= static_cast< int >(val2
);
44178 arg3
= wxString_in_helper(obj2
);
44179 if (arg3
== NULL
) SWIG_fail
;
44185 arg4
= wxString_in_helper(obj3
);
44186 if (arg4
== NULL
) SWIG_fail
;
44193 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
44199 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
44203 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
44204 if (!SWIG_IsOK(ecode7
)) {
44205 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_DirPickerCtrl" "', expected argument " "7"" of type '" "long""'");
44207 arg7
= static_cast< long >(val7
);
44210 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
44211 if (!SWIG_IsOK(res8
)) {
44212 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44215 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44217 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
44221 arg9
= wxString_in_helper(obj8
);
44222 if (arg9
== NULL
) SWIG_fail
;
44227 if (!wxPyCheckForApp()) SWIG_fail
;
44228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44229 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
);
44230 wxPyEndAllowThreads(__tstate
);
44231 if (PyErr_Occurred()) SWIG_fail
;
44233 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_NEW
| 0 );
44264 SWIGINTERN PyObject
*_wrap_new_PreDirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44265 PyObject
*resultobj
= 0;
44266 wxDirPickerCtrl
*result
= 0 ;
44268 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirPickerCtrl",0,0,0)) SWIG_fail
;
44270 if (!wxPyCheckForApp()) SWIG_fail
;
44271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44272 result
= (wxDirPickerCtrl
*)new wxDirPickerCtrl();
44273 wxPyEndAllowThreads(__tstate
);
44274 if (PyErr_Occurred()) SWIG_fail
;
44276 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_OWN
| 0 );
44283 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44284 PyObject
*resultobj
= 0;
44285 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44286 wxWindow
*arg2
= (wxWindow
*) 0 ;
44287 int arg3
= (int) -1 ;
44288 wxString
const &arg4_defvalue
= wxPyEmptyString
;
44289 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44290 wxString
const &arg5_defvalue
= wxPyDirSelectorPromptStr
;
44291 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
44292 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
44293 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
44294 wxSize
const &arg7_defvalue
= wxDefaultSize
;
44295 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
44296 long arg8
= (long) wxDIRP_DEFAULT_STYLE
;
44297 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
44298 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
44299 wxString
const &arg10_defvalue
= wxPyDirPickerCtrlNameStr
;
44300 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
44308 bool temp4
= false ;
44309 bool temp5
= false ;
44316 bool temp10
= false ;
44317 PyObject
* obj0
= 0 ;
44318 PyObject
* obj1
= 0 ;
44319 PyObject
* obj2
= 0 ;
44320 PyObject
* obj3
= 0 ;
44321 PyObject
* obj4
= 0 ;
44322 PyObject
* obj5
= 0 ;
44323 PyObject
* obj6
= 0 ;
44324 PyObject
* obj7
= 0 ;
44325 PyObject
* obj8
= 0 ;
44326 PyObject
* obj9
= 0 ;
44327 char * kwnames
[] = {
44328 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:DirPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
44332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44333 if (!SWIG_IsOK(res1
)) {
44334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_Create" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44336 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44337 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44338 if (!SWIG_IsOK(res2
)) {
44339 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44341 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44343 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44344 if (!SWIG_IsOK(ecode3
)) {
44345 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44347 arg3
= static_cast< int >(val3
);
44351 arg4
= wxString_in_helper(obj3
);
44352 if (arg4
== NULL
) SWIG_fail
;
44358 arg5
= wxString_in_helper(obj4
);
44359 if (arg5
== NULL
) SWIG_fail
;
44366 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
44372 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
44376 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
44377 if (!SWIG_IsOK(ecode8
)) {
44378 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DirPickerCtrl_Create" "', expected argument " "8"" of type '" "long""'");
44380 arg8
= static_cast< long >(val8
);
44383 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
44384 if (!SWIG_IsOK(res9
)) {
44385 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44388 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44390 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
44394 arg10
= wxString_in_helper(obj9
);
44395 if (arg10
== NULL
) SWIG_fail
;
44400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44401 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
);
44402 wxPyEndAllowThreads(__tstate
);
44403 if (PyErr_Occurred()) SWIG_fail
;
44406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44438 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44439 PyObject
*resultobj
= 0;
44440 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44444 PyObject
*swig_obj
[1] ;
44446 if (!args
) SWIG_fail
;
44447 swig_obj
[0] = args
;
44448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44449 if (!SWIG_IsOK(res1
)) {
44450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44452 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44455 result
= ((wxDirPickerCtrl
const *)arg1
)->GetPath();
44456 wxPyEndAllowThreads(__tstate
);
44457 if (PyErr_Occurred()) SWIG_fail
;
44461 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44463 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44472 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44473 PyObject
*resultobj
= 0;
44474 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44475 wxString
*arg2
= 0 ;
44478 bool temp2
= false ;
44479 PyObject
* obj0
= 0 ;
44480 PyObject
* obj1
= 0 ;
44481 char * kwnames
[] = {
44482 (char *) "self",(char *) "str", NULL
44485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44487 if (!SWIG_IsOK(res1
)) {
44488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44490 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44492 arg2
= wxString_in_helper(obj1
);
44493 if (arg2
== NULL
) SWIG_fail
;
44497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44498 (arg1
)->SetPath((wxString
const &)*arg2
);
44499 wxPyEndAllowThreads(__tstate
);
44500 if (PyErr_Occurred()) SWIG_fail
;
44502 resultobj
= SWIG_Py_Void();
44517 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44518 PyObject
*resultobj
= 0;
44519 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44520 wxString
*arg2
= 0 ;
44524 bool temp2
= false ;
44525 PyObject
* obj0
= 0 ;
44526 PyObject
* obj1
= 0 ;
44527 char * kwnames
[] = {
44528 (char *) "self",(char *) "path", NULL
44531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44533 if (!SWIG_IsOK(res1
)) {
44534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44536 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44538 arg2
= wxString_in_helper(obj1
);
44539 if (arg2
== NULL
) SWIG_fail
;
44543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44544 result
= (bool)((wxDirPickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
44545 wxPyEndAllowThreads(__tstate
);
44546 if (PyErr_Occurred()) SWIG_fail
;
44549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44565 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44566 PyObject
*resultobj
= 0;
44567 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44571 PyObject
*swig_obj
[1] ;
44573 if (!args
) SWIG_fail
;
44574 swig_obj
[0] = args
;
44575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44576 if (!SWIG_IsOK(res1
)) {
44577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44579 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44582 result
= ((wxDirPickerCtrl
const *)arg1
)->GetTextCtrlValue();
44583 wxPyEndAllowThreads(__tstate
);
44584 if (PyErr_Occurred()) SWIG_fail
;
44588 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44590 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44599 SWIGINTERN PyObject
*DirPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44601 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44602 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirPickerCtrl
, SWIG_NewClientData(obj
));
44603 return SWIG_Py_Void();
44606 SWIGINTERN PyObject
*DirPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44607 return SWIG_Python_InitShadowInstance(args
);
44610 SWIGINTERN PyObject
*_wrap_new_FileDirPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44611 PyObject
*resultobj
= 0;
44613 wxObject
*arg2
= (wxObject
*) 0 ;
44615 wxString
*arg4
= 0 ;
44616 wxFileDirPickerEvent
*result
= 0 ;
44623 bool temp4
= false ;
44624 PyObject
* obj0
= 0 ;
44625 PyObject
* obj1
= 0 ;
44626 PyObject
* obj2
= 0 ;
44627 PyObject
* obj3
= 0 ;
44628 char * kwnames
[] = {
44629 (char *) "type",(char *) "generator",(char *) "id",(char *) "path", NULL
44632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileDirPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
44633 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
44634 if (!SWIG_IsOK(ecode1
)) {
44635 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FileDirPickerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
44637 arg1
= static_cast< wxEventType
>(val1
);
44638 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxObject
, 0 | 0 );
44639 if (!SWIG_IsOK(res2
)) {
44640 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FileDirPickerEvent" "', expected argument " "2"" of type '" "wxObject *""'");
44642 arg2
= reinterpret_cast< wxObject
* >(argp2
);
44643 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44644 if (!SWIG_IsOK(ecode3
)) {
44645 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FileDirPickerEvent" "', expected argument " "3"" of type '" "int""'");
44647 arg3
= static_cast< int >(val3
);
44649 arg4
= wxString_in_helper(obj3
);
44650 if (arg4
== NULL
) SWIG_fail
;
44654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44655 result
= (wxFileDirPickerEvent
*)new wxFileDirPickerEvent(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
44656 wxPyEndAllowThreads(__tstate
);
44657 if (PyErr_Occurred()) SWIG_fail
;
44659 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_POINTER_NEW
| 0 );
44674 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44675 PyObject
*resultobj
= 0;
44676 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
44680 PyObject
*swig_obj
[1] ;
44682 if (!args
) SWIG_fail
;
44683 swig_obj
[0] = args
;
44684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
44685 if (!SWIG_IsOK(res1
)) {
44686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_GetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent const *""'");
44688 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
44690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44691 result
= ((wxFileDirPickerEvent
const *)arg1
)->GetPath();
44692 wxPyEndAllowThreads(__tstate
);
44693 if (PyErr_Occurred()) SWIG_fail
;
44697 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44699 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44708 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44709 PyObject
*resultobj
= 0;
44710 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
44711 wxString
*arg2
= 0 ;
44714 bool temp2
= false ;
44715 PyObject
* obj0
= 0 ;
44716 PyObject
* obj1
= 0 ;
44717 char * kwnames
[] = {
44718 (char *) "self",(char *) "p", NULL
44721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDirPickerEvent_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
44723 if (!SWIG_IsOK(res1
)) {
44724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_SetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent *""'");
44726 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
44728 arg2
= wxString_in_helper(obj1
);
44729 if (arg2
== NULL
) SWIG_fail
;
44733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44734 (arg1
)->SetPath((wxString
const &)*arg2
);
44735 wxPyEndAllowThreads(__tstate
);
44736 if (PyErr_Occurred()) SWIG_fail
;
44738 resultobj
= SWIG_Py_Void();
44753 SWIGINTERN PyObject
*FileDirPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44755 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44756 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_NewClientData(obj
));
44757 return SWIG_Py_Void();
44760 SWIGINTERN PyObject
*FileDirPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44761 return SWIG_Python_InitShadowInstance(args
);
44764 SWIGINTERN
int FontPickerCtrlNameStr_set(PyObject
*) {
44765 SWIG_Error(SWIG_AttributeError
,"Variable FontPickerCtrlNameStr is read-only.");
44770 SWIGINTERN PyObject
*FontPickerCtrlNameStr_get(void) {
44771 PyObject
*pyobj
= 0;
44775 pyobj
= PyUnicode_FromWideChar((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
44777 pyobj
= PyString_FromStringAndSize((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
44784 SWIGINTERN PyObject
*_wrap_new_FontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44785 PyObject
*resultobj
= 0;
44786 wxWindow
*arg1
= (wxWindow
*) 0 ;
44787 int arg2
= (int) -1 ;
44788 wxFont
const &arg3_defvalue
= wxNullFont
;
44789 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
44790 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
44791 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
44792 wxSize
const &arg5_defvalue
= wxDefaultSize
;
44793 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
44794 long arg6
= (long) wxFNTP_DEFAULT_STYLE
;
44795 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
44796 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
44797 wxString
const &arg8_defvalue
= wxPyFontPickerCtrlNameStr
;
44798 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
44799 wxFontPickerCtrl
*result
= 0 ;
44812 bool temp8
= false ;
44813 PyObject
* obj0
= 0 ;
44814 PyObject
* obj1
= 0 ;
44815 PyObject
* obj2
= 0 ;
44816 PyObject
* obj3
= 0 ;
44817 PyObject
* obj4
= 0 ;
44818 PyObject
* obj5
= 0 ;
44819 PyObject
* obj6
= 0 ;
44820 PyObject
* obj7
= 0 ;
44821 char * kwnames
[] = {
44822 (char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_FontPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
44826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44827 if (!SWIG_IsOK(res1
)) {
44828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44830 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44832 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44833 if (!SWIG_IsOK(ecode2
)) {
44834 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44836 arg2
= static_cast< int >(val2
);
44839 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
44840 if (!SWIG_IsOK(res3
)) {
44841 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
44844 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
44846 arg3
= reinterpret_cast< wxFont
* >(argp3
);
44851 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
44857 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
44861 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
44862 if (!SWIG_IsOK(ecode6
)) {
44863 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FontPickerCtrl" "', expected argument " "6"" of type '" "long""'");
44865 arg6
= static_cast< long >(val6
);
44868 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
44869 if (!SWIG_IsOK(res7
)) {
44870 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
44873 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
44875 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
44879 arg8
= wxString_in_helper(obj7
);
44880 if (arg8
== NULL
) SWIG_fail
;
44885 if (!wxPyCheckForApp()) SWIG_fail
;
44886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44887 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl(arg1
,arg2
,(wxFont
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
44888 wxPyEndAllowThreads(__tstate
);
44889 if (PyErr_Occurred()) SWIG_fail
;
44891 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_NEW
| 0 );
44906 SWIGINTERN PyObject
*_wrap_new_PreFontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44907 PyObject
*resultobj
= 0;
44908 wxFontPickerCtrl
*result
= 0 ;
44910 if (!SWIG_Python_UnpackTuple(args
,"new_PreFontPickerCtrl",0,0,0)) SWIG_fail
;
44912 if (!wxPyCheckForApp()) SWIG_fail
;
44913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44914 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl();
44915 wxPyEndAllowThreads(__tstate
);
44916 if (PyErr_Occurred()) SWIG_fail
;
44918 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_OWN
| 0 );
44925 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44926 PyObject
*resultobj
= 0;
44927 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
44928 wxWindow
*arg2
= (wxWindow
*) 0 ;
44929 int arg3
= (int) -1 ;
44930 wxFont
const &arg4_defvalue
= wxNullFont
;
44931 wxFont
*arg4
= (wxFont
*) &arg4_defvalue
;
44932 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
44933 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
44934 wxSize
const &arg6_defvalue
= wxDefaultSize
;
44935 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
44936 long arg7
= (long) wxFNTP_DEFAULT_STYLE
;
44937 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
44938 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
44939 wxString
const &arg9_defvalue
= wxPyFontPickerCtrlNameStr
;
44940 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
44956 bool temp9
= false ;
44957 PyObject
* obj0
= 0 ;
44958 PyObject
* obj1
= 0 ;
44959 PyObject
* obj2
= 0 ;
44960 PyObject
* obj3
= 0 ;
44961 PyObject
* obj4
= 0 ;
44962 PyObject
* obj5
= 0 ;
44963 PyObject
* obj6
= 0 ;
44964 PyObject
* obj7
= 0 ;
44965 PyObject
* obj8
= 0 ;
44966 char * kwnames
[] = {
44967 (char *) "self",(char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:FontPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
44971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
44972 if (!SWIG_IsOK(res1
)) {
44973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_Create" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
44975 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
44976 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44977 if (!SWIG_IsOK(res2
)) {
44978 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44980 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44982 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44983 if (!SWIG_IsOK(ecode3
)) {
44984 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44986 arg3
= static_cast< int >(val3
);
44989 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxFont
, 0 | 0);
44990 if (!SWIG_IsOK(res4
)) {
44991 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
44994 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
44996 arg4
= reinterpret_cast< wxFont
* >(argp4
);
45001 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
45007 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
45011 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
45012 if (!SWIG_IsOK(ecode7
)) {
45013 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "FontPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
45015 arg7
= static_cast< long >(val7
);
45018 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
45019 if (!SWIG_IsOK(res8
)) {
45020 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45023 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45025 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
45029 arg9
= wxString_in_helper(obj8
);
45030 if (arg9
== NULL
) SWIG_fail
;
45035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45036 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxFont
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
45037 wxPyEndAllowThreads(__tstate
);
45038 if (PyErr_Occurred()) SWIG_fail
;
45041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45057 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45058 PyObject
*resultobj
= 0;
45059 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45063 PyObject
*swig_obj
[1] ;
45065 if (!args
) SWIG_fail
;
45066 swig_obj
[0] = args
;
45067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45068 if (!SWIG_IsOK(res1
)) {
45069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45071 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45074 result
= ((wxFontPickerCtrl
const *)arg1
)->GetSelectedFont();
45075 wxPyEndAllowThreads(__tstate
);
45076 if (PyErr_Occurred()) SWIG_fail
;
45078 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
45085 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45086 PyObject
*resultobj
= 0;
45087 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45093 PyObject
* obj0
= 0 ;
45094 PyObject
* obj1
= 0 ;
45095 char * kwnames
[] = {
45096 (char *) "self",(char *) "f", NULL
45099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetSelectedFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45101 if (!SWIG_IsOK(res1
)) {
45102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45104 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45105 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
45106 if (!SWIG_IsOK(res2
)) {
45107 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45110 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45112 arg2
= reinterpret_cast< wxFont
* >(argp2
);
45114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45115 (arg1
)->SetSelectedFont((wxFont
const &)*arg2
);
45116 wxPyEndAllowThreads(__tstate
);
45117 if (PyErr_Occurred()) SWIG_fail
;
45119 resultobj
= SWIG_Py_Void();
45126 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45127 PyObject
*resultobj
= 0;
45128 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45129 unsigned int arg2
;
45132 unsigned int val2
;
45134 PyObject
* obj0
= 0 ;
45135 PyObject
* obj1
= 0 ;
45136 char * kwnames
[] = {
45137 (char *) "self",(char *) "max", NULL
45140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetMaxPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45142 if (!SWIG_IsOK(res1
)) {
45143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45145 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45146 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
45147 if (!SWIG_IsOK(ecode2
)) {
45148 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "2"" of type '" "unsigned int""'");
45150 arg2
= static_cast< unsigned int >(val2
);
45152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45153 (arg1
)->SetMaxPointSize(arg2
);
45154 wxPyEndAllowThreads(__tstate
);
45155 if (PyErr_Occurred()) SWIG_fail
;
45157 resultobj
= SWIG_Py_Void();
45164 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45165 PyObject
*resultobj
= 0;
45166 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45167 unsigned int result
;
45170 PyObject
*swig_obj
[1] ;
45172 if (!args
) SWIG_fail
;
45173 swig_obj
[0] = args
;
45174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45175 if (!SWIG_IsOK(res1
)) {
45176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45178 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45181 result
= (unsigned int)((wxFontPickerCtrl
const *)arg1
)->GetMaxPointSize();
45182 wxPyEndAllowThreads(__tstate
);
45183 if (PyErr_Occurred()) SWIG_fail
;
45185 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
45192 SWIGINTERN PyObject
*FontPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45194 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45195 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerCtrl
, SWIG_NewClientData(obj
));
45196 return SWIG_Py_Void();
45199 SWIGINTERN PyObject
*FontPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45200 return SWIG_Python_InitShadowInstance(args
);
45203 SWIGINTERN PyObject
*_wrap_new_FontPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45204 PyObject
*resultobj
= 0;
45205 wxObject
*arg1
= (wxObject
*) 0 ;
45208 wxFontPickerEvent
*result
= 0 ;
45215 PyObject
* obj0
= 0 ;
45216 PyObject
* obj1
= 0 ;
45217 PyObject
* obj2
= 0 ;
45218 char * kwnames
[] = {
45219 (char *) "generator",(char *) "id",(char *) "f", NULL
45222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_FontPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
45224 if (!SWIG_IsOK(res1
)) {
45225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
45227 arg1
= reinterpret_cast< wxObject
* >(argp1
);
45228 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45229 if (!SWIG_IsOK(ecode2
)) {
45230 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerEvent" "', expected argument " "2"" of type '" "int""'");
45232 arg2
= static_cast< int >(val2
);
45233 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
45234 if (!SWIG_IsOK(res3
)) {
45235 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45238 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45240 arg3
= reinterpret_cast< wxFont
* >(argp3
);
45242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45243 result
= (wxFontPickerEvent
*)new wxFontPickerEvent(arg1
,arg2
,(wxFont
const &)*arg3
);
45244 wxPyEndAllowThreads(__tstate
);
45245 if (PyErr_Occurred()) SWIG_fail
;
45247 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerEvent
, SWIG_POINTER_NEW
| 0 );
45254 SWIGINTERN PyObject
*_wrap_FontPickerEvent_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45255 PyObject
*resultobj
= 0;
45256 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45260 PyObject
*swig_obj
[1] ;
45262 if (!args
) SWIG_fail
;
45263 swig_obj
[0] = args
;
45264 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45265 if (!SWIG_IsOK(res1
)) {
45266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_GetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent const *""'");
45268 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45271 result
= ((wxFontPickerEvent
const *)arg1
)->GetFont();
45272 wxPyEndAllowThreads(__tstate
);
45273 if (PyErr_Occurred()) SWIG_fail
;
45275 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
45282 SWIGINTERN PyObject
*_wrap_FontPickerEvent_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45283 PyObject
*resultobj
= 0;
45284 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45290 PyObject
* obj0
= 0 ;
45291 PyObject
* obj1
= 0 ;
45292 char * kwnames
[] = {
45293 (char *) "self",(char *) "c", NULL
45296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerEvent_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45298 if (!SWIG_IsOK(res1
)) {
45299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent *""'");
45301 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45302 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
45303 if (!SWIG_IsOK(res2
)) {
45304 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45307 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45309 arg2
= reinterpret_cast< wxFont
* >(argp2
);
45311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45312 (arg1
)->SetFont((wxFont
const &)*arg2
);
45313 wxPyEndAllowThreads(__tstate
);
45314 if (PyErr_Occurred()) SWIG_fail
;
45316 resultobj
= SWIG_Py_Void();
45323 SWIGINTERN PyObject
*FontPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45325 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45326 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerEvent
, SWIG_NewClientData(obj
));
45327 return SWIG_Py_Void();
45330 SWIGINTERN PyObject
*FontPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45331 return SWIG_Python_InitShadowInstance(args
);
45334 static PyMethodDef SwigMethods
[] = {
45335 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45336 { (char *)"new_PreButton", (PyCFunction
)_wrap_new_PreButton
, METH_NOARGS
, NULL
},
45337 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45338 { (char *)"Button_SetDefault", (PyCFunction
)_wrap_Button_SetDefault
, METH_O
, NULL
},
45339 { (char *)"Button_GetDefaultSize", (PyCFunction
)_wrap_Button_GetDefaultSize
, METH_NOARGS
, NULL
},
45340 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45341 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
45342 { (char *)"Button_swiginit", Button_swiginit
, METH_VARARGS
, NULL
},
45343 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45344 { (char *)"new_PreBitmapButton", (PyCFunction
)_wrap_new_PreBitmapButton
, METH_NOARGS
, NULL
},
45345 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45346 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
)_wrap_BitmapButton_GetBitmapLabel
, METH_O
, NULL
},
45347 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
)_wrap_BitmapButton_GetBitmapDisabled
, METH_O
, NULL
},
45348 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
)_wrap_BitmapButton_GetBitmapFocus
, METH_O
, NULL
},
45349 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
)_wrap_BitmapButton_GetBitmapSelected
, METH_O
, NULL
},
45350 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction
)_wrap_BitmapButton_GetBitmapHover
, METH_O
, NULL
},
45351 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45352 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45353 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45354 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45355 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction
) _wrap_BitmapButton_SetBitmapHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45356 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45357 { (char *)"BitmapButton_GetMarginX", (PyCFunction
)_wrap_BitmapButton_GetMarginX
, METH_O
, NULL
},
45358 { (char *)"BitmapButton_GetMarginY", (PyCFunction
)_wrap_BitmapButton_GetMarginY
, METH_O
, NULL
},
45359 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
45360 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit
, METH_VARARGS
, NULL
},
45361 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45362 { (char *)"new_PreCheckBox", (PyCFunction
)_wrap_new_PreCheckBox
, METH_NOARGS
, NULL
},
45363 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45364 { (char *)"CheckBox_GetValue", (PyCFunction
)_wrap_CheckBox_GetValue
, METH_O
, NULL
},
45365 { (char *)"CheckBox_IsChecked", (PyCFunction
)_wrap_CheckBox_IsChecked
, METH_O
, NULL
},
45366 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45367 { (char *)"CheckBox_Get3StateValue", (PyCFunction
)_wrap_CheckBox_Get3StateValue
, METH_O
, NULL
},
45368 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45369 { (char *)"CheckBox_Is3State", (PyCFunction
)_wrap_CheckBox_Is3State
, METH_O
, NULL
},
45370 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
)_wrap_CheckBox_Is3rdStateAllowedForUser
, METH_O
, NULL
},
45371 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45372 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
45373 { (char *)"CheckBox_swiginit", CheckBox_swiginit
, METH_VARARGS
, NULL
},
45374 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45375 { (char *)"new_PreChoice", (PyCFunction
)_wrap_new_PreChoice
, METH_NOARGS
, NULL
},
45376 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45377 { (char *)"Choice_GetCurrentSelection", (PyCFunction
)_wrap_Choice_GetCurrentSelection
, METH_O
, NULL
},
45378 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45379 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
45380 { (char *)"Choice_swiginit", Choice_swiginit
, METH_VARARGS
, NULL
},
45381 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45382 { (char *)"new_PreComboBox", (PyCFunction
)_wrap_new_PreComboBox
, METH_NOARGS
, NULL
},
45383 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45384 { (char *)"ComboBox_GetValue", (PyCFunction
)_wrap_ComboBox_GetValue
, METH_O
, NULL
},
45385 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45386 { (char *)"ComboBox_Copy", (PyCFunction
)_wrap_ComboBox_Copy
, METH_O
, NULL
},
45387 { (char *)"ComboBox_Cut", (PyCFunction
)_wrap_ComboBox_Cut
, METH_O
, NULL
},
45388 { (char *)"ComboBox_Paste", (PyCFunction
)_wrap_ComboBox_Paste
, METH_O
, NULL
},
45389 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45390 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
)_wrap_ComboBox_GetInsertionPoint
, METH_O
, NULL
},
45391 { (char *)"ComboBox_GetLastPosition", (PyCFunction
)_wrap_ComboBox_GetLastPosition
, METH_O
, NULL
},
45392 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45393 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45394 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction
)_wrap_ComboBox_GetCurrentSelection
, METH_O
, NULL
},
45395 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45396 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45397 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45398 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
)_wrap_ComboBox_SetInsertionPointEnd
, METH_O
, NULL
},
45399 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45400 { (char *)"ComboBox_IsEditable", (PyCFunction
)_wrap_ComboBox_IsEditable
, METH_O
, NULL
},
45401 { (char *)"ComboBox_Undo", (PyCFunction
)_wrap_ComboBox_Undo
, METH_O
, NULL
},
45402 { (char *)"ComboBox_Redo", (PyCFunction
)_wrap_ComboBox_Redo
, METH_O
, NULL
},
45403 { (char *)"ComboBox_SelectAll", (PyCFunction
)_wrap_ComboBox_SelectAll
, METH_O
, NULL
},
45404 { (char *)"ComboBox_CanCopy", (PyCFunction
)_wrap_ComboBox_CanCopy
, METH_O
, NULL
},
45405 { (char *)"ComboBox_CanCut", (PyCFunction
)_wrap_ComboBox_CanCut
, METH_O
, NULL
},
45406 { (char *)"ComboBox_CanPaste", (PyCFunction
)_wrap_ComboBox_CanPaste
, METH_O
, NULL
},
45407 { (char *)"ComboBox_CanUndo", (PyCFunction
)_wrap_ComboBox_CanUndo
, METH_O
, NULL
},
45408 { (char *)"ComboBox_CanRedo", (PyCFunction
)_wrap_ComboBox_CanRedo
, METH_O
, NULL
},
45409 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45410 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
45411 { (char *)"ComboBox_swiginit", ComboBox_swiginit
, METH_VARARGS
, NULL
},
45412 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45413 { (char *)"new_PreGauge", (PyCFunction
)_wrap_new_PreGauge
, METH_NOARGS
, NULL
},
45414 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45415 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45416 { (char *)"Gauge_GetRange", (PyCFunction
)_wrap_Gauge_GetRange
, METH_O
, NULL
},
45417 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45418 { (char *)"Gauge_GetValue", (PyCFunction
)_wrap_Gauge_GetValue
, METH_O
, NULL
},
45419 { (char *)"Gauge_Pulse", (PyCFunction
)_wrap_Gauge_Pulse
, METH_O
, NULL
},
45420 { (char *)"Gauge_IsVertical", (PyCFunction
)_wrap_Gauge_IsVertical
, METH_O
, NULL
},
45421 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45422 { (char *)"Gauge_GetShadowWidth", (PyCFunction
)_wrap_Gauge_GetShadowWidth
, METH_O
, NULL
},
45423 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45424 { (char *)"Gauge_GetBezelFace", (PyCFunction
)_wrap_Gauge_GetBezelFace
, METH_O
, NULL
},
45425 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45426 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
45427 { (char *)"Gauge_swiginit", Gauge_swiginit
, METH_VARARGS
, NULL
},
45428 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45429 { (char *)"new_PreStaticBox", (PyCFunction
)_wrap_new_PreStaticBox
, METH_NOARGS
, NULL
},
45430 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45431 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45432 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
45433 { (char *)"StaticBox_swiginit", StaticBox_swiginit
, METH_VARARGS
, NULL
},
45434 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45435 { (char *)"new_PreStaticLine", (PyCFunction
)_wrap_new_PreStaticLine
, METH_NOARGS
, NULL
},
45436 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45437 { (char *)"StaticLine_IsVertical", (PyCFunction
)_wrap_StaticLine_IsVertical
, METH_O
, NULL
},
45438 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
)_wrap_StaticLine_GetDefaultSize
, METH_NOARGS
, NULL
},
45439 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45440 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
45441 { (char *)"StaticLine_swiginit", StaticLine_swiginit
, METH_VARARGS
, NULL
},
45442 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45443 { (char *)"new_PreStaticText", (PyCFunction
)_wrap_new_PreStaticText
, METH_NOARGS
, NULL
},
45444 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45445 { (char *)"StaticText_Wrap", (PyCFunction
) _wrap_StaticText_Wrap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45446 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45447 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
45448 { (char *)"StaticText_swiginit", StaticText_swiginit
, METH_VARARGS
, NULL
},
45449 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45450 { (char *)"new_PreStaticBitmap", (PyCFunction
)_wrap_new_PreStaticBitmap
, METH_NOARGS
, NULL
},
45451 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45452 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
)_wrap_StaticBitmap_GetBitmap
, METH_O
, NULL
},
45453 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45454 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45455 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45456 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
45457 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit
, METH_VARARGS
, NULL
},
45458 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45459 { (char *)"new_PreListBox", (PyCFunction
)_wrap_new_PreListBox
, METH_NOARGS
, NULL
},
45460 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45461 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45462 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45463 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45464 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45465 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45466 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45467 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45468 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45469 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45470 { (char *)"ListBox_GetSelections", (PyCFunction
)_wrap_ListBox_GetSelections
, METH_O
, NULL
},
45471 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45472 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45473 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45474 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45475 { (char *)"ListBox_IsSorted", (PyCFunction
)_wrap_ListBox_IsSorted
, METH_O
, NULL
},
45476 { (char *)"ListBox_HitTest", (PyCFunction
) _wrap_ListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45477 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45478 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45479 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45480 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45481 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
45482 { (char *)"ListBox_swiginit", ListBox_swiginit
, METH_VARARGS
, NULL
},
45483 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45484 { (char *)"new_PreCheckListBox", (PyCFunction
)_wrap_new_PreCheckListBox
, METH_NOARGS
, NULL
},
45485 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45486 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45487 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45488 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
45489 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit
, METH_VARARGS
, NULL
},
45490 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45491 { (char *)"delete_TextAttr", (PyCFunction
)_wrap_delete_TextAttr
, METH_O
, NULL
},
45492 { (char *)"TextAttr_Init", (PyCFunction
)_wrap_TextAttr_Init
, METH_O
, NULL
},
45493 { (char *)"TextAttr_Merge", (PyCFunction
) _wrap_TextAttr_Merge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45494 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45495 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45496 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45497 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45498 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45499 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45500 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45501 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45502 { (char *)"TextAttr_HasTextColour", (PyCFunction
)_wrap_TextAttr_HasTextColour
, METH_O
, NULL
},
45503 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
)_wrap_TextAttr_HasBackgroundColour
, METH_O
, NULL
},
45504 { (char *)"TextAttr_HasFont", (PyCFunction
)_wrap_TextAttr_HasFont
, METH_O
, NULL
},
45505 { (char *)"TextAttr_HasAlignment", (PyCFunction
)_wrap_TextAttr_HasAlignment
, METH_O
, NULL
},
45506 { (char *)"TextAttr_HasTabs", (PyCFunction
)_wrap_TextAttr_HasTabs
, METH_O
, NULL
},
45507 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
)_wrap_TextAttr_HasLeftIndent
, METH_O
, NULL
},
45508 { (char *)"TextAttr_HasRightIndent", (PyCFunction
)_wrap_TextAttr_HasRightIndent
, METH_O
, NULL
},
45509 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45510 { (char *)"TextAttr_GetTextColour", (PyCFunction
)_wrap_TextAttr_GetTextColour
, METH_O
, NULL
},
45511 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
)_wrap_TextAttr_GetBackgroundColour
, METH_O
, NULL
},
45512 { (char *)"TextAttr_GetFont", (PyCFunction
)_wrap_TextAttr_GetFont
, METH_O
, NULL
},
45513 { (char *)"TextAttr_GetAlignment", (PyCFunction
)_wrap_TextAttr_GetAlignment
, METH_O
, NULL
},
45514 { (char *)"TextAttr_GetTabs", (PyCFunction
)_wrap_TextAttr_GetTabs
, METH_O
, NULL
},
45515 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
)_wrap_TextAttr_GetLeftIndent
, METH_O
, NULL
},
45516 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
)_wrap_TextAttr_GetLeftSubIndent
, METH_O
, NULL
},
45517 { (char *)"TextAttr_GetRightIndent", (PyCFunction
)_wrap_TextAttr_GetRightIndent
, METH_O
, NULL
},
45518 { (char *)"TextAttr_GetFlags", (PyCFunction
)_wrap_TextAttr_GetFlags
, METH_O
, NULL
},
45519 { (char *)"TextAttr_IsDefault", (PyCFunction
)_wrap_TextAttr_IsDefault
, METH_O
, NULL
},
45520 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45521 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
45522 { (char *)"TextAttr_swiginit", TextAttr_swiginit
, METH_VARARGS
, NULL
},
45523 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45524 { (char *)"new_PreTextCtrl", (PyCFunction
)_wrap_new_PreTextCtrl
, METH_NOARGS
, NULL
},
45525 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45526 { (char *)"TextCtrl_GetValue", (PyCFunction
)_wrap_TextCtrl_GetValue
, METH_O
, NULL
},
45527 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45528 { (char *)"TextCtrl_IsEmpty", (PyCFunction
)_wrap_TextCtrl_IsEmpty
, METH_O
, NULL
},
45529 { (char *)"TextCtrl_ChangeValue", (PyCFunction
) _wrap_TextCtrl_ChangeValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45530 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45531 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45532 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45533 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
)_wrap_TextCtrl_GetNumberOfLines
, METH_O
, NULL
},
45534 { (char *)"TextCtrl_IsModified", (PyCFunction
)_wrap_TextCtrl_IsModified
, METH_O
, NULL
},
45535 { (char *)"TextCtrl_IsEditable", (PyCFunction
)_wrap_TextCtrl_IsEditable
, METH_O
, NULL
},
45536 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
)_wrap_TextCtrl_IsSingleLine
, METH_O
, NULL
},
45537 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
)_wrap_TextCtrl_IsMultiLine
, METH_O
, NULL
},
45538 { (char *)"TextCtrl_GetSelection", (PyCFunction
)_wrap_TextCtrl_GetSelection
, METH_O
, NULL
},
45539 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
)_wrap_TextCtrl_GetStringSelection
, METH_O
, NULL
},
45540 { (char *)"TextCtrl_Clear", (PyCFunction
)_wrap_TextCtrl_Clear
, METH_O
, NULL
},
45541 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45542 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45543 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45544 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45545 { (char *)"TextCtrl_MarkDirty", (PyCFunction
)_wrap_TextCtrl_MarkDirty
, METH_O
, NULL
},
45546 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
)_wrap_TextCtrl_DiscardEdits
, METH_O
, NULL
},
45547 { (char *)"TextCtrl_SetModified", (PyCFunction
) _wrap_TextCtrl_SetModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45548 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45549 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45550 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45551 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45552 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45553 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45554 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45555 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
)_wrap_TextCtrl_GetDefaultStyle
, METH_O
, NULL
},
45556 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45557 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45558 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45559 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45560 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45561 { (char *)"TextCtrl_Copy", (PyCFunction
)_wrap_TextCtrl_Copy
, METH_O
, NULL
},
45562 { (char *)"TextCtrl_Cut", (PyCFunction
)_wrap_TextCtrl_Cut
, METH_O
, NULL
},
45563 { (char *)"TextCtrl_Paste", (PyCFunction
)_wrap_TextCtrl_Paste
, METH_O
, NULL
},
45564 { (char *)"TextCtrl_CanCopy", (PyCFunction
)_wrap_TextCtrl_CanCopy
, METH_O
, NULL
},
45565 { (char *)"TextCtrl_CanCut", (PyCFunction
)_wrap_TextCtrl_CanCut
, METH_O
, NULL
},
45566 { (char *)"TextCtrl_CanPaste", (PyCFunction
)_wrap_TextCtrl_CanPaste
, METH_O
, NULL
},
45567 { (char *)"TextCtrl_Undo", (PyCFunction
)_wrap_TextCtrl_Undo
, METH_O
, NULL
},
45568 { (char *)"TextCtrl_Redo", (PyCFunction
)_wrap_TextCtrl_Redo
, METH_O
, NULL
},
45569 { (char *)"TextCtrl_CanUndo", (PyCFunction
)_wrap_TextCtrl_CanUndo
, METH_O
, NULL
},
45570 { (char *)"TextCtrl_CanRedo", (PyCFunction
)_wrap_TextCtrl_CanRedo
, METH_O
, NULL
},
45571 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45572 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
)_wrap_TextCtrl_SetInsertionPointEnd
, METH_O
, NULL
},
45573 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
)_wrap_TextCtrl_GetInsertionPoint
, METH_O
, NULL
},
45574 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
)_wrap_TextCtrl_GetLastPosition
, METH_O
, NULL
},
45575 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45576 { (char *)"TextCtrl_SelectAll", (PyCFunction
)_wrap_TextCtrl_SelectAll
, METH_O
, NULL
},
45577 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45578 { (char *)"TextCtrl_SendTextUpdatedEvent", (PyCFunction
)_wrap_TextCtrl_SendTextUpdatedEvent
, METH_O
, NULL
},
45579 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45580 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45581 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45582 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
45583 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit
, METH_VARARGS
, NULL
},
45584 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45585 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
)_wrap_TextUrlEvent_GetMouseEvent
, METH_O
, NULL
},
45586 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
)_wrap_TextUrlEvent_GetURLStart
, METH_O
, NULL
},
45587 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
)_wrap_TextUrlEvent_GetURLEnd
, METH_O
, NULL
},
45588 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
45589 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit
, METH_VARARGS
, NULL
},
45590 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45591 { (char *)"new_PreScrollBar", (PyCFunction
)_wrap_new_PreScrollBar
, METH_NOARGS
, NULL
},
45592 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45593 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
)_wrap_ScrollBar_GetThumbPosition
, METH_O
, NULL
},
45594 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
)_wrap_ScrollBar_GetThumbSize
, METH_O
, NULL
},
45595 { (char *)"ScrollBar_GetPageSize", (PyCFunction
)_wrap_ScrollBar_GetPageSize
, METH_O
, NULL
},
45596 { (char *)"ScrollBar_GetRange", (PyCFunction
)_wrap_ScrollBar_GetRange
, METH_O
, NULL
},
45597 { (char *)"ScrollBar_IsVertical", (PyCFunction
)_wrap_ScrollBar_IsVertical
, METH_O
, NULL
},
45598 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45599 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45600 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
45601 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit
, METH_VARARGS
, NULL
},
45602 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45603 { (char *)"new_PreSpinButton", (PyCFunction
)_wrap_new_PreSpinButton
, METH_NOARGS
, NULL
},
45604 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45605 { (char *)"SpinButton_GetValue", (PyCFunction
)_wrap_SpinButton_GetValue
, METH_O
, NULL
},
45606 { (char *)"SpinButton_GetMin", (PyCFunction
)_wrap_SpinButton_GetMin
, METH_O
, NULL
},
45607 { (char *)"SpinButton_GetMax", (PyCFunction
)_wrap_SpinButton_GetMax
, METH_O
, NULL
},
45608 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45609 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45610 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45611 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45612 { (char *)"SpinButton_IsVertical", (PyCFunction
)_wrap_SpinButton_IsVertical
, METH_O
, NULL
},
45613 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45614 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
45615 { (char *)"SpinButton_swiginit", SpinButton_swiginit
, METH_VARARGS
, NULL
},
45616 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45617 { (char *)"new_PreSpinCtrl", (PyCFunction
)_wrap_new_PreSpinCtrl
, METH_NOARGS
, NULL
},
45618 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45619 { (char *)"SpinCtrl_GetValue", (PyCFunction
)_wrap_SpinCtrl_GetValue
, METH_O
, NULL
},
45620 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45621 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45622 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45623 { (char *)"SpinCtrl_GetMin", (PyCFunction
)_wrap_SpinCtrl_GetMin
, METH_O
, NULL
},
45624 { (char *)"SpinCtrl_GetMax", (PyCFunction
)_wrap_SpinCtrl_GetMax
, METH_O
, NULL
},
45625 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45626 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45627 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
45628 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit
, METH_VARARGS
, NULL
},
45629 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45630 { (char *)"SpinEvent_GetPosition", (PyCFunction
)_wrap_SpinEvent_GetPosition
, METH_O
, NULL
},
45631 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45632 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
45633 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit
, METH_VARARGS
, NULL
},
45634 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45635 { (char *)"new_PreRadioBox", (PyCFunction
)_wrap_new_PreRadioBox
, METH_NOARGS
, NULL
},
45636 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45637 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45638 { (char *)"RadioBox_GetSelection", (PyCFunction
)_wrap_RadioBox_GetSelection
, METH_O
, NULL
},
45639 { (char *)"RadioBox_GetStringSelection", (PyCFunction
)_wrap_RadioBox_GetStringSelection
, METH_O
, NULL
},
45640 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45641 { (char *)"RadioBox_GetCount", (PyCFunction
)_wrap_RadioBox_GetCount
, METH_O
, NULL
},
45642 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45643 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45644 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45645 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45646 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45647 { (char *)"RadioBox_IsItemEnabled", (PyCFunction
) _wrap_RadioBox_IsItemEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45648 { (char *)"RadioBox_IsItemShown", (PyCFunction
) _wrap_RadioBox_IsItemShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45649 { (char *)"RadioBox_GetColumnCount", (PyCFunction
)_wrap_RadioBox_GetColumnCount
, METH_O
, NULL
},
45650 { (char *)"RadioBox_GetRowCount", (PyCFunction
)_wrap_RadioBox_GetRowCount
, METH_O
, NULL
},
45651 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45652 { (char *)"RadioBox_SetItemToolTip", (PyCFunction
) _wrap_RadioBox_SetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45653 { (char *)"RadioBox_GetItemToolTip", (PyCFunction
) _wrap_RadioBox_GetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45654 { (char *)"RadioBox_SetItemHelpText", (PyCFunction
) _wrap_RadioBox_SetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45655 { (char *)"RadioBox_GetItemHelpText", (PyCFunction
) _wrap_RadioBox_GetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45656 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45657 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
45658 { (char *)"RadioBox_swiginit", RadioBox_swiginit
, METH_VARARGS
, NULL
},
45659 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45660 { (char *)"new_PreRadioButton", (PyCFunction
)_wrap_new_PreRadioButton
, METH_NOARGS
, NULL
},
45661 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45662 { (char *)"RadioButton_GetValue", (PyCFunction
)_wrap_RadioButton_GetValue
, METH_O
, NULL
},
45663 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45664 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45665 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
45666 { (char *)"RadioButton_swiginit", RadioButton_swiginit
, METH_VARARGS
, NULL
},
45667 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45668 { (char *)"new_PreSlider", (PyCFunction
)_wrap_new_PreSlider
, METH_NOARGS
, NULL
},
45669 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45670 { (char *)"Slider_GetValue", (PyCFunction
)_wrap_Slider_GetValue
, METH_O
, NULL
},
45671 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45672 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45673 { (char *)"Slider_GetMin", (PyCFunction
)_wrap_Slider_GetMin
, METH_O
, NULL
},
45674 { (char *)"Slider_GetMax", (PyCFunction
)_wrap_Slider_GetMax
, METH_O
, NULL
},
45675 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45676 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45677 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45678 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45679 { (char *)"Slider_GetLineSize", (PyCFunction
)_wrap_Slider_GetLineSize
, METH_O
, NULL
},
45680 { (char *)"Slider_GetPageSize", (PyCFunction
)_wrap_Slider_GetPageSize
, METH_O
, NULL
},
45681 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45682 { (char *)"Slider_GetThumbLength", (PyCFunction
)_wrap_Slider_GetThumbLength
, METH_O
, NULL
},
45683 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45684 { (char *)"Slider_GetTickFreq", (PyCFunction
)_wrap_Slider_GetTickFreq
, METH_O
, NULL
},
45685 { (char *)"Slider_ClearTicks", (PyCFunction
)_wrap_Slider_ClearTicks
, METH_O
, NULL
},
45686 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45687 { (char *)"Slider_ClearSel", (PyCFunction
)_wrap_Slider_ClearSel
, METH_O
, NULL
},
45688 { (char *)"Slider_GetSelEnd", (PyCFunction
)_wrap_Slider_GetSelEnd
, METH_O
, NULL
},
45689 { (char *)"Slider_GetSelStart", (PyCFunction
)_wrap_Slider_GetSelStart
, METH_O
, NULL
},
45690 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45691 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45692 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
45693 { (char *)"Slider_swiginit", Slider_swiginit
, METH_VARARGS
, NULL
},
45694 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45695 { (char *)"new_PreToggleButton", (PyCFunction
)_wrap_new_PreToggleButton
, METH_NOARGS
, NULL
},
45696 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45697 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45698 { (char *)"ToggleButton_GetValue", (PyCFunction
)_wrap_ToggleButton_GetValue
, METH_O
, NULL
},
45699 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45700 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
45701 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit
, METH_VARARGS
, NULL
},
45702 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
)_wrap_BookCtrlBase_GetPageCount
, METH_O
, NULL
},
45703 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45704 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetCurrentPage
, METH_O
, NULL
},
45705 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
)_wrap_BookCtrlBase_GetSelection
, METH_O
, NULL
},
45706 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45707 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45708 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45709 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45710 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
)_wrap_BookCtrlBase_GetImageList
, METH_O
, NULL
},
45711 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45712 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45713 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45714 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45715 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction
)_wrap_BookCtrlBase_GetInternalBorder
, METH_O
, NULL
},
45716 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction
) _wrap_BookCtrlBase_SetInternalBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45717 { (char *)"BookCtrlBase_IsVertical", (PyCFunction
)_wrap_BookCtrlBase_IsVertical
, METH_O
, NULL
},
45718 { (char *)"BookCtrlBase_SetControlMargin", (PyCFunction
) _wrap_BookCtrlBase_SetControlMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45719 { (char *)"BookCtrlBase_GetControlMargin", (PyCFunction
)_wrap_BookCtrlBase_GetControlMargin
, METH_O
, NULL
},
45720 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_SetFitToCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45721 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetFitToCurrentPage
, METH_O
, NULL
},
45722 { (char *)"BookCtrlBase_GetControlSizer", (PyCFunction
)_wrap_BookCtrlBase_GetControlSizer
, METH_O
, NULL
},
45723 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45724 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45725 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
)_wrap_BookCtrlBase_DeleteAllPages
, METH_O
, NULL
},
45726 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45727 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45728 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45729 { (char *)"BookCtrlBase_ChangeSelection", (PyCFunction
) _wrap_BookCtrlBase_ChangeSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45730 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45731 { (char *)"BookCtrlBase_HitTest", (PyCFunction
) _wrap_BookCtrlBase_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45732 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45733 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
45734 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45735 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetSelection
, METH_O
, NULL
},
45736 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45737 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetOldSelection
, METH_O
, NULL
},
45738 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45739 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
45740 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit
, METH_VARARGS
, NULL
},
45741 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45742 { (char *)"new_PreNotebook", (PyCFunction
)_wrap_new_PreNotebook
, METH_NOARGS
, NULL
},
45743 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45744 { (char *)"Notebook_GetRowCount", (PyCFunction
)_wrap_Notebook_GetRowCount
, METH_O
, NULL
},
45745 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45746 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45747 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
)_wrap_Notebook_GetThemeBackgroundColour
, METH_O
, NULL
},
45748 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45749 { (char *)"Notebook_SendPageChangingEvent", (PyCFunction
) _wrap_Notebook_SendPageChangingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45750 { (char *)"Notebook_SendPageChangedEvent", (PyCFunction
) _wrap_Notebook_SendPageChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45751 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
45752 { (char *)"Notebook_swiginit", Notebook_swiginit
, METH_VARARGS
, NULL
},
45753 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45754 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
45755 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit
, METH_VARARGS
, NULL
},
45756 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45757 { (char *)"new_PreListbook", (PyCFunction
)_wrap_new_PreListbook
, METH_NOARGS
, NULL
},
45758 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45759 { (char *)"Listbook_GetListView", (PyCFunction
)_wrap_Listbook_GetListView
, METH_O
, NULL
},
45760 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
45761 { (char *)"Listbook_swiginit", Listbook_swiginit
, METH_VARARGS
, NULL
},
45762 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45763 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
45764 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit
, METH_VARARGS
, NULL
},
45765 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45766 { (char *)"new_PreChoicebook", (PyCFunction
)_wrap_new_PreChoicebook
, METH_NOARGS
, NULL
},
45767 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45768 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
)_wrap_Choicebook_GetChoiceCtrl
, METH_O
, NULL
},
45769 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
45770 { (char *)"Choicebook_swiginit", Choicebook_swiginit
, METH_VARARGS
, NULL
},
45771 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45772 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
45773 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit
, METH_VARARGS
, NULL
},
45774 { (char *)"new_Treebook", (PyCFunction
) _wrap_new_Treebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45775 { (char *)"new_PreTreebook", (PyCFunction
)_wrap_new_PreTreebook
, METH_NOARGS
, NULL
},
45776 { (char *)"Treebook_Create", (PyCFunction
) _wrap_Treebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45777 { (char *)"Treebook_InsertSubPage", (PyCFunction
) _wrap_Treebook_InsertSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45778 { (char *)"Treebook_AddSubPage", (PyCFunction
) _wrap_Treebook_AddSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45779 { (char *)"Treebook_IsNodeExpanded", (PyCFunction
) _wrap_Treebook_IsNodeExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45780 { (char *)"Treebook_ExpandNode", (PyCFunction
) _wrap_Treebook_ExpandNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45781 { (char *)"Treebook_CollapseNode", (PyCFunction
) _wrap_Treebook_CollapseNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45782 { (char *)"Treebook_GetPageParent", (PyCFunction
) _wrap_Treebook_GetPageParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45783 { (char *)"Treebook_GetTreeCtrl", (PyCFunction
)_wrap_Treebook_GetTreeCtrl
, METH_O
, NULL
},
45784 { (char *)"Treebook_swigregister", Treebook_swigregister
, METH_VARARGS
, NULL
},
45785 { (char *)"Treebook_swiginit", Treebook_swiginit
, METH_VARARGS
, NULL
},
45786 { (char *)"new_TreebookEvent", (PyCFunction
) _wrap_new_TreebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45787 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister
, METH_VARARGS
, NULL
},
45788 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit
, METH_VARARGS
, NULL
},
45789 { (char *)"new_Toolbook", (PyCFunction
) _wrap_new_Toolbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45790 { (char *)"new_PreToolbook", (PyCFunction
)_wrap_new_PreToolbook
, METH_NOARGS
, NULL
},
45791 { (char *)"Toolbook_Create", (PyCFunction
) _wrap_Toolbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45792 { (char *)"Toolbook_GetToolBar", (PyCFunction
)_wrap_Toolbook_GetToolBar
, METH_O
, NULL
},
45793 { (char *)"Toolbook_Realize", (PyCFunction
)_wrap_Toolbook_Realize
, METH_O
, NULL
},
45794 { (char *)"Toolbook_swigregister", Toolbook_swigregister
, METH_VARARGS
, NULL
},
45795 { (char *)"Toolbook_swiginit", Toolbook_swiginit
, METH_VARARGS
, NULL
},
45796 { (char *)"new_ToolbookEvent", (PyCFunction
) _wrap_new_ToolbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45797 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister
, METH_VARARGS
, NULL
},
45798 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit
, METH_VARARGS
, NULL
},
45799 { (char *)"ToolBarToolBase_GetId", (PyCFunction
)_wrap_ToolBarToolBase_GetId
, METH_O
, NULL
},
45800 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
)_wrap_ToolBarToolBase_GetControl
, METH_O
, NULL
},
45801 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
)_wrap_ToolBarToolBase_GetToolBar
, METH_O
, NULL
},
45802 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
)_wrap_ToolBarToolBase_IsButton
, METH_O
, NULL
},
45803 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
)_wrap_ToolBarToolBase_IsControl
, METH_O
, NULL
},
45804 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
)_wrap_ToolBarToolBase_IsSeparator
, METH_O
, NULL
},
45805 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
)_wrap_ToolBarToolBase_GetStyle
, METH_O
, NULL
},
45806 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
)_wrap_ToolBarToolBase_GetKind
, METH_O
, NULL
},
45807 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
)_wrap_ToolBarToolBase_IsEnabled
, METH_O
, NULL
},
45808 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
)_wrap_ToolBarToolBase_IsToggled
, METH_O
, NULL
},
45809 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
)_wrap_ToolBarToolBase_CanBeToggled
, METH_O
, NULL
},
45810 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetNormalBitmap
, METH_O
, NULL
},
45811 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetDisabledBitmap
, METH_O
, NULL
},
45812 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetBitmap
, METH_O
, NULL
},
45813 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
)_wrap_ToolBarToolBase_GetLabel
, METH_O
, NULL
},
45814 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetShortHelp
, METH_O
, NULL
},
45815 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetLongHelp
, METH_O
, NULL
},
45816 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45817 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
)_wrap_ToolBarToolBase_Toggle
, METH_O
, NULL
},
45818 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45819 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45820 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45821 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45822 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45823 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45824 { (char *)"ToolBarToolBase_Detach", (PyCFunction
)_wrap_ToolBarToolBase_Detach
, METH_O
, NULL
},
45825 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45826 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
)_wrap_ToolBarToolBase_GetClientData
, METH_O
, NULL
},
45827 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45828 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
45829 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45830 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45831 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45832 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45833 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45834 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45835 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45836 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
)_wrap_ToolBarBase_AddSeparator
, METH_O
, NULL
},
45837 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45838 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45839 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45840 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45841 { (char *)"ToolBarBase_ClearTools", (PyCFunction
)_wrap_ToolBarBase_ClearTools
, METH_O
, NULL
},
45842 { (char *)"ToolBarBase_Realize", (PyCFunction
)_wrap_ToolBarBase_Realize
, METH_O
, NULL
},
45843 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45844 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45845 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45846 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45847 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45848 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45849 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45850 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45851 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45852 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45853 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45854 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45855 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45856 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45857 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45858 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45859 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
)_wrap_ToolBarBase_GetToolMargins
, METH_O
, NULL
},
45860 { (char *)"ToolBarBase_GetMargins", (PyCFunction
)_wrap_ToolBarBase_GetMargins
, METH_O
, NULL
},
45861 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
)_wrap_ToolBarBase_GetToolPacking
, METH_O
, NULL
},
45862 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
)_wrap_ToolBarBase_GetToolSeparation
, METH_O
, NULL
},
45863 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45864 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45865 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
)_wrap_ToolBarBase_GetMaxRows
, METH_O
, NULL
},
45866 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
)_wrap_ToolBarBase_GetMaxCols
, METH_O
, NULL
},
45867 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45868 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
)_wrap_ToolBarBase_GetToolBitmapSize
, METH_O
, NULL
},
45869 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
)_wrap_ToolBarBase_GetToolSize
, METH_O
, NULL
},
45870 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45871 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45872 { (char *)"ToolBarBase_IsVertical", (PyCFunction
)_wrap_ToolBarBase_IsVertical
, METH_O
, NULL
},
45873 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction
)_wrap_ToolBarBase_GetToolsCount
, METH_O
, NULL
},
45874 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
45875 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45876 { (char *)"new_PreToolBar", (PyCFunction
)_wrap_new_PreToolBar
, METH_NOARGS
, NULL
},
45877 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45878 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45879 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
45880 { (char *)"ToolBar_swiginit", ToolBar_swiginit
, METH_VARARGS
, NULL
},
45881 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45882 { (char *)"delete_ListItemAttr", (PyCFunction
)_wrap_delete_ListItemAttr
, METH_O
, NULL
},
45883 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45884 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45885 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45886 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
)_wrap_ListItemAttr_HasTextColour
, METH_O
, NULL
},
45887 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_HasBackgroundColour
, METH_O
, NULL
},
45888 { (char *)"ListItemAttr_HasFont", (PyCFunction
)_wrap_ListItemAttr_HasFont
, METH_O
, NULL
},
45889 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
)_wrap_ListItemAttr_GetTextColour
, METH_O
, NULL
},
45890 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_GetBackgroundColour
, METH_O
, NULL
},
45891 { (char *)"ListItemAttr_GetFont", (PyCFunction
)_wrap_ListItemAttr_GetFont
, METH_O
, NULL
},
45892 { (char *)"ListItemAttr_AssignFrom", (PyCFunction
) _wrap_ListItemAttr_AssignFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45893 { (char *)"ListItemAttr_Destroy", (PyCFunction
)_wrap_ListItemAttr_Destroy
, METH_O
, NULL
},
45894 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
45895 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit
, METH_VARARGS
, NULL
},
45896 { (char *)"new_ListItem", (PyCFunction
)_wrap_new_ListItem
, METH_NOARGS
, NULL
},
45897 { (char *)"delete_ListItem", (PyCFunction
)_wrap_delete_ListItem
, METH_O
, NULL
},
45898 { (char *)"ListItem_Clear", (PyCFunction
)_wrap_ListItem_Clear
, METH_O
, NULL
},
45899 { (char *)"ListItem_ClearAttributes", (PyCFunction
)_wrap_ListItem_ClearAttributes
, METH_O
, NULL
},
45900 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45901 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45902 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45903 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45904 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45905 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45906 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45907 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45908 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45909 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45910 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45911 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45912 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45913 { (char *)"ListItem_GetMask", (PyCFunction
)_wrap_ListItem_GetMask
, METH_O
, NULL
},
45914 { (char *)"ListItem_GetId", (PyCFunction
)_wrap_ListItem_GetId
, METH_O
, NULL
},
45915 { (char *)"ListItem_GetColumn", (PyCFunction
)_wrap_ListItem_GetColumn
, METH_O
, NULL
},
45916 { (char *)"ListItem_GetState", (PyCFunction
)_wrap_ListItem_GetState
, METH_O
, NULL
},
45917 { (char *)"ListItem_GetText", (PyCFunction
)_wrap_ListItem_GetText
, METH_O
, NULL
},
45918 { (char *)"ListItem_GetImage", (PyCFunction
)_wrap_ListItem_GetImage
, METH_O
, NULL
},
45919 { (char *)"ListItem_GetData", (PyCFunction
)_wrap_ListItem_GetData
, METH_O
, NULL
},
45920 { (char *)"ListItem_GetWidth", (PyCFunction
)_wrap_ListItem_GetWidth
, METH_O
, NULL
},
45921 { (char *)"ListItem_GetAlign", (PyCFunction
)_wrap_ListItem_GetAlign
, METH_O
, NULL
},
45922 { (char *)"ListItem_GetAttributes", (PyCFunction
)_wrap_ListItem_GetAttributes
, METH_O
, NULL
},
45923 { (char *)"ListItem_HasAttributes", (PyCFunction
)_wrap_ListItem_HasAttributes
, METH_O
, NULL
},
45924 { (char *)"ListItem_GetTextColour", (PyCFunction
)_wrap_ListItem_GetTextColour
, METH_O
, NULL
},
45925 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
)_wrap_ListItem_GetBackgroundColour
, METH_O
, NULL
},
45926 { (char *)"ListItem_GetFont", (PyCFunction
)_wrap_ListItem_GetFont
, METH_O
, NULL
},
45927 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set
, METH_VARARGS
, NULL
},
45928 { (char *)"ListItem_m_mask_get", (PyCFunction
)_wrap_ListItem_m_mask_get
, METH_O
, NULL
},
45929 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set
, METH_VARARGS
, NULL
},
45930 { (char *)"ListItem_m_itemId_get", (PyCFunction
)_wrap_ListItem_m_itemId_get
, METH_O
, NULL
},
45931 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set
, METH_VARARGS
, NULL
},
45932 { (char *)"ListItem_m_col_get", (PyCFunction
)_wrap_ListItem_m_col_get
, METH_O
, NULL
},
45933 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set
, METH_VARARGS
, NULL
},
45934 { (char *)"ListItem_m_state_get", (PyCFunction
)_wrap_ListItem_m_state_get
, METH_O
, NULL
},
45935 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set
, METH_VARARGS
, NULL
},
45936 { (char *)"ListItem_m_stateMask_get", (PyCFunction
)_wrap_ListItem_m_stateMask_get
, METH_O
, NULL
},
45937 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set
, METH_VARARGS
, NULL
},
45938 { (char *)"ListItem_m_text_get", (PyCFunction
)_wrap_ListItem_m_text_get
, METH_O
, NULL
},
45939 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set
, METH_VARARGS
, NULL
},
45940 { (char *)"ListItem_m_image_get", (PyCFunction
)_wrap_ListItem_m_image_get
, METH_O
, NULL
},
45941 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set
, METH_VARARGS
, NULL
},
45942 { (char *)"ListItem_m_data_get", (PyCFunction
)_wrap_ListItem_m_data_get
, METH_O
, NULL
},
45943 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set
, METH_VARARGS
, NULL
},
45944 { (char *)"ListItem_m_format_get", (PyCFunction
)_wrap_ListItem_m_format_get
, METH_O
, NULL
},
45945 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set
, METH_VARARGS
, NULL
},
45946 { (char *)"ListItem_m_width_get", (PyCFunction
)_wrap_ListItem_m_width_get
, METH_O
, NULL
},
45947 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
45948 { (char *)"ListItem_swiginit", ListItem_swiginit
, METH_VARARGS
, NULL
},
45949 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45950 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set
, METH_VARARGS
, NULL
},
45951 { (char *)"ListEvent_m_code_get", (PyCFunction
)_wrap_ListEvent_m_code_get
, METH_O
, NULL
},
45952 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
, NULL
},
45953 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
)_wrap_ListEvent_m_oldItemIndex_get
, METH_O
, NULL
},
45954 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
, NULL
},
45955 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
)_wrap_ListEvent_m_itemIndex_get
, METH_O
, NULL
},
45956 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set
, METH_VARARGS
, NULL
},
45957 { (char *)"ListEvent_m_col_get", (PyCFunction
)_wrap_ListEvent_m_col_get
, METH_O
, NULL
},
45958 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
, NULL
},
45959 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
)_wrap_ListEvent_m_pointDrag_get
, METH_O
, NULL
},
45960 { (char *)"ListEvent_m_item_get", (PyCFunction
)_wrap_ListEvent_m_item_get
, METH_O
, NULL
},
45961 { (char *)"ListEvent_GetKeyCode", (PyCFunction
)_wrap_ListEvent_GetKeyCode
, METH_O
, NULL
},
45962 { (char *)"ListEvent_GetIndex", (PyCFunction
)_wrap_ListEvent_GetIndex
, METH_O
, NULL
},
45963 { (char *)"ListEvent_GetColumn", (PyCFunction
)_wrap_ListEvent_GetColumn
, METH_O
, NULL
},
45964 { (char *)"ListEvent_GetPoint", (PyCFunction
)_wrap_ListEvent_GetPoint
, METH_O
, NULL
},
45965 { (char *)"ListEvent_GetLabel", (PyCFunction
)_wrap_ListEvent_GetLabel
, METH_O
, NULL
},
45966 { (char *)"ListEvent_GetText", (PyCFunction
)_wrap_ListEvent_GetText
, METH_O
, NULL
},
45967 { (char *)"ListEvent_GetImage", (PyCFunction
)_wrap_ListEvent_GetImage
, METH_O
, NULL
},
45968 { (char *)"ListEvent_GetData", (PyCFunction
)_wrap_ListEvent_GetData
, METH_O
, NULL
},
45969 { (char *)"ListEvent_GetMask", (PyCFunction
)_wrap_ListEvent_GetMask
, METH_O
, NULL
},
45970 { (char *)"ListEvent_GetItem", (PyCFunction
)_wrap_ListEvent_GetItem
, METH_O
, NULL
},
45971 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
)_wrap_ListEvent_GetCacheFrom
, METH_O
, NULL
},
45972 { (char *)"ListEvent_GetCacheTo", (PyCFunction
)_wrap_ListEvent_GetCacheTo
, METH_O
, NULL
},
45973 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
)_wrap_ListEvent_IsEditCancelled
, METH_O
, NULL
},
45974 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45975 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
45976 { (char *)"ListEvent_swiginit", ListEvent_swiginit
, METH_VARARGS
, NULL
},
45977 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45978 { (char *)"new_PreListCtrl", (PyCFunction
)_wrap_new_PreListCtrl
, METH_NOARGS
, NULL
},
45979 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45980 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45981 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45982 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45983 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45984 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45985 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
)_wrap_ListCtrl_GetCountPerPage
, METH_O
, NULL
},
45986 { (char *)"ListCtrl_GetViewRect", (PyCFunction
)_wrap_ListCtrl_GetViewRect
, METH_O
, NULL
},
45987 { (char *)"ListCtrl_GetEditControl", (PyCFunction
)_wrap_ListCtrl_GetEditControl
, METH_O
, NULL
},
45988 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45989 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45990 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45991 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45992 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45993 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45994 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction
) _wrap_ListCtrl_SetItemColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45995 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45996 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45997 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45998 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45999 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46000 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46001 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46002 { (char *)"ListCtrl_GetItemCount", (PyCFunction
)_wrap_ListCtrl_GetItemCount
, METH_O
, NULL
},
46003 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
)_wrap_ListCtrl_GetColumnCount
, METH_O
, NULL
},
46004 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
)_wrap_ListCtrl_GetItemSpacing
, METH_O
, NULL
},
46005 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46006 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
)_wrap_ListCtrl_GetSelectedItemCount
, METH_O
, NULL
},
46007 { (char *)"ListCtrl_GetTextColour", (PyCFunction
)_wrap_ListCtrl_GetTextColour
, METH_O
, NULL
},
46008 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46009 { (char *)"ListCtrl_GetTopItem", (PyCFunction
)_wrap_ListCtrl_GetTopItem
, METH_O
, NULL
},
46010 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46011 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46012 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46013 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46014 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46015 { (char *)"ListCtrl_InReportView", (PyCFunction
)_wrap_ListCtrl_InReportView
, METH_O
, NULL
},
46016 { (char *)"ListCtrl_IsVirtual", (PyCFunction
)_wrap_ListCtrl_IsVirtual
, METH_O
, NULL
},
46017 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46018 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46019 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46020 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46021 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
)_wrap_ListCtrl_DeleteAllItems
, METH_O
, NULL
},
46022 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46023 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
)_wrap_ListCtrl_DeleteAllColumns
, METH_O
, NULL
},
46024 { (char *)"ListCtrl_ClearAll", (PyCFunction
)_wrap_ListCtrl_ClearAll
, METH_O
, NULL
},
46025 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46026 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46027 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46028 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46029 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46030 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46031 { (char *)"ListCtrl_HitTestSubItem", (PyCFunction
) _wrap_ListCtrl_HitTestSubItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46032 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46033 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46034 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46035 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46036 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46037 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46038 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46039 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46040 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46041 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46042 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46043 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46044 { (char *)"ListCtrl_SetItemFont", (PyCFunction
) _wrap_ListCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46045 { (char *)"ListCtrl_GetItemFont", (PyCFunction
) _wrap_ListCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46046 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46047 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
)_wrap_ListCtrl_GetMainWindow
, METH_O
, NULL
},
46048 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46049 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
46050 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit
, METH_VARARGS
, NULL
},
46051 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46052 { (char *)"new_PreListView", (PyCFunction
)_wrap_new_PreListView
, METH_NOARGS
, NULL
},
46053 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46054 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46055 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46056 { (char *)"ListView_GetFocusedItem", (PyCFunction
)_wrap_ListView_GetFocusedItem
, METH_O
, NULL
},
46057 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46058 { (char *)"ListView_GetFirstSelected", (PyCFunction
)_wrap_ListView_GetFirstSelected
, METH_O
, NULL
},
46059 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46060 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46061 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46062 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
46063 { (char *)"ListView_swiginit", ListView_swiginit
, METH_VARARGS
, NULL
},
46064 { (char *)"new_TreeItemId", (PyCFunction
)_wrap_new_TreeItemId
, METH_NOARGS
, NULL
},
46065 { (char *)"delete_TreeItemId", (PyCFunction
)_wrap_delete_TreeItemId
, METH_O
, NULL
},
46066 { (char *)"TreeItemId_IsOk", (PyCFunction
)_wrap_TreeItemId_IsOk
, METH_O
, NULL
},
46067 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46068 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46069 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
, NULL
},
46070 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
)_wrap_TreeItemId_m_pItem_get
, METH_O
, NULL
},
46071 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
46072 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit
, METH_VARARGS
, NULL
},
46073 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46074 { (char *)"delete_TreeItemData", (PyCFunction
)_wrap_delete_TreeItemData
, METH_O
, NULL
},
46075 { (char *)"TreeItemData_GetData", (PyCFunction
)_wrap_TreeItemData_GetData
, METH_O
, NULL
},
46076 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46077 { (char *)"TreeItemData_GetId", (PyCFunction
)_wrap_TreeItemData_GetId
, METH_O
, NULL
},
46078 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46079 { (char *)"TreeItemData_Destroy", (PyCFunction
)_wrap_TreeItemData_Destroy
, METH_O
, NULL
},
46080 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
46081 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit
, METH_VARARGS
, NULL
},
46082 { (char *)"new_TreeEvent", _wrap_new_TreeEvent
, METH_VARARGS
, NULL
},
46083 { (char *)"TreeEvent_GetItem", (PyCFunction
)_wrap_TreeEvent_GetItem
, METH_O
, NULL
},
46084 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46085 { (char *)"TreeEvent_GetOldItem", (PyCFunction
)_wrap_TreeEvent_GetOldItem
, METH_O
, NULL
},
46086 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46087 { (char *)"TreeEvent_GetPoint", (PyCFunction
)_wrap_TreeEvent_GetPoint
, METH_O
, NULL
},
46088 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46089 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
)_wrap_TreeEvent_GetKeyEvent
, METH_O
, NULL
},
46090 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
)_wrap_TreeEvent_GetKeyCode
, METH_O
, NULL
},
46091 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46092 { (char *)"TreeEvent_GetLabel", (PyCFunction
)_wrap_TreeEvent_GetLabel
, METH_O
, NULL
},
46093 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46094 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
)_wrap_TreeEvent_IsEditCancelled
, METH_O
, NULL
},
46095 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46096 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46097 { (char *)"TreeEvent_GetToolTip", (PyCFunction
)_wrap_TreeEvent_GetToolTip
, METH_O
, NULL
},
46098 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
46099 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit
, METH_VARARGS
, NULL
},
46100 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46101 { (char *)"new_PreTreeCtrl", (PyCFunction
)_wrap_new_PreTreeCtrl
, METH_NOARGS
, NULL
},
46102 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46103 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46104 { (char *)"TreeCtrl_GetCount", (PyCFunction
)_wrap_TreeCtrl_GetCount
, METH_O
, NULL
},
46105 { (char *)"TreeCtrl_GetIndent", (PyCFunction
)_wrap_TreeCtrl_GetIndent
, METH_O
, NULL
},
46106 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46107 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
)_wrap_TreeCtrl_GetSpacing
, METH_O
, NULL
},
46108 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46109 { (char *)"TreeCtrl_GetImageList", (PyCFunction
)_wrap_TreeCtrl_GetImageList
, METH_O
, NULL
},
46110 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
)_wrap_TreeCtrl_GetStateImageList
, METH_O
, NULL
},
46111 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46112 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46113 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46114 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46115 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46116 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46117 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46118 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46119 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46120 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46121 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46122 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46123 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46124 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46125 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46126 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46127 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46128 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46129 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46130 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46131 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46132 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46133 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46134 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46135 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46136 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46137 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46138 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
)_wrap_TreeCtrl_GetRootItem
, METH_O
, NULL
},
46139 { (char *)"TreeCtrl_GetSelection", (PyCFunction
)_wrap_TreeCtrl_GetSelection
, METH_O
, NULL
},
46140 { (char *)"TreeCtrl_GetSelections", (PyCFunction
)_wrap_TreeCtrl_GetSelections
, METH_O
, NULL
},
46141 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46142 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46143 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46144 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46145 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46146 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46147 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
)_wrap_TreeCtrl_GetFirstVisibleItem
, METH_O
, NULL
},
46148 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46149 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46150 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46151 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46152 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46153 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46154 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46155 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46156 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46157 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
)_wrap_TreeCtrl_DeleteAllItems
, METH_O
, NULL
},
46158 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46159 { (char *)"TreeCtrl_ExpandAllChildren", (PyCFunction
) _wrap_TreeCtrl_ExpandAllChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46160 { (char *)"TreeCtrl_ExpandAll", (PyCFunction
)_wrap_TreeCtrl_ExpandAll
, METH_O
, NULL
},
46161 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46162 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46163 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46164 { (char *)"TreeCtrl_Unselect", (PyCFunction
)_wrap_TreeCtrl_Unselect
, METH_O
, NULL
},
46165 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46166 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
)_wrap_TreeCtrl_UnselectAll
, METH_O
, NULL
},
46167 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46168 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46169 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46170 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46171 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46172 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
)_wrap_TreeCtrl_GetEditControl
, METH_O
, NULL
},
46173 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46174 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46175 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46176 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46177 { (char *)"TreeCtrl_SetQuickBestSize", (PyCFunction
) _wrap_TreeCtrl_SetQuickBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46178 { (char *)"TreeCtrl_GetQuickBestSize", (PyCFunction
)_wrap_TreeCtrl_GetQuickBestSize
, METH_O
, NULL
},
46179 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
46180 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit
, METH_VARARGS
, NULL
},
46181 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46182 { (char *)"new_PreGenericDirCtrl", (PyCFunction
)_wrap_new_PreGenericDirCtrl
, METH_NOARGS
, NULL
},
46183 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46184 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46185 { (char *)"GenericDirCtrl_CollapsePath", (PyCFunction
) _wrap_GenericDirCtrl_CollapsePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46186 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
)_wrap_GenericDirCtrl_GetDefaultPath
, METH_O
, NULL
},
46187 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46188 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
)_wrap_GenericDirCtrl_GetPath
, METH_O
, NULL
},
46189 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
)_wrap_GenericDirCtrl_GetFilePath
, METH_O
, NULL
},
46190 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46191 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46192 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
)_wrap_GenericDirCtrl_GetShowHidden
, METH_O
, NULL
},
46193 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
)_wrap_GenericDirCtrl_GetFilter
, METH_O
, NULL
},
46194 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46195 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterIndex
, METH_O
, NULL
},
46196 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46197 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
)_wrap_GenericDirCtrl_GetRootId
, METH_O
, NULL
},
46198 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetTreeCtrl
, METH_O
, NULL
},
46199 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterListCtrl
, METH_O
, NULL
},
46200 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46201 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
)_wrap_GenericDirCtrl_DoResize
, METH_O
, NULL
},
46202 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
)_wrap_GenericDirCtrl_ReCreateTree
, METH_O
, NULL
},
46203 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
46204 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit
, METH_VARARGS
, NULL
},
46205 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46206 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
)_wrap_new_PreDirFilterListCtrl
, METH_NOARGS
, NULL
},
46207 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46208 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46209 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
46210 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit
, METH_VARARGS
, NULL
},
46211 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46212 { (char *)"new_PrePyControl", (PyCFunction
)_wrap_new_PrePyControl
, METH_NOARGS
, NULL
},
46213 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46214 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46215 { (char *)"PyControl_DoMoveWindow", (PyCFunction
) _wrap_PyControl_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46216 { (char *)"PyControl_DoSetSize", (PyCFunction
) _wrap_PyControl_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46217 { (char *)"PyControl_DoSetClientSize", (PyCFunction
) _wrap_PyControl_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46218 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46219 { (char *)"PyControl_DoGetSize", (PyCFunction
)_wrap_PyControl_DoGetSize
, METH_O
, NULL
},
46220 { (char *)"PyControl_DoGetClientSize", (PyCFunction
)_wrap_PyControl_DoGetClientSize
, METH_O
, NULL
},
46221 { (char *)"PyControl_DoGetPosition", (PyCFunction
)_wrap_PyControl_DoGetPosition
, METH_O
, NULL
},
46222 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction
)_wrap_PyControl_DoGetVirtualSize
, METH_O
, NULL
},
46223 { (char *)"PyControl_DoGetBestSize", (PyCFunction
)_wrap_PyControl_DoGetBestSize
, METH_O
, NULL
},
46224 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction
)_wrap_PyControl_GetDefaultAttributes
, METH_O
, NULL
},
46225 { (char *)"PyControl_OnInternalIdle", (PyCFunction
)_wrap_PyControl_OnInternalIdle
, METH_O
, NULL
},
46226 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
46227 { (char *)"PyControl_swiginit", PyControl_swiginit
, METH_VARARGS
, NULL
},
46228 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46229 { (char *)"HelpEvent_GetPosition", (PyCFunction
)_wrap_HelpEvent_GetPosition
, METH_O
, NULL
},
46230 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46231 { (char *)"HelpEvent_GetLink", (PyCFunction
)_wrap_HelpEvent_GetLink
, METH_O
, NULL
},
46232 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46233 { (char *)"HelpEvent_GetTarget", (PyCFunction
)_wrap_HelpEvent_GetTarget
, METH_O
, NULL
},
46234 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46235 { (char *)"HelpEvent_GetOrigin", (PyCFunction
)_wrap_HelpEvent_GetOrigin
, METH_O
, NULL
},
46236 { (char *)"HelpEvent_SetOrigin", (PyCFunction
) _wrap_HelpEvent_SetOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46237 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
46238 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit
, METH_VARARGS
, NULL
},
46239 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46240 { (char *)"delete_ContextHelp", (PyCFunction
)_wrap_delete_ContextHelp
, METH_O
, NULL
},
46241 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46242 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
)_wrap_ContextHelp_EndContextHelp
, METH_O
, NULL
},
46243 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
46244 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit
, METH_VARARGS
, NULL
},
46245 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46246 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
46247 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit
, METH_VARARGS
, NULL
},
46248 { (char *)"delete_HelpProvider", (PyCFunction
)_wrap_delete_HelpProvider
, METH_O
, NULL
},
46249 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46250 { (char *)"HelpProvider_Get", (PyCFunction
)_wrap_HelpProvider_Get
, METH_NOARGS
, NULL
},
46251 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46252 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46253 { (char *)"HelpProvider_ShowHelpAtPoint", (PyCFunction
) _wrap_HelpProvider_ShowHelpAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46254 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46255 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46256 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46257 { (char *)"HelpProvider_Destroy", (PyCFunction
)_wrap_HelpProvider_Destroy
, METH_O
, NULL
},
46258 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
46259 { (char *)"new_SimpleHelpProvider", (PyCFunction
)_wrap_new_SimpleHelpProvider
, METH_NOARGS
, NULL
},
46260 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
46261 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit
, METH_VARARGS
, NULL
},
46262 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46263 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46264 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46265 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46266 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46267 { (char *)"delete_DragImage", (PyCFunction
)_wrap_delete_DragImage
, METH_O
, NULL
},
46268 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46269 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46270 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46271 { (char *)"DragImage_EndDrag", (PyCFunction
)_wrap_DragImage_EndDrag
, METH_O
, NULL
},
46272 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46273 { (char *)"DragImage_Show", (PyCFunction
)_wrap_DragImage_Show
, METH_O
, NULL
},
46274 { (char *)"DragImage_Hide", (PyCFunction
)_wrap_DragImage_Hide
, METH_O
, NULL
},
46275 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46276 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46277 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46278 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46279 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
46280 { (char *)"DragImage_swiginit", DragImage_swiginit
, METH_VARARGS
, NULL
},
46281 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46282 { (char *)"new_PreDatePickerCtrl", (PyCFunction
)_wrap_new_PreDatePickerCtrl
, METH_NOARGS
, NULL
},
46283 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46284 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46285 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
)_wrap_DatePickerCtrl_GetValue
, METH_O
, NULL
},
46286 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46287 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetLowerLimit
, METH_O
, NULL
},
46288 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetUpperLimit
, METH_O
, NULL
},
46289 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46290 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46291 { (char *)"new_HyperlinkCtrl", (PyCFunction
) _wrap_new_HyperlinkCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46292 { (char *)"new_PreHyperlinkCtrl", (PyCFunction
)_wrap_new_PreHyperlinkCtrl
, METH_NOARGS
, NULL
},
46293 { (char *)"HyperlinkCtrl_Create", (PyCFunction
) _wrap_HyperlinkCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46294 { (char *)"HyperlinkCtrl_GetHoverColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetHoverColour
, METH_O
, NULL
},
46295 { (char *)"HyperlinkCtrl_SetHoverColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetHoverColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46296 { (char *)"HyperlinkCtrl_GetNormalColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetNormalColour
, METH_O
, NULL
},
46297 { (char *)"HyperlinkCtrl_SetNormalColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetNormalColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46298 { (char *)"HyperlinkCtrl_GetVisitedColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisitedColour
, METH_O
, NULL
},
46299 { (char *)"HyperlinkCtrl_SetVisitedColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisitedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46300 { (char *)"HyperlinkCtrl_GetURL", (PyCFunction
)_wrap_HyperlinkCtrl_GetURL
, METH_O
, NULL
},
46301 { (char *)"HyperlinkCtrl_SetURL", (PyCFunction
) _wrap_HyperlinkCtrl_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46302 { (char *)"HyperlinkCtrl_SetVisited", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisited
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46303 { (char *)"HyperlinkCtrl_GetVisited", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisited
, METH_O
, NULL
},
46304 { (char *)"HyperlinkCtrl_swigregister", HyperlinkCtrl_swigregister
, METH_VARARGS
, NULL
},
46305 { (char *)"HyperlinkCtrl_swiginit", HyperlinkCtrl_swiginit
, METH_VARARGS
, NULL
},
46306 { (char *)"new_HyperlinkEvent", (PyCFunction
) _wrap_new_HyperlinkEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46307 { (char *)"HyperlinkEvent_GetURL", (PyCFunction
)_wrap_HyperlinkEvent_GetURL
, METH_O
, NULL
},
46308 { (char *)"HyperlinkEvent_SetURL", (PyCFunction
) _wrap_HyperlinkEvent_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46309 { (char *)"HyperlinkEvent_swigregister", HyperlinkEvent_swigregister
, METH_VARARGS
, NULL
},
46310 { (char *)"HyperlinkEvent_swiginit", HyperlinkEvent_swiginit
, METH_VARARGS
, NULL
},
46311 { (char *)"PickerBase_CreateBase", (PyCFunction
) _wrap_PickerBase_CreateBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46312 { (char *)"PickerBase_SetInternalMargin", (PyCFunction
) _wrap_PickerBase_SetInternalMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46313 { (char *)"PickerBase_GetInternalMargin", (PyCFunction
)_wrap_PickerBase_GetInternalMargin
, METH_O
, NULL
},
46314 { (char *)"PickerBase_SetTextCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetTextCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46315 { (char *)"PickerBase_GetTextCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetTextCtrlProportion
, METH_O
, NULL
},
46316 { (char *)"PickerBase_SetPickerCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46317 { (char *)"PickerBase_GetPickerCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetPickerCtrlProportion
, METH_O
, NULL
},
46318 { (char *)"PickerBase_IsTextCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsTextCtrlGrowable
, METH_O
, NULL
},
46319 { (char *)"PickerBase_SetTextCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetTextCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46320 { (char *)"PickerBase_IsPickerCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsPickerCtrlGrowable
, METH_O
, NULL
},
46321 { (char *)"PickerBase_SetPickerCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46322 { (char *)"PickerBase_HasTextCtrl", (PyCFunction
)_wrap_PickerBase_HasTextCtrl
, METH_O
, NULL
},
46323 { (char *)"PickerBase_GetTextCtrl", (PyCFunction
)_wrap_PickerBase_GetTextCtrl
, METH_O
, NULL
},
46324 { (char *)"PickerBase_GetPickerCtrl", (PyCFunction
)_wrap_PickerBase_GetPickerCtrl
, METH_O
, NULL
},
46325 { (char *)"PickerBase_swigregister", PickerBase_swigregister
, METH_VARARGS
, NULL
},
46326 { (char *)"new_ColourPickerCtrl", (PyCFunction
) _wrap_new_ColourPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46327 { (char *)"new_PreColourPickerCtrl", (PyCFunction
)_wrap_new_PreColourPickerCtrl
, METH_NOARGS
, NULL
},
46328 { (char *)"ColourPickerCtrl_Create", (PyCFunction
) _wrap_ColourPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46329 { (char *)"ColourPickerCtrl_GetColour", (PyCFunction
)_wrap_ColourPickerCtrl_GetColour
, METH_O
, NULL
},
46330 { (char *)"ColourPickerCtrl_SetColour", (PyCFunction
) _wrap_ColourPickerCtrl_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46331 { (char *)"ColourPickerCtrl_swigregister", ColourPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46332 { (char *)"ColourPickerCtrl_swiginit", ColourPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46333 { (char *)"new_ColourPickerEvent", (PyCFunction
) _wrap_new_ColourPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46334 { (char *)"ColourPickerEvent_GetColour", (PyCFunction
)_wrap_ColourPickerEvent_GetColour
, METH_O
, NULL
},
46335 { (char *)"ColourPickerEvent_SetColour", (PyCFunction
) _wrap_ColourPickerEvent_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46336 { (char *)"ColourPickerEvent_swigregister", ColourPickerEvent_swigregister
, METH_VARARGS
, NULL
},
46337 { (char *)"ColourPickerEvent_swiginit", ColourPickerEvent_swiginit
, METH_VARARGS
, NULL
},
46338 { (char *)"new_FilePickerCtrl", (PyCFunction
) _wrap_new_FilePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46339 { (char *)"new_PreFilePickerCtrl", (PyCFunction
)_wrap_new_PreFilePickerCtrl
, METH_NOARGS
, NULL
},
46340 { (char *)"FilePickerCtrl_Create", (PyCFunction
) _wrap_FilePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46341 { (char *)"FilePickerCtrl_GetPath", (PyCFunction
)_wrap_FilePickerCtrl_GetPath
, METH_O
, NULL
},
46342 { (char *)"FilePickerCtrl_SetPath", (PyCFunction
) _wrap_FilePickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46343 { (char *)"FilePickerCtrl_CheckPath", (PyCFunction
) _wrap_FilePickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46344 { (char *)"FilePickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_FilePickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
46345 { (char *)"FilePickerCtrl_swigregister", FilePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46346 { (char *)"FilePickerCtrl_swiginit", FilePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46347 { (char *)"new_DirPickerCtrl", (PyCFunction
) _wrap_new_DirPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46348 { (char *)"new_PreDirPickerCtrl", (PyCFunction
)_wrap_new_PreDirPickerCtrl
, METH_NOARGS
, NULL
},
46349 { (char *)"DirPickerCtrl_Create", (PyCFunction
) _wrap_DirPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46350 { (char *)"DirPickerCtrl_GetPath", (PyCFunction
)_wrap_DirPickerCtrl_GetPath
, METH_O
, NULL
},
46351 { (char *)"DirPickerCtrl_SetPath", (PyCFunction
) _wrap_DirPickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46352 { (char *)"DirPickerCtrl_CheckPath", (PyCFunction
) _wrap_DirPickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46353 { (char *)"DirPickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_DirPickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
46354 { (char *)"DirPickerCtrl_swigregister", DirPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46355 { (char *)"DirPickerCtrl_swiginit", DirPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46356 { (char *)"new_FileDirPickerEvent", (PyCFunction
) _wrap_new_FileDirPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46357 { (char *)"FileDirPickerEvent_GetPath", (PyCFunction
)_wrap_FileDirPickerEvent_GetPath
, METH_O
, NULL
},
46358 { (char *)"FileDirPickerEvent_SetPath", (PyCFunction
) _wrap_FileDirPickerEvent_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46359 { (char *)"FileDirPickerEvent_swigregister", FileDirPickerEvent_swigregister
, METH_VARARGS
, NULL
},
46360 { (char *)"FileDirPickerEvent_swiginit", FileDirPickerEvent_swiginit
, METH_VARARGS
, NULL
},
46361 { (char *)"new_FontPickerCtrl", (PyCFunction
) _wrap_new_FontPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46362 { (char *)"new_PreFontPickerCtrl", (PyCFunction
)_wrap_new_PreFontPickerCtrl
, METH_NOARGS
, NULL
},
46363 { (char *)"FontPickerCtrl_Create", (PyCFunction
) _wrap_FontPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46364 { (char *)"FontPickerCtrl_GetSelectedFont", (PyCFunction
)_wrap_FontPickerCtrl_GetSelectedFont
, METH_O
, NULL
},
46365 { (char *)"FontPickerCtrl_SetSelectedFont", (PyCFunction
) _wrap_FontPickerCtrl_SetSelectedFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46366 { (char *)"FontPickerCtrl_SetMaxPointSize", (PyCFunction
) _wrap_FontPickerCtrl_SetMaxPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46367 { (char *)"FontPickerCtrl_GetMaxPointSize", (PyCFunction
)_wrap_FontPickerCtrl_GetMaxPointSize
, METH_O
, NULL
},
46368 { (char *)"FontPickerCtrl_swigregister", FontPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46369 { (char *)"FontPickerCtrl_swiginit", FontPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46370 { (char *)"new_FontPickerEvent", (PyCFunction
) _wrap_new_FontPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46371 { (char *)"FontPickerEvent_GetFont", (PyCFunction
)_wrap_FontPickerEvent_GetFont
, METH_O
, NULL
},
46372 { (char *)"FontPickerEvent_SetFont", (PyCFunction
) _wrap_FontPickerEvent_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46373 { (char *)"FontPickerEvent_swigregister", FontPickerEvent_swigregister
, METH_VARARGS
, NULL
},
46374 { (char *)"FontPickerEvent_swiginit", FontPickerEvent_swiginit
, METH_VARARGS
, NULL
},
46375 { NULL
, NULL
, 0, NULL
}
46379 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
46381 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
46382 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46384 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
46385 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
46387 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
46388 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
46390 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
46391 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
46393 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
46394 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
46396 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
46397 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
46399 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
46400 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
46402 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
46403 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
46405 static void *_p_wxColourPickerEventTo_p_wxEvent(void *x
) {
46406 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
46408 static void *_p_wxFileDirPickerEventTo_p_wxEvent(void *x
) {
46409 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
46411 static void *_p_wxFontPickerEventTo_p_wxEvent(void *x
) {
46412 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
46414 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
46415 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
46417 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
46418 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
46420 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
46421 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
46423 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
46424 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46426 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
46427 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
46429 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
46430 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
46432 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
46433 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
46435 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
46436 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
46438 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
46439 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
46441 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
46442 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
46444 static void *_p_wxTreebookEventTo_p_wxEvent(void *x
) {
46445 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
46447 static void *_p_wxToolbookEventTo_p_wxEvent(void *x
) {
46448 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
46450 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
46451 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
46453 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
46454 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
46456 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
46457 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46459 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
46460 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46462 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
46463 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
46465 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
46466 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
46468 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
46469 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
46471 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
46472 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
46474 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
46475 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
46477 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
46478 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
46480 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
46481 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
46483 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
46484 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
46486 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
46487 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
46489 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
46490 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46492 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
46493 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46495 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
46496 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46498 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
46499 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46501 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
46502 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46504 static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x
) {
46505 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
46507 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
46508 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
46510 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
46511 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
46513 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
46514 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46516 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
46517 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
46519 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
46520 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
46522 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
46523 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46525 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
46526 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46528 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
46529 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
46531 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
46532 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
46534 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
46535 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
46537 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
46538 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
46540 static void *_p_wxColourPickerCtrlTo_p_wxPickerBase(void *x
) {
46541 return (void *)((wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
46543 static void *_p_wxFilePickerCtrlTo_p_wxPickerBase(void *x
) {
46544 return (void *)((wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
46546 static void *_p_wxDirPickerCtrlTo_p_wxPickerBase(void *x
) {
46547 return (void *)((wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
46549 static void *_p_wxFontPickerCtrlTo_p_wxPickerBase(void *x
) {
46550 return (void *)((wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
46552 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
46553 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
46555 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
46556 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46558 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
46559 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
46561 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
46562 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
46564 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
46565 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
46567 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
46568 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
46570 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
46571 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
46573 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
46574 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
46576 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
46577 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
46579 static void *_p_wxPickerBaseTo_p_wxControl(void *x
) {
46580 return (void *)((wxControl
*) ((wxPickerBase
*) x
));
46582 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
46583 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
46585 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
46586 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
46588 static void *_p_wxToolbookTo_p_wxControl(void *x
) {
46589 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxToolbook
*) x
));
46591 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
46592 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
46594 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
46595 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46597 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
46598 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
46600 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
46601 return (void *)((wxControl
*) ((wxComboBox
*) x
));
46603 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
46604 return (void *)((wxControl
*) ((wxPyControl
*) x
));
46606 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
46607 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
46609 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
46610 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
46612 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
46613 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
46615 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
46616 return (void *)((wxControl
*) ((wxGauge
*) x
));
46618 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
46619 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
46621 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
46622 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
46624 static void *_p_wxListbookTo_p_wxControl(void *x
) {
46625 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
46627 static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x
) {
46628 return (void *)((wxControl
*) ((wxHyperlinkCtrl
*) x
));
46630 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
46631 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
46633 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
46634 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
46636 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
46637 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
46639 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
46640 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
46642 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
46643 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
46645 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
46646 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
46648 static void *_p_wxListViewTo_p_wxControl(void *x
) {
46649 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
46651 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
46652 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
46654 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
46655 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
46657 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
46658 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
46660 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
46661 return (void *)((wxControl
*) ((wxStaticText
*) x
));
46663 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
46664 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
46666 static void *_p_wxSliderTo_p_wxControl(void *x
) {
46667 return (void *)((wxControl
*) ((wxSlider
*) x
));
46669 static void *_p_wxTreebookTo_p_wxControl(void *x
) {
46670 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxTreebook
*) x
));
46672 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
46673 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
46675 static void *_p_wxButtonTo_p_wxControl(void *x
) {
46676 return (void *)((wxControl
*) ((wxButton
*) x
));
46678 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
46679 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
46681 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
46682 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46684 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
46685 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
46687 static void *_p_wxColourPickerCtrlTo_p_wxControl(void *x
) {
46688 return (void *)((wxControl
*) (wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
46690 static void *_p_wxFilePickerCtrlTo_p_wxControl(void *x
) {
46691 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
46693 static void *_p_wxDirPickerCtrlTo_p_wxControl(void *x
) {
46694 return (void *)((wxControl
*) (wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
46696 static void *_p_wxFontPickerCtrlTo_p_wxControl(void *x
) {
46697 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
46699 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
46700 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
46702 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
46703 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
46705 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
46706 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46708 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
46709 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
46711 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
46712 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
46714 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
46715 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
46717 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
46718 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
46720 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
46721 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
46723 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
46724 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
46726 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
46727 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
46729 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x
) {
46730 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
46732 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x
) {
46733 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
46735 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
46736 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
46738 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
46739 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
46741 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x
) {
46742 return (void *)((wxBookCtrlBase
*) ((wxToolbook
*) x
));
46744 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x
) {
46745 return (void *)((wxBookCtrlBase
*) ((wxTreebook
*) x
));
46747 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
46748 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
46750 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
46751 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
46753 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
46754 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
46756 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
46757 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
46759 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
46760 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
46762 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
46763 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
46765 static void *_p_wxPickerBaseTo_p_wxEvtHandler(void *x
) {
46766 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
46768 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
46769 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
46771 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
46772 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
46774 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
46775 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
46777 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x
) {
46778 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
46780 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
46781 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
46783 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
46784 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
46786 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
46787 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
46789 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
46790 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
46792 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
46793 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
46795 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
46796 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46798 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
46799 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
46801 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
46802 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
46804 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
46805 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
46807 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
46808 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
46810 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
46811 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
46813 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
46814 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
46816 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
46817 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
46819 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
46820 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
46822 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
46823 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
46825 static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x
) {
46826 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
46828 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
46829 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
46831 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
46832 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
46834 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
46835 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
46837 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
46838 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
46840 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
46841 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
46843 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
46844 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
46846 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
46847 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
46849 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
46850 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
46852 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
46853 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
46855 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
46856 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
46858 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
46859 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
46861 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
46862 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
46864 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
46865 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
46867 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x
) {
46868 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
46870 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
46871 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
46873 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
46874 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
46876 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
46877 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
46879 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
46880 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46882 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
46883 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
46885 static void *_p_wxColourPickerCtrlTo_p_wxEvtHandler(void *x
) {
46886 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
46888 static void *_p_wxFilePickerCtrlTo_p_wxEvtHandler(void *x
) {
46889 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
46891 static void *_p_wxDirPickerCtrlTo_p_wxEvtHandler(void *x
) {
46892 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
46894 static void *_p_wxFontPickerCtrlTo_p_wxEvtHandler(void *x
) {
46895 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
46897 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
46898 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
46900 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
46901 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
46903 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
46904 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
46906 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
46907 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46909 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
46910 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46912 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
46913 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
46915 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
46916 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
46918 static void *_p_wxToolbookTo_p_wxObject(void *x
) {
46919 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
46921 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
46922 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
46924 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
46925 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
46927 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
46928 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
46930 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
46931 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
46933 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
46934 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
46936 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
46937 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46939 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
46940 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
46942 static void *_p_wxSizerTo_p_wxObject(void *x
) {
46943 return (void *)((wxObject
*) ((wxSizer
*) x
));
46945 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
46946 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46948 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
46949 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
46951 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
46952 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
46954 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
46955 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46957 static void *_p_wxEventTo_p_wxObject(void *x
) {
46958 return (void *)((wxObject
*) ((wxEvent
*) x
));
46960 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
46961 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46963 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
46964 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
46966 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
46967 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
46969 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
46970 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
46972 static void *_p_wxPickerBaseTo_p_wxObject(void *x
) {
46973 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
46975 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
46976 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
46978 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
46979 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46981 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
46982 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
46984 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
46985 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
46987 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
46988 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
46990 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
46991 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46993 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
46994 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46996 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
46997 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46999 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
47000 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
47002 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
47003 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
47005 static void *_p_wxControlTo_p_wxObject(void *x
) {
47006 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
47008 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
47009 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
47011 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
47012 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
47014 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
47015 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
47017 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
47018 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
47020 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
47021 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
47023 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
47024 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
47026 static void *_p_wxColourPickerEventTo_p_wxObject(void *x
) {
47027 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
47029 static void *_p_wxFileDirPickerEventTo_p_wxObject(void *x
) {
47030 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
47032 static void *_p_wxFontPickerEventTo_p_wxObject(void *x
) {
47033 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
47035 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
47036 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
47038 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
47039 return (void *)((wxObject
*) ((wxFSFile
*) x
));
47041 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
47042 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
47044 static void *_p_wxTreebookTo_p_wxObject(void *x
) {
47045 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
47047 static void *_p_wxListViewTo_p_wxObject(void *x
) {
47048 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
47050 static void *_p_wxHyperlinkEventTo_p_wxObject(void *x
) {
47051 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
47053 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
47054 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
47056 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
47057 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
47059 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
47060 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
47062 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
47063 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47065 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
47066 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
47068 static void *_p_wxListbookTo_p_wxObject(void *x
) {
47069 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
47071 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
47072 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
47074 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
47075 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
47077 static void *_p_wxSliderTo_p_wxObject(void *x
) {
47078 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
47080 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
47081 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
47083 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
47084 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
47086 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
47087 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
47089 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
47090 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47092 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
47093 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
47095 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
47096 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
47098 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
47099 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
47101 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
47102 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
47104 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
47105 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
47107 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
47108 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
47110 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
47111 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
47113 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
47114 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
47116 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
47117 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
47119 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
47120 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
47122 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
47123 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
47125 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
47126 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
47128 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
47129 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
47131 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
47132 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
47134 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
47135 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
47137 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
47138 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
47140 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
47141 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
47143 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
47144 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
47146 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
47147 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
47149 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
47150 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
47152 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
47153 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
47155 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
47156 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
47158 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
47159 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
47161 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
47162 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
47164 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
47165 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
47167 static void *_p_wxListEventTo_p_wxObject(void *x
) {
47168 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
47170 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
47171 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
47173 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
47174 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
47176 static void *_p_wxButtonTo_p_wxObject(void *x
) {
47177 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
47179 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
47180 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
47182 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
47183 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
47185 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
47186 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
47188 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
47189 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
47191 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
47192 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
47194 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
47195 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
47197 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
47198 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
47200 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
47201 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
47203 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
47204 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
47206 static void *_p_wxListItemTo_p_wxObject(void *x
) {
47207 return (void *)((wxObject
*) ((wxListItem
*) x
));
47209 static void *_p_wxImageTo_p_wxObject(void *x
) {
47210 return (void *)((wxObject
*) ((wxImage
*) x
));
47212 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
47213 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
47215 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
47216 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
47218 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
47219 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
47221 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
47222 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
47224 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
47225 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
47227 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
47228 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
47230 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
47231 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
47233 static void *_p_wxTreebookEventTo_p_wxObject(void *x
) {
47234 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
47236 static void *_p_wxToolbookEventTo_p_wxObject(void *x
) {
47237 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
47239 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
47240 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47242 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
47243 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
47245 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
47246 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
47248 static void *_p_wxWindowTo_p_wxObject(void *x
) {
47249 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
47251 static void *_p_wxMenuTo_p_wxObject(void *x
) {
47252 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
47254 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
47255 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
47257 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
47258 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
47260 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
47261 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47263 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
47264 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
47266 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
47267 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
47269 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
47270 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
47272 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
47273 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
47275 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
47276 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
47278 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
47279 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
47281 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
47282 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
47284 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
47285 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47287 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
47288 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
47290 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
47291 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
47293 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
47294 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
47296 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
47297 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
47299 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
47300 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47302 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
47303 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
47305 static void *_p_wxColourPickerCtrlTo_p_wxObject(void *x
) {
47306 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
47308 static void *_p_wxFilePickerCtrlTo_p_wxObject(void *x
) {
47309 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
47311 static void *_p_wxDirPickerCtrlTo_p_wxObject(void *x
) {
47312 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
47314 static void *_p_wxFontPickerCtrlTo_p_wxObject(void *x
) {
47315 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
47317 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
47318 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
47320 static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x
) {
47321 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
47323 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
47324 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
47326 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
47327 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
47329 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
47330 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
47332 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
47333 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
47335 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
47336 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
47338 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
47339 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
47341 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
47342 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
47344 static void *_p_wxPickerBaseTo_p_wxWindow(void *x
) {
47345 return (void *)((wxWindow
*) (wxControl
*) ((wxPickerBase
*) x
));
47347 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
47348 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
47350 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
47351 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
47353 static void *_p_wxToolbookTo_p_wxWindow(void *x
) {
47354 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
47356 static void *_p_wxControlTo_p_wxWindow(void *x
) {
47357 return (void *)((wxWindow
*) ((wxControl
*) x
));
47359 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
47360 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
47362 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
47363 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
47365 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
47366 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
47368 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
47369 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47371 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
47372 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
47374 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
47375 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
47377 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
47378 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
47380 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
47381 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
47383 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
47384 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
47386 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
47387 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
47389 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
47390 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
47392 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
47393 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
47395 static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x
) {
47396 return (void *)((wxWindow
*) (wxControl
*) ((wxHyperlinkCtrl
*) x
));
47398 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
47399 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
47401 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
47402 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
47404 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
47405 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
47407 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
47408 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
47410 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
47411 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
47413 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
47414 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
47416 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
47417 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
47419 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
47420 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
47422 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
47423 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
47425 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
47426 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
47428 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
47429 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
47431 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
47432 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
47434 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
47435 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
47437 static void *_p_wxTreebookTo_p_wxWindow(void *x
) {
47438 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
47440 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
47441 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
47443 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
47444 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
47446 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
47447 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
47449 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
47450 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
47452 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
47453 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
47455 static void *_p_wxColourPickerCtrlTo_p_wxWindow(void *x
) {
47456 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
47458 static void *_p_wxFilePickerCtrlTo_p_wxWindow(void *x
) {
47459 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
47461 static void *_p_wxDirPickerCtrlTo_p_wxWindow(void *x
) {
47462 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
47464 static void *_p_wxFontPickerCtrlTo_p_wxWindow(void *x
) {
47465 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
47467 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
47468 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
47470 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47471 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
47473 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47474 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
47476 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47477 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
47479 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47480 return (void *)((wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
47482 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47483 return (void *)((wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
47485 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
47486 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47488 static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x
) {
47489 return (void *)((wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
47491 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
47492 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
47494 static void *_p_wxColourPickerEventTo_p_wxCommandEvent(void *x
) {
47495 return (void *)((wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
47497 static void *_p_wxFileDirPickerEventTo_p_wxCommandEvent(void *x
) {
47498 return (void *)((wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
47500 static void *_p_wxFontPickerEventTo_p_wxCommandEvent(void *x
) {
47501 return (void *)((wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
47503 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
47504 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
47506 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
47507 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
47509 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
47510 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47512 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
47513 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47515 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
47516 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47518 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
47519 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
47521 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
47522 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
47524 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
47525 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
47527 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x
) {
47528 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
47530 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x
) {
47531 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
47533 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
47534 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
47536 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
47537 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47539 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
47540 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
47542 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
47543 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
47545 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
47546 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
47548 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
47549 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
47551 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
47552 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
47554 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
47555 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47557 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
47558 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
47560 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
47561 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47563 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
47564 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
47566 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
47567 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
47569 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
47570 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
47572 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
47573 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
47575 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
47576 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
47577 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};
47578 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
47579 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
47580 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
47581 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
47582 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
47583 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
47584 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
47585 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
47586 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
47587 static swig_type_info _swigt__p_wxBitmapButton
= {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
47588 static swig_type_info _swigt__p_wxBookCtrlBase
= {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
47589 static swig_type_info _swigt__p_wxBookCtrlBaseEvent
= {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
47590 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
47591 static swig_type_info _swigt__p_wxCheckBox
= {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
47592 static swig_type_info _swigt__p_wxCheckListBox
= {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
47593 static swig_type_info _swigt__p_wxChoice
= {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
47594 static swig_type_info _swigt__p_wxChoicebook
= {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
47595 static swig_type_info _swigt__p_wxChoicebookEvent
= {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
47596 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
47597 static swig_type_info _swigt__p_wxColourPickerCtrl
= {"_p_wxColourPickerCtrl", "wxColourPickerCtrl *", 0, 0, (void*)0, 0};
47598 static swig_type_info _swigt__p_wxColourPickerEvent
= {"_p_wxColourPickerEvent", "wxColourPickerEvent *", 0, 0, (void*)0, 0};
47599 static swig_type_info _swigt__p_wxComboBox
= {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
47600 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
47601 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
47602 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
47603 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
47604 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
47605 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
47606 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
47607 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
47608 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
47609 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
47610 static swig_type_info _swigt__p_wxContextHelp
= {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
47611 static swig_type_info _swigt__p_wxContextHelpButton
= {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
47612 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
47613 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
47614 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
47615 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
47616 static swig_type_info _swigt__p_wxDatePickerCtrl
= {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
47617 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
47618 static swig_type_info _swigt__p_wxDirFilterListCtrl
= {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
47619 static swig_type_info _swigt__p_wxDirPickerCtrl
= {"_p_wxDirPickerCtrl", "wxDirPickerCtrl *", 0, 0, (void*)0, 0};
47620 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
47621 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
47622 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
47623 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
47624 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
47625 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
47626 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
47627 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
47628 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
47629 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
47630 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
47631 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
47632 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
47633 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
47634 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
47635 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
47636 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
47637 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
47638 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
47639 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
47640 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
47641 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
47642 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
47643 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
47644 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
47645 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
47646 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
47647 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
47648 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
47649 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
47650 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
47651 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
47652 static swig_type_info _swigt__p_wxFileDirPickerEvent
= {"_p_wxFileDirPickerEvent", "wxFileDirPickerEvent *", 0, 0, (void*)0, 0};
47653 static swig_type_info _swigt__p_wxFilePickerCtrl
= {"_p_wxFilePickerCtrl", "wxFilePickerCtrl *", 0, 0, (void*)0, 0};
47654 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
47655 static swig_type_info _swigt__p_wxFontPickerCtrl
= {"_p_wxFontPickerCtrl", "wxFontPickerCtrl *", 0, 0, (void*)0, 0};
47656 static swig_type_info _swigt__p_wxFontPickerEvent
= {"_p_wxFontPickerEvent", "wxFontPickerEvent *", 0, 0, (void*)0, 0};
47657 static swig_type_info _swigt__p_wxGauge
= {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
47658 static swig_type_info _swigt__p_wxGenericDirCtrl
= {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
47659 static swig_type_info _swigt__p_wxGenericDragImage
= {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
47660 static swig_type_info _swigt__p_wxHelpEvent
= {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
47661 static swig_type_info _swigt__p_wxHelpProvider
= {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
47662 static swig_type_info _swigt__p_wxHyperlinkCtrl
= {"_p_wxHyperlinkCtrl", "wxHyperlinkCtrl *", 0, 0, (void*)0, 0};
47663 static swig_type_info _swigt__p_wxHyperlinkEvent
= {"_p_wxHyperlinkEvent", "wxHyperlinkEvent *", 0, 0, (void*)0, 0};
47664 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
47665 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
47666 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
47667 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
47668 static swig_type_info _swigt__p_wxListBox
= {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
47669 static swig_type_info _swigt__p_wxListEvent
= {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
47670 static swig_type_info _swigt__p_wxListItem
= {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
47671 static swig_type_info _swigt__p_wxListItemAttr
= {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
47672 static swig_type_info _swigt__p_wxListView
= {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
47673 static swig_type_info _swigt__p_wxListbook
= {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
47674 static swig_type_info _swigt__p_wxListbookEvent
= {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
47675 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
47676 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
47677 static swig_type_info _swigt__p_wxNotebook
= {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
47678 static swig_type_info _swigt__p_wxNotebookEvent
= {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
47679 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
47680 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
47681 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
47682 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
47683 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
47684 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
47685 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
47686 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
47687 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
47688 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
47689 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
47690 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
47691 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
47692 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
47693 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
47694 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
47695 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
47696 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
47697 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
47698 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
47699 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
47700 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
47701 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
47702 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
47703 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
47704 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
47705 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
47706 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
47707 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
47708 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
47709 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
47710 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
47711 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
47712 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
47713 static swig_type_info _swigt__p_wxPickerBase
= {"_p_wxPickerBase", "wxPickerBase *", 0, 0, (void*)0, 0};
47714 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
47715 static swig_type_info _swigt__p_wxPyControl
= {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
47716 static swig_type_info _swigt__p_wxPyListCtrl
= {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
47717 static swig_type_info _swigt__p_wxPyTreeCtrl
= {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
47718 static swig_type_info _swigt__p_wxPyTreeItemData
= {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
47719 static swig_type_info _swigt__p_wxRadioBox
= {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
47720 static swig_type_info _swigt__p_wxRadioButton
= {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
47721 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
47722 static swig_type_info _swigt__p_wxScrollBar
= {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
47723 static swig_type_info _swigt__p_wxSimpleHelpProvider
= {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
47724 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
47725 static swig_type_info _swigt__p_wxSlider
= {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
47726 static swig_type_info _swigt__p_wxSpinButton
= {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
47727 static swig_type_info _swigt__p_wxSpinCtrl
= {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
47728 static swig_type_info _swigt__p_wxSpinEvent
= {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
47729 static swig_type_info _swigt__p_wxStaticBitmap
= {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
47730 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
47731 static swig_type_info _swigt__p_wxStaticLine
= {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
47732 static swig_type_info _swigt__p_wxStaticText
= {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
47733 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
47734 static swig_type_info _swigt__p_wxTextAttr
= {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
47735 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
47736 static swig_type_info _swigt__p_wxTextUrlEvent
= {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
47737 static swig_type_info _swigt__p_wxToggleButton
= {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
47738 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
47739 static swig_type_info _swigt__p_wxToolBarBase
= {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
47740 static swig_type_info _swigt__p_wxToolBarToolBase
= {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
47741 static swig_type_info _swigt__p_wxToolbook
= {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
47742 static swig_type_info _swigt__p_wxToolbookEvent
= {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
47743 static swig_type_info _swigt__p_wxTreeEvent
= {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
47744 static swig_type_info _swigt__p_wxTreeItemId
= {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
47745 static swig_type_info _swigt__p_wxTreebook
= {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
47746 static swig_type_info _swigt__p_wxTreebookEvent
= {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
47747 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
47748 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
47749 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
47750 static swig_type_info _swigt__p_wxWindowBase
= {"_p_wxWindowBase", "wxWindowBase *", 0, 0, (void*)0, 0};
47752 static swig_type_info
*swig_type_initial
[] = {
47755 &_swigt__p_form_ops_t
,
47758 &_swigt__p_unsigned_char
,
47759 &_swigt__p_unsigned_int
,
47760 &_swigt__p_unsigned_long
,
47762 &_swigt__p_wxANIHandler
,
47763 &_swigt__p_wxAcceleratorTable
,
47764 &_swigt__p_wxActivateEvent
,
47765 &_swigt__p_wxArrayInt
,
47766 &_swigt__p_wxArrayString
,
47767 &_swigt__p_wxBMPHandler
,
47768 &_swigt__p_wxBitmap
,
47769 &_swigt__p_wxBitmapButton
,
47770 &_swigt__p_wxBookCtrlBase
,
47771 &_swigt__p_wxBookCtrlBaseEvent
,
47772 &_swigt__p_wxBoxSizer
,
47773 &_swigt__p_wxButton
,
47774 &_swigt__p_wxCURHandler
,
47775 &_swigt__p_wxCheckBox
,
47776 &_swigt__p_wxCheckListBox
,
47777 &_swigt__p_wxChildFocusEvent
,
47778 &_swigt__p_wxChoice
,
47779 &_swigt__p_wxChoicebook
,
47780 &_swigt__p_wxChoicebookEvent
,
47781 &_swigt__p_wxClipboardTextEvent
,
47782 &_swigt__p_wxCloseEvent
,
47783 &_swigt__p_wxColour
,
47784 &_swigt__p_wxColourPickerCtrl
,
47785 &_swigt__p_wxColourPickerEvent
,
47786 &_swigt__p_wxComboBox
,
47787 &_swigt__p_wxCommandEvent
,
47788 &_swigt__p_wxContextHelp
,
47789 &_swigt__p_wxContextHelpButton
,
47790 &_swigt__p_wxContextMenuEvent
,
47791 &_swigt__p_wxControl
,
47792 &_swigt__p_wxControlWithItems
,
47793 &_swigt__p_wxCursor
,
47795 &_swigt__p_wxDateEvent
,
47796 &_swigt__p_wxDatePickerCtrl
,
47797 &_swigt__p_wxDateTime
,
47798 &_swigt__p_wxDirFilterListCtrl
,
47799 &_swigt__p_wxDirPickerCtrl
,
47800 &_swigt__p_wxDisplayChangedEvent
,
47801 &_swigt__p_wxDropFilesEvent
,
47802 &_swigt__p_wxDuplexMode
,
47803 &_swigt__p_wxEraseEvent
,
47804 &_swigt__p_wxEvent
,
47805 &_swigt__p_wxEvtHandler
,
47806 &_swigt__p_wxFSFile
,
47807 &_swigt__p_wxFileDirPickerEvent
,
47808 &_swigt__p_wxFilePickerCtrl
,
47809 &_swigt__p_wxFileSystem
,
47810 &_swigt__p_wxFlexGridSizer
,
47811 &_swigt__p_wxFocusEvent
,
47813 &_swigt__p_wxFontPickerCtrl
,
47814 &_swigt__p_wxFontPickerEvent
,
47815 &_swigt__p_wxGBSizerItem
,
47816 &_swigt__p_wxGIFHandler
,
47817 &_swigt__p_wxGauge
,
47818 &_swigt__p_wxGenericDirCtrl
,
47819 &_swigt__p_wxGenericDragImage
,
47820 &_swigt__p_wxGridBagSizer
,
47821 &_swigt__p_wxGridSizer
,
47822 &_swigt__p_wxHelpEvent
,
47823 &_swigt__p_wxHelpProvider
,
47824 &_swigt__p_wxHyperlinkCtrl
,
47825 &_swigt__p_wxHyperlinkEvent
,
47826 &_swigt__p_wxICOHandler
,
47828 &_swigt__p_wxIconizeEvent
,
47829 &_swigt__p_wxIdleEvent
,
47830 &_swigt__p_wxImage
,
47831 &_swigt__p_wxImageHandler
,
47832 &_swigt__p_wxImageList
,
47833 &_swigt__p_wxIndividualLayoutConstraint
,
47834 &_swigt__p_wxInitDialogEvent
,
47835 &_swigt__p_wxItemContainer
,
47836 &_swigt__p_wxJPEGHandler
,
47837 &_swigt__p_wxKeyEvent
,
47838 &_swigt__p_wxLayoutConstraints
,
47839 &_swigt__p_wxListBox
,
47840 &_swigt__p_wxListEvent
,
47841 &_swigt__p_wxListItem
,
47842 &_swigt__p_wxListItemAttr
,
47843 &_swigt__p_wxListView
,
47844 &_swigt__p_wxListbook
,
47845 &_swigt__p_wxListbookEvent
,
47846 &_swigt__p_wxMaximizeEvent
,
47847 &_swigt__p_wxMemoryDC
,
47849 &_swigt__p_wxMenuBar
,
47850 &_swigt__p_wxMenuEvent
,
47851 &_swigt__p_wxMenuItem
,
47852 &_swigt__p_wxMouseCaptureChangedEvent
,
47853 &_swigt__p_wxMouseCaptureLostEvent
,
47854 &_swigt__p_wxMouseEvent
,
47855 &_swigt__p_wxMoveEvent
,
47856 &_swigt__p_wxNavigationKeyEvent
,
47857 &_swigt__p_wxNcPaintEvent
,
47858 &_swigt__p_wxNotebook
,
47859 &_swigt__p_wxNotebookEvent
,
47860 &_swigt__p_wxNotifyEvent
,
47861 &_swigt__p_wxObject
,
47862 &_swigt__p_wxPCXHandler
,
47863 &_swigt__p_wxPNGHandler
,
47864 &_swigt__p_wxPNMHandler
,
47865 &_swigt__p_wxPaintEvent
,
47866 &_swigt__p_wxPaletteChangedEvent
,
47867 &_swigt__p_wxPaperSize
,
47868 &_swigt__p_wxPickerBase
,
47869 &_swigt__p_wxPoint
,
47870 &_swigt__p_wxPyApp
,
47871 &_swigt__p_wxPyCommandEvent
,
47872 &_swigt__p_wxPyControl
,
47873 &_swigt__p_wxPyEvent
,
47874 &_swigt__p_wxPyImageHandler
,
47875 &_swigt__p_wxPyListCtrl
,
47876 &_swigt__p_wxPySizer
,
47877 &_swigt__p_wxPyTreeCtrl
,
47878 &_swigt__p_wxPyTreeItemData
,
47879 &_swigt__p_wxPyValidator
,
47880 &_swigt__p_wxQueryNewPaletteEvent
,
47881 &_swigt__p_wxRadioBox
,
47882 &_swigt__p_wxRadioButton
,
47884 &_swigt__p_wxScrollBar
,
47885 &_swigt__p_wxScrollEvent
,
47886 &_swigt__p_wxScrollWinEvent
,
47887 &_swigt__p_wxSetCursorEvent
,
47888 &_swigt__p_wxShowEvent
,
47889 &_swigt__p_wxSimpleHelpProvider
,
47891 &_swigt__p_wxSizeEvent
,
47892 &_swigt__p_wxSizer
,
47893 &_swigt__p_wxSizerItem
,
47894 &_swigt__p_wxSlider
,
47895 &_swigt__p_wxSpinButton
,
47896 &_swigt__p_wxSpinCtrl
,
47897 &_swigt__p_wxSpinEvent
,
47898 &_swigt__p_wxStaticBitmap
,
47899 &_swigt__p_wxStaticBox
,
47900 &_swigt__p_wxStaticBoxSizer
,
47901 &_swigt__p_wxStaticLine
,
47902 &_swigt__p_wxStaticText
,
47903 &_swigt__p_wxStdDialogButtonSizer
,
47904 &_swigt__p_wxString
,
47905 &_swigt__p_wxSysColourChangedEvent
,
47906 &_swigt__p_wxTGAHandler
,
47907 &_swigt__p_wxTIFFHandler
,
47908 &_swigt__p_wxTextAttr
,
47909 &_swigt__p_wxTextCtrl
,
47910 &_swigt__p_wxTextUrlEvent
,
47911 &_swigt__p_wxToggleButton
,
47912 &_swigt__p_wxToolBar
,
47913 &_swigt__p_wxToolBarBase
,
47914 &_swigt__p_wxToolBarToolBase
,
47915 &_swigt__p_wxToolbook
,
47916 &_swigt__p_wxToolbookEvent
,
47917 &_swigt__p_wxTreeEvent
,
47918 &_swigt__p_wxTreeItemId
,
47919 &_swigt__p_wxTreebook
,
47920 &_swigt__p_wxTreebookEvent
,
47921 &_swigt__p_wxUpdateUIEvent
,
47922 &_swigt__p_wxValidator
,
47923 &_swigt__p_wxVisualAttributes
,
47924 &_swigt__p_wxWindow
,
47925 &_swigt__p_wxWindowBase
,
47926 &_swigt__p_wxWindowCreateEvent
,
47927 &_swigt__p_wxWindowDestroyEvent
,
47928 &_swigt__p_wxXPMHandler
,
47931 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
47932 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
47933 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
47934 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
47935 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
47936 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
47937 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
47938 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
47939 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
47940 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
47941 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
47942 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
47943 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}};
47944 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}};
47945 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}};
47946 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}};
47947 static swig_cast_info _swigc__p_wxCheckBox
[] = { {&_swigt__p_wxCheckBox
, 0, 0, 0},{0, 0, 0, 0}};
47948 static swig_cast_info _swigc__p_wxCheckListBox
[] = { {&_swigt__p_wxCheckListBox
, 0, 0, 0},{0, 0, 0, 0}};
47949 static swig_cast_info _swigc__p_wxChoice
[] = { {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxChoice
, 0, 0}, {&_swigt__p_wxChoice
, 0, 0, 0},{0, 0, 0, 0}};
47950 static swig_cast_info _swigc__p_wxChoicebook
[] = { {&_swigt__p_wxChoicebook
, 0, 0, 0},{0, 0, 0, 0}};
47951 static swig_cast_info _swigc__p_wxChoicebookEvent
[] = { {&_swigt__p_wxChoicebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
47952 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
47953 static swig_cast_info _swigc__p_wxColourPickerCtrl
[] = { {&_swigt__p_wxColourPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47954 static swig_cast_info _swigc__p_wxColourPickerEvent
[] = { {&_swigt__p_wxColourPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
47955 static swig_cast_info _swigc__p_wxComboBox
[] = { {&_swigt__p_wxComboBox
, 0, 0, 0},{0, 0, 0, 0}};
47956 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
47957 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
47958 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
47959 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
47960 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
47961 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
47962 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
47963 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
47964 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
47965 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}};
47966 static swig_cast_info _swigc__p_wxContextHelp
[] = { {&_swigt__p_wxContextHelp
, 0, 0, 0},{0, 0, 0, 0}};
47967 static swig_cast_info _swigc__p_wxContextHelpButton
[] = { {&_swigt__p_wxContextHelpButton
, 0, 0, 0},{0, 0, 0, 0}};
47968 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}};
47969 static swig_cast_info _swigc__p_wxControlWithItems
[] = { {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxControlWithItems
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxControlWithItems
, 0, 0}, {&_swigt__p_wxControlWithItems
, 0, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxControlWithItems
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxControlWithItems
, 0, 0},{0, 0, 0, 0}};
47970 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
47971 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
47972 static swig_cast_info _swigc__p_wxDatePickerCtrl
[] = { {&_swigt__p_wxDatePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47973 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
47974 static swig_cast_info _swigc__p_wxDirFilterListCtrl
[] = { {&_swigt__p_wxDirFilterListCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47975 static swig_cast_info _swigc__p_wxDirPickerCtrl
[] = { {&_swigt__p_wxDirPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47976 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
47977 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
47978 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
47979 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
47980 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
47981 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
47982 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
47983 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
47984 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
47985 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
47986 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
47987 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
47988 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
47989 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
47990 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
47991 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
47992 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
47993 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
47994 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
47995 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
47996 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
47997 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
47998 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
47999 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
48000 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
48001 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
48002 static swig_cast_info _swigc__p_wxEvent
[] = { {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFontPickerEvent
, _p_wxFontPickerEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFileDirPickerEvent
, _p_wxFileDirPickerEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxColourPickerEvent
, _p_wxColourPickerEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEvent
, 0, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxHyperlinkEvent
, _p_wxHyperlinkEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxEvent
, 0, 0},{0, 0, 0, 0}};
48003 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
48004 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
48005 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
48006 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
48007 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}};
48008 static swig_cast_info _swigc__p_wxFileDirPickerEvent
[] = { {&_swigt__p_wxFileDirPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
48009 static swig_cast_info _swigc__p_wxFilePickerCtrl
[] = { {&_swigt__p_wxFilePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48010 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
48011 static swig_cast_info _swigc__p_wxFontPickerCtrl
[] = { {&_swigt__p_wxFontPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48012 static swig_cast_info _swigc__p_wxFontPickerEvent
[] = { {&_swigt__p_wxFontPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
48013 static swig_cast_info _swigc__p_wxGauge
[] = { {&_swigt__p_wxGauge
, 0, 0, 0},{0, 0, 0, 0}};
48014 static swig_cast_info _swigc__p_wxGenericDirCtrl
[] = { {&_swigt__p_wxGenericDirCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48015 static swig_cast_info _swigc__p_wxGenericDragImage
[] = { {&_swigt__p_wxGenericDragImage
, 0, 0, 0},{0, 0, 0, 0}};
48016 static swig_cast_info _swigc__p_wxHelpEvent
[] = { {&_swigt__p_wxHelpEvent
, 0, 0, 0},{0, 0, 0, 0}};
48017 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}};
48018 static swig_cast_info _swigc__p_wxHyperlinkCtrl
[] = { {&_swigt__p_wxHyperlinkCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48019 static swig_cast_info _swigc__p_wxHyperlinkEvent
[] = { {&_swigt__p_wxHyperlinkEvent
, 0, 0, 0},{0, 0, 0, 0}};
48020 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
48021 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
48022 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}};
48023 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
48024 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}};
48025 static swig_cast_info _swigc__p_wxListEvent
[] = { {&_swigt__p_wxListEvent
, 0, 0, 0},{0, 0, 0, 0}};
48026 static swig_cast_info _swigc__p_wxListItem
[] = { {&_swigt__p_wxListItem
, 0, 0, 0},{0, 0, 0, 0}};
48027 static swig_cast_info _swigc__p_wxListItemAttr
[] = { {&_swigt__p_wxListItemAttr
, 0, 0, 0},{0, 0, 0, 0}};
48028 static swig_cast_info _swigc__p_wxListView
[] = { {&_swigt__p_wxListView
, 0, 0, 0},{0, 0, 0, 0}};
48029 static swig_cast_info _swigc__p_wxListbook
[] = { {&_swigt__p_wxListbook
, 0, 0, 0},{0, 0, 0, 0}};
48030 static swig_cast_info _swigc__p_wxListbookEvent
[] = { {&_swigt__p_wxListbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
48031 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxMemoryDC
, 0, 0, 0},{0, 0, 0, 0}};
48032 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
48033 static swig_cast_info _swigc__p_wxNotebook
[] = { {&_swigt__p_wxNotebook
, 0, 0, 0},{0, 0, 0, 0}};
48034 static swig_cast_info _swigc__p_wxNotebookEvent
[] = { {&_swigt__p_wxNotebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
48035 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}};
48036 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
48037 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
48038 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
48039 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
48040 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
48041 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
48042 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
48043 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
48044 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
48045 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
48046 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
48047 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
48048 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
48049 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
48050 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
48051 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
48052 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
48053 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
48054 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
48055 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
48056 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
48057 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
48058 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
48059 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
48060 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
48061 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
48062 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
48063 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
48064 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
48065 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
48066 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
48067 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPickerBase
, _p_wxPickerBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourPickerEvent
, _p_wxColourPickerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDirPickerEvent
, _p_wxFileDirPickerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontPickerEvent
, _p_wxFontPickerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHyperlinkEvent
, _p_wxHyperlinkEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextHelp
, _p_wxContextHelpTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxObject
, 0, 0}, {&_swigt__p_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_wxTGAHandler
, _p_wxTGAHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListItem
, _p_wxListItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGenericDragImage
, _p_wxGenericDragImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_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_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_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBarToolBase
, _p_wxToolBarToolBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
48068 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
48069 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}};
48070 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
48071 static swig_cast_info _swigc__p_wxPyControl
[] = { {&_swigt__p_wxPyControl
, 0, 0, 0},{0, 0, 0, 0}};
48072 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}};
48073 static swig_cast_info _swigc__p_wxPyTreeCtrl
[] = { {&_swigt__p_wxPyTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48074 static swig_cast_info _swigc__p_wxPyTreeItemData
[] = { {&_swigt__p_wxPyTreeItemData
, 0, 0, 0},{0, 0, 0, 0}};
48075 static swig_cast_info _swigc__p_wxRadioBox
[] = { {&_swigt__p_wxRadioBox
, 0, 0, 0},{0, 0, 0, 0}};
48076 static swig_cast_info _swigc__p_wxRadioButton
[] = { {&_swigt__p_wxRadioButton
, 0, 0, 0},{0, 0, 0, 0}};
48077 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
48078 static swig_cast_info _swigc__p_wxScrollBar
[] = { {&_swigt__p_wxScrollBar
, 0, 0, 0},{0, 0, 0, 0}};
48079 static swig_cast_info _swigc__p_wxSimpleHelpProvider
[] = { {&_swigt__p_wxSimpleHelpProvider
, 0, 0, 0},{0, 0, 0, 0}};
48080 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
48081 static swig_cast_info _swigc__p_wxSlider
[] = { {&_swigt__p_wxSlider
, 0, 0, 0},{0, 0, 0, 0}};
48082 static swig_cast_info _swigc__p_wxSpinButton
[] = { {&_swigt__p_wxSpinButton
, 0, 0, 0},{0, 0, 0, 0}};
48083 static swig_cast_info _swigc__p_wxSpinCtrl
[] = { {&_swigt__p_wxSpinCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48084 static swig_cast_info _swigc__p_wxSpinEvent
[] = { {&_swigt__p_wxSpinEvent
, 0, 0, 0},{0, 0, 0, 0}};
48085 static swig_cast_info _swigc__p_wxStaticBitmap
[] = { {&_swigt__p_wxStaticBitmap
, 0, 0, 0},{0, 0, 0, 0}};
48086 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
48087 static swig_cast_info _swigc__p_wxStaticLine
[] = { {&_swigt__p_wxStaticLine
, 0, 0, 0},{0, 0, 0, 0}};
48088 static swig_cast_info _swigc__p_wxStaticText
[] = { {&_swigt__p_wxStaticText
, 0, 0, 0},{0, 0, 0, 0}};
48089 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
48090 static swig_cast_info _swigc__p_wxTextAttr
[] = { {&_swigt__p_wxTextAttr
, 0, 0, 0},{0, 0, 0, 0}};
48091 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48092 static swig_cast_info _swigc__p_wxTextUrlEvent
[] = { {&_swigt__p_wxTextUrlEvent
, 0, 0, 0},{0, 0, 0, 0}};
48093 static swig_cast_info _swigc__p_wxToggleButton
[] = { {&_swigt__p_wxToggleButton
, 0, 0, 0},{0, 0, 0, 0}};
48094 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
48095 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}};
48096 static swig_cast_info _swigc__p_wxToolBarToolBase
[] = { {&_swigt__p_wxToolBarToolBase
, 0, 0, 0},{0, 0, 0, 0}};
48097 static swig_cast_info _swigc__p_wxToolbook
[] = { {&_swigt__p_wxToolbook
, 0, 0, 0},{0, 0, 0, 0}};
48098 static swig_cast_info _swigc__p_wxToolbookEvent
[] = { {&_swigt__p_wxToolbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
48099 static swig_cast_info _swigc__p_wxTreeEvent
[] = { {&_swigt__p_wxTreeEvent
, 0, 0, 0},{0, 0, 0, 0}};
48100 static swig_cast_info _swigc__p_wxTreeItemId
[] = { {&_swigt__p_wxTreeItemId
, 0, 0, 0},{0, 0, 0, 0}};
48101 static swig_cast_info _swigc__p_wxTreebook
[] = { {&_swigt__p_wxTreebook
, 0, 0, 0},{0, 0, 0, 0}};
48102 static swig_cast_info _swigc__p_wxTreebookEvent
[] = { {&_swigt__p_wxTreebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
48103 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}};
48104 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
48105 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}};
48106 static swig_cast_info _swigc__p_wxWindowBase
[] = { {&_swigt__p_wxWindowBase
, 0, 0, 0},{0, 0, 0, 0}};
48108 static swig_cast_info
*swig_cast_initial
[] = {
48111 _swigc__p_form_ops_t
,
48114 _swigc__p_unsigned_char
,
48115 _swigc__p_unsigned_int
,
48116 _swigc__p_unsigned_long
,
48118 _swigc__p_wxANIHandler
,
48119 _swigc__p_wxAcceleratorTable
,
48120 _swigc__p_wxActivateEvent
,
48121 _swigc__p_wxArrayInt
,
48122 _swigc__p_wxArrayString
,
48123 _swigc__p_wxBMPHandler
,
48124 _swigc__p_wxBitmap
,
48125 _swigc__p_wxBitmapButton
,
48126 _swigc__p_wxBookCtrlBase
,
48127 _swigc__p_wxBookCtrlBaseEvent
,
48128 _swigc__p_wxBoxSizer
,
48129 _swigc__p_wxButton
,
48130 _swigc__p_wxCURHandler
,
48131 _swigc__p_wxCheckBox
,
48132 _swigc__p_wxCheckListBox
,
48133 _swigc__p_wxChildFocusEvent
,
48134 _swigc__p_wxChoice
,
48135 _swigc__p_wxChoicebook
,
48136 _swigc__p_wxChoicebookEvent
,
48137 _swigc__p_wxClipboardTextEvent
,
48138 _swigc__p_wxCloseEvent
,
48139 _swigc__p_wxColour
,
48140 _swigc__p_wxColourPickerCtrl
,
48141 _swigc__p_wxColourPickerEvent
,
48142 _swigc__p_wxComboBox
,
48143 _swigc__p_wxCommandEvent
,
48144 _swigc__p_wxContextHelp
,
48145 _swigc__p_wxContextHelpButton
,
48146 _swigc__p_wxContextMenuEvent
,
48147 _swigc__p_wxControl
,
48148 _swigc__p_wxControlWithItems
,
48149 _swigc__p_wxCursor
,
48151 _swigc__p_wxDateEvent
,
48152 _swigc__p_wxDatePickerCtrl
,
48153 _swigc__p_wxDateTime
,
48154 _swigc__p_wxDirFilterListCtrl
,
48155 _swigc__p_wxDirPickerCtrl
,
48156 _swigc__p_wxDisplayChangedEvent
,
48157 _swigc__p_wxDropFilesEvent
,
48158 _swigc__p_wxDuplexMode
,
48159 _swigc__p_wxEraseEvent
,
48161 _swigc__p_wxEvtHandler
,
48162 _swigc__p_wxFSFile
,
48163 _swigc__p_wxFileDirPickerEvent
,
48164 _swigc__p_wxFilePickerCtrl
,
48165 _swigc__p_wxFileSystem
,
48166 _swigc__p_wxFlexGridSizer
,
48167 _swigc__p_wxFocusEvent
,
48169 _swigc__p_wxFontPickerCtrl
,
48170 _swigc__p_wxFontPickerEvent
,
48171 _swigc__p_wxGBSizerItem
,
48172 _swigc__p_wxGIFHandler
,
48174 _swigc__p_wxGenericDirCtrl
,
48175 _swigc__p_wxGenericDragImage
,
48176 _swigc__p_wxGridBagSizer
,
48177 _swigc__p_wxGridSizer
,
48178 _swigc__p_wxHelpEvent
,
48179 _swigc__p_wxHelpProvider
,
48180 _swigc__p_wxHyperlinkCtrl
,
48181 _swigc__p_wxHyperlinkEvent
,
48182 _swigc__p_wxICOHandler
,
48184 _swigc__p_wxIconizeEvent
,
48185 _swigc__p_wxIdleEvent
,
48187 _swigc__p_wxImageHandler
,
48188 _swigc__p_wxImageList
,
48189 _swigc__p_wxIndividualLayoutConstraint
,
48190 _swigc__p_wxInitDialogEvent
,
48191 _swigc__p_wxItemContainer
,
48192 _swigc__p_wxJPEGHandler
,
48193 _swigc__p_wxKeyEvent
,
48194 _swigc__p_wxLayoutConstraints
,
48195 _swigc__p_wxListBox
,
48196 _swigc__p_wxListEvent
,
48197 _swigc__p_wxListItem
,
48198 _swigc__p_wxListItemAttr
,
48199 _swigc__p_wxListView
,
48200 _swigc__p_wxListbook
,
48201 _swigc__p_wxListbookEvent
,
48202 _swigc__p_wxMaximizeEvent
,
48203 _swigc__p_wxMemoryDC
,
48205 _swigc__p_wxMenuBar
,
48206 _swigc__p_wxMenuEvent
,
48207 _swigc__p_wxMenuItem
,
48208 _swigc__p_wxMouseCaptureChangedEvent
,
48209 _swigc__p_wxMouseCaptureLostEvent
,
48210 _swigc__p_wxMouseEvent
,
48211 _swigc__p_wxMoveEvent
,
48212 _swigc__p_wxNavigationKeyEvent
,
48213 _swigc__p_wxNcPaintEvent
,
48214 _swigc__p_wxNotebook
,
48215 _swigc__p_wxNotebookEvent
,
48216 _swigc__p_wxNotifyEvent
,
48217 _swigc__p_wxObject
,
48218 _swigc__p_wxPCXHandler
,
48219 _swigc__p_wxPNGHandler
,
48220 _swigc__p_wxPNMHandler
,
48221 _swigc__p_wxPaintEvent
,
48222 _swigc__p_wxPaletteChangedEvent
,
48223 _swigc__p_wxPaperSize
,
48224 _swigc__p_wxPickerBase
,
48227 _swigc__p_wxPyCommandEvent
,
48228 _swigc__p_wxPyControl
,
48229 _swigc__p_wxPyEvent
,
48230 _swigc__p_wxPyImageHandler
,
48231 _swigc__p_wxPyListCtrl
,
48232 _swigc__p_wxPySizer
,
48233 _swigc__p_wxPyTreeCtrl
,
48234 _swigc__p_wxPyTreeItemData
,
48235 _swigc__p_wxPyValidator
,
48236 _swigc__p_wxQueryNewPaletteEvent
,
48237 _swigc__p_wxRadioBox
,
48238 _swigc__p_wxRadioButton
,
48240 _swigc__p_wxScrollBar
,
48241 _swigc__p_wxScrollEvent
,
48242 _swigc__p_wxScrollWinEvent
,
48243 _swigc__p_wxSetCursorEvent
,
48244 _swigc__p_wxShowEvent
,
48245 _swigc__p_wxSimpleHelpProvider
,
48247 _swigc__p_wxSizeEvent
,
48249 _swigc__p_wxSizerItem
,
48250 _swigc__p_wxSlider
,
48251 _swigc__p_wxSpinButton
,
48252 _swigc__p_wxSpinCtrl
,
48253 _swigc__p_wxSpinEvent
,
48254 _swigc__p_wxStaticBitmap
,
48255 _swigc__p_wxStaticBox
,
48256 _swigc__p_wxStaticBoxSizer
,
48257 _swigc__p_wxStaticLine
,
48258 _swigc__p_wxStaticText
,
48259 _swigc__p_wxStdDialogButtonSizer
,
48260 _swigc__p_wxString
,
48261 _swigc__p_wxSysColourChangedEvent
,
48262 _swigc__p_wxTGAHandler
,
48263 _swigc__p_wxTIFFHandler
,
48264 _swigc__p_wxTextAttr
,
48265 _swigc__p_wxTextCtrl
,
48266 _swigc__p_wxTextUrlEvent
,
48267 _swigc__p_wxToggleButton
,
48268 _swigc__p_wxToolBar
,
48269 _swigc__p_wxToolBarBase
,
48270 _swigc__p_wxToolBarToolBase
,
48271 _swigc__p_wxToolbook
,
48272 _swigc__p_wxToolbookEvent
,
48273 _swigc__p_wxTreeEvent
,
48274 _swigc__p_wxTreeItemId
,
48275 _swigc__p_wxTreebook
,
48276 _swigc__p_wxTreebookEvent
,
48277 _swigc__p_wxUpdateUIEvent
,
48278 _swigc__p_wxValidator
,
48279 _swigc__p_wxVisualAttributes
,
48280 _swigc__p_wxWindow
,
48281 _swigc__p_wxWindowBase
,
48282 _swigc__p_wxWindowCreateEvent
,
48283 _swigc__p_wxWindowDestroyEvent
,
48284 _swigc__p_wxXPMHandler
,
48288 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
48290 static swig_const_info swig_const_table
[] = {
48291 {0, 0, 0, 0.0, 0, 0}};
48296 /* -----------------------------------------------------------------------------
48297 * Type initialization:
48298 * This problem is tough by the requirement that no dynamic
48299 * memory is used. Also, since swig_type_info structures store pointers to
48300 * swig_cast_info structures and swig_cast_info structures store pointers back
48301 * to swig_type_info structures, we need some lookup code at initialization.
48302 * The idea is that swig generates all the structures that are needed.
48303 * The runtime then collects these partially filled structures.
48304 * The SWIG_InitializeModule function takes these initial arrays out of
48305 * swig_module, and does all the lookup, filling in the swig_module.types
48306 * array with the correct data and linking the correct swig_cast_info
48307 * structures together.
48309 * The generated swig_type_info structures are assigned staticly to an initial
48310 * array. We just loop though that array, and handle each type individually.
48311 * First we lookup if this type has been already loaded, and if so, use the
48312 * loaded structure instead of the generated one. Then we have to fill in the
48313 * cast linked list. The cast data is initially stored in something like a
48314 * two-dimensional array. Each row corresponds to a type (there are the same
48315 * number of rows as there are in the swig_type_initial array). Each entry in
48316 * a column is one of the swig_cast_info structures for that type.
48317 * The cast_initial array is actually an array of arrays, because each row has
48318 * a variable number of columns. So to actually build the cast linked list,
48319 * we find the array of casts associated with the type, and loop through it
48320 * adding the casts to the list. The one last trick we need to do is making
48321 * sure the type pointer in the swig_cast_info struct is correct.
48323 * First off, we lookup the cast->type name to see if it is already loaded.
48324 * There are three cases to handle:
48325 * 1) If the cast->type has already been loaded AND the type we are adding
48326 * casting info to has not been loaded (it is in this module), THEN we
48327 * replace the cast->type pointer with the type pointer that has already
48329 * 2) If BOTH types (the one we are adding casting info to, and the
48330 * cast->type) are loaded, THEN the cast info has already been loaded by
48331 * the previous module so we just ignore it.
48332 * 3) Finally, if cast->type has not already been loaded, then we add that
48333 * swig_cast_info to the linked list (because the cast->type) pointer will
48335 * ----------------------------------------------------------------------------- */
48345 #define SWIGRUNTIME_DEBUG
48349 SWIG_InitializeModule(void *clientdata
) {
48351 swig_module_info
*module_head
;
48352 static int init_run
= 0;
48354 clientdata
= clientdata
;
48356 if (init_run
) return;
48359 /* Initialize the swig_module */
48360 swig_module
.type_initial
= swig_type_initial
;
48361 swig_module
.cast_initial
= swig_cast_initial
;
48363 /* Try and load any already created modules */
48364 module_head
= SWIG_GetModule(clientdata
);
48366 swig_module
.next
= module_head
->next
;
48367 module_head
->next
= &swig_module
;
48369 /* This is the first module loaded */
48370 swig_module
.next
= &swig_module
;
48371 SWIG_SetModule(clientdata
, &swig_module
);
48374 /* Now work on filling in swig_module.types */
48375 #ifdef SWIGRUNTIME_DEBUG
48376 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
48378 for (i
= 0; i
< swig_module
.size
; ++i
) {
48379 swig_type_info
*type
= 0;
48380 swig_type_info
*ret
;
48381 swig_cast_info
*cast
;
48383 #ifdef SWIGRUNTIME_DEBUG
48384 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
48387 /* if there is another module already loaded */
48388 if (swig_module
.next
!= &swig_module
) {
48389 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
48392 /* Overwrite clientdata field */
48393 #ifdef SWIGRUNTIME_DEBUG
48394 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
48396 if (swig_module
.type_initial
[i
]->clientdata
) {
48397 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
48398 #ifdef SWIGRUNTIME_DEBUG
48399 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
48403 type
= swig_module
.type_initial
[i
];
48406 /* Insert casting types */
48407 cast
= swig_module
.cast_initial
[i
];
48408 while (cast
->type
) {
48409 /* Don't need to add information already in the list */
48411 #ifdef SWIGRUNTIME_DEBUG
48412 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
48414 if (swig_module
.next
!= &swig_module
) {
48415 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
48416 #ifdef SWIGRUNTIME_DEBUG
48417 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
48421 if (type
== swig_module
.type_initial
[i
]) {
48422 #ifdef SWIGRUNTIME_DEBUG
48423 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
48428 /* Check for casting already in the list */
48429 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
48430 #ifdef SWIGRUNTIME_DEBUG
48431 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
48433 if (!ocast
) ret
= 0;
48438 #ifdef SWIGRUNTIME_DEBUG
48439 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
48442 type
->cast
->prev
= cast
;
48443 cast
->next
= type
->cast
;
48449 /* Set entry in modules->types array equal to the type */
48450 swig_module
.types
[i
] = type
;
48452 swig_module
.types
[i
] = 0;
48454 #ifdef SWIGRUNTIME_DEBUG
48455 printf("**** SWIG_InitializeModule: Cast List ******\n");
48456 for (i
= 0; i
< swig_module
.size
; ++i
) {
48458 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
48459 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
48460 while (cast
->type
) {
48461 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
48465 printf("---- Total casts: %d\n",j
);
48467 printf("**** SWIG_InitializeModule: Cast List ******\n");
48471 /* This function will propagate the clientdata field of type to
48472 * any new swig_type_info structures that have been added into the list
48473 * of equivalent types. It is like calling
48474 * SWIG_TypeClientData(type, clientdata) a second time.
48477 SWIG_PropagateClientData(void) {
48479 swig_cast_info
*equiv
;
48480 static int init_run
= 0;
48482 if (init_run
) return;
48485 for (i
= 0; i
< swig_module
.size
; i
++) {
48486 if (swig_module
.types
[i
]->clientdata
) {
48487 equiv
= swig_module
.types
[i
]->cast
;
48489 if (!equiv
->converter
) {
48490 if (equiv
->type
&& !equiv
->type
->clientdata
)
48491 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
48493 equiv
= equiv
->next
;
48513 /* Python-specific SWIG API */
48514 #define SWIG_newvarlink() SWIG_Python_newvarlink()
48515 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
48516 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
48518 /* -----------------------------------------------------------------------------
48519 * global variable support code.
48520 * ----------------------------------------------------------------------------- */
48522 typedef struct swig_globalvar
{
48523 char *name
; /* Name of global variable */
48524 PyObject
*(*get_attr
)(void); /* Return the current value */
48525 int (*set_attr
)(PyObject
*); /* Set the value */
48526 struct swig_globalvar
*next
;
48529 typedef struct swig_varlinkobject
{
48531 swig_globalvar
*vars
;
48532 } swig_varlinkobject
;
48534 SWIGINTERN PyObject
*
48535 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
48536 return PyString_FromString("<Swig global variables>");
48539 SWIGINTERN PyObject
*
48540 swig_varlink_str(swig_varlinkobject
*v
) {
48541 PyObject
*str
= PyString_FromString("(");
48542 swig_globalvar
*var
;
48543 for (var
= v
->vars
; var
; var
=var
->next
) {
48544 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
48545 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
48547 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
48552 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
48553 PyObject
*str
= swig_varlink_str(v
);
48554 fprintf(fp
,"Swig global variables ");
48555 fprintf(fp
,"%s\n", PyString_AsString(str
));
48561 swig_varlink_dealloc(swig_varlinkobject
*v
) {
48562 swig_globalvar
*var
= v
->vars
;
48564 swig_globalvar
*n
= var
->next
;
48571 SWIGINTERN PyObject
*
48572 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
48573 PyObject
*res
= NULL
;
48574 swig_globalvar
*var
= v
->vars
;
48576 if (strcmp(var
->name
,n
) == 0) {
48577 res
= (*var
->get_attr
)();
48582 if (res
== NULL
&& !PyErr_Occurred()) {
48583 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
48589 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
48591 swig_globalvar
*var
= v
->vars
;
48593 if (strcmp(var
->name
,n
) == 0) {
48594 res
= (*var
->set_attr
)(p
);
48599 if (res
== 1 && !PyErr_Occurred()) {
48600 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
48605 SWIGINTERN PyTypeObject
*
48606 swig_varlink_type(void) {
48607 static char varlink__doc__
[] = "Swig var link object";
48608 static PyTypeObject varlink_type
;
48609 static int type_init
= 0;
48611 const PyTypeObject tmp
48613 PyObject_HEAD_INIT(NULL
)
48614 0, /* Number of items in variable part (ob_size) */
48615 (char *)"swigvarlink", /* Type name (tp_name) */
48616 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
48617 0, /* Itemsize (tp_itemsize) */
48618 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
48619 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
48620 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
48621 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
48622 0, /* tp_compare */
48623 (reprfunc
) swig_varlink_repr
, /* tp_repr */
48624 0, /* tp_as_number */
48625 0, /* tp_as_sequence */
48626 0, /* tp_as_mapping */
48629 (reprfunc
)swig_varlink_str
, /* tp_str */
48630 0, /* tp_getattro */
48631 0, /* tp_setattro */
48632 0, /* tp_as_buffer */
48634 varlink__doc__
, /* tp_doc */
48635 0, /* tp_traverse */
48637 0, /* tp_richcompare */
48638 0, /* tp_weaklistoffset */
48639 #if PY_VERSION_HEX >= 0x02020000
48640 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
48642 #if PY_VERSION_HEX >= 0x02030000
48645 #ifdef COUNT_ALLOCS
48646 0,0,0,0 /* tp_alloc -> tp_next */
48649 varlink_type
= tmp
;
48650 varlink_type
.ob_type
= &PyType_Type
;
48653 return &varlink_type
;
48656 /* Create a variable linking object for use later */
48657 SWIGINTERN PyObject
*
48658 SWIG_Python_newvarlink(void) {
48659 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
48663 return ((PyObject
*) result
);
48667 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
48668 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
48669 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
48671 size_t size
= strlen(name
)+1;
48672 gv
->name
= (char *)malloc(size
);
48674 strncpy(gv
->name
,name
,size
);
48675 gv
->get_attr
= get_attr
;
48676 gv
->set_attr
= set_attr
;
48677 gv
->next
= v
->vars
;
48683 SWIGINTERN PyObject
*
48685 static PyObject
*_SWIG_globals
= 0;
48686 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
48687 return _SWIG_globals
;
48690 /* -----------------------------------------------------------------------------
48691 * constants/methods manipulation
48692 * ----------------------------------------------------------------------------- */
48694 /* Install Constants */
48696 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
48699 for (i
= 0; constants
[i
].type
; ++i
) {
48700 switch(constants
[i
].type
) {
48701 case SWIG_PY_POINTER
:
48702 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
48704 case SWIG_PY_BINARY
:
48705 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
48712 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
48718 /* -----------------------------------------------------------------------------*/
48719 /* Fix SwigMethods to carry the callback ptrs when needed */
48720 /* -----------------------------------------------------------------------------*/
48723 SWIG_Python_FixMethods(PyMethodDef
*methods
,
48724 swig_const_info
*const_table
,
48725 swig_type_info
**types
,
48726 swig_type_info
**types_initial
) {
48728 for (i
= 0; methods
[i
].ml_name
; ++i
) {
48729 const char *c
= methods
[i
].ml_doc
;
48730 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
48732 swig_const_info
*ci
= 0;
48733 const char *name
= c
+ 10;
48734 for (j
= 0; const_table
[j
].type
; ++j
) {
48735 if (strncmp(const_table
[j
].name
, name
,
48736 strlen(const_table
[j
].name
)) == 0) {
48737 ci
= &(const_table
[j
]);
48742 size_t shift
= (ci
->ptype
) - types
;
48743 swig_type_info
*ty
= types_initial
[shift
];
48744 size_t ldoc
= (c
- methods
[i
].ml_doc
);
48745 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
48746 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
48749 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
48751 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
48753 strncpy(buff
, "swig_ptr: ", 10);
48755 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
48756 methods
[i
].ml_doc
= ndoc
;
48768 /* -----------------------------------------------------------------------------*
48769 * Partial Init method
48770 * -----------------------------------------------------------------------------*/
48775 SWIGEXPORT
void SWIG_init(void) {
48778 /* Fix SwigMethods to carry the callback ptrs when needed */
48779 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
48781 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
48782 d
= PyModule_GetDict(m
);
48784 SWIG_InitializeModule(0);
48785 SWIG_InstallConstants(d
,swig_const_table
);
48788 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
48789 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get
, ButtonNameStr_set
);
48790 SWIG_Python_SetConstant(d
, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT
)));
48791 SWIG_Python_SetConstant(d
, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP
)));
48792 SWIG_Python_SetConstant(d
, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT
)));
48793 SWIG_Python_SetConstant(d
, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM
)));
48794 SWIG_Python_SetConstant(d
, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK
)));
48795 SWIG_Python_SetConstant(d
, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT
)));
48796 SWIG_Python_SetConstant(d
, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW
)));
48797 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get
, CheckBoxNameStr_set
);
48798 SWIG_Python_SetConstant(d
, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE
)));
48799 SWIG_Python_SetConstant(d
, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE
)));
48800 SWIG_Python_SetConstant(d
, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
48801 SWIG_Python_SetConstant(d
, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED
)));
48802 SWIG_Python_SetConstant(d
, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED
)));
48803 SWIG_Python_SetConstant(d
, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED
)));
48804 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get
, ChoiceNameStr_set
);
48805 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get
, ComboBoxNameStr_set
);
48806 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get
, GaugeNameStr_set
);
48807 SWIG_Python_SetConstant(d
, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL
)));
48808 SWIG_Python_SetConstant(d
, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL
)));
48809 SWIG_Python_SetConstant(d
, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH
)));
48810 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get
, StaticBitmapNameStr_set
);
48811 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get
, StaticBoxNameStr_set
);
48812 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get
, StaticTextNameStr_set
);
48813 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get
, ListBoxNameStr_set
);
48814 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get
, TextCtrlNameStr_set
);
48815 SWIG_Python_SetConstant(d
, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL
)));
48816 SWIG_Python_SetConstant(d
, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL
)));
48817 SWIG_Python_SetConstant(d
, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY
)));
48818 SWIG_Python_SetConstant(d
, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE
)));
48819 SWIG_Python_SetConstant(d
, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB
)));
48820 SWIG_Python_SetConstant(d
, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT
)));
48821 SWIG_Python_SetConstant(d
, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER
)));
48822 SWIG_Python_SetConstant(d
, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT
)));
48823 SWIG_Python_SetConstant(d
, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE
)));
48824 SWIG_Python_SetConstant(d
, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH
)));
48825 SWIG_Python_SetConstant(d
, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER
)));
48826 SWIG_Python_SetConstant(d
, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD
)));
48827 SWIG_Python_SetConstant(d
, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL
)));
48828 SWIG_Python_SetConstant(d
, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL
)));
48829 SWIG_Python_SetConstant(d
, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP
)));
48830 SWIG_Python_SetConstant(d
, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP
)));
48831 SWIG_Python_SetConstant(d
, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP
)));
48832 SWIG_Python_SetConstant(d
, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP
)));
48833 SWIG_Python_SetConstant(d
, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2
)));
48834 SWIG_Python_SetConstant(d
, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE
)));
48835 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT
)));
48836 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT
)));
48837 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE
)));
48838 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER
)));
48839 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT
)));
48840 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED
)));
48841 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR
)));
48842 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
48843 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE
)));
48844 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE
)));
48845 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT
)));
48846 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC
)));
48847 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE
)));
48848 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT
)));
48849 SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT
)));
48850 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT
)));
48851 SWIG_Python_SetConstant(d
, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT
)));
48852 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS
)));
48853 SWIG_Python_SetConstant(d
, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN
)));
48854 SWIG_Python_SetConstant(d
, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE
)));
48855 SWIG_Python_SetConstant(d
, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT
)));
48856 SWIG_Python_SetConstant(d
, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW
)));
48857 SWIG_Python_SetConstant(d
, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND
)));
48858 SWIG_Python_SetConstant(d
, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord
)));
48859 SWIG_Python_SetConstant(d
, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord
)));
48860 SWIG_Python_SetConstant(d
, "TEXT_TYPE_ANY",SWIG_From_int(static_cast< int >(wxTEXT_TYPE_ANY
)));
48861 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
48862 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
48863 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
48864 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
48865 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get
, ScrollBarNameStr_set
);
48866 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get
, SPIN_BUTTON_NAME_set
);
48867 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get
, SpinCtrlNameStr_set
);
48868 SWIG_Python_SetConstant(d
, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL
)));
48869 SWIG_Python_SetConstant(d
, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL
)));
48870 SWIG_Python_SetConstant(d
, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS
)));
48871 SWIG_Python_SetConstant(d
, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP
)));
48872 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
48873 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get
, RadioBoxNameStr_set
);
48874 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get
, RadioButtonNameStr_set
);
48875 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get
, SliderNameStr_set
);
48876 SWIG_Python_SetConstant(d
, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL
)));
48877 SWIG_Python_SetConstant(d
, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL
)));
48878 SWIG_Python_SetConstant(d
, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS
)));
48879 SWIG_Python_SetConstant(d
, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS
)));
48880 SWIG_Python_SetConstant(d
, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS
)));
48881 SWIG_Python_SetConstant(d
, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT
)));
48882 SWIG_Python_SetConstant(d
, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP
)));
48883 SWIG_Python_SetConstant(d
, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT
)));
48884 SWIG_Python_SetConstant(d
, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM
)));
48885 SWIG_Python_SetConstant(d
, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH
)));
48886 SWIG_Python_SetConstant(d
, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE
)));
48887 SWIG_Python_SetConstant(d
, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE
)));
48888 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get
, ToggleButtonNameStr_set
);
48889 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
48890 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get
, NotebookNameStr_set
);
48891 SWIG_Python_SetConstant(d
, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT
)));
48892 SWIG_Python_SetConstant(d
, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP
)));
48893 SWIG_Python_SetConstant(d
, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM
)));
48894 SWIG_Python_SetConstant(d
, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT
)));
48895 SWIG_Python_SetConstant(d
, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT
)));
48896 SWIG_Python_SetConstant(d
, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK
)));
48897 SWIG_Python_SetConstant(d
, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR
)));
48898 SWIG_Python_SetConstant(d
, "BK_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_NOWHERE
)));
48899 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONICON
)));
48900 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONLABEL
)));
48901 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONITEM
)));
48902 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONPAGE
)));
48903 SWIG_Python_SetConstant(d
, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH
)));
48904 SWIG_Python_SetConstant(d
, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP
)));
48905 SWIG_Python_SetConstant(d
, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT
)));
48906 SWIG_Python_SetConstant(d
, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT
)));
48907 SWIG_Python_SetConstant(d
, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM
)));
48908 SWIG_Python_SetConstant(d
, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE
)));
48909 SWIG_Python_SetConstant(d
, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME
)));
48910 SWIG_Python_SetConstant(d
, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE
)));
48911 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON
)));
48912 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL
)));
48913 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM
)));
48914 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONPAGE
)));
48915 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
48916 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
48917 SWIG_Python_SetConstant(d
, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT
)));
48918 SWIG_Python_SetConstant(d
, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP
)));
48919 SWIG_Python_SetConstant(d
, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM
)));
48920 SWIG_Python_SetConstant(d
, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT
)));
48921 SWIG_Python_SetConstant(d
, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT
)));
48922 SWIG_Python_SetConstant(d
, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK
)));
48923 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
48924 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
48925 SWIG_Python_SetConstant(d
, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT
)));
48926 SWIG_Python_SetConstant(d
, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP
)));
48927 SWIG_Python_SetConstant(d
, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM
)));
48928 SWIG_Python_SetConstant(d
, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT
)));
48929 SWIG_Python_SetConstant(d
, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT
)));
48930 SWIG_Python_SetConstant(d
, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK
)));
48931 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
48932 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
48933 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED
));
48934 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING
));
48935 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED
));
48936 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED
));
48937 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED
));
48938 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING
));
48939 SWIG_Python_SetConstant(d
, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON
)));
48940 SWIG_Python_SetConstant(d
, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR
)));
48941 SWIG_Python_SetConstant(d
, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL
)));
48942 SWIG_Python_SetConstant(d
, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL
)));
48943 SWIG_Python_SetConstant(d
, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL
)));
48944 SWIG_Python_SetConstant(d
, "TB_TOP",SWIG_From_int(static_cast< int >(wxTB_TOP
)));
48945 SWIG_Python_SetConstant(d
, "TB_LEFT",SWIG_From_int(static_cast< int >(wxTB_LEFT
)));
48946 SWIG_Python_SetConstant(d
, "TB_BOTTOM",SWIG_From_int(static_cast< int >(wxTB_BOTTOM
)));
48947 SWIG_Python_SetConstant(d
, "TB_RIGHT",SWIG_From_int(static_cast< int >(wxTB_RIGHT
)));
48948 SWIG_Python_SetConstant(d
, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS
)));
48949 SWIG_Python_SetConstant(d
, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT
)));
48950 SWIG_Python_SetConstant(d
, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE
)));
48951 SWIG_Python_SetConstant(d
, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS
)));
48952 SWIG_Python_SetConstant(d
, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT
)));
48953 SWIG_Python_SetConstant(d
, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER
)));
48954 SWIG_Python_SetConstant(d
, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN
)));
48955 SWIG_Python_SetConstant(d
, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT
)));
48956 SWIG_Python_SetConstant(d
, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT
)));
48957 SWIG_Python_SetConstant(d
, "TB_NO_TOOLTIPS",SWIG_From_int(static_cast< int >(wxTB_NO_TOOLTIPS
)));
48958 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get
, ListCtrlNameStr_set
);
48959 SWIG_Python_SetConstant(d
, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES
)));
48960 SWIG_Python_SetConstant(d
, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES
)));
48961 SWIG_Python_SetConstant(d
, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON
)));
48962 SWIG_Python_SetConstant(d
, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON
)));
48963 SWIG_Python_SetConstant(d
, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST
)));
48964 SWIG_Python_SetConstant(d
, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT
)));
48965 SWIG_Python_SetConstant(d
, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP
)));
48966 SWIG_Python_SetConstant(d
, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT
)));
48967 SWIG_Python_SetConstant(d
, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE
)));
48968 SWIG_Python_SetConstant(d
, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL
)));
48969 SWIG_Python_SetConstant(d
, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS
)));
48970 SWIG_Python_SetConstant(d
, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER
)));
48971 SWIG_Python_SetConstant(d
, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER
)));
48972 SWIG_Python_SetConstant(d
, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL
)));
48973 SWIG_Python_SetConstant(d
, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING
)));
48974 SWIG_Python_SetConstant(d
, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING
)));
48975 SWIG_Python_SetConstant(d
, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE
)));
48976 SWIG_Python_SetConstant(d
, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN
)));
48977 SWIG_Python_SetConstant(d
, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT
)));
48978 SWIG_Python_SetConstant(d
, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE
)));
48979 SWIG_Python_SetConstant(d
, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT
)));
48980 SWIG_Python_SetConstant(d
, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE
)));
48981 SWIG_Python_SetConstant(d
, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA
)));
48982 SWIG_Python_SetConstant(d
, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM
)));
48983 SWIG_Python_SetConstant(d
, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH
)));
48984 SWIG_Python_SetConstant(d
, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT
)));
48985 SWIG_Python_SetConstant(d
, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE
)));
48986 SWIG_Python_SetConstant(d
, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED
)));
48987 SWIG_Python_SetConstant(d
, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED
)));
48988 SWIG_Python_SetConstant(d
, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED
)));
48989 SWIG_Python_SetConstant(d
, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT
)));
48990 SWIG_Python_SetConstant(d
, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED
)));
48991 SWIG_Python_SetConstant(d
, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED
)));
48992 SWIG_Python_SetConstant(d
, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE
)));
48993 SWIG_Python_SetConstant(d
, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED
)));
48994 SWIG_Python_SetConstant(d
, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE
)));
48995 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE
)));
48996 SWIG_Python_SetConstant(d
, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW
)));
48997 SWIG_Python_SetConstant(d
, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE
)));
48998 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON
)));
48999 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL
)));
49000 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT
)));
49001 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON
)));
49002 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT
)));
49003 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT
)));
49004 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM
)));
49005 SWIG_Python_SetConstant(d
, "LIST_GETSUBITEMRECT_WHOLEITEM",SWIG_From_int(static_cast< int >(wxLIST_GETSUBITEMRECT_WHOLEITEM
)));
49006 SWIG_Python_SetConstant(d
, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE
)));
49007 SWIG_Python_SetConstant(d
, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL
)));
49008 SWIG_Python_SetConstant(d
, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW
)));
49009 SWIG_Python_SetConstant(d
, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT
)));
49010 SWIG_Python_SetConstant(d
, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT
)));
49011 SWIG_Python_SetConstant(d
, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT
)));
49012 SWIG_Python_SetConstant(d
, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT
)));
49013 SWIG_Python_SetConstant(d
, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP
)));
49014 SWIG_Python_SetConstant(d
, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID
)));
49015 SWIG_Python_SetConstant(d
, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT
)));
49016 SWIG_Python_SetConstant(d
, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT
)));
49017 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE
)));
49018 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER
)));
49019 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE
)));
49020 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER
)));
49021 SWIG_Python_SetConstant(d
, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS
)));
49022 SWIG_Python_SetConstant(d
, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON
)));
49023 SWIG_Python_SetConstant(d
, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL
)));
49024 SWIG_Python_SetConstant(d
, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP
)));
49025 SWIG_Python_SetConstant(d
, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN
)));
49026 SWIG_Python_SetConstant(d
, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT
)));
49027 SWIG_Python_SetConstant(d
, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT
)));
49028 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
49029 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
49030 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
49031 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
49032 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
49033 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
49034 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
49035 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
49036 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
49037 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
49038 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
49039 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
49040 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
49041 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
49042 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
49043 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
49044 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
49045 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
49046 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
49047 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
49049 // Map renamed classes back to their common name for OOR
49050 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
49052 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get
, TreeCtrlNameStr_set
);
49053 SWIG_Python_SetConstant(d
, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS
)));
49054 SWIG_Python_SetConstant(d
, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS
)));
49055 SWIG_Python_SetConstant(d
, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES
)));
49056 SWIG_Python_SetConstant(d
, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT
)));
49057 SWIG_Python_SetConstant(d
, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE
)));
49058 SWIG_Python_SetConstant(d
, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE
)));
49059 SWIG_Python_SetConstant(d
, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED
)));
49060 SWIG_Python_SetConstant(d
, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
49061 SWIG_Python_SetConstant(d
, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS
)));
49062 SWIG_Python_SetConstant(d
, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT
)));
49063 SWIG_Python_SetConstant(d
, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES
)));
49064 SWIG_Python_SetConstant(d
, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT
)));
49065 SWIG_Python_SetConstant(d
, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE
)));
49066 SWIG_Python_SetConstant(d
, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS
)));
49067 SWIG_Python_SetConstant(d
, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal
)));
49068 SWIG_Python_SetConstant(d
, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected
)));
49069 SWIG_Python_SetConstant(d
, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded
)));
49070 SWIG_Python_SetConstant(d
, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded
)));
49071 SWIG_Python_SetConstant(d
, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max
)));
49072 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE
)));
49073 SWIG_Python_SetConstant(d
, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW
)));
49074 SWIG_Python_SetConstant(d
, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE
)));
49075 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON
)));
49076 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON
)));
49077 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT
)));
49078 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL
)));
49079 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT
)));
49080 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON
)));
49081 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT
)));
49082 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT
)));
49083 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART
)));
49084 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART
)));
49085 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM
)));
49086 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
49087 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
49088 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
49089 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
49090 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
49091 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
49092 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
49093 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
49094 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
49095 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
49096 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
49097 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
49098 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
49099 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
49100 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
49101 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
49102 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
49103 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
49104 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
49105 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
49106 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
49107 SWIG_addvarlink(SWIG_globals(),(char*)"NullTreeItemId",NullTreeItemId_get
, NullTreeItemId_set
);
49109 // Map renamed classes back to their common name for OOR
49110 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
49111 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
49113 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get
, DirDialogDefaultFolderStr_set
);
49114 SWIG_Python_SetConstant(d
, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY
)));
49115 SWIG_Python_SetConstant(d
, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST
)));
49116 SWIG_Python_SetConstant(d
, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS
)));
49117 SWIG_Python_SetConstant(d
, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL
)));
49118 SWIG_Python_SetConstant(d
, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS
)));
49119 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
49120 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
49121 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Unknown",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Unknown
)));
49122 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Keyboard",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Keyboard
)));
49123 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_HelpButton",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_HelpButton
)));
49125 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
49127 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get
, DatePickerCtrlNameStr_set
);
49128 SWIG_Python_SetConstant(d
, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT
)));
49129 SWIG_Python_SetConstant(d
, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN
)));
49130 SWIG_Python_SetConstant(d
, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN
)));
49131 SWIG_Python_SetConstant(d
, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY
)));
49132 SWIG_Python_SetConstant(d
, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE
)));
49133 SWIG_addvarlink(SWIG_globals(),(char*)"HyperlinkCtrlNameStr",HyperlinkCtrlNameStr_get
, HyperlinkCtrlNameStr_set
);
49134 SWIG_Python_SetConstant(d
, "HL_CONTEXTMENU",SWIG_From_int(static_cast< int >(wxHL_CONTEXTMENU
)));
49135 SWIG_Python_SetConstant(d
, "HL_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_LEFT
)));
49136 SWIG_Python_SetConstant(d
, "HL_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_RIGHT
)));
49137 SWIG_Python_SetConstant(d
, "HL_ALIGN_CENTRE",SWIG_From_int(static_cast< int >(wxHL_ALIGN_CENTRE
)));
49138 SWIG_Python_SetConstant(d
, "HL_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHL_DEFAULT_STYLE
)));
49139 PyDict_SetItemString(d
, "wxEVT_COMMAND_HYPERLINK", PyInt_FromLong(wxEVT_COMMAND_HYPERLINK
));
49140 SWIG_Python_SetConstant(d
, "PB_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxPB_USE_TEXTCTRL
)));
49141 SWIG_addvarlink(SWIG_globals(),(char*)"ColourPickerCtrlNameStr",ColourPickerCtrlNameStr_get
, ColourPickerCtrlNameStr_set
);
49142 SWIG_Python_SetConstant(d
, "CLRP_SHOW_LABEL",SWIG_From_int(static_cast< int >(wxCLRP_SHOW_LABEL
)));
49143 SWIG_Python_SetConstant(d
, "CLRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxCLRP_USE_TEXTCTRL
)));
49144 SWIG_Python_SetConstant(d
, "CLRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCLRP_DEFAULT_STYLE
)));
49145 PyDict_SetItemString(d
, "wxEVT_COMMAND_COLOURPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLOURPICKER_CHANGED
));
49146 SWIG_addvarlink(SWIG_globals(),(char*)"FilePickerCtrlNameStr",FilePickerCtrlNameStr_get
, FilePickerCtrlNameStr_set
);
49147 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
49148 SWIG_addvarlink(SWIG_globals(),(char*)"DirPickerCtrlNameStr",DirPickerCtrlNameStr_get
, DirPickerCtrlNameStr_set
);
49149 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
49150 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
49151 SWIG_Python_SetConstant(d
, "FLP_OPEN",SWIG_From_int(static_cast< int >(wxFLP_OPEN
)));
49152 SWIG_Python_SetConstant(d
, "FLP_SAVE",SWIG_From_int(static_cast< int >(wxFLP_SAVE
)));
49153 SWIG_Python_SetConstant(d
, "FLP_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFLP_OVERWRITE_PROMPT
)));
49154 SWIG_Python_SetConstant(d
, "FLP_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFLP_FILE_MUST_EXIST
)));
49155 SWIG_Python_SetConstant(d
, "FLP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFLP_CHANGE_DIR
)));
49156 SWIG_Python_SetConstant(d
, "DIRP_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDIRP_DIR_MUST_EXIST
)));
49157 SWIG_Python_SetConstant(d
, "DIRP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDIRP_CHANGE_DIR
)));
49158 SWIG_Python_SetConstant(d
, "FLP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFLP_USE_TEXTCTRL
)));
49159 SWIG_Python_SetConstant(d
, "FLP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFLP_DEFAULT_STYLE
)));
49160 SWIG_Python_SetConstant(d
, "DIRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxDIRP_USE_TEXTCTRL
)));
49161 SWIG_Python_SetConstant(d
, "DIRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDIRP_DEFAULT_STYLE
)));
49162 PyDict_SetItemString(d
, "wxEVT_COMMAND_FILEPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FILEPICKER_CHANGED
));
49163 PyDict_SetItemString(d
, "wxEVT_COMMAND_DIRPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_DIRPICKER_CHANGED
));
49164 SWIG_addvarlink(SWIG_globals(),(char*)"FontPickerCtrlNameStr",FontPickerCtrlNameStr_get
, FontPickerCtrlNameStr_set
);
49165 SWIG_Python_SetConstant(d
, "FNTP_FONTDESC_AS_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_FONTDESC_AS_LABEL
)));
49166 SWIG_Python_SetConstant(d
, "FNTP_USEFONT_FOR_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_USEFONT_FOR_LABEL
)));
49167 SWIG_Python_SetConstant(d
, "FNTP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFNTP_USE_TEXTCTRL
)));
49168 SWIG_Python_SetConstant(d
, "FNTP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFNTP_DEFAULT_STYLE
)));
49169 PyDict_SetItemString(d
, "wxEVT_COMMAND_FONTPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FONTPICKER_CHANGED
));