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_wxTIFFHandler swig_types[153]
2620 #define SWIGTYPE_p_wxTextAttr swig_types[154]
2621 #define SWIGTYPE_p_wxTextCtrl swig_types[155]
2622 #define SWIGTYPE_p_wxTextUrlEvent swig_types[156]
2623 #define SWIGTYPE_p_wxToggleButton swig_types[157]
2624 #define SWIGTYPE_p_wxToolBar swig_types[158]
2625 #define SWIGTYPE_p_wxToolBarBase swig_types[159]
2626 #define SWIGTYPE_p_wxToolBarToolBase swig_types[160]
2627 #define SWIGTYPE_p_wxToolbook swig_types[161]
2628 #define SWIGTYPE_p_wxToolbookEvent swig_types[162]
2629 #define SWIGTYPE_p_wxTreeEvent swig_types[163]
2630 #define SWIGTYPE_p_wxTreeItemId swig_types[164]
2631 #define SWIGTYPE_p_wxTreebook swig_types[165]
2632 #define SWIGTYPE_p_wxTreebookEvent swig_types[166]
2633 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[167]
2634 #define SWIGTYPE_p_wxValidator swig_types[168]
2635 #define SWIGTYPE_p_wxVisualAttributes swig_types[169]
2636 #define SWIGTYPE_p_wxWindow swig_types[170]
2637 #define SWIGTYPE_p_wxWindowBase swig_types[171]
2638 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[172]
2639 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[173]
2640 #define SWIGTYPE_p_wxXPMHandler swig_types[174]
2641 static swig_type_info
*swig_types
[176];
2642 static swig_module_info swig_module
= {swig_types
, 175, 0, 0, 0, 0};
2643 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2644 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2646 /* -------- TYPES TABLE (END) -------- */
2648 #if (PY_VERSION_HEX <= 0x02000000)
2649 # if !defined(SWIG_PYTHON_CLASSIC)
2650 # error "This python version requires to use swig with the '-classic' option"
2653 #if (PY_VERSION_HEX <= 0x02020000)
2654 # error "This python version requires to use swig with the '-nomodern' option"
2656 #if (PY_VERSION_HEX <= 0x02020000)
2657 # error "This python version requires to use swig with the '-nomodernargs' option"
2660 # error "This python version requires to use swig with the '-nofastunpack' option"
2663 /*-----------------------------------------------
2664 @(target):= _controls_.so
2665 ------------------------------------------------*/
2666 #define SWIG_init init_controls_
2668 #define SWIG_name "_controls_"
2670 #define SWIGVERSION 0x010329
2673 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2674 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2677 #include <stdexcept>
2681 class PyObject_ptr
{
2686 PyObject_ptr() :_obj(0)
2690 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2695 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2697 if (initial_ref
) Py_XINCREF(_obj
);
2700 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2702 Py_XINCREF(item
._obj
);
2713 operator PyObject
*() const
2718 PyObject
*operator->() const
2727 struct PyObject_var
: PyObject_ptr
{
2728 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2730 PyObject_var
& operator = (PyObject
* obj
)
2740 #include "wx/wxPython/wxPython.h"
2741 #include "wx/wxPython/pyclasses.h"
2743 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2744 static const wxString
wxPyEmptyString(wxEmptyString
);
2745 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2747 const wxArrayString wxPyEmptyStringArray
;
2749 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
2751 #define SWIG_From_long PyInt_FromLong
2754 SWIGINTERNINLINE PyObject
*
2755 SWIG_From_int (int value
)
2757 return SWIG_From_long (value
);
2763 # define LLONG_MIN LONG_LONG_MIN
2766 # define LLONG_MAX LONG_LONG_MAX
2769 # define ULLONG_MAX ULONG_LONG_MAX
2774 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2776 if (PyNumber_Check(obj
)) {
2777 if (val
) *val
= PyInt_AsLong(obj
);
2780 return SWIG_TypeError
;
2785 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2788 int res
= SWIG_AsVal_long (obj
, &v
);
2789 if (SWIG_IsOK(res
)) {
2790 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2791 return SWIG_OverflowError
;
2793 if (val
) *val
= static_cast< int >(v
);
2799 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
2802 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2804 if (obj
== Py_True
) {
2805 if (val
) *val
= true;
2807 } else if (obj
== Py_False
) {
2808 if (val
) *val
= false;
2812 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2813 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2818 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
2819 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
2820 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
2821 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
2822 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
2823 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
2825 #include <wx/checklst.h>
2827 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
2828 SWIGINTERN
void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2831 wxPyClientData
* data
= new wxPyClientData(clientData
);
2832 self
->Insert(item
, pos
, data
);
2835 self
->Insert(item
, pos
);
2839 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2842 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2843 return SWIG_TypeError
;
2846 *val
= (unsigned long)v
;
2852 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
2855 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2856 if (SWIG_IsOK(res
)) {
2857 if ((v
> UINT_MAX
)) {
2858 return SWIG_OverflowError
;
2860 if (val
) *val
= static_cast< unsigned int >(v
);
2866 SWIGINTERN PyObject
*wxListBox_GetSelections(wxListBox
*self
){
2867 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2869 self
->GetSelections(lst
);
2870 PyObject
*tup
= PyTuple_New(lst
.GetCount());
2871 for (size_t i
=0; i
<lst
.GetCount(); i
++)
2873 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
2875 wxPyEndBlockThreads(blocked
);
2878 SWIGINTERN
void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2880 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2881 self
->GetItem(item
)->SetTextColour(c
);
2884 SWIGINTERN
void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2886 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2887 self
->GetItem(item
)->SetBackgroundColour(c
);
2890 SWIGINTERN
void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
2892 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2893 self
->GetItem(item
)->SetFont(f
);
2896 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
2897 SWIGINTERN
void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
2898 self
->AppendText(text
);
2900 SWIGINTERN wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
2901 return self
->GetValue().Mid(from
, to
- from
);
2903 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
2904 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
2905 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
2906 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
2907 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
2909 SWIGINTERNINLINE PyObject
*
2910 SWIG_From_unsigned_SS_long (unsigned long value
)
2912 return (value
> LONG_MAX
) ?
2913 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2917 SWIGINTERNINLINE PyObject
*
2918 SWIG_From_size_t (size_t value
)
2920 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2924 SWIGINTERNINLINE PyObject
*
2925 SWIG_From_unsigned_SS_int (unsigned int value
)
2927 return SWIG_From_unsigned_SS_long (value
);
2931 #include <wx/slider.h>
2934 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
2935 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
2937 #if !wxUSE_TOGGLEBTN
2938 // implement dummy items for platforms that don't have this class
2940 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
2942 class wxToggleButton
: public wxControl
2945 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
2946 const wxPoint
&, const wxSize
&, long,
2947 const wxValidator
&, const wxString
&)
2948 { wxPyRaiseNotImplemented(); }
2951 { wxPyRaiseNotImplemented(); }
2955 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
2957 SWIGINTERNINLINE
int
2958 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2961 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2962 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2966 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2967 SWIGINTERN PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
2968 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
2970 Py_INCREF(udata
->m_obj
);
2971 return udata
->m_obj
;
2977 SWIGINTERN
void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
2978 self
->SetClientData(new wxPyUserData(clientData
));
2980 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
){
2981 wxPyUserData
* udata
= NULL
;
2982 if (clientData
&& clientData
!= Py_None
)
2983 udata
= new wxPyUserData(clientData
);
2984 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
2985 shortHelp
, longHelp
, udata
);
2987 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
){
2988 wxPyUserData
* udata
= NULL
;
2989 if (clientData
&& clientData
!= Py_None
)
2990 udata
= new wxPyUserData(clientData
);
2991 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
2992 shortHelp
, longHelp
, udata
);
2994 SWIGINTERN PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
2995 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
2997 Py_INCREF(udata
->m_obj
);
2998 return udata
->m_obj
;
3004 SWIGINTERN
void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
3005 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
3008 #include <wx/listctrl.h>
3010 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
3011 SWIGINTERN
void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
3012 // Python aware sorting function for wxPyListCtrl
3013 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
3015 PyObject
* func
= (PyObject
*)funcPtr
;
3016 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3018 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
3019 PyObject
* result
= PyEval_CallObject(func
, args
);
3022 retval
= PyInt_AsLong(result
);
3026 wxPyEndBlockThreads(blocked
);
3030 // C++ Version of a Python aware class
3031 class wxPyListCtrl
: public wxListCtrl
{
3032 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
)
3034 wxPyListCtrl() : wxListCtrl() {}
3035 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
3039 const wxValidator
& validator
,
3040 const wxString
& name
) :
3041 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3043 bool Create(wxWindow
* parent
, wxWindowID id
,
3047 const wxValidator
& validator
,
3048 const wxString
& name
) {
3049 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3052 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
3053 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
3055 // use the virtual version to avoid a confusing assert in the base class
3056 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
3057 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage
);
3062 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
3064 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
3065 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
3066 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
3067 IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemColumnImage
);
3070 SWIGINTERN wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
3072 item
.SetMask( wxLIST_MASK_STATE
|
3080 if (self
->GetColumn(col
, item
))
3081 return new wxListItem(item
);
3085 SWIGINTERN wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
3086 wxListItem
* info
= new wxListItem
;
3087 info
->m_itemId
= itemId
;
3089 info
->m_mask
= 0xFFFF;
3090 self
->GetItem(*info
);
3093 SWIGINTERN wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
3095 self
->GetItemPosition(item
, pos
);
3098 SWIGINTERN wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
3100 self
->GetItemRect(item
, rect
, code
);
3103 SWIGINTERN
bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
3104 if (!PyCallable_Check(func
))
3106 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
3108 SWIGINTERN wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
3116 #include <wx/treectrl.h>
3117 #include "wx/wxPython/pytree.h"
3119 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
3120 SWIGINTERN
bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
3121 SWIGINTERN
bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
3122 SWIGINTERN
void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
3124 static wxTreeItemId wxNullTreeItemId
;
3126 // C++ version of Python aware wxTreeCtrl
3127 class wxPyTreeCtrl
: public wxTreeCtrl
{
3128 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
)
3130 wxPyTreeCtrl() : wxTreeCtrl() {}
3131 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
3135 const wxValidator
& validator
,
3136 const wxString
& name
) :
3137 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3139 bool Create(wxWindow
*parent
, wxWindowID id
,
3143 const wxValidator
& validator
,
3144 const wxString
& name
) {
3145 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3149 int OnCompareItems(const wxTreeItemId
& item1
,
3150 const wxTreeItemId
& item2
) {
3153 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3154 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
3155 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
3156 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
3157 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
3161 wxPyEndBlockThreads(blocked
);
3163 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
3169 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
3172 SWIGINTERN wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3173 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3175 data
= new wxPyTreeItemData();
3176 data
->SetId(item
); // set the id
3177 self
->SetItemData(item
, data
);
3181 SWIGINTERN PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3182 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3184 data
= new wxPyTreeItemData();
3185 data
->SetId(item
); // set the id
3186 self
->SetItemData(item
, data
);
3188 return data
->GetData();
3190 SWIGINTERN
void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
3191 data
->SetId(item
); // set the id
3192 self
->SetItemData(item
, data
);
3194 SWIGINTERN
void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
3195 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3197 data
= new wxPyTreeItemData(obj
);
3198 data
->SetId(item
); // set the id
3199 self
->SetItemData(item
, data
);
3203 SWIGINTERN PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
3204 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3205 PyObject
* rval
= PyList_New(0);
3206 wxArrayTreeItemIds array
;
3208 num
= self
->GetSelections(array
);
3209 for (x
=0; x
< num
; x
++) {
3210 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
3211 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
3212 PyList_Append(rval
, item
);
3215 wxPyEndBlockThreads(blocked
);
3218 SWIGINTERN PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3220 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
3221 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3222 PyObject
* tup
= PyTuple_New(2);
3223 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3224 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3225 wxPyEndBlockThreads(blocked
);
3228 SWIGINTERN PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
3229 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
3230 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3231 PyObject
* tup
= PyTuple_New(2);
3232 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3233 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3234 wxPyEndBlockThreads(blocked
);
3237 SWIGINTERN PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
3239 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
3240 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3241 wxRect
* r
= new wxRect(rect
);
3242 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
3243 wxPyEndBlockThreads(blocked
);
3249 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
3251 SWIGINTERNINLINE PyObject
*
3252 SWIG_From_bool (bool value
)
3254 return PyBool_FromLong(value
? 1 : 0);
3257 // C++ version of Python aware wxControl
3258 class wxPyControl
: public wxControl
3260 DECLARE_DYNAMIC_CLASS(wxPyControl
)
3262 wxPyControl() : wxControl() {}
3263 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
3264 const wxPoint
& pos
= wxDefaultPosition
,
3265 const wxSize
& size
= wxDefaultSize
,
3267 const wxValidator
& validator
=wxDefaultValidator
,
3268 const wxString
& name
= wxPyControlNameStr
)
3269 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3271 void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); }
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_GetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6186 PyObject
*resultobj
= 0;
6187 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6188 long *arg2
= (long *) 0 ;
6189 long *arg3
= (long *) 0 ;
6193 int res2
= SWIG_TMPOBJ
;
6195 int res3
= SWIG_TMPOBJ
;
6196 PyObject
*swig_obj
[1] ;
6200 if (!args
) SWIG_fail
;
6202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6203 if (!SWIG_IsOK(res1
)) {
6204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6206 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6209 (arg1
)->GetSelection(arg2
,arg3
);
6210 wxPyEndAllowThreads(__tstate
);
6211 if (PyErr_Occurred()) SWIG_fail
;
6213 resultobj
= SWIG_Py_Void();
6214 if (SWIG_IsTmpObj(res2
)) {
6215 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
6217 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6218 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
6220 if (SWIG_IsTmpObj(res3
)) {
6221 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
6223 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6224 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
6232 SWIGINTERN PyObject
*_wrap_ComboBox_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6233 PyObject
*resultobj
= 0;
6234 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6238 PyObject
*swig_obj
[1] ;
6240 if (!args
) SWIG_fail
;
6242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6243 if (!SWIG_IsOK(res1
)) {
6244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6246 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6249 result
= (int)((wxComboBox
const *)arg1
)->GetCurrentSelection();
6250 wxPyEndAllowThreads(__tstate
);
6251 if (PyErr_Occurred()) SWIG_fail
;
6253 resultobj
= SWIG_From_int(static_cast< int >(result
));
6260 SWIGINTERN PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6261 PyObject
*resultobj
= 0;
6262 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6263 wxString
*arg2
= 0 ;
6267 bool temp2
= false ;
6268 PyObject
* obj0
= 0 ;
6269 PyObject
* obj1
= 0 ;
6270 char * kwnames
[] = {
6271 (char *) "self",(char *) "string", NULL
6274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6276 if (!SWIG_IsOK(res1
)) {
6277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6279 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6281 arg2
= wxString_in_helper(obj1
);
6282 if (arg2
== NULL
) SWIG_fail
;
6286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6287 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
6288 wxPyEndAllowThreads(__tstate
);
6289 if (PyErr_Occurred()) SWIG_fail
;
6292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6308 SWIGINTERN PyObject
*_wrap_ComboBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6309 PyObject
*resultobj
= 0;
6310 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6312 wxString
*arg3
= 0 ;
6317 bool temp3
= false ;
6318 PyObject
* obj0
= 0 ;
6319 PyObject
* obj1
= 0 ;
6320 PyObject
* obj2
= 0 ;
6321 char * kwnames
[] = {
6322 (char *) "self",(char *) "n",(char *) "string", NULL
6325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6327 if (!SWIG_IsOK(res1
)) {
6328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetString" "', expected argument " "1"" of type '" "wxComboBox *""'");
6330 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6331 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6332 if (!SWIG_IsOK(ecode2
)) {
6333 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetString" "', expected argument " "2"" of type '" "int""'");
6335 arg2
= static_cast< int >(val2
);
6337 arg3
= wxString_in_helper(obj2
);
6338 if (arg3
== NULL
) SWIG_fail
;
6342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6343 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
6344 wxPyEndAllowThreads(__tstate
);
6345 if (PyErr_Occurred()) SWIG_fail
;
6347 resultobj
= SWIG_Py_Void();
6362 SWIGINTERN PyObject
*_wrap_ComboBox_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6363 PyObject
*resultobj
= 0;
6364 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6370 PyObject
* obj0
= 0 ;
6371 PyObject
* obj1
= 0 ;
6372 char * kwnames
[] = {
6373 (char *) "self",(char *) "editable", NULL
6376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6378 if (!SWIG_IsOK(res1
)) {
6379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetEditable" "', expected argument " "1"" of type '" "wxComboBox *""'");
6381 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6382 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6383 if (!SWIG_IsOK(ecode2
)) {
6384 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetEditable" "', expected argument " "2"" of type '" "bool""'");
6386 arg2
= static_cast< bool >(val2
);
6388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6389 (arg1
)->SetEditable(arg2
);
6390 wxPyEndAllowThreads(__tstate
);
6391 if (PyErr_Occurred()) SWIG_fail
;
6393 resultobj
= SWIG_Py_Void();
6400 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6401 PyObject
*resultobj
= 0;
6402 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6405 PyObject
*swig_obj
[1] ;
6407 if (!args
) SWIG_fail
;
6409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6410 if (!SWIG_IsOK(res1
)) {
6411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxComboBox *""'");
6413 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6416 (arg1
)->SetInsertionPointEnd();
6417 wxPyEndAllowThreads(__tstate
);
6418 if (PyErr_Occurred()) SWIG_fail
;
6420 resultobj
= SWIG_Py_Void();
6427 SWIGINTERN PyObject
*_wrap_ComboBox_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6428 PyObject
*resultobj
= 0;
6429 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6438 PyObject
* obj0
= 0 ;
6439 PyObject
* obj1
= 0 ;
6440 PyObject
* obj2
= 0 ;
6441 char * kwnames
[] = {
6442 (char *) "self",(char *) "from",(char *) "to", NULL
6445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6447 if (!SWIG_IsOK(res1
)) {
6448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Remove" "', expected argument " "1"" of type '" "wxComboBox *""'");
6450 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6451 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6452 if (!SWIG_IsOK(ecode2
)) {
6453 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Remove" "', expected argument " "2"" of type '" "long""'");
6455 arg2
= static_cast< long >(val2
);
6456 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6457 if (!SWIG_IsOK(ecode3
)) {
6458 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Remove" "', expected argument " "3"" of type '" "long""'");
6460 arg3
= static_cast< long >(val3
);
6462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6463 (arg1
)->Remove(arg2
,arg3
);
6464 wxPyEndAllowThreads(__tstate
);
6465 if (PyErr_Occurred()) SWIG_fail
;
6467 resultobj
= SWIG_Py_Void();
6474 SWIGINTERN PyObject
*_wrap_ComboBox_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6475 PyObject
*resultobj
= 0;
6476 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6480 PyObject
*swig_obj
[1] ;
6482 if (!args
) SWIG_fail
;
6484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6485 if (!SWIG_IsOK(res1
)) {
6486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_IsEditable" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6488 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6491 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
6492 wxPyEndAllowThreads(__tstate
);
6493 if (PyErr_Occurred()) SWIG_fail
;
6496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6504 SWIGINTERN PyObject
*_wrap_ComboBox_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6505 PyObject
*resultobj
= 0;
6506 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6509 PyObject
*swig_obj
[1] ;
6511 if (!args
) SWIG_fail
;
6513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6514 if (!SWIG_IsOK(res1
)) {
6515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Undo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6517 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6521 wxPyEndAllowThreads(__tstate
);
6522 if (PyErr_Occurred()) SWIG_fail
;
6524 resultobj
= SWIG_Py_Void();
6531 SWIGINTERN PyObject
*_wrap_ComboBox_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6532 PyObject
*resultobj
= 0;
6533 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6536 PyObject
*swig_obj
[1] ;
6538 if (!args
) SWIG_fail
;
6540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6541 if (!SWIG_IsOK(res1
)) {
6542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Redo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6544 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6548 wxPyEndAllowThreads(__tstate
);
6549 if (PyErr_Occurred()) SWIG_fail
;
6551 resultobj
= SWIG_Py_Void();
6558 SWIGINTERN PyObject
*_wrap_ComboBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6559 PyObject
*resultobj
= 0;
6560 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6563 PyObject
*swig_obj
[1] ;
6565 if (!args
) SWIG_fail
;
6567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6568 if (!SWIG_IsOK(res1
)) {
6569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SelectAll" "', expected argument " "1"" of type '" "wxComboBox *""'");
6571 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6574 (arg1
)->SelectAll();
6575 wxPyEndAllowThreads(__tstate
);
6576 if (PyErr_Occurred()) SWIG_fail
;
6578 resultobj
= SWIG_Py_Void();
6585 SWIGINTERN PyObject
*_wrap_ComboBox_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6586 PyObject
*resultobj
= 0;
6587 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6591 PyObject
*swig_obj
[1] ;
6593 if (!args
) SWIG_fail
;
6595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6596 if (!SWIG_IsOK(res1
)) {
6597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCopy" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6599 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6602 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
6603 wxPyEndAllowThreads(__tstate
);
6604 if (PyErr_Occurred()) SWIG_fail
;
6607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6615 SWIGINTERN PyObject
*_wrap_ComboBox_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6616 PyObject
*resultobj
= 0;
6617 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6621 PyObject
*swig_obj
[1] ;
6623 if (!args
) SWIG_fail
;
6625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6626 if (!SWIG_IsOK(res1
)) {
6627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCut" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6629 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6632 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
6633 wxPyEndAllowThreads(__tstate
);
6634 if (PyErr_Occurred()) SWIG_fail
;
6637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6645 SWIGINTERN PyObject
*_wrap_ComboBox_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6646 PyObject
*resultobj
= 0;
6647 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6651 PyObject
*swig_obj
[1] ;
6653 if (!args
) SWIG_fail
;
6655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6656 if (!SWIG_IsOK(res1
)) {
6657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanPaste" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6659 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6662 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
6663 wxPyEndAllowThreads(__tstate
);
6664 if (PyErr_Occurred()) SWIG_fail
;
6667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6675 SWIGINTERN PyObject
*_wrap_ComboBox_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6676 PyObject
*resultobj
= 0;
6677 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6681 PyObject
*swig_obj
[1] ;
6683 if (!args
) SWIG_fail
;
6685 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6686 if (!SWIG_IsOK(res1
)) {
6687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanUndo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6689 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6692 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
6693 wxPyEndAllowThreads(__tstate
);
6694 if (PyErr_Occurred()) SWIG_fail
;
6697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6705 SWIGINTERN PyObject
*_wrap_ComboBox_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6706 PyObject
*resultobj
= 0;
6707 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6711 PyObject
*swig_obj
[1] ;
6713 if (!args
) SWIG_fail
;
6715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6716 if (!SWIG_IsOK(res1
)) {
6717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanRedo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6719 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6722 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
6723 wxPyEndAllowThreads(__tstate
);
6724 if (PyErr_Occurred()) SWIG_fail
;
6727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6735 SWIGINTERN PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6736 PyObject
*resultobj
= 0;
6737 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6738 SwigValueWrapper
<wxVisualAttributes
> result
;
6741 PyObject
* obj0
= 0 ;
6742 char * kwnames
[] = {
6743 (char *) "variant", NULL
6746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
6748 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6749 if (!SWIG_IsOK(ecode1
)) {
6750 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ComboBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6752 arg1
= static_cast< wxWindowVariant
>(val1
);
6755 if (!wxPyCheckForApp()) SWIG_fail
;
6756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6757 result
= wxComboBox::GetClassDefaultAttributes(arg1
);
6758 wxPyEndAllowThreads(__tstate
);
6759 if (PyErr_Occurred()) SWIG_fail
;
6761 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
6768 SWIGINTERN PyObject
*ComboBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6770 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6771 SWIG_TypeNewClientData(SWIGTYPE_p_wxComboBox
, SWIG_NewClientData(obj
));
6772 return SWIG_Py_Void();
6775 SWIGINTERN PyObject
*ComboBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6776 return SWIG_Python_InitShadowInstance(args
);
6779 SWIGINTERN
int GaugeNameStr_set(PyObject
*) {
6780 SWIG_Error(SWIG_AttributeError
,"Variable GaugeNameStr is read-only.");
6785 SWIGINTERN PyObject
*GaugeNameStr_get(void) {
6786 PyObject
*pyobj
= 0;
6790 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6792 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6799 SWIGINTERN PyObject
*_wrap_new_Gauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6800 PyObject
*resultobj
= 0;
6801 wxWindow
*arg1
= (wxWindow
*) 0 ;
6802 int arg2
= (int) -1 ;
6803 int arg3
= (int) 100 ;
6804 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6805 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6806 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6807 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6808 long arg6
= (long) wxGA_HORIZONTAL
;
6809 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6810 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6811 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
6812 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6813 wxGauge
*result
= 0 ;
6826 bool temp8
= false ;
6827 PyObject
* obj0
= 0 ;
6828 PyObject
* obj1
= 0 ;
6829 PyObject
* obj2
= 0 ;
6830 PyObject
* obj3
= 0 ;
6831 PyObject
* obj4
= 0 ;
6832 PyObject
* obj5
= 0 ;
6833 PyObject
* obj6
= 0 ;
6834 PyObject
* obj7
= 0 ;
6835 char * kwnames
[] = {
6836 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6841 if (!SWIG_IsOK(res1
)) {
6842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Gauge" "', expected argument " "1"" of type '" "wxWindow *""'");
6844 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6846 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6847 if (!SWIG_IsOK(ecode2
)) {
6848 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Gauge" "', expected argument " "2"" of type '" "int""'");
6850 arg2
= static_cast< int >(val2
);
6853 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6854 if (!SWIG_IsOK(ecode3
)) {
6855 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Gauge" "', expected argument " "3"" of type '" "int""'");
6857 arg3
= static_cast< int >(val3
);
6862 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6868 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6872 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6873 if (!SWIG_IsOK(ecode6
)) {
6874 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Gauge" "', expected argument " "6"" of type '" "long""'");
6876 arg6
= static_cast< long >(val6
);
6879 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
6880 if (!SWIG_IsOK(res7
)) {
6881 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6884 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6886 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
6890 arg8
= wxString_in_helper(obj7
);
6891 if (arg8
== NULL
) SWIG_fail
;
6896 if (!wxPyCheckForApp()) SWIG_fail
;
6897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6898 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6899 wxPyEndAllowThreads(__tstate
);
6900 if (PyErr_Occurred()) SWIG_fail
;
6902 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_NEW
| 0 );
6917 SWIGINTERN PyObject
*_wrap_new_PreGauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6918 PyObject
*resultobj
= 0;
6919 wxGauge
*result
= 0 ;
6921 if (!SWIG_Python_UnpackTuple(args
,"new_PreGauge",0,0,0)) SWIG_fail
;
6923 if (!wxPyCheckForApp()) SWIG_fail
;
6924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6925 result
= (wxGauge
*)new wxGauge();
6926 wxPyEndAllowThreads(__tstate
);
6927 if (PyErr_Occurred()) SWIG_fail
;
6929 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_OWN
| 0 );
6936 SWIGINTERN PyObject
*_wrap_Gauge_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6937 PyObject
*resultobj
= 0;
6938 wxGauge
*arg1
= (wxGauge
*) 0 ;
6939 wxWindow
*arg2
= (wxWindow
*) 0 ;
6940 int arg3
= (int) -1 ;
6941 int arg4
= (int) 100 ;
6942 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6943 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6944 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6945 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6946 long arg7
= (long) wxGA_HORIZONTAL
;
6947 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6948 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6949 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
6950 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6966 bool temp9
= false ;
6967 PyObject
* obj0
= 0 ;
6968 PyObject
* obj1
= 0 ;
6969 PyObject
* obj2
= 0 ;
6970 PyObject
* obj3
= 0 ;
6971 PyObject
* obj4
= 0 ;
6972 PyObject
* obj5
= 0 ;
6973 PyObject
* obj6
= 0 ;
6974 PyObject
* obj7
= 0 ;
6975 PyObject
* obj8
= 0 ;
6976 char * kwnames
[] = {
6977 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
6982 if (!SWIG_IsOK(res1
)) {
6983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Create" "', expected argument " "1"" of type '" "wxGauge *""'");
6985 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
6986 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6987 if (!SWIG_IsOK(res2
)) {
6988 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Gauge_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6990 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6992 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6993 if (!SWIG_IsOK(ecode3
)) {
6994 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Gauge_Create" "', expected argument " "3"" of type '" "int""'");
6996 arg3
= static_cast< int >(val3
);
6999 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7000 if (!SWIG_IsOK(ecode4
)) {
7001 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Gauge_Create" "', expected argument " "4"" of type '" "int""'");
7003 arg4
= static_cast< int >(val4
);
7008 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7014 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7018 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7019 if (!SWIG_IsOK(ecode7
)) {
7020 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Gauge_Create" "', expected argument " "7"" of type '" "long""'");
7022 arg7
= static_cast< long >(val7
);
7025 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
7026 if (!SWIG_IsOK(res8
)) {
7027 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
7030 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
7032 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
7036 arg9
= wxString_in_helper(obj8
);
7037 if (arg9
== NULL
) SWIG_fail
;
7042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7043 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7044 wxPyEndAllowThreads(__tstate
);
7045 if (PyErr_Occurred()) SWIG_fail
;
7048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7064 SWIGINTERN PyObject
*_wrap_Gauge_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7065 PyObject
*resultobj
= 0;
7066 wxGauge
*arg1
= (wxGauge
*) 0 ;
7072 PyObject
* obj0
= 0 ;
7073 PyObject
* obj1
= 0 ;
7074 char * kwnames
[] = {
7075 (char *) "self",(char *) "range", NULL
7078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7080 if (!SWIG_IsOK(res1
)) {
7081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetRange" "', expected argument " "1"" of type '" "wxGauge *""'");
7083 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7084 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7085 if (!SWIG_IsOK(ecode2
)) {
7086 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetRange" "', expected argument " "2"" of type '" "int""'");
7088 arg2
= static_cast< int >(val2
);
7090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7091 (arg1
)->SetRange(arg2
);
7092 wxPyEndAllowThreads(__tstate
);
7093 if (PyErr_Occurred()) SWIG_fail
;
7095 resultobj
= SWIG_Py_Void();
7102 SWIGINTERN PyObject
*_wrap_Gauge_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7103 PyObject
*resultobj
= 0;
7104 wxGauge
*arg1
= (wxGauge
*) 0 ;
7108 PyObject
*swig_obj
[1] ;
7110 if (!args
) SWIG_fail
;
7112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7113 if (!SWIG_IsOK(res1
)) {
7114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetRange" "', expected argument " "1"" of type '" "wxGauge const *""'");
7116 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7119 result
= (int)((wxGauge
const *)arg1
)->GetRange();
7120 wxPyEndAllowThreads(__tstate
);
7121 if (PyErr_Occurred()) SWIG_fail
;
7123 resultobj
= SWIG_From_int(static_cast< int >(result
));
7130 SWIGINTERN PyObject
*_wrap_Gauge_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7131 PyObject
*resultobj
= 0;
7132 wxGauge
*arg1
= (wxGauge
*) 0 ;
7138 PyObject
* obj0
= 0 ;
7139 PyObject
* obj1
= 0 ;
7140 char * kwnames
[] = {
7141 (char *) "self",(char *) "pos", NULL
7144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7146 if (!SWIG_IsOK(res1
)) {
7147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetValue" "', expected argument " "1"" of type '" "wxGauge *""'");
7149 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7150 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7151 if (!SWIG_IsOK(ecode2
)) {
7152 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetValue" "', expected argument " "2"" of type '" "int""'");
7154 arg2
= static_cast< int >(val2
);
7156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7157 (arg1
)->SetValue(arg2
);
7158 wxPyEndAllowThreads(__tstate
);
7159 if (PyErr_Occurred()) SWIG_fail
;
7161 resultobj
= SWIG_Py_Void();
7168 SWIGINTERN PyObject
*_wrap_Gauge_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7169 PyObject
*resultobj
= 0;
7170 wxGauge
*arg1
= (wxGauge
*) 0 ;
7174 PyObject
*swig_obj
[1] ;
7176 if (!args
) SWIG_fail
;
7178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7179 if (!SWIG_IsOK(res1
)) {
7180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetValue" "', expected argument " "1"" of type '" "wxGauge const *""'");
7182 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7185 result
= (int)((wxGauge
const *)arg1
)->GetValue();
7186 wxPyEndAllowThreads(__tstate
);
7187 if (PyErr_Occurred()) SWIG_fail
;
7189 resultobj
= SWIG_From_int(static_cast< int >(result
));
7196 SWIGINTERN PyObject
*_wrap_Gauge_Pulse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7197 PyObject
*resultobj
= 0;
7198 wxGauge
*arg1
= (wxGauge
*) 0 ;
7201 PyObject
*swig_obj
[1] ;
7203 if (!args
) SWIG_fail
;
7205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7206 if (!SWIG_IsOK(res1
)) {
7207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Pulse" "', expected argument " "1"" of type '" "wxGauge *""'");
7209 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7213 wxPyEndAllowThreads(__tstate
);
7214 if (PyErr_Occurred()) SWIG_fail
;
7216 resultobj
= SWIG_Py_Void();
7223 SWIGINTERN PyObject
*_wrap_Gauge_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7224 PyObject
*resultobj
= 0;
7225 wxGauge
*arg1
= (wxGauge
*) 0 ;
7229 PyObject
*swig_obj
[1] ;
7231 if (!args
) SWIG_fail
;
7233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7234 if (!SWIG_IsOK(res1
)) {
7235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_IsVertical" "', expected argument " "1"" of type '" "wxGauge const *""'");
7237 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7240 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
7241 wxPyEndAllowThreads(__tstate
);
7242 if (PyErr_Occurred()) SWIG_fail
;
7245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7253 SWIGINTERN PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7254 PyObject
*resultobj
= 0;
7255 wxGauge
*arg1
= (wxGauge
*) 0 ;
7261 PyObject
* obj0
= 0 ;
7262 PyObject
* obj1
= 0 ;
7263 char * kwnames
[] = {
7264 (char *) "self",(char *) "w", NULL
7267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7269 if (!SWIG_IsOK(res1
)) {
7270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "1"" of type '" "wxGauge *""'");
7272 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7273 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7274 if (!SWIG_IsOK(ecode2
)) {
7275 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "2"" of type '" "int""'");
7277 arg2
= static_cast< int >(val2
);
7279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7280 (arg1
)->SetShadowWidth(arg2
);
7281 wxPyEndAllowThreads(__tstate
);
7282 if (PyErr_Occurred()) SWIG_fail
;
7284 resultobj
= SWIG_Py_Void();
7291 SWIGINTERN PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7292 PyObject
*resultobj
= 0;
7293 wxGauge
*arg1
= (wxGauge
*) 0 ;
7297 PyObject
*swig_obj
[1] ;
7299 if (!args
) SWIG_fail
;
7301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7302 if (!SWIG_IsOK(res1
)) {
7303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetShadowWidth" "', expected argument " "1"" of type '" "wxGauge const *""'");
7305 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7308 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
7309 wxPyEndAllowThreads(__tstate
);
7310 if (PyErr_Occurred()) SWIG_fail
;
7312 resultobj
= SWIG_From_int(static_cast< int >(result
));
7319 SWIGINTERN PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7320 PyObject
*resultobj
= 0;
7321 wxGauge
*arg1
= (wxGauge
*) 0 ;
7327 PyObject
* obj0
= 0 ;
7328 PyObject
* obj1
= 0 ;
7329 char * kwnames
[] = {
7330 (char *) "self",(char *) "w", NULL
7333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7335 if (!SWIG_IsOK(res1
)) {
7336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetBezelFace" "', expected argument " "1"" of type '" "wxGauge *""'");
7338 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7339 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7340 if (!SWIG_IsOK(ecode2
)) {
7341 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetBezelFace" "', expected argument " "2"" of type '" "int""'");
7343 arg2
= static_cast< int >(val2
);
7345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7346 (arg1
)->SetBezelFace(arg2
);
7347 wxPyEndAllowThreads(__tstate
);
7348 if (PyErr_Occurred()) SWIG_fail
;
7350 resultobj
= SWIG_Py_Void();
7357 SWIGINTERN PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7358 PyObject
*resultobj
= 0;
7359 wxGauge
*arg1
= (wxGauge
*) 0 ;
7363 PyObject
*swig_obj
[1] ;
7365 if (!args
) SWIG_fail
;
7367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7368 if (!SWIG_IsOK(res1
)) {
7369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetBezelFace" "', expected argument " "1"" of type '" "wxGauge const *""'");
7371 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7374 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
7375 wxPyEndAllowThreads(__tstate
);
7376 if (PyErr_Occurred()) SWIG_fail
;
7378 resultobj
= SWIG_From_int(static_cast< int >(result
));
7385 SWIGINTERN PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7386 PyObject
*resultobj
= 0;
7387 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7388 SwigValueWrapper
<wxVisualAttributes
> result
;
7391 PyObject
* obj0
= 0 ;
7392 char * kwnames
[] = {
7393 (char *) "variant", NULL
7396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7398 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7399 if (!SWIG_IsOK(ecode1
)) {
7400 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Gauge_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7402 arg1
= static_cast< wxWindowVariant
>(val1
);
7405 if (!wxPyCheckForApp()) SWIG_fail
;
7406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7407 result
= wxGauge::GetClassDefaultAttributes(arg1
);
7408 wxPyEndAllowThreads(__tstate
);
7409 if (PyErr_Occurred()) SWIG_fail
;
7411 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7418 SWIGINTERN PyObject
*Gauge_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7420 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7421 SWIG_TypeNewClientData(SWIGTYPE_p_wxGauge
, SWIG_NewClientData(obj
));
7422 return SWIG_Py_Void();
7425 SWIGINTERN PyObject
*Gauge_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7426 return SWIG_Python_InitShadowInstance(args
);
7429 SWIGINTERN
int StaticBitmapNameStr_set(PyObject
*) {
7430 SWIG_Error(SWIG_AttributeError
,"Variable StaticBitmapNameStr is read-only.");
7435 SWIGINTERN PyObject
*StaticBitmapNameStr_get(void) {
7436 PyObject
*pyobj
= 0;
7440 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7442 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7449 SWIGINTERN
int StaticBoxNameStr_set(PyObject
*) {
7450 SWIG_Error(SWIG_AttributeError
,"Variable StaticBoxNameStr is read-only.");
7455 SWIGINTERN PyObject
*StaticBoxNameStr_get(void) {
7456 PyObject
*pyobj
= 0;
7460 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7462 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7469 SWIGINTERN
int StaticTextNameStr_set(PyObject
*) {
7470 SWIG_Error(SWIG_AttributeError
,"Variable StaticTextNameStr is read-only.");
7475 SWIGINTERN PyObject
*StaticTextNameStr_get(void) {
7476 PyObject
*pyobj
= 0;
7480 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7482 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7489 SWIGINTERN PyObject
*_wrap_new_StaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7490 PyObject
*resultobj
= 0;
7491 wxWindow
*arg1
= (wxWindow
*) 0 ;
7492 int arg2
= (int) -1 ;
7493 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7494 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7495 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7496 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7497 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7498 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7499 long arg6
= (long) 0 ;
7500 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
7501 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7502 wxStaticBox
*result
= 0 ;
7507 bool temp3
= false ;
7512 bool temp7
= false ;
7513 PyObject
* obj0
= 0 ;
7514 PyObject
* obj1
= 0 ;
7515 PyObject
* obj2
= 0 ;
7516 PyObject
* obj3
= 0 ;
7517 PyObject
* obj4
= 0 ;
7518 PyObject
* obj5
= 0 ;
7519 PyObject
* obj6
= 0 ;
7520 char * kwnames
[] = {
7521 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7526 if (!SWIG_IsOK(res1
)) {
7527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7529 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7531 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7532 if (!SWIG_IsOK(ecode2
)) {
7533 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7535 arg2
= static_cast< int >(val2
);
7539 arg3
= wxString_in_helper(obj2
);
7540 if (arg3
== NULL
) SWIG_fail
;
7547 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7553 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7557 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7558 if (!SWIG_IsOK(ecode6
)) {
7559 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7561 arg6
= static_cast< long >(val6
);
7565 arg7
= wxString_in_helper(obj6
);
7566 if (arg7
== NULL
) SWIG_fail
;
7571 if (!wxPyCheckForApp()) SWIG_fail
;
7572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7573 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7574 wxPyEndAllowThreads(__tstate
);
7575 if (PyErr_Occurred()) SWIG_fail
;
7577 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_NEW
| 0 );
7600 SWIGINTERN PyObject
*_wrap_new_PreStaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7601 PyObject
*resultobj
= 0;
7602 wxStaticBox
*result
= 0 ;
7604 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBox",0,0,0)) SWIG_fail
;
7606 if (!wxPyCheckForApp()) SWIG_fail
;
7607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7608 result
= (wxStaticBox
*)new wxStaticBox();
7609 wxPyEndAllowThreads(__tstate
);
7610 if (PyErr_Occurred()) SWIG_fail
;
7612 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_OWN
| 0 );
7619 SWIGINTERN PyObject
*_wrap_StaticBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7620 PyObject
*resultobj
= 0;
7621 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
7622 wxWindow
*arg2
= (wxWindow
*) 0 ;
7623 int arg3
= (int) -1 ;
7624 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7625 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7626 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7627 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7628 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7629 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7630 long arg7
= (long) 0 ;
7631 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
7632 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7640 bool temp4
= false ;
7645 bool temp8
= false ;
7646 PyObject
* obj0
= 0 ;
7647 PyObject
* obj1
= 0 ;
7648 PyObject
* obj2
= 0 ;
7649 PyObject
* obj3
= 0 ;
7650 PyObject
* obj4
= 0 ;
7651 PyObject
* obj5
= 0 ;
7652 PyObject
* obj6
= 0 ;
7653 PyObject
* obj7
= 0 ;
7654 char * kwnames
[] = {
7655 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBox
, 0 | 0 );
7660 if (!SWIG_IsOK(res1
)) {
7661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7663 arg1
= reinterpret_cast< wxStaticBox
* >(argp1
);
7664 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7665 if (!SWIG_IsOK(res2
)) {
7666 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7668 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7670 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7671 if (!SWIG_IsOK(ecode3
)) {
7672 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7674 arg3
= static_cast< int >(val3
);
7678 arg4
= wxString_in_helper(obj3
);
7679 if (arg4
== NULL
) SWIG_fail
;
7686 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7692 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7696 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7697 if (!SWIG_IsOK(ecode7
)) {
7698 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7700 arg7
= static_cast< long >(val7
);
7704 arg8
= wxString_in_helper(obj7
);
7705 if (arg8
== NULL
) SWIG_fail
;
7710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7711 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7712 wxPyEndAllowThreads(__tstate
);
7713 if (PyErr_Occurred()) SWIG_fail
;
7716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7740 SWIGINTERN PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7741 PyObject
*resultobj
= 0;
7742 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7743 SwigValueWrapper
<wxVisualAttributes
> result
;
7746 PyObject
* obj0
= 0 ;
7747 char * kwnames
[] = {
7748 (char *) "variant", NULL
7751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7753 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7754 if (!SWIG_IsOK(ecode1
)) {
7755 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7757 arg1
= static_cast< wxWindowVariant
>(val1
);
7760 if (!wxPyCheckForApp()) SWIG_fail
;
7761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7762 result
= wxStaticBox::GetClassDefaultAttributes(arg1
);
7763 wxPyEndAllowThreads(__tstate
);
7764 if (PyErr_Occurred()) SWIG_fail
;
7766 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7773 SWIGINTERN PyObject
*StaticBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7775 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7776 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox
, SWIG_NewClientData(obj
));
7777 return SWIG_Py_Void();
7780 SWIGINTERN PyObject
*StaticBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7781 return SWIG_Python_InitShadowInstance(args
);
7784 SWIGINTERN PyObject
*_wrap_new_StaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7785 PyObject
*resultobj
= 0;
7786 wxWindow
*arg1
= (wxWindow
*) 0 ;
7787 int arg2
= (int) -1 ;
7788 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7789 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7790 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7791 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7792 long arg5
= (long) wxLI_HORIZONTAL
;
7793 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
7794 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7795 wxStaticLine
*result
= 0 ;
7804 bool temp6
= false ;
7805 PyObject
* obj0
= 0 ;
7806 PyObject
* obj1
= 0 ;
7807 PyObject
* obj2
= 0 ;
7808 PyObject
* obj3
= 0 ;
7809 PyObject
* obj4
= 0 ;
7810 PyObject
* obj5
= 0 ;
7811 char * kwnames
[] = {
7812 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
7816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7817 if (!SWIG_IsOK(res1
)) {
7818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7820 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7822 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7823 if (!SWIG_IsOK(ecode2
)) {
7824 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7826 arg2
= static_cast< int >(val2
);
7831 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7837 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7841 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
7842 if (!SWIG_IsOK(ecode5
)) {
7843 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7845 arg5
= static_cast< long >(val5
);
7849 arg6
= wxString_in_helper(obj5
);
7850 if (arg6
== NULL
) SWIG_fail
;
7855 if (!wxPyCheckForApp()) SWIG_fail
;
7856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7857 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7858 wxPyEndAllowThreads(__tstate
);
7859 if (PyErr_Occurred()) SWIG_fail
;
7861 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_NEW
| 0 );
7876 SWIGINTERN PyObject
*_wrap_new_PreStaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7877 PyObject
*resultobj
= 0;
7878 wxStaticLine
*result
= 0 ;
7880 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticLine",0,0,0)) SWIG_fail
;
7882 if (!wxPyCheckForApp()) SWIG_fail
;
7883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7884 result
= (wxStaticLine
*)new wxStaticLine();
7885 wxPyEndAllowThreads(__tstate
);
7886 if (PyErr_Occurred()) SWIG_fail
;
7888 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_OWN
| 0 );
7895 SWIGINTERN PyObject
*_wrap_StaticLine_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7896 PyObject
*resultobj
= 0;
7897 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7898 wxWindow
*arg2
= (wxWindow
*) 0 ;
7899 int arg3
= (int) -1 ;
7900 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7901 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7902 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7903 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7904 long arg6
= (long) wxLI_HORIZONTAL
;
7905 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
7906 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7918 bool temp7
= false ;
7919 PyObject
* obj0
= 0 ;
7920 PyObject
* obj1
= 0 ;
7921 PyObject
* obj2
= 0 ;
7922 PyObject
* obj3
= 0 ;
7923 PyObject
* obj4
= 0 ;
7924 PyObject
* obj5
= 0 ;
7925 PyObject
* obj6
= 0 ;
7926 char * kwnames
[] = {
7927 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7932 if (!SWIG_IsOK(res1
)) {
7933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7935 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7936 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7937 if (!SWIG_IsOK(res2
)) {
7938 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7940 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7942 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7943 if (!SWIG_IsOK(ecode3
)) {
7944 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7946 arg3
= static_cast< int >(val3
);
7951 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7957 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7961 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7962 if (!SWIG_IsOK(ecode6
)) {
7963 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7965 arg6
= static_cast< long >(val6
);
7969 arg7
= wxString_in_helper(obj6
);
7970 if (arg7
== NULL
) SWIG_fail
;
7975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7976 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7977 wxPyEndAllowThreads(__tstate
);
7978 if (PyErr_Occurred()) SWIG_fail
;
7981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7997 SWIGINTERN PyObject
*_wrap_StaticLine_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7998 PyObject
*resultobj
= 0;
7999 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
8003 PyObject
*swig_obj
[1] ;
8005 if (!args
) SWIG_fail
;
8007 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
8008 if (!SWIG_IsOK(res1
)) {
8009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
8011 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
8013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8014 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
8015 wxPyEndAllowThreads(__tstate
);
8016 if (PyErr_Occurred()) SWIG_fail
;
8019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8027 SWIGINTERN PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8028 PyObject
*resultobj
= 0;
8031 if (!SWIG_Python_UnpackTuple(args
,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail
;
8033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8034 result
= (int)wxStaticLine::GetDefaultSize();
8035 wxPyEndAllowThreads(__tstate
);
8036 if (PyErr_Occurred()) SWIG_fail
;
8038 resultobj
= SWIG_From_int(static_cast< int >(result
));
8045 SWIGINTERN PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8046 PyObject
*resultobj
= 0;
8047 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8048 SwigValueWrapper
<wxVisualAttributes
> result
;
8051 PyObject
* obj0
= 0 ;
8052 char * kwnames
[] = {
8053 (char *) "variant", NULL
8056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8058 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8059 if (!SWIG_IsOK(ecode1
)) {
8060 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8062 arg1
= static_cast< wxWindowVariant
>(val1
);
8065 if (!wxPyCheckForApp()) SWIG_fail
;
8066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8067 result
= wxStaticLine::GetClassDefaultAttributes(arg1
);
8068 wxPyEndAllowThreads(__tstate
);
8069 if (PyErr_Occurred()) SWIG_fail
;
8071 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8078 SWIGINTERN PyObject
*StaticLine_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8080 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8081 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine
, SWIG_NewClientData(obj
));
8082 return SWIG_Py_Void();
8085 SWIGINTERN PyObject
*StaticLine_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8086 return SWIG_Python_InitShadowInstance(args
);
8089 SWIGINTERN PyObject
*_wrap_new_StaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8090 PyObject
*resultobj
= 0;
8091 wxWindow
*arg1
= (wxWindow
*) 0 ;
8092 int arg2
= (int) -1 ;
8093 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8094 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8095 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8096 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8097 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8098 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8099 long arg6
= (long) 0 ;
8100 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
8101 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8102 wxStaticText
*result
= 0 ;
8107 bool temp3
= false ;
8112 bool temp7
= false ;
8113 PyObject
* obj0
= 0 ;
8114 PyObject
* obj1
= 0 ;
8115 PyObject
* obj2
= 0 ;
8116 PyObject
* obj3
= 0 ;
8117 PyObject
* obj4
= 0 ;
8118 PyObject
* obj5
= 0 ;
8119 PyObject
* obj6
= 0 ;
8120 char * kwnames
[] = {
8121 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8126 if (!SWIG_IsOK(res1
)) {
8127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
8129 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8131 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8132 if (!SWIG_IsOK(ecode2
)) {
8133 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
8135 arg2
= static_cast< int >(val2
);
8139 arg3
= wxString_in_helper(obj2
);
8140 if (arg3
== NULL
) SWIG_fail
;
8147 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8153 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8157 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8158 if (!SWIG_IsOK(ecode6
)) {
8159 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8161 arg6
= static_cast< long >(val6
);
8165 arg7
= wxString_in_helper(obj6
);
8166 if (arg7
== NULL
) SWIG_fail
;
8171 if (!wxPyCheckForApp()) SWIG_fail
;
8172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8173 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8174 wxPyEndAllowThreads(__tstate
);
8175 if (PyErr_Occurred()) SWIG_fail
;
8177 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_NEW
| 0 );
8200 SWIGINTERN PyObject
*_wrap_new_PreStaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8201 PyObject
*resultobj
= 0;
8202 wxStaticText
*result
= 0 ;
8204 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticText",0,0,0)) SWIG_fail
;
8206 if (!wxPyCheckForApp()) SWIG_fail
;
8207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8208 result
= (wxStaticText
*)new wxStaticText();
8209 wxPyEndAllowThreads(__tstate
);
8210 if (PyErr_Occurred()) SWIG_fail
;
8212 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_OWN
| 0 );
8219 SWIGINTERN PyObject
*_wrap_StaticText_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8220 PyObject
*resultobj
= 0;
8221 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8222 wxWindow
*arg2
= (wxWindow
*) 0 ;
8223 int arg3
= (int) -1 ;
8224 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8225 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8226 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8227 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8228 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8229 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8230 long arg7
= (long) 0 ;
8231 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
8232 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8240 bool temp4
= false ;
8245 bool temp8
= false ;
8246 PyObject
* obj0
= 0 ;
8247 PyObject
* obj1
= 0 ;
8248 PyObject
* obj2
= 0 ;
8249 PyObject
* obj3
= 0 ;
8250 PyObject
* obj4
= 0 ;
8251 PyObject
* obj5
= 0 ;
8252 PyObject
* obj6
= 0 ;
8253 PyObject
* obj7
= 0 ;
8254 char * kwnames
[] = {
8255 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8260 if (!SWIG_IsOK(res1
)) {
8261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8263 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8264 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8265 if (!SWIG_IsOK(res2
)) {
8266 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8268 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8270 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8271 if (!SWIG_IsOK(ecode3
)) {
8272 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8274 arg3
= static_cast< int >(val3
);
8278 arg4
= wxString_in_helper(obj3
);
8279 if (arg4
== NULL
) SWIG_fail
;
8286 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8292 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8296 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8297 if (!SWIG_IsOK(ecode7
)) {
8298 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8300 arg7
= static_cast< long >(val7
);
8304 arg8
= wxString_in_helper(obj7
);
8305 if (arg8
== NULL
) SWIG_fail
;
8310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8311 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8312 wxPyEndAllowThreads(__tstate
);
8313 if (PyErr_Occurred()) SWIG_fail
;
8316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8340 SWIGINTERN PyObject
*_wrap_StaticText_Wrap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8341 PyObject
*resultobj
= 0;
8342 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8348 PyObject
* obj0
= 0 ;
8349 PyObject
* obj1
= 0 ;
8350 char * kwnames
[] = {
8351 (char *) "self",(char *) "width", NULL
8354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticText_Wrap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8356 if (!SWIG_IsOK(res1
)) {
8357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8359 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8360 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8361 if (!SWIG_IsOK(ecode2
)) {
8362 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8364 arg2
= static_cast< int >(val2
);
8366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8368 wxPyEndAllowThreads(__tstate
);
8369 if (PyErr_Occurred()) SWIG_fail
;
8371 resultobj
= SWIG_Py_Void();
8378 SWIGINTERN PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8379 PyObject
*resultobj
= 0;
8380 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8381 SwigValueWrapper
<wxVisualAttributes
> result
;
8384 PyObject
* obj0
= 0 ;
8385 char * kwnames
[] = {
8386 (char *) "variant", NULL
8389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8391 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8392 if (!SWIG_IsOK(ecode1
)) {
8393 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8395 arg1
= static_cast< wxWindowVariant
>(val1
);
8398 if (!wxPyCheckForApp()) SWIG_fail
;
8399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8400 result
= wxStaticText::GetClassDefaultAttributes(arg1
);
8401 wxPyEndAllowThreads(__tstate
);
8402 if (PyErr_Occurred()) SWIG_fail
;
8404 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8411 SWIGINTERN PyObject
*StaticText_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8413 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8414 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText
, SWIG_NewClientData(obj
));
8415 return SWIG_Py_Void();
8418 SWIGINTERN PyObject
*StaticText_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8419 return SWIG_Python_InitShadowInstance(args
);
8422 SWIGINTERN PyObject
*_wrap_new_StaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8423 PyObject
*resultobj
= 0;
8424 wxWindow
*arg1
= (wxWindow
*) 0 ;
8425 int arg2
= (int) -1 ;
8426 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
8427 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
8428 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8429 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8430 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8431 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8432 long arg6
= (long) 0 ;
8433 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
8434 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8435 wxStaticBitmap
*result
= 0 ;
8446 bool temp7
= false ;
8447 PyObject
* obj0
= 0 ;
8448 PyObject
* obj1
= 0 ;
8449 PyObject
* obj2
= 0 ;
8450 PyObject
* obj3
= 0 ;
8451 PyObject
* obj4
= 0 ;
8452 PyObject
* obj5
= 0 ;
8453 PyObject
* obj6
= 0 ;
8454 char * kwnames
[] = {
8455 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8460 if (!SWIG_IsOK(res1
)) {
8461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8463 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8465 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8466 if (!SWIG_IsOK(ecode2
)) {
8467 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8469 arg2
= static_cast< int >(val2
);
8472 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8473 if (!SWIG_IsOK(res3
)) {
8474 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8477 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8479 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
8484 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8490 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8494 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8495 if (!SWIG_IsOK(ecode6
)) {
8496 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8498 arg6
= static_cast< long >(val6
);
8502 arg7
= wxString_in_helper(obj6
);
8503 if (arg7
== NULL
) SWIG_fail
;
8508 if (!wxPyCheckForApp()) SWIG_fail
;
8509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8510 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8511 wxPyEndAllowThreads(__tstate
);
8512 if (PyErr_Occurred()) SWIG_fail
;
8514 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_NEW
| 0 );
8529 SWIGINTERN PyObject
*_wrap_new_PreStaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8530 PyObject
*resultobj
= 0;
8531 wxStaticBitmap
*result
= 0 ;
8533 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBitmap",0,0,0)) SWIG_fail
;
8535 if (!wxPyCheckForApp()) SWIG_fail
;
8536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8537 result
= (wxStaticBitmap
*)new wxStaticBitmap();
8538 wxPyEndAllowThreads(__tstate
);
8539 if (PyErr_Occurred()) SWIG_fail
;
8541 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_OWN
| 0 );
8548 SWIGINTERN PyObject
*_wrap_StaticBitmap_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8549 PyObject
*resultobj
= 0;
8550 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8551 wxWindow
*arg2
= (wxWindow
*) 0 ;
8552 int arg3
= (int) -1 ;
8553 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
8554 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
8555 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8556 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8557 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8558 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8559 long arg7
= (long) 0 ;
8560 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
8561 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8575 bool temp8
= false ;
8576 PyObject
* obj0
= 0 ;
8577 PyObject
* obj1
= 0 ;
8578 PyObject
* obj2
= 0 ;
8579 PyObject
* obj3
= 0 ;
8580 PyObject
* obj4
= 0 ;
8581 PyObject
* obj5
= 0 ;
8582 PyObject
* obj6
= 0 ;
8583 PyObject
* obj7
= 0 ;
8584 char * kwnames
[] = {
8585 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8590 if (!SWIG_IsOK(res1
)) {
8591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8593 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8594 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8595 if (!SWIG_IsOK(res2
)) {
8596 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8598 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8600 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8601 if (!SWIG_IsOK(ecode3
)) {
8602 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8604 arg3
= static_cast< int >(val3
);
8607 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8608 if (!SWIG_IsOK(res4
)) {
8609 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8612 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8614 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
8619 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8625 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8629 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8630 if (!SWIG_IsOK(ecode7
)) {
8631 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8633 arg7
= static_cast< long >(val7
);
8637 arg8
= wxString_in_helper(obj7
);
8638 if (arg8
== NULL
) SWIG_fail
;
8643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8644 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8645 wxPyEndAllowThreads(__tstate
);
8646 if (PyErr_Occurred()) SWIG_fail
;
8649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8665 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8666 PyObject
*resultobj
= 0;
8667 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8671 PyObject
*swig_obj
[1] ;
8673 if (!args
) SWIG_fail
;
8675 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8676 if (!SWIG_IsOK(res1
)) {
8677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8679 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8682 result
= (arg1
)->GetBitmap();
8683 wxPyEndAllowThreads(__tstate
);
8684 if (PyErr_Occurred()) SWIG_fail
;
8686 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
8693 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8694 PyObject
*resultobj
= 0;
8695 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8696 wxBitmap
*arg2
= 0 ;
8701 PyObject
* obj0
= 0 ;
8702 PyObject
* obj1
= 0 ;
8703 char * kwnames
[] = {
8704 (char *) "self",(char *) "bitmap", NULL
8707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8709 if (!SWIG_IsOK(res1
)) {
8710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8712 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8713 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8714 if (!SWIG_IsOK(res2
)) {
8715 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8718 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8720 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8723 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8724 wxPyEndAllowThreads(__tstate
);
8725 if (PyErr_Occurred()) SWIG_fail
;
8727 resultobj
= SWIG_Py_Void();
8734 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8735 PyObject
*resultobj
= 0;
8736 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8742 PyObject
* obj0
= 0 ;
8743 PyObject
* obj1
= 0 ;
8744 char * kwnames
[] = {
8745 (char *) "self",(char *) "icon", NULL
8748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8750 if (!SWIG_IsOK(res1
)) {
8751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8753 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8754 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
8755 if (!SWIG_IsOK(res2
)) {
8756 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8759 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8761 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
8763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8764 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
8765 wxPyEndAllowThreads(__tstate
);
8766 if (PyErr_Occurred()) SWIG_fail
;
8768 resultobj
= SWIG_Py_Void();
8775 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8776 PyObject
*resultobj
= 0;
8777 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8778 SwigValueWrapper
<wxVisualAttributes
> result
;
8781 PyObject
* obj0
= 0 ;
8782 char * kwnames
[] = {
8783 (char *) "variant", NULL
8786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8788 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8789 if (!SWIG_IsOK(ecode1
)) {
8790 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8792 arg1
= static_cast< wxWindowVariant
>(val1
);
8795 if (!wxPyCheckForApp()) SWIG_fail
;
8796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8797 result
= wxStaticBitmap::GetClassDefaultAttributes(arg1
);
8798 wxPyEndAllowThreads(__tstate
);
8799 if (PyErr_Occurred()) SWIG_fail
;
8801 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8808 SWIGINTERN PyObject
*StaticBitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8810 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8811 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap
, SWIG_NewClientData(obj
));
8812 return SWIG_Py_Void();
8815 SWIGINTERN PyObject
*StaticBitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8816 return SWIG_Python_InitShadowInstance(args
);
8819 SWIGINTERN
int ListBoxNameStr_set(PyObject
*) {
8820 SWIG_Error(SWIG_AttributeError
,"Variable ListBoxNameStr is read-only.");
8825 SWIGINTERN PyObject
*ListBoxNameStr_get(void) {
8826 PyObject
*pyobj
= 0;
8830 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8832 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8839 SWIGINTERN PyObject
*_wrap_new_ListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8840 PyObject
*resultobj
= 0;
8841 wxWindow
*arg1
= (wxWindow
*) 0 ;
8842 int arg2
= (int) -1 ;
8843 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8844 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8845 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8846 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8847 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8848 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8849 long arg6
= (long) 0 ;
8850 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8851 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8852 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8853 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8854 wxListBox
*result
= 0 ;
8861 bool temp5
= false ;
8866 bool temp8
= false ;
8867 PyObject
* obj0
= 0 ;
8868 PyObject
* obj1
= 0 ;
8869 PyObject
* obj2
= 0 ;
8870 PyObject
* obj3
= 0 ;
8871 PyObject
* obj4
= 0 ;
8872 PyObject
* obj5
= 0 ;
8873 PyObject
* obj6
= 0 ;
8874 PyObject
* obj7
= 0 ;
8875 char * kwnames
[] = {
8876 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8881 if (!SWIG_IsOK(res1
)) {
8882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
8884 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8886 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8887 if (!SWIG_IsOK(ecode2
)) {
8888 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
8890 arg2
= static_cast< int >(val2
);
8895 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8901 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8906 if (! PySequence_Check(obj4
)) {
8907 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8910 arg5
= new wxArrayString
;
8912 int i
, len
=PySequence_Length(obj4
);
8913 for (i
=0; i
<len
; i
++) {
8914 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8915 wxString
* s
= wxString_in_helper(item
);
8916 if (PyErr_Occurred()) SWIG_fail
;
8924 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8925 if (!SWIG_IsOK(ecode6
)) {
8926 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
8928 arg6
= static_cast< long >(val6
);
8931 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
8932 if (!SWIG_IsOK(res7
)) {
8933 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8936 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8938 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
8942 arg8
= wxString_in_helper(obj7
);
8943 if (arg8
== NULL
) SWIG_fail
;
8948 if (!wxPyCheckForApp()) SWIG_fail
;
8949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8950 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8951 wxPyEndAllowThreads(__tstate
);
8952 if (PyErr_Occurred()) SWIG_fail
;
8954 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_NEW
| 0 );
8956 if (temp5
) delete arg5
;
8965 if (temp5
) delete arg5
;
8975 SWIGINTERN PyObject
*_wrap_new_PreListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8976 PyObject
*resultobj
= 0;
8977 wxListBox
*result
= 0 ;
8979 if (!SWIG_Python_UnpackTuple(args
,"new_PreListBox",0,0,0)) SWIG_fail
;
8981 if (!wxPyCheckForApp()) SWIG_fail
;
8982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8983 result
= (wxListBox
*)new wxListBox();
8984 wxPyEndAllowThreads(__tstate
);
8985 if (PyErr_Occurred()) SWIG_fail
;
8987 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_OWN
| 0 );
8994 SWIGINTERN PyObject
*_wrap_ListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8995 PyObject
*resultobj
= 0;
8996 wxListBox
*arg1
= (wxListBox
*) 0 ;
8997 wxWindow
*arg2
= (wxWindow
*) 0 ;
8998 int arg3
= (int) -1 ;
8999 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9000 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9001 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9002 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9003 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
9004 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
9005 long arg7
= (long) 0 ;
9006 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
9007 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
9008 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
9009 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
9019 bool temp6
= false ;
9024 bool temp9
= false ;
9025 PyObject
* obj0
= 0 ;
9026 PyObject
* obj1
= 0 ;
9027 PyObject
* obj2
= 0 ;
9028 PyObject
* obj3
= 0 ;
9029 PyObject
* obj4
= 0 ;
9030 PyObject
* obj5
= 0 ;
9031 PyObject
* obj6
= 0 ;
9032 PyObject
* obj7
= 0 ;
9033 PyObject
* obj8
= 0 ;
9034 char * kwnames
[] = {
9035 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
9038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
9039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9040 if (!SWIG_IsOK(res1
)) {
9041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
9043 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9044 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9045 if (!SWIG_IsOK(res2
)) {
9046 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9048 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9050 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9051 if (!SWIG_IsOK(ecode3
)) {
9052 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
9054 arg3
= static_cast< int >(val3
);
9059 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9065 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9070 if (! PySequence_Check(obj5
)) {
9071 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9074 arg6
= new wxArrayString
;
9076 int i
, len
=PySequence_Length(obj5
);
9077 for (i
=0; i
<len
; i
++) {
9078 PyObject
* item
= PySequence_GetItem(obj5
, i
);
9079 wxString
* s
= wxString_in_helper(item
);
9080 if (PyErr_Occurred()) SWIG_fail
;
9088 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
9089 if (!SWIG_IsOK(ecode7
)) {
9090 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
9092 arg7
= static_cast< long >(val7
);
9095 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
9096 if (!SWIG_IsOK(res8
)) {
9097 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9100 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9102 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
9106 arg9
= wxString_in_helper(obj8
);
9107 if (arg9
== NULL
) SWIG_fail
;
9112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9113 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9114 wxPyEndAllowThreads(__tstate
);
9115 if (PyErr_Occurred()) SWIG_fail
;
9118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9121 if (temp6
) delete arg6
;
9130 if (temp6
) delete arg6
;
9140 SWIGINTERN PyObject
*_wrap_ListBox_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9141 PyObject
*resultobj
= 0;
9142 wxListBox
*arg1
= (wxListBox
*) 0 ;
9143 wxString
*arg2
= 0 ;
9145 PyObject
*arg4
= (PyObject
*) NULL
;
9148 bool temp2
= false ;
9151 PyObject
* obj0
= 0 ;
9152 PyObject
* obj1
= 0 ;
9153 PyObject
* obj2
= 0 ;
9154 PyObject
* obj3
= 0 ;
9155 char * kwnames
[] = {
9156 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9161 if (!SWIG_IsOK(res1
)) {
9162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9164 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9166 arg2
= wxString_in_helper(obj1
);
9167 if (arg2
== NULL
) SWIG_fail
;
9170 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9171 if (!SWIG_IsOK(ecode3
)) {
9172 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9174 arg3
= static_cast< int >(val3
);
9179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9180 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9181 wxPyEndAllowThreads(__tstate
);
9182 if (PyErr_Occurred()) SWIG_fail
;
9184 resultobj
= SWIG_Py_Void();
9199 SWIGINTERN PyObject
*_wrap_ListBox_InsertItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9200 PyObject
*resultobj
= 0;
9201 wxListBox
*arg1
= (wxListBox
*) 0 ;
9202 wxArrayString
*arg2
= 0 ;
9206 bool temp2
= false ;
9209 PyObject
* obj0
= 0 ;
9210 PyObject
* obj1
= 0 ;
9211 PyObject
* obj2
= 0 ;
9212 char * kwnames
[] = {
9213 (char *) "self",(char *) "items",(char *) "pos", NULL
9216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9218 if (!SWIG_IsOK(res1
)) {
9219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9221 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9223 if (! PySequence_Check(obj1
)) {
9224 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9227 arg2
= new wxArrayString
;
9229 int i
, len
=PySequence_Length(obj1
);
9230 for (i
=0; i
<len
; i
++) {
9231 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9232 wxString
* s
= wxString_in_helper(item
);
9233 if (PyErr_Occurred()) SWIG_fail
;
9239 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
9240 if (!SWIG_IsOK(ecode3
)) {
9241 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "unsigned int""'");
9243 arg3
= static_cast< unsigned int >(val3
);
9245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9246 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
9247 wxPyEndAllowThreads(__tstate
);
9248 if (PyErr_Occurred()) SWIG_fail
;
9250 resultobj
= SWIG_Py_Void();
9252 if (temp2
) delete arg2
;
9257 if (temp2
) delete arg2
;
9263 SWIGINTERN PyObject
*_wrap_ListBox_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9264 PyObject
*resultobj
= 0;
9265 wxListBox
*arg1
= (wxListBox
*) 0 ;
9266 wxArrayString
*arg2
= 0 ;
9269 bool temp2
= false ;
9270 PyObject
* obj0
= 0 ;
9271 PyObject
* obj1
= 0 ;
9272 char * kwnames
[] = {
9273 (char *) "self",(char *) "items", NULL
9276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9278 if (!SWIG_IsOK(res1
)) {
9279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9281 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9283 if (! PySequence_Check(obj1
)) {
9284 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9287 arg2
= new wxArrayString
;
9289 int i
, len
=PySequence_Length(obj1
);
9290 for (i
=0; i
<len
; i
++) {
9291 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9292 wxString
* s
= wxString_in_helper(item
);
9293 if (PyErr_Occurred()) SWIG_fail
;
9300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9301 (arg1
)->Set((wxArrayString
const &)*arg2
);
9302 wxPyEndAllowThreads(__tstate
);
9303 if (PyErr_Occurred()) SWIG_fail
;
9305 resultobj
= SWIG_Py_Void();
9307 if (temp2
) delete arg2
;
9312 if (temp2
) delete arg2
;
9318 SWIGINTERN PyObject
*_wrap_ListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9319 PyObject
*resultobj
= 0;
9320 wxListBox
*arg1
= (wxListBox
*) 0 ;
9327 PyObject
* obj0
= 0 ;
9328 PyObject
* obj1
= 0 ;
9329 char * kwnames
[] = {
9330 (char *) "self",(char *) "n", NULL
9333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9335 if (!SWIG_IsOK(res1
)) {
9336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
9338 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9339 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9340 if (!SWIG_IsOK(ecode2
)) {
9341 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_IsSelected" "', expected argument " "2"" of type '" "int""'");
9343 arg2
= static_cast< int >(val2
);
9345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9346 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
9347 wxPyEndAllowThreads(__tstate
);
9348 if (PyErr_Occurred()) SWIG_fail
;
9351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9359 SWIGINTERN PyObject
*_wrap_ListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9360 PyObject
*resultobj
= 0;
9361 wxListBox
*arg1
= (wxListBox
*) 0 ;
9363 bool arg3
= (bool) true ;
9370 PyObject
* obj0
= 0 ;
9371 PyObject
* obj1
= 0 ;
9372 PyObject
* obj2
= 0 ;
9373 char * kwnames
[] = {
9374 (char *) "self",(char *) "n",(char *) "select", NULL
9377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9379 if (!SWIG_IsOK(res1
)) {
9380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9382 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9383 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9384 if (!SWIG_IsOK(ecode2
)) {
9385 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9387 arg2
= static_cast< int >(val2
);
9389 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9390 if (!SWIG_IsOK(ecode3
)) {
9391 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9393 arg3
= static_cast< bool >(val3
);
9396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9397 (arg1
)->SetSelection(arg2
,arg3
);
9398 wxPyEndAllowThreads(__tstate
);
9399 if (PyErr_Occurred()) SWIG_fail
;
9401 resultobj
= SWIG_Py_Void();
9408 SWIGINTERN PyObject
*_wrap_ListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9409 PyObject
*resultobj
= 0;
9410 wxListBox
*arg1
= (wxListBox
*) 0 ;
9416 PyObject
* obj0
= 0 ;
9417 PyObject
* obj1
= 0 ;
9418 char * kwnames
[] = {
9419 (char *) "self",(char *) "n", NULL
9422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9424 if (!SWIG_IsOK(res1
)) {
9425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9427 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9428 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9429 if (!SWIG_IsOK(ecode2
)) {
9430 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9432 arg2
= static_cast< int >(val2
);
9434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9435 (arg1
)->Select(arg2
);
9436 wxPyEndAllowThreads(__tstate
);
9437 if (PyErr_Occurred()) SWIG_fail
;
9439 resultobj
= SWIG_Py_Void();
9446 SWIGINTERN PyObject
*_wrap_ListBox_Deselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9447 PyObject
*resultobj
= 0;
9448 wxListBox
*arg1
= (wxListBox
*) 0 ;
9454 PyObject
* obj0
= 0 ;
9455 PyObject
* obj1
= 0 ;
9456 char * kwnames
[] = {
9457 (char *) "self",(char *) "n", NULL
9460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9462 if (!SWIG_IsOK(res1
)) {
9463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9465 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9466 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9467 if (!SWIG_IsOK(ecode2
)) {
9468 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9470 arg2
= static_cast< int >(val2
);
9472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9473 (arg1
)->Deselect(arg2
);
9474 wxPyEndAllowThreads(__tstate
);
9475 if (PyErr_Occurred()) SWIG_fail
;
9477 resultobj
= SWIG_Py_Void();
9484 SWIGINTERN PyObject
*_wrap_ListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9485 PyObject
*resultobj
= 0;
9486 wxListBox
*arg1
= (wxListBox
*) 0 ;
9487 int arg2
= (int) -1 ;
9492 PyObject
* obj0
= 0 ;
9493 PyObject
* obj1
= 0 ;
9494 char * kwnames
[] = {
9495 (char *) "self",(char *) "itemToLeaveSelected", NULL
9498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9500 if (!SWIG_IsOK(res1
)) {
9501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9503 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9505 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9506 if (!SWIG_IsOK(ecode2
)) {
9507 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9509 arg2
= static_cast< int >(val2
);
9512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9513 (arg1
)->DeselectAll(arg2
);
9514 wxPyEndAllowThreads(__tstate
);
9515 if (PyErr_Occurred()) SWIG_fail
;
9517 resultobj
= SWIG_Py_Void();
9524 SWIGINTERN PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9525 PyObject
*resultobj
= 0;
9526 wxListBox
*arg1
= (wxListBox
*) 0 ;
9527 wxString
*arg2
= 0 ;
9528 bool arg3
= (bool) true ;
9532 bool temp2
= false ;
9535 PyObject
* obj0
= 0 ;
9536 PyObject
* obj1
= 0 ;
9537 PyObject
* obj2
= 0 ;
9538 char * kwnames
[] = {
9539 (char *) "self",(char *) "s",(char *) "select", NULL
9542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9544 if (!SWIG_IsOK(res1
)) {
9545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetStringSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9547 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9549 arg2
= wxString_in_helper(obj1
);
9550 if (arg2
== NULL
) SWIG_fail
;
9554 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9555 if (!SWIG_IsOK(ecode3
)) {
9556 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9558 arg3
= static_cast< bool >(val3
);
9561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9562 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
9563 wxPyEndAllowThreads(__tstate
);
9564 if (PyErr_Occurred()) SWIG_fail
;
9567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9583 SWIGINTERN PyObject
*_wrap_ListBox_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9584 PyObject
*resultobj
= 0;
9585 wxListBox
*arg1
= (wxListBox
*) 0 ;
9586 PyObject
*result
= 0 ;
9589 PyObject
*swig_obj
[1] ;
9591 if (!args
) SWIG_fail
;
9593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9594 if (!SWIG_IsOK(res1
)) {
9595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9597 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9600 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
9601 wxPyEndAllowThreads(__tstate
);
9602 if (PyErr_Occurred()) SWIG_fail
;
9611 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9612 PyObject
*resultobj
= 0;
9613 wxListBox
*arg1
= (wxListBox
*) 0 ;
9619 PyObject
* obj0
= 0 ;
9620 PyObject
* obj1
= 0 ;
9621 char * kwnames
[] = {
9622 (char *) "self",(char *) "n", NULL
9625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9627 if (!SWIG_IsOK(res1
)) {
9628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9630 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9631 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9632 if (!SWIG_IsOK(ecode2
)) {
9633 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9635 arg2
= static_cast< int >(val2
);
9637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9638 (arg1
)->SetFirstItem(arg2
);
9639 wxPyEndAllowThreads(__tstate
);
9640 if (PyErr_Occurred()) SWIG_fail
;
9642 resultobj
= SWIG_Py_Void();
9649 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9650 PyObject
*resultobj
= 0;
9651 wxListBox
*arg1
= (wxListBox
*) 0 ;
9652 wxString
*arg2
= 0 ;
9655 bool temp2
= false ;
9656 PyObject
* obj0
= 0 ;
9657 PyObject
* obj1
= 0 ;
9658 char * kwnames
[] = {
9659 (char *) "self",(char *) "s", NULL
9662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9664 if (!SWIG_IsOK(res1
)) {
9665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9667 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9669 arg2
= wxString_in_helper(obj1
);
9670 if (arg2
== NULL
) SWIG_fail
;
9674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9675 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
9676 wxPyEndAllowThreads(__tstate
);
9677 if (PyErr_Occurred()) SWIG_fail
;
9679 resultobj
= SWIG_Py_Void();
9694 SWIGINTERN PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9695 PyObject
*resultobj
= 0;
9696 wxListBox
*arg1
= (wxListBox
*) 0 ;
9702 PyObject
* obj0
= 0 ;
9703 PyObject
* obj1
= 0 ;
9704 char * kwnames
[] = {
9705 (char *) "self",(char *) "n", NULL
9708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9710 if (!SWIG_IsOK(res1
)) {
9711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9713 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9714 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9715 if (!SWIG_IsOK(ecode2
)) {
9716 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9718 arg2
= static_cast< int >(val2
);
9720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9721 (arg1
)->EnsureVisible(arg2
);
9722 wxPyEndAllowThreads(__tstate
);
9723 if (PyErr_Occurred()) SWIG_fail
;
9725 resultobj
= SWIG_Py_Void();
9732 SWIGINTERN PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9733 PyObject
*resultobj
= 0;
9734 wxListBox
*arg1
= (wxListBox
*) 0 ;
9735 wxString
*arg2
= 0 ;
9738 bool temp2
= false ;
9739 PyObject
* obj0
= 0 ;
9740 PyObject
* obj1
= 0 ;
9741 char * kwnames
[] = {
9742 (char *) "self",(char *) "s", NULL
9745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9747 if (!SWIG_IsOK(res1
)) {
9748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9750 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9752 arg2
= wxString_in_helper(obj1
);
9753 if (arg2
== NULL
) SWIG_fail
;
9757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9758 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
9759 wxPyEndAllowThreads(__tstate
);
9760 if (PyErr_Occurred()) SWIG_fail
;
9762 resultobj
= SWIG_Py_Void();
9777 SWIGINTERN PyObject
*_wrap_ListBox_IsSorted(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9778 PyObject
*resultobj
= 0;
9779 wxListBox
*arg1
= (wxListBox
*) 0 ;
9783 PyObject
*swig_obj
[1] ;
9785 if (!args
) SWIG_fail
;
9787 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9788 if (!SWIG_IsOK(res1
)) {
9789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9791 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9794 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
9795 wxPyEndAllowThreads(__tstate
);
9796 if (PyErr_Occurred()) SWIG_fail
;
9799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9807 SWIGINTERN PyObject
*_wrap_ListBox_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9808 PyObject
*resultobj
= 0;
9809 wxListBox
*arg1
= (wxListBox
*) 0 ;
9815 PyObject
* obj0
= 0 ;
9816 PyObject
* obj1
= 0 ;
9817 char * kwnames
[] = {
9818 (char *) "self",(char *) "pt", NULL
9821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9823 if (!SWIG_IsOK(res1
)) {
9824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9826 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9829 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9833 result
= (int)((wxListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9834 wxPyEndAllowThreads(__tstate
);
9835 if (PyErr_Occurred()) SWIG_fail
;
9837 resultobj
= SWIG_From_int(static_cast< int >(result
));
9844 SWIGINTERN PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9845 PyObject
*resultobj
= 0;
9846 wxListBox
*arg1
= (wxListBox
*) 0 ;
9848 wxColour
*arg3
= 0 ;
9854 PyObject
* obj0
= 0 ;
9855 PyObject
* obj1
= 0 ;
9856 PyObject
* obj2
= 0 ;
9857 char * kwnames
[] = {
9858 (char *) "self",(char *) "item",(char *) "c", NULL
9861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9863 if (!SWIG_IsOK(res1
)) {
9864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9866 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9867 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9868 if (!SWIG_IsOK(ecode2
)) {
9869 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
9871 arg2
= static_cast< int >(val2
);
9874 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9878 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9879 wxPyEndAllowThreads(__tstate
);
9880 if (PyErr_Occurred()) SWIG_fail
;
9882 resultobj
= SWIG_Py_Void();
9889 SWIGINTERN PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9890 PyObject
*resultobj
= 0;
9891 wxListBox
*arg1
= (wxListBox
*) 0 ;
9893 wxColour
*arg3
= 0 ;
9899 PyObject
* obj0
= 0 ;
9900 PyObject
* obj1
= 0 ;
9901 PyObject
* obj2
= 0 ;
9902 char * kwnames
[] = {
9903 (char *) "self",(char *) "item",(char *) "c", NULL
9906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9908 if (!SWIG_IsOK(res1
)) {
9909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9911 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9912 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9913 if (!SWIG_IsOK(ecode2
)) {
9914 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
9916 arg2
= static_cast< int >(val2
);
9919 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9923 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9924 wxPyEndAllowThreads(__tstate
);
9925 if (PyErr_Occurred()) SWIG_fail
;
9927 resultobj
= SWIG_Py_Void();
9934 SWIGINTERN PyObject
*_wrap_ListBox_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9935 PyObject
*resultobj
= 0;
9936 wxListBox
*arg1
= (wxListBox
*) 0 ;
9945 PyObject
* obj0
= 0 ;
9946 PyObject
* obj1
= 0 ;
9947 PyObject
* obj2
= 0 ;
9948 char * kwnames
[] = {
9949 (char *) "self",(char *) "item",(char *) "f", NULL
9952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9954 if (!SWIG_IsOK(res1
)) {
9955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemFont" "', expected argument " "1"" of type '" "wxListBox *""'");
9957 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9958 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9959 if (!SWIG_IsOK(ecode2
)) {
9960 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemFont" "', expected argument " "2"" of type '" "int""'");
9962 arg2
= static_cast< int >(val2
);
9963 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
9964 if (!SWIG_IsOK(res3
)) {
9965 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9968 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9970 arg3
= reinterpret_cast< wxFont
* >(argp3
);
9972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9973 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
9974 wxPyEndAllowThreads(__tstate
);
9975 if (PyErr_Occurred()) SWIG_fail
;
9977 resultobj
= SWIG_Py_Void();
9984 SWIGINTERN PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9985 PyObject
*resultobj
= 0;
9986 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9987 SwigValueWrapper
<wxVisualAttributes
> result
;
9990 PyObject
* obj0
= 0 ;
9991 char * kwnames
[] = {
9992 (char *) "variant", NULL
9995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9997 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9998 if (!SWIG_IsOK(ecode1
)) {
9999 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10001 arg1
= static_cast< wxWindowVariant
>(val1
);
10004 if (!wxPyCheckForApp()) SWIG_fail
;
10005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10006 result
= wxListBox::GetClassDefaultAttributes(arg1
);
10007 wxPyEndAllowThreads(__tstate
);
10008 if (PyErr_Occurred()) SWIG_fail
;
10010 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
10017 SWIGINTERN PyObject
*ListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10019 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10020 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox
, SWIG_NewClientData(obj
));
10021 return SWIG_Py_Void();
10024 SWIGINTERN PyObject
*ListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10025 return SWIG_Python_InitShadowInstance(args
);
10028 SWIGINTERN PyObject
*_wrap_new_CheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10029 PyObject
*resultobj
= 0;
10030 wxWindow
*arg1
= (wxWindow
*) 0 ;
10031 int arg2
= (int) -1 ;
10032 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10033 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10034 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10035 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10036 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
10037 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
10038 long arg6
= (long) 0 ;
10039 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10040 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10041 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
10042 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10043 wxCheckListBox
*result
= 0 ;
10050 bool temp5
= false ;
10055 bool temp8
= false ;
10056 PyObject
* obj0
= 0 ;
10057 PyObject
* obj1
= 0 ;
10058 PyObject
* obj2
= 0 ;
10059 PyObject
* obj3
= 0 ;
10060 PyObject
* obj4
= 0 ;
10061 PyObject
* obj5
= 0 ;
10062 PyObject
* obj6
= 0 ;
10063 PyObject
* obj7
= 0 ;
10064 char * kwnames
[] = {
10065 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
10069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10070 if (!SWIG_IsOK(res1
)) {
10071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
10073 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10075 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10076 if (!SWIG_IsOK(ecode2
)) {
10077 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
10079 arg2
= static_cast< int >(val2
);
10084 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10090 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10095 if (! PySequence_Check(obj4
)) {
10096 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10099 arg5
= new wxArrayString
;
10101 int i
, len
=PySequence_Length(obj4
);
10102 for (i
=0; i
<len
; i
++) {
10103 PyObject
* item
= PySequence_GetItem(obj4
, i
);
10104 wxString
* s
= wxString_in_helper(item
);
10105 if (PyErr_Occurred()) SWIG_fail
;
10113 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10114 if (!SWIG_IsOK(ecode6
)) {
10115 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
10117 arg6
= static_cast< long >(val6
);
10120 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
10121 if (!SWIG_IsOK(res7
)) {
10122 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10125 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10127 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
10131 arg8
= wxString_in_helper(obj7
);
10132 if (arg8
== NULL
) SWIG_fail
;
10137 if (!wxPyCheckForApp()) SWIG_fail
;
10138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10139 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10140 wxPyEndAllowThreads(__tstate
);
10141 if (PyErr_Occurred()) SWIG_fail
;
10143 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_NEW
| 0 );
10145 if (temp5
) delete arg5
;
10154 if (temp5
) delete arg5
;
10164 SWIGINTERN PyObject
*_wrap_new_PreCheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10165 PyObject
*resultobj
= 0;
10166 wxCheckListBox
*result
= 0 ;
10168 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckListBox",0,0,0)) SWIG_fail
;
10170 if (!wxPyCheckForApp()) SWIG_fail
;
10171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10172 result
= (wxCheckListBox
*)new wxCheckListBox();
10173 wxPyEndAllowThreads(__tstate
);
10174 if (PyErr_Occurred()) SWIG_fail
;
10176 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_OWN
| 0 );
10183 SWIGINTERN PyObject
*_wrap_CheckListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10184 PyObject
*resultobj
= 0;
10185 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10186 wxWindow
*arg2
= (wxWindow
*) 0 ;
10187 int arg3
= (int) -1 ;
10188 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10189 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10190 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10191 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10192 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10193 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10194 long arg7
= (long) 0 ;
10195 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
10196 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
10197 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
10198 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10208 bool temp6
= false ;
10213 bool temp9
= false ;
10214 PyObject
* obj0
= 0 ;
10215 PyObject
* obj1
= 0 ;
10216 PyObject
* obj2
= 0 ;
10217 PyObject
* obj3
= 0 ;
10218 PyObject
* obj4
= 0 ;
10219 PyObject
* obj5
= 0 ;
10220 PyObject
* obj6
= 0 ;
10221 PyObject
* obj7
= 0 ;
10222 PyObject
* obj8
= 0 ;
10223 char * kwnames
[] = {
10224 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
10228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10229 if (!SWIG_IsOK(res1
)) {
10230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10232 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10233 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10234 if (!SWIG_IsOK(res2
)) {
10235 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10237 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10239 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10240 if (!SWIG_IsOK(ecode3
)) {
10241 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10243 arg3
= static_cast< int >(val3
);
10248 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10254 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10259 if (! PySequence_Check(obj5
)) {
10260 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10263 arg6
= new wxArrayString
;
10265 int i
, len
=PySequence_Length(obj5
);
10266 for (i
=0; i
<len
; i
++) {
10267 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10268 wxString
* s
= wxString_in_helper(item
);
10269 if (PyErr_Occurred()) SWIG_fail
;
10277 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
10278 if (!SWIG_IsOK(ecode7
)) {
10279 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10281 arg7
= static_cast< long >(val7
);
10284 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
10285 if (!SWIG_IsOK(res8
)) {
10286 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10289 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10291 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
10295 arg9
= wxString_in_helper(obj8
);
10296 if (arg9
== NULL
) SWIG_fail
;
10301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10302 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10303 wxPyEndAllowThreads(__tstate
);
10304 if (PyErr_Occurred()) SWIG_fail
;
10307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10310 if (temp6
) delete arg6
;
10319 if (temp6
) delete arg6
;
10329 SWIGINTERN PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10330 PyObject
*resultobj
= 0;
10331 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10332 unsigned int arg2
;
10336 unsigned int val2
;
10338 PyObject
* obj0
= 0 ;
10339 PyObject
* obj1
= 0 ;
10340 char * kwnames
[] = {
10341 (char *) "self",(char *) "index", NULL
10344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10346 if (!SWIG_IsOK(res1
)) {
10347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10349 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10350 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10351 if (!SWIG_IsOK(ecode2
)) {
10352 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_IsChecked" "', expected argument " "2"" of type '" "unsigned int""'");
10354 arg2
= static_cast< unsigned int >(val2
);
10356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10357 result
= (bool)(arg1
)->IsChecked(arg2
);
10358 wxPyEndAllowThreads(__tstate
);
10359 if (PyErr_Occurred()) SWIG_fail
;
10362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10370 SWIGINTERN PyObject
*_wrap_CheckListBox_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10371 PyObject
*resultobj
= 0;
10372 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10373 unsigned int arg2
;
10374 int arg3
= (int) true ;
10377 unsigned int val2
;
10381 PyObject
* obj0
= 0 ;
10382 PyObject
* obj1
= 0 ;
10383 PyObject
* obj2
= 0 ;
10384 char * kwnames
[] = {
10385 (char *) "self",(char *) "index",(char *) "check", NULL
10388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10390 if (!SWIG_IsOK(res1
)) {
10391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10393 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10394 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10395 if (!SWIG_IsOK(ecode2
)) {
10396 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "unsigned int""'");
10398 arg2
= static_cast< unsigned int >(val2
);
10400 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10401 if (!SWIG_IsOK(ecode3
)) {
10402 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10404 arg3
= static_cast< int >(val3
);
10407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10408 (arg1
)->Check(arg2
,arg3
);
10409 wxPyEndAllowThreads(__tstate
);
10410 if (PyErr_Occurred()) SWIG_fail
;
10412 resultobj
= SWIG_Py_Void();
10419 SWIGINTERN PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10420 PyObject
*resultobj
= 0;
10421 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10425 PyObject
*swig_obj
[1] ;
10427 if (!args
) SWIG_fail
;
10428 swig_obj
[0] = args
;
10429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10430 if (!SWIG_IsOK(res1
)) {
10431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_GetItemHeight" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10433 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10436 result
= (int)(arg1
)->GetItemHeight();
10437 wxPyEndAllowThreads(__tstate
);
10438 if (PyErr_Occurred()) SWIG_fail
;
10440 resultobj
= SWIG_From_int(static_cast< int >(result
));
10447 SWIGINTERN PyObject
*CheckListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10449 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10450 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox
, SWIG_NewClientData(obj
));
10451 return SWIG_Py_Void();
10454 SWIGINTERN PyObject
*CheckListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10455 return SWIG_Python_InitShadowInstance(args
);
10458 SWIGINTERN
int TextCtrlNameStr_set(PyObject
*) {
10459 SWIG_Error(SWIG_AttributeError
,"Variable TextCtrlNameStr is read-only.");
10464 SWIGINTERN PyObject
*TextCtrlNameStr_get(void) {
10465 PyObject
*pyobj
= 0;
10469 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10471 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10478 SWIGINTERN PyObject
*_wrap_new_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10479 PyObject
*resultobj
= 0;
10480 wxColour
const &arg1_defvalue
= wxNullColour
;
10481 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
10482 wxColour
const &arg2_defvalue
= wxNullColour
;
10483 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
10484 wxFont
const &arg3_defvalue
= wxNullFont
;
10485 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
10486 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
10487 wxTextAttr
*result
= 0 ;
10494 PyObject
* obj0
= 0 ;
10495 PyObject
* obj1
= 0 ;
10496 PyObject
* obj2
= 0 ;
10497 PyObject
* obj3
= 0 ;
10498 char * kwnames
[] = {
10499 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10506 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
10512 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10516 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
10517 if (!SWIG_IsOK(res3
)) {
10518 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10521 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10523 arg3
= reinterpret_cast< wxFont
* >(argp3
);
10526 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10527 if (!SWIG_IsOK(ecode4
)) {
10528 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10530 arg4
= static_cast< wxTextAttrAlignment
>(val4
);
10533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10534 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,arg4
);
10535 wxPyEndAllowThreads(__tstate
);
10536 if (PyErr_Occurred()) SWIG_fail
;
10538 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_NEW
| 0 );
10545 SWIGINTERN PyObject
*_wrap_delete_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10546 PyObject
*resultobj
= 0;
10547 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10550 PyObject
*swig_obj
[1] ;
10552 if (!args
) SWIG_fail
;
10553 swig_obj
[0] = args
;
10554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_DISOWN
| 0 );
10555 if (!SWIG_IsOK(res1
)) {
10556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10558 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10563 wxPyEndAllowThreads(__tstate
);
10564 if (PyErr_Occurred()) SWIG_fail
;
10566 resultobj
= SWIG_Py_Void();
10573 SWIGINTERN PyObject
*_wrap_TextAttr_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10574 PyObject
*resultobj
= 0;
10575 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10578 PyObject
*swig_obj
[1] ;
10580 if (!args
) SWIG_fail
;
10581 swig_obj
[0] = args
;
10582 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10583 if (!SWIG_IsOK(res1
)) {
10584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10586 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10590 wxPyEndAllowThreads(__tstate
);
10591 if (PyErr_Occurred()) SWIG_fail
;
10593 resultobj
= SWIG_Py_Void();
10600 SWIGINTERN PyObject
*_wrap_TextAttr_Merge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10601 PyObject
*resultobj
= 0;
10602 wxTextAttr
*arg1
= 0 ;
10603 wxTextAttr
*arg2
= 0 ;
10609 PyObject
* obj0
= 0 ;
10610 PyObject
* obj1
= 0 ;
10611 char * kwnames
[] = {
10612 (char *) "base",(char *) "overlay", NULL
10615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_Merge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10616 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10617 if (!SWIG_IsOK(res1
)) {
10618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10621 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10623 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10624 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10625 if (!SWIG_IsOK(res2
)) {
10626 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10629 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10631 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
10633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10634 result
= wxTextAttr::Merge((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
);
10635 wxPyEndAllowThreads(__tstate
);
10636 if (PyErr_Occurred()) SWIG_fail
;
10638 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
10645 SWIGINTERN PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10646 PyObject
*resultobj
= 0;
10647 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10648 wxColour
*arg2
= 0 ;
10652 PyObject
* obj0
= 0 ;
10653 PyObject
* obj1
= 0 ;
10654 char * kwnames
[] = {
10655 (char *) "self",(char *) "colText", NULL
10658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10660 if (!SWIG_IsOK(res1
)) {
10661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10663 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10666 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10670 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
10671 wxPyEndAllowThreads(__tstate
);
10672 if (PyErr_Occurred()) SWIG_fail
;
10674 resultobj
= SWIG_Py_Void();
10681 SWIGINTERN PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10682 PyObject
*resultobj
= 0;
10683 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10684 wxColour
*arg2
= 0 ;
10688 PyObject
* obj0
= 0 ;
10689 PyObject
* obj1
= 0 ;
10690 char * kwnames
[] = {
10691 (char *) "self",(char *) "colBack", NULL
10694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10696 if (!SWIG_IsOK(res1
)) {
10697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10699 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10702 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10706 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
10707 wxPyEndAllowThreads(__tstate
);
10708 if (PyErr_Occurred()) SWIG_fail
;
10710 resultobj
= SWIG_Py_Void();
10717 SWIGINTERN PyObject
*_wrap_TextAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10718 PyObject
*resultobj
= 0;
10719 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10721 long arg3
= (long) wxTEXT_ATTR_FONT
;
10728 PyObject
* obj0
= 0 ;
10729 PyObject
* obj1
= 0 ;
10730 PyObject
* obj2
= 0 ;
10731 char * kwnames
[] = {
10732 (char *) "self",(char *) "font",(char *) "flags", NULL
10735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10737 if (!SWIG_IsOK(res1
)) {
10738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10740 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10741 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
10742 if (!SWIG_IsOK(res2
)) {
10743 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10746 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10748 arg2
= reinterpret_cast< wxFont
* >(argp2
);
10750 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10751 if (!SWIG_IsOK(ecode3
)) {
10752 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10754 arg3
= static_cast< long >(val3
);
10757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10758 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
10759 wxPyEndAllowThreads(__tstate
);
10760 if (PyErr_Occurred()) SWIG_fail
;
10762 resultobj
= SWIG_Py_Void();
10769 SWIGINTERN PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10770 PyObject
*resultobj
= 0;
10771 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10772 wxTextAttrAlignment arg2
;
10777 PyObject
* obj0
= 0 ;
10778 PyObject
* obj1
= 0 ;
10779 char * kwnames
[] = {
10780 (char *) "self",(char *) "alignment", NULL
10783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10785 if (!SWIG_IsOK(res1
)) {
10786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10788 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10789 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10790 if (!SWIG_IsOK(ecode2
)) {
10791 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10793 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
10795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10796 (arg1
)->SetAlignment(arg2
);
10797 wxPyEndAllowThreads(__tstate
);
10798 if (PyErr_Occurred()) SWIG_fail
;
10800 resultobj
= SWIG_Py_Void();
10807 SWIGINTERN PyObject
*_wrap_TextAttr_SetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10808 PyObject
*resultobj
= 0;
10809 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10810 wxArrayInt
*arg2
= 0 ;
10813 bool temp2
= false ;
10814 PyObject
* obj0
= 0 ;
10815 PyObject
* obj1
= 0 ;
10816 char * kwnames
[] = {
10817 (char *) "self",(char *) "tabs", NULL
10820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10822 if (!SWIG_IsOK(res1
)) {
10823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10825 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10827 if (! PySequence_Check(obj1
)) {
10828 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10831 arg2
= new wxArrayInt
;
10833 int i
, len
=PySequence_Length(obj1
);
10834 for (i
=0; i
<len
; i
++) {
10835 PyObject
* item
= PySequence_GetItem(obj1
, i
);
10836 PyObject
* number
= PyNumber_Int(item
);
10837 arg2
->Add(PyInt_AS_LONG(number
));
10843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10844 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
10845 wxPyEndAllowThreads(__tstate
);
10846 if (PyErr_Occurred()) SWIG_fail
;
10848 resultobj
= SWIG_Py_Void();
10850 if (temp2
) delete arg2
;
10855 if (temp2
) delete arg2
;
10861 SWIGINTERN PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10862 PyObject
*resultobj
= 0;
10863 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10865 int arg3
= (int) 0 ;
10872 PyObject
* obj0
= 0 ;
10873 PyObject
* obj1
= 0 ;
10874 PyObject
* obj2
= 0 ;
10875 char * kwnames
[] = {
10876 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
10879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10881 if (!SWIG_IsOK(res1
)) {
10882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10884 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10885 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10886 if (!SWIG_IsOK(ecode2
)) {
10887 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
10889 arg2
= static_cast< int >(val2
);
10891 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10892 if (!SWIG_IsOK(ecode3
)) {
10893 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
10895 arg3
= static_cast< int >(val3
);
10898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10899 (arg1
)->SetLeftIndent(arg2
,arg3
);
10900 wxPyEndAllowThreads(__tstate
);
10901 if (PyErr_Occurred()) SWIG_fail
;
10903 resultobj
= SWIG_Py_Void();
10910 SWIGINTERN PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10911 PyObject
*resultobj
= 0;
10912 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10918 PyObject
* obj0
= 0 ;
10919 PyObject
* obj1
= 0 ;
10920 char * kwnames
[] = {
10921 (char *) "self",(char *) "indent", NULL
10924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10926 if (!SWIG_IsOK(res1
)) {
10927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10929 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10930 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10931 if (!SWIG_IsOK(ecode2
)) {
10932 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
10934 arg2
= static_cast< int >(val2
);
10936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10937 (arg1
)->SetRightIndent(arg2
);
10938 wxPyEndAllowThreads(__tstate
);
10939 if (PyErr_Occurred()) SWIG_fail
;
10941 resultobj
= SWIG_Py_Void();
10948 SWIGINTERN PyObject
*_wrap_TextAttr_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10949 PyObject
*resultobj
= 0;
10950 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10956 PyObject
* obj0
= 0 ;
10957 PyObject
* obj1
= 0 ;
10958 char * kwnames
[] = {
10959 (char *) "self",(char *) "flags", NULL
10962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10964 if (!SWIG_IsOK(res1
)) {
10965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10967 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10968 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10969 if (!SWIG_IsOK(ecode2
)) {
10970 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
10972 arg2
= static_cast< long >(val2
);
10974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10975 (arg1
)->SetFlags(arg2
);
10976 wxPyEndAllowThreads(__tstate
);
10977 if (PyErr_Occurred()) SWIG_fail
;
10979 resultobj
= SWIG_Py_Void();
10986 SWIGINTERN PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10987 PyObject
*resultobj
= 0;
10988 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10992 PyObject
*swig_obj
[1] ;
10994 if (!args
) SWIG_fail
;
10995 swig_obj
[0] = args
;
10996 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10997 if (!SWIG_IsOK(res1
)) {
10998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11000 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11003 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
11004 wxPyEndAllowThreads(__tstate
);
11005 if (PyErr_Occurred()) SWIG_fail
;
11008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11016 SWIGINTERN PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11017 PyObject
*resultobj
= 0;
11018 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11022 PyObject
*swig_obj
[1] ;
11024 if (!args
) SWIG_fail
;
11025 swig_obj
[0] = args
;
11026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11027 if (!SWIG_IsOK(res1
)) {
11028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11030 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11033 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
11034 wxPyEndAllowThreads(__tstate
);
11035 if (PyErr_Occurred()) SWIG_fail
;
11038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11046 SWIGINTERN PyObject
*_wrap_TextAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11047 PyObject
*resultobj
= 0;
11048 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11052 PyObject
*swig_obj
[1] ;
11054 if (!args
) SWIG_fail
;
11055 swig_obj
[0] = args
;
11056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11057 if (!SWIG_IsOK(res1
)) {
11058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11060 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11063 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
11064 wxPyEndAllowThreads(__tstate
);
11065 if (PyErr_Occurred()) SWIG_fail
;
11068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11076 SWIGINTERN PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11077 PyObject
*resultobj
= 0;
11078 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11082 PyObject
*swig_obj
[1] ;
11084 if (!args
) SWIG_fail
;
11085 swig_obj
[0] = args
;
11086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11087 if (!SWIG_IsOK(res1
)) {
11088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11090 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11093 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
11094 wxPyEndAllowThreads(__tstate
);
11095 if (PyErr_Occurred()) SWIG_fail
;
11098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11106 SWIGINTERN PyObject
*_wrap_TextAttr_HasTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11107 PyObject
*resultobj
= 0;
11108 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11112 PyObject
*swig_obj
[1] ;
11114 if (!args
) SWIG_fail
;
11115 swig_obj
[0] = args
;
11116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11117 if (!SWIG_IsOK(res1
)) {
11118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11120 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11123 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
11124 wxPyEndAllowThreads(__tstate
);
11125 if (PyErr_Occurred()) SWIG_fail
;
11128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11136 SWIGINTERN PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11137 PyObject
*resultobj
= 0;
11138 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11142 PyObject
*swig_obj
[1] ;
11144 if (!args
) SWIG_fail
;
11145 swig_obj
[0] = args
;
11146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11147 if (!SWIG_IsOK(res1
)) {
11148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11150 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11153 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
11154 wxPyEndAllowThreads(__tstate
);
11155 if (PyErr_Occurred()) SWIG_fail
;
11158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11166 SWIGINTERN PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11167 PyObject
*resultobj
= 0;
11168 wxTextAttr
*arg1
= (wxTextAttr
*) 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_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11180 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11183 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
11184 wxPyEndAllowThreads(__tstate
);
11185 if (PyErr_Occurred()) SWIG_fail
;
11188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11196 SWIGINTERN PyObject
*_wrap_TextAttr_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11197 PyObject
*resultobj
= 0;
11198 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11205 PyObject
* obj0
= 0 ;
11206 PyObject
* obj1
= 0 ;
11207 char * kwnames
[] = {
11208 (char *) "self",(char *) "flag", NULL
11211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11213 if (!SWIG_IsOK(res1
)) {
11214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11216 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11217 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11218 if (!SWIG_IsOK(ecode2
)) {
11219 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11221 arg2
= static_cast< long >(val2
);
11223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11224 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
11225 wxPyEndAllowThreads(__tstate
);
11226 if (PyErr_Occurred()) SWIG_fail
;
11229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11237 SWIGINTERN PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11238 PyObject
*resultobj
= 0;
11239 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11240 wxColour
*result
= 0 ;
11243 PyObject
*swig_obj
[1] ;
11245 if (!args
) SWIG_fail
;
11246 swig_obj
[0] = args
;
11247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11248 if (!SWIG_IsOK(res1
)) {
11249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11251 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11255 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
11256 result
= (wxColour
*) &_result_ref
;
11258 wxPyEndAllowThreads(__tstate
);
11259 if (PyErr_Occurred()) SWIG_fail
;
11261 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11268 SWIGINTERN PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11269 PyObject
*resultobj
= 0;
11270 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11271 wxColour
*result
= 0 ;
11274 PyObject
*swig_obj
[1] ;
11276 if (!args
) SWIG_fail
;
11277 swig_obj
[0] = args
;
11278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11279 if (!SWIG_IsOK(res1
)) {
11280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11282 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11286 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
11287 result
= (wxColour
*) &_result_ref
;
11289 wxPyEndAllowThreads(__tstate
);
11290 if (PyErr_Occurred()) SWIG_fail
;
11292 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11299 SWIGINTERN PyObject
*_wrap_TextAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11300 PyObject
*resultobj
= 0;
11301 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11302 wxFont
*result
= 0 ;
11305 PyObject
*swig_obj
[1] ;
11307 if (!args
) SWIG_fail
;
11308 swig_obj
[0] = args
;
11309 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11310 if (!SWIG_IsOK(res1
)) {
11311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11313 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11317 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
11318 result
= (wxFont
*) &_result_ref
;
11320 wxPyEndAllowThreads(__tstate
);
11321 if (PyErr_Occurred()) SWIG_fail
;
11324 wxFont
* resultptr
= new wxFont(*result
);
11325 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
11333 SWIGINTERN PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11334 PyObject
*resultobj
= 0;
11335 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11336 wxTextAttrAlignment result
;
11339 PyObject
*swig_obj
[1] ;
11341 if (!args
) SWIG_fail
;
11342 swig_obj
[0] = args
;
11343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11344 if (!SWIG_IsOK(res1
)) {
11345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11347 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11350 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
11351 wxPyEndAllowThreads(__tstate
);
11352 if (PyErr_Occurred()) SWIG_fail
;
11354 resultobj
= SWIG_From_int(static_cast< int >(result
));
11361 SWIGINTERN PyObject
*_wrap_TextAttr_GetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11362 PyObject
*resultobj
= 0;
11363 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11364 wxArrayInt
*result
= 0 ;
11367 PyObject
*swig_obj
[1] ;
11369 if (!args
) SWIG_fail
;
11370 swig_obj
[0] = args
;
11371 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11372 if (!SWIG_IsOK(res1
)) {
11373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11375 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11379 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
11380 result
= (wxArrayInt
*) &_result_ref
;
11382 wxPyEndAllowThreads(__tstate
);
11383 if (PyErr_Occurred()) SWIG_fail
;
11386 resultobj
= PyList_New(0);
11388 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
11389 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
11390 PyList_Append(resultobj
, val
);
11400 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11401 PyObject
*resultobj
= 0;
11402 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11406 PyObject
*swig_obj
[1] ;
11408 if (!args
) SWIG_fail
;
11409 swig_obj
[0] = args
;
11410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11411 if (!SWIG_IsOK(res1
)) {
11412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11414 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11417 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
11418 wxPyEndAllowThreads(__tstate
);
11419 if (PyErr_Occurred()) SWIG_fail
;
11421 resultobj
= SWIG_From_long(static_cast< long >(result
));
11428 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11429 PyObject
*resultobj
= 0;
11430 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11434 PyObject
*swig_obj
[1] ;
11436 if (!args
) SWIG_fail
;
11437 swig_obj
[0] = args
;
11438 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11439 if (!SWIG_IsOK(res1
)) {
11440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11442 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11445 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
11446 wxPyEndAllowThreads(__tstate
);
11447 if (PyErr_Occurred()) SWIG_fail
;
11449 resultobj
= SWIG_From_long(static_cast< long >(result
));
11456 SWIGINTERN PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11457 PyObject
*resultobj
= 0;
11458 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11462 PyObject
*swig_obj
[1] ;
11464 if (!args
) SWIG_fail
;
11465 swig_obj
[0] = args
;
11466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11467 if (!SWIG_IsOK(res1
)) {
11468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11470 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11473 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
11474 wxPyEndAllowThreads(__tstate
);
11475 if (PyErr_Occurred()) SWIG_fail
;
11477 resultobj
= SWIG_From_long(static_cast< long >(result
));
11484 SWIGINTERN PyObject
*_wrap_TextAttr_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11485 PyObject
*resultobj
= 0;
11486 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11490 PyObject
*swig_obj
[1] ;
11492 if (!args
) SWIG_fail
;
11493 swig_obj
[0] = args
;
11494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11495 if (!SWIG_IsOK(res1
)) {
11496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11498 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11501 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
11502 wxPyEndAllowThreads(__tstate
);
11503 if (PyErr_Occurred()) SWIG_fail
;
11505 resultobj
= SWIG_From_long(static_cast< long >(result
));
11512 SWIGINTERN PyObject
*_wrap_TextAttr_IsDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11513 PyObject
*resultobj
= 0;
11514 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11518 PyObject
*swig_obj
[1] ;
11520 if (!args
) SWIG_fail
;
11521 swig_obj
[0] = args
;
11522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11523 if (!SWIG_IsOK(res1
)) {
11524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11526 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11529 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
11530 wxPyEndAllowThreads(__tstate
);
11531 if (PyErr_Occurred()) SWIG_fail
;
11534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11542 SWIGINTERN PyObject
*_wrap_TextAttr_Combine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11543 PyObject
*resultobj
= 0;
11544 wxTextAttr
*arg1
= 0 ;
11545 wxTextAttr
*arg2
= 0 ;
11546 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
11554 PyObject
* obj0
= 0 ;
11555 PyObject
* obj1
= 0 ;
11556 PyObject
* obj2
= 0 ;
11557 char * kwnames
[] = {
11558 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11562 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11563 if (!SWIG_IsOK(res1
)) {
11564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11567 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11569 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11570 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11571 if (!SWIG_IsOK(res2
)) {
11572 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11575 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11577 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
11578 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11579 if (!SWIG_IsOK(res3
)) {
11580 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11582 arg3
= reinterpret_cast< wxTextCtrl
* >(argp3
);
11584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11585 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
11586 wxPyEndAllowThreads(__tstate
);
11587 if (PyErr_Occurred()) SWIG_fail
;
11589 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
11596 SWIGINTERN PyObject
*TextAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11598 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11599 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr
, SWIG_NewClientData(obj
));
11600 return SWIG_Py_Void();
11603 SWIGINTERN PyObject
*TextAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11604 return SWIG_Python_InitShadowInstance(args
);
11607 SWIGINTERN PyObject
*_wrap_new_TextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11608 PyObject
*resultobj
= 0;
11609 wxWindow
*arg1
= (wxWindow
*) 0 ;
11610 int arg2
= (int) -1 ;
11611 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11612 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11613 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11614 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11615 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11616 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11617 long arg6
= (long) 0 ;
11618 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11619 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11620 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
11621 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11622 wxTextCtrl
*result
= 0 ;
11627 bool temp3
= false ;
11634 bool temp8
= false ;
11635 PyObject
* obj0
= 0 ;
11636 PyObject
* obj1
= 0 ;
11637 PyObject
* obj2
= 0 ;
11638 PyObject
* obj3
= 0 ;
11639 PyObject
* obj4
= 0 ;
11640 PyObject
* obj5
= 0 ;
11641 PyObject
* obj6
= 0 ;
11642 PyObject
* obj7
= 0 ;
11643 char * kwnames
[] = {
11644 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
11648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11649 if (!SWIG_IsOK(res1
)) {
11650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11652 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11654 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11655 if (!SWIG_IsOK(ecode2
)) {
11656 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11658 arg2
= static_cast< int >(val2
);
11662 arg3
= wxString_in_helper(obj2
);
11663 if (arg3
== NULL
) SWIG_fail
;
11670 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11676 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11680 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11681 if (!SWIG_IsOK(ecode6
)) {
11682 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11684 arg6
= static_cast< long >(val6
);
11687 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
11688 if (!SWIG_IsOK(res7
)) {
11689 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11692 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11694 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
11698 arg8
= wxString_in_helper(obj7
);
11699 if (arg8
== NULL
) SWIG_fail
;
11704 if (!wxPyCheckForApp()) SWIG_fail
;
11705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11706 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11707 wxPyEndAllowThreads(__tstate
);
11708 if (PyErr_Occurred()) SWIG_fail
;
11710 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_NEW
| 0 );
11733 SWIGINTERN PyObject
*_wrap_new_PreTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11734 PyObject
*resultobj
= 0;
11735 wxTextCtrl
*result
= 0 ;
11737 if (!SWIG_Python_UnpackTuple(args
,"new_PreTextCtrl",0,0,0)) SWIG_fail
;
11739 if (!wxPyCheckForApp()) SWIG_fail
;
11740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11741 result
= (wxTextCtrl
*)new wxTextCtrl();
11742 wxPyEndAllowThreads(__tstate
);
11743 if (PyErr_Occurred()) SWIG_fail
;
11745 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_OWN
| 0 );
11752 SWIGINTERN PyObject
*_wrap_TextCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11753 PyObject
*resultobj
= 0;
11754 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11755 wxWindow
*arg2
= (wxWindow
*) 0 ;
11756 int arg3
= (int) -1 ;
11757 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11758 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11759 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11760 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11761 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11762 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11763 long arg7
= (long) 0 ;
11764 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11765 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11766 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
11767 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11775 bool temp4
= false ;
11782 bool temp9
= false ;
11783 PyObject
* obj0
= 0 ;
11784 PyObject
* obj1
= 0 ;
11785 PyObject
* obj2
= 0 ;
11786 PyObject
* obj3
= 0 ;
11787 PyObject
* obj4
= 0 ;
11788 PyObject
* obj5
= 0 ;
11789 PyObject
* obj6
= 0 ;
11790 PyObject
* obj7
= 0 ;
11791 PyObject
* obj8
= 0 ;
11792 char * kwnames
[] = {
11793 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
11797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11798 if (!SWIG_IsOK(res1
)) {
11799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11801 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11802 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11803 if (!SWIG_IsOK(res2
)) {
11804 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11806 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11808 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11809 if (!SWIG_IsOK(ecode3
)) {
11810 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11812 arg3
= static_cast< int >(val3
);
11816 arg4
= wxString_in_helper(obj3
);
11817 if (arg4
== NULL
) SWIG_fail
;
11824 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11830 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11834 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
11835 if (!SWIG_IsOK(ecode7
)) {
11836 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11838 arg7
= static_cast< long >(val7
);
11841 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
11842 if (!SWIG_IsOK(res8
)) {
11843 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11846 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11848 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
11852 arg9
= wxString_in_helper(obj8
);
11853 if (arg9
== NULL
) SWIG_fail
;
11858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11859 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11860 wxPyEndAllowThreads(__tstate
);
11861 if (PyErr_Occurred()) SWIG_fail
;
11864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11888 SWIGINTERN PyObject
*_wrap_TextCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11889 PyObject
*resultobj
= 0;
11890 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11894 PyObject
*swig_obj
[1] ;
11896 if (!args
) SWIG_fail
;
11897 swig_obj
[0] = args
;
11898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11899 if (!SWIG_IsOK(res1
)) {
11900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11902 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11905 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
11906 wxPyEndAllowThreads(__tstate
);
11907 if (PyErr_Occurred()) SWIG_fail
;
11911 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11913 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11922 SWIGINTERN PyObject
*_wrap_TextCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11923 PyObject
*resultobj
= 0;
11924 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11925 wxString
*arg2
= 0 ;
11928 bool temp2
= false ;
11929 PyObject
* obj0
= 0 ;
11930 PyObject
* obj1
= 0 ;
11931 char * kwnames
[] = {
11932 (char *) "self",(char *) "value", NULL
11935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11937 if (!SWIG_IsOK(res1
)) {
11938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11940 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11942 arg2
= wxString_in_helper(obj1
);
11943 if (arg2
== NULL
) SWIG_fail
;
11947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11948 (arg1
)->SetValue((wxString
const &)*arg2
);
11949 wxPyEndAllowThreads(__tstate
);
11950 if (PyErr_Occurred()) SWIG_fail
;
11952 resultobj
= SWIG_Py_Void();
11967 SWIGINTERN PyObject
*_wrap_TextCtrl_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11968 PyObject
*resultobj
= 0;
11969 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11979 PyObject
* obj0
= 0 ;
11980 PyObject
* obj1
= 0 ;
11981 PyObject
* obj2
= 0 ;
11982 char * kwnames
[] = {
11983 (char *) "self",(char *) "from",(char *) "to", NULL
11986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11988 if (!SWIG_IsOK(res1
)) {
11989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11991 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11992 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11993 if (!SWIG_IsOK(ecode2
)) {
11994 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
11996 arg2
= static_cast< long >(val2
);
11997 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
11998 if (!SWIG_IsOK(ecode3
)) {
11999 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
12001 arg3
= static_cast< long >(val3
);
12003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12004 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
12005 wxPyEndAllowThreads(__tstate
);
12006 if (PyErr_Occurred()) SWIG_fail
;
12010 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12012 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12021 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12022 PyObject
*resultobj
= 0;
12023 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12030 PyObject
* obj0
= 0 ;
12031 PyObject
* obj1
= 0 ;
12032 char * kwnames
[] = {
12033 (char *) "self",(char *) "lineNo", NULL
12036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12038 if (!SWIG_IsOK(res1
)) {
12039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12041 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12042 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12043 if (!SWIG_IsOK(ecode2
)) {
12044 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
12046 arg2
= static_cast< long >(val2
);
12048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12049 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
12050 wxPyEndAllowThreads(__tstate
);
12051 if (PyErr_Occurred()) SWIG_fail
;
12053 resultobj
= SWIG_From_int(static_cast< int >(result
));
12060 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12061 PyObject
*resultobj
= 0;
12062 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12069 PyObject
* obj0
= 0 ;
12070 PyObject
* obj1
= 0 ;
12071 char * kwnames
[] = {
12072 (char *) "self",(char *) "lineNo", NULL
12075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12077 if (!SWIG_IsOK(res1
)) {
12078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12080 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12081 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12082 if (!SWIG_IsOK(ecode2
)) {
12083 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
12085 arg2
= static_cast< long >(val2
);
12087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12088 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
12089 wxPyEndAllowThreads(__tstate
);
12090 if (PyErr_Occurred()) SWIG_fail
;
12094 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12096 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12105 SWIGINTERN PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12106 PyObject
*resultobj
= 0;
12107 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12111 PyObject
*swig_obj
[1] ;
12113 if (!args
) SWIG_fail
;
12114 swig_obj
[0] = args
;
12115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12116 if (!SWIG_IsOK(res1
)) {
12117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12119 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12122 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
12123 wxPyEndAllowThreads(__tstate
);
12124 if (PyErr_Occurred()) SWIG_fail
;
12126 resultobj
= SWIG_From_int(static_cast< int >(result
));
12133 SWIGINTERN PyObject
*_wrap_TextCtrl_IsModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12134 PyObject
*resultobj
= 0;
12135 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12139 PyObject
*swig_obj
[1] ;
12141 if (!args
) SWIG_fail
;
12142 swig_obj
[0] = args
;
12143 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12144 if (!SWIG_IsOK(res1
)) {
12145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12147 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12150 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
12151 wxPyEndAllowThreads(__tstate
);
12152 if (PyErr_Occurred()) SWIG_fail
;
12155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12163 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12164 PyObject
*resultobj
= 0;
12165 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12169 PyObject
*swig_obj
[1] ;
12171 if (!args
) SWIG_fail
;
12172 swig_obj
[0] = args
;
12173 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12174 if (!SWIG_IsOK(res1
)) {
12175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12177 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12180 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
12181 wxPyEndAllowThreads(__tstate
);
12182 if (PyErr_Occurred()) SWIG_fail
;
12185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12193 SWIGINTERN PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12194 PyObject
*resultobj
= 0;
12195 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12199 PyObject
*swig_obj
[1] ;
12201 if (!args
) SWIG_fail
;
12202 swig_obj
[0] = args
;
12203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12204 if (!SWIG_IsOK(res1
)) {
12205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12207 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12210 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
12211 wxPyEndAllowThreads(__tstate
);
12212 if (PyErr_Occurred()) SWIG_fail
;
12215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12223 SWIGINTERN PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12224 PyObject
*resultobj
= 0;
12225 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12229 PyObject
*swig_obj
[1] ;
12231 if (!args
) SWIG_fail
;
12232 swig_obj
[0] = args
;
12233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12234 if (!SWIG_IsOK(res1
)) {
12235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12237 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12240 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
12241 wxPyEndAllowThreads(__tstate
);
12242 if (PyErr_Occurred()) SWIG_fail
;
12245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12253 SWIGINTERN PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12254 PyObject
*resultobj
= 0;
12255 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12256 long *arg2
= (long *) 0 ;
12257 long *arg3
= (long *) 0 ;
12261 int res2
= SWIG_TMPOBJ
;
12263 int res3
= SWIG_TMPOBJ
;
12264 PyObject
*swig_obj
[1] ;
12268 if (!args
) SWIG_fail
;
12269 swig_obj
[0] = args
;
12270 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12271 if (!SWIG_IsOK(res1
)) {
12272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12274 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12277 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
12278 wxPyEndAllowThreads(__tstate
);
12279 if (PyErr_Occurred()) SWIG_fail
;
12281 resultobj
= SWIG_Py_Void();
12282 if (SWIG_IsTmpObj(res2
)) {
12283 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
12285 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12286 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
12288 if (SWIG_IsTmpObj(res3
)) {
12289 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
12291 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12292 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
12300 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12301 PyObject
*resultobj
= 0;
12302 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12306 PyObject
*swig_obj
[1] ;
12308 if (!args
) SWIG_fail
;
12309 swig_obj
[0] = args
;
12310 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12311 if (!SWIG_IsOK(res1
)) {
12312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12314 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12317 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
12318 wxPyEndAllowThreads(__tstate
);
12319 if (PyErr_Occurred()) SWIG_fail
;
12323 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12325 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12334 SWIGINTERN PyObject
*_wrap_TextCtrl_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12335 PyObject
*resultobj
= 0;
12336 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12339 PyObject
*swig_obj
[1] ;
12341 if (!args
) SWIG_fail
;
12342 swig_obj
[0] = args
;
12343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12344 if (!SWIG_IsOK(res1
)) {
12345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12347 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12351 wxPyEndAllowThreads(__tstate
);
12352 if (PyErr_Occurred()) SWIG_fail
;
12354 resultobj
= SWIG_Py_Void();
12361 SWIGINTERN PyObject
*_wrap_TextCtrl_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12362 PyObject
*resultobj
= 0;
12363 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12366 wxString
*arg4
= 0 ;
12373 bool temp4
= false ;
12374 PyObject
* obj0
= 0 ;
12375 PyObject
* obj1
= 0 ;
12376 PyObject
* obj2
= 0 ;
12377 PyObject
* obj3
= 0 ;
12378 char * kwnames
[] = {
12379 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
12382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12384 if (!SWIG_IsOK(res1
)) {
12385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12387 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12388 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12389 if (!SWIG_IsOK(ecode2
)) {
12390 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12392 arg2
= static_cast< long >(val2
);
12393 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12394 if (!SWIG_IsOK(ecode3
)) {
12395 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12397 arg3
= static_cast< long >(val3
);
12399 arg4
= wxString_in_helper(obj3
);
12400 if (arg4
== NULL
) SWIG_fail
;
12404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12405 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
12406 wxPyEndAllowThreads(__tstate
);
12407 if (PyErr_Occurred()) SWIG_fail
;
12409 resultobj
= SWIG_Py_Void();
12424 SWIGINTERN PyObject
*_wrap_TextCtrl_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12425 PyObject
*resultobj
= 0;
12426 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12435 PyObject
* obj0
= 0 ;
12436 PyObject
* obj1
= 0 ;
12437 PyObject
* obj2
= 0 ;
12438 char * kwnames
[] = {
12439 (char *) "self",(char *) "from",(char *) "to", NULL
12442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12444 if (!SWIG_IsOK(res1
)) {
12445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12447 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12448 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12449 if (!SWIG_IsOK(ecode2
)) {
12450 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12452 arg2
= static_cast< long >(val2
);
12453 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12454 if (!SWIG_IsOK(ecode3
)) {
12455 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12457 arg3
= static_cast< long >(val3
);
12459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12460 (arg1
)->Remove(arg2
,arg3
);
12461 wxPyEndAllowThreads(__tstate
);
12462 if (PyErr_Occurred()) SWIG_fail
;
12464 resultobj
= SWIG_Py_Void();
12471 SWIGINTERN PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12472 PyObject
*resultobj
= 0;
12473 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12474 wxString
*arg2
= 0 ;
12478 bool temp2
= false ;
12479 PyObject
* obj0
= 0 ;
12480 PyObject
* obj1
= 0 ;
12481 char * kwnames
[] = {
12482 (char *) "self",(char *) "file", NULL
12485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12487 if (!SWIG_IsOK(res1
)) {
12488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12490 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12492 arg2
= wxString_in_helper(obj1
);
12493 if (arg2
== NULL
) SWIG_fail
;
12497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12498 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
12499 wxPyEndAllowThreads(__tstate
);
12500 if (PyErr_Occurred()) SWIG_fail
;
12503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12519 SWIGINTERN PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12520 PyObject
*resultobj
= 0;
12521 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12522 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12523 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12527 bool temp2
= false ;
12528 PyObject
* obj0
= 0 ;
12529 PyObject
* obj1
= 0 ;
12530 char * kwnames
[] = {
12531 (char *) "self",(char *) "file", NULL
12534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12536 if (!SWIG_IsOK(res1
)) {
12537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12539 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12542 arg2
= wxString_in_helper(obj1
);
12543 if (arg2
== NULL
) SWIG_fail
;
12548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12549 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
12550 wxPyEndAllowThreads(__tstate
);
12551 if (PyErr_Occurred()) SWIG_fail
;
12554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12570 SWIGINTERN PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12571 PyObject
*resultobj
= 0;
12572 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12575 PyObject
*swig_obj
[1] ;
12577 if (!args
) SWIG_fail
;
12578 swig_obj
[0] = args
;
12579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12580 if (!SWIG_IsOK(res1
)) {
12581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12583 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12586 (arg1
)->MarkDirty();
12587 wxPyEndAllowThreads(__tstate
);
12588 if (PyErr_Occurred()) SWIG_fail
;
12590 resultobj
= SWIG_Py_Void();
12597 SWIGINTERN PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12598 PyObject
*resultobj
= 0;
12599 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12602 PyObject
*swig_obj
[1] ;
12604 if (!args
) SWIG_fail
;
12605 swig_obj
[0] = args
;
12606 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12607 if (!SWIG_IsOK(res1
)) {
12608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12610 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12613 (arg1
)->DiscardEdits();
12614 wxPyEndAllowThreads(__tstate
);
12615 if (PyErr_Occurred()) SWIG_fail
;
12617 resultobj
= SWIG_Py_Void();
12624 SWIGINTERN PyObject
*_wrap_TextCtrl_SetModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12625 PyObject
*resultobj
= 0;
12626 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12632 PyObject
* obj0
= 0 ;
12633 PyObject
* obj1
= 0 ;
12634 char * kwnames
[] = {
12635 (char *) "self",(char *) "modified", NULL
12638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetModified",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12640 if (!SWIG_IsOK(res1
)) {
12641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetModified" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12643 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12644 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12645 if (!SWIG_IsOK(ecode2
)) {
12646 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetModified" "', expected argument " "2"" of type '" "bool""'");
12648 arg2
= static_cast< bool >(val2
);
12650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12651 (arg1
)->SetModified(arg2
);
12652 wxPyEndAllowThreads(__tstate
);
12653 if (PyErr_Occurred()) SWIG_fail
;
12655 resultobj
= SWIG_Py_Void();
12662 SWIGINTERN PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12663 PyObject
*resultobj
= 0;
12664 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12665 unsigned long arg2
;
12668 unsigned long val2
;
12670 PyObject
* obj0
= 0 ;
12671 PyObject
* obj1
= 0 ;
12672 char * kwnames
[] = {
12673 (char *) "self",(char *) "len", NULL
12676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12678 if (!SWIG_IsOK(res1
)) {
12679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12681 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12682 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
12683 if (!SWIG_IsOK(ecode2
)) {
12684 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12686 arg2
= static_cast< unsigned long >(val2
);
12688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12689 (arg1
)->SetMaxLength(arg2
);
12690 wxPyEndAllowThreads(__tstate
);
12691 if (PyErr_Occurred()) SWIG_fail
;
12693 resultobj
= SWIG_Py_Void();
12700 SWIGINTERN PyObject
*_wrap_TextCtrl_WriteText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12701 PyObject
*resultobj
= 0;
12702 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12703 wxString
*arg2
= 0 ;
12706 bool temp2
= false ;
12707 PyObject
* obj0
= 0 ;
12708 PyObject
* obj1
= 0 ;
12709 char * kwnames
[] = {
12710 (char *) "self",(char *) "text", NULL
12713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12715 if (!SWIG_IsOK(res1
)) {
12716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12718 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12720 arg2
= wxString_in_helper(obj1
);
12721 if (arg2
== NULL
) SWIG_fail
;
12725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12726 (arg1
)->WriteText((wxString
const &)*arg2
);
12727 wxPyEndAllowThreads(__tstate
);
12728 if (PyErr_Occurred()) SWIG_fail
;
12730 resultobj
= SWIG_Py_Void();
12745 SWIGINTERN PyObject
*_wrap_TextCtrl_AppendText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12746 PyObject
*resultobj
= 0;
12747 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12748 wxString
*arg2
= 0 ;
12751 bool temp2
= false ;
12752 PyObject
* obj0
= 0 ;
12753 PyObject
* obj1
= 0 ;
12754 char * kwnames
[] = {
12755 (char *) "self",(char *) "text", NULL
12758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12760 if (!SWIG_IsOK(res1
)) {
12761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12763 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12765 arg2
= wxString_in_helper(obj1
);
12766 if (arg2
== NULL
) SWIG_fail
;
12770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12771 (arg1
)->AppendText((wxString
const &)*arg2
);
12772 wxPyEndAllowThreads(__tstate
);
12773 if (PyErr_Occurred()) SWIG_fail
;
12775 resultobj
= SWIG_Py_Void();
12790 SWIGINTERN PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12791 PyObject
*resultobj
= 0;
12792 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12793 wxKeyEvent
*arg2
= 0 ;
12799 PyObject
* obj0
= 0 ;
12800 PyObject
* obj1
= 0 ;
12801 char * kwnames
[] = {
12802 (char *) "self",(char *) "event", NULL
12805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12807 if (!SWIG_IsOK(res1
)) {
12808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12810 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12811 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
12812 if (!SWIG_IsOK(res2
)) {
12813 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12816 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12818 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
12820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12821 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
12822 wxPyEndAllowThreads(__tstate
);
12823 if (PyErr_Occurred()) SWIG_fail
;
12826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12834 SWIGINTERN PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12835 PyObject
*resultobj
= 0;
12836 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12839 wxTextAttr
*arg4
= 0 ;
12849 PyObject
* obj0
= 0 ;
12850 PyObject
* obj1
= 0 ;
12851 PyObject
* obj2
= 0 ;
12852 PyObject
* obj3
= 0 ;
12853 char * kwnames
[] = {
12854 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
12857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12859 if (!SWIG_IsOK(res1
)) {
12860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12862 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12863 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12864 if (!SWIG_IsOK(ecode2
)) {
12865 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
12867 arg2
= static_cast< long >(val2
);
12868 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12869 if (!SWIG_IsOK(ecode3
)) {
12870 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
12872 arg3
= static_cast< long >(val3
);
12873 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12874 if (!SWIG_IsOK(res4
)) {
12875 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12878 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12880 arg4
= reinterpret_cast< wxTextAttr
* >(argp4
);
12882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12883 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
12884 wxPyEndAllowThreads(__tstate
);
12885 if (PyErr_Occurred()) SWIG_fail
;
12888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12896 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12897 PyObject
*resultobj
= 0;
12898 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12900 wxTextAttr
*arg3
= 0 ;
12908 PyObject
* obj0
= 0 ;
12909 PyObject
* obj1
= 0 ;
12910 PyObject
* obj2
= 0 ;
12911 char * kwnames
[] = {
12912 (char *) "self",(char *) "position",(char *) "style", NULL
12915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12917 if (!SWIG_IsOK(res1
)) {
12918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12920 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12921 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12922 if (!SWIG_IsOK(ecode2
)) {
12923 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
12925 arg2
= static_cast< long >(val2
);
12926 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTextAttr
, 0 );
12927 if (!SWIG_IsOK(res3
)) {
12928 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12931 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12933 arg3
= reinterpret_cast< wxTextAttr
* >(argp3
);
12935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12936 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
12937 wxPyEndAllowThreads(__tstate
);
12938 if (PyErr_Occurred()) SWIG_fail
;
12941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12949 SWIGINTERN PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12950 PyObject
*resultobj
= 0;
12951 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12952 wxTextAttr
*arg2
= 0 ;
12958 PyObject
* obj0
= 0 ;
12959 PyObject
* obj1
= 0 ;
12960 char * kwnames
[] = {
12961 (char *) "self",(char *) "style", NULL
12964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12966 if (!SWIG_IsOK(res1
)) {
12967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12969 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12970 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12971 if (!SWIG_IsOK(res2
)) {
12972 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12975 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12977 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
12979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12980 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
12981 wxPyEndAllowThreads(__tstate
);
12982 if (PyErr_Occurred()) SWIG_fail
;
12985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12993 SWIGINTERN PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12994 PyObject
*resultobj
= 0;
12995 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12996 wxTextAttr
*result
= 0 ;
12999 PyObject
*swig_obj
[1] ;
13001 if (!args
) SWIG_fail
;
13002 swig_obj
[0] = args
;
13003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13004 if (!SWIG_IsOK(res1
)) {
13005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13007 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13011 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
13012 result
= (wxTextAttr
*) &_result_ref
;
13014 wxPyEndAllowThreads(__tstate
);
13015 if (PyErr_Occurred()) SWIG_fail
;
13017 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, 0 | 0 );
13024 SWIGINTERN PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13025 PyObject
*resultobj
= 0;
13026 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13036 PyObject
* obj0
= 0 ;
13037 PyObject
* obj1
= 0 ;
13038 PyObject
* obj2
= 0 ;
13039 char * kwnames
[] = {
13040 (char *) "self",(char *) "x",(char *) "y", NULL
13043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13045 if (!SWIG_IsOK(res1
)) {
13046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13048 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13049 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13050 if (!SWIG_IsOK(ecode2
)) {
13051 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
13053 arg2
= static_cast< long >(val2
);
13054 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13055 if (!SWIG_IsOK(ecode3
)) {
13056 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
13058 arg3
= static_cast< long >(val3
);
13060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13061 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
13062 wxPyEndAllowThreads(__tstate
);
13063 if (PyErr_Occurred()) SWIG_fail
;
13065 resultobj
= SWIG_From_long(static_cast< long >(result
));
13072 SWIGINTERN PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13073 PyObject
*resultobj
= 0;
13074 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13076 long *arg3
= (long *) 0 ;
13077 long *arg4
= (long *) 0 ;
13083 int res3
= SWIG_TMPOBJ
;
13085 int res4
= SWIG_TMPOBJ
;
13086 PyObject
* obj0
= 0 ;
13087 PyObject
* obj1
= 0 ;
13088 char * kwnames
[] = {
13089 (char *) "self",(char *) "pos", NULL
13094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13096 if (!SWIG_IsOK(res1
)) {
13097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13099 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13100 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13101 if (!SWIG_IsOK(ecode2
)) {
13102 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
13104 arg2
= static_cast< long >(val2
);
13106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13107 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
13108 wxPyEndAllowThreads(__tstate
);
13109 if (PyErr_Occurred()) SWIG_fail
;
13111 resultobj
= SWIG_Py_Void();
13112 if (SWIG_IsTmpObj(res3
)) {
13113 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13115 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13116 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13118 if (SWIG_IsTmpObj(res4
)) {
13119 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13121 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13122 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13130 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13131 PyObject
*resultobj
= 0;
13132 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13138 PyObject
* obj0
= 0 ;
13139 PyObject
* obj1
= 0 ;
13140 char * kwnames
[] = {
13141 (char *) "self",(char *) "pos", NULL
13144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13146 if (!SWIG_IsOK(res1
)) {
13147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13149 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13150 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13151 if (!SWIG_IsOK(ecode2
)) {
13152 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
13154 arg2
= static_cast< long >(val2
);
13156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13157 (arg1
)->ShowPosition(arg2
);
13158 wxPyEndAllowThreads(__tstate
);
13159 if (PyErr_Occurred()) SWIG_fail
;
13161 resultobj
= SWIG_Py_Void();
13168 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13169 PyObject
*resultobj
= 0;
13170 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13171 wxPoint
*arg2
= 0 ;
13172 long *arg3
= (long *) 0 ;
13173 long *arg4
= (long *) 0 ;
13174 wxTextCtrlHitTestResult result
;
13179 int res3
= SWIG_TMPOBJ
;
13181 int res4
= SWIG_TMPOBJ
;
13182 PyObject
* obj0
= 0 ;
13183 PyObject
* obj1
= 0 ;
13184 char * kwnames
[] = {
13185 (char *) "self",(char *) "pt", NULL
13190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13191 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13192 if (!SWIG_IsOK(res1
)) {
13193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13195 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13198 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13202 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
13203 wxPyEndAllowThreads(__tstate
);
13204 if (PyErr_Occurred()) SWIG_fail
;
13206 resultobj
= SWIG_From_int(static_cast< int >(result
));
13207 if (SWIG_IsTmpObj(res3
)) {
13208 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13210 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13211 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13213 if (SWIG_IsTmpObj(res4
)) {
13214 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13216 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13217 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13225 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13226 PyObject
*resultobj
= 0;
13227 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13228 wxPoint
*arg2
= 0 ;
13229 long *arg3
= (long *) 0 ;
13230 wxTextCtrlHitTestResult result
;
13235 int res3
= SWIG_TMPOBJ
;
13236 PyObject
* obj0
= 0 ;
13237 PyObject
* obj1
= 0 ;
13238 char * kwnames
[] = {
13239 (char *) "self",(char *) "pt", NULL
13243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13245 if (!SWIG_IsOK(res1
)) {
13246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13248 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13251 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13255 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
13256 wxPyEndAllowThreads(__tstate
);
13257 if (PyErr_Occurred()) SWIG_fail
;
13259 resultobj
= SWIG_From_int(static_cast< int >(result
));
13260 if (SWIG_IsTmpObj(res3
)) {
13261 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13263 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13264 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13272 SWIGINTERN PyObject
*_wrap_TextCtrl_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13273 PyObject
*resultobj
= 0;
13274 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13277 PyObject
*swig_obj
[1] ;
13279 if (!args
) SWIG_fail
;
13280 swig_obj
[0] = args
;
13281 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13282 if (!SWIG_IsOK(res1
)) {
13283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13285 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13289 wxPyEndAllowThreads(__tstate
);
13290 if (PyErr_Occurred()) SWIG_fail
;
13292 resultobj
= SWIG_Py_Void();
13299 SWIGINTERN PyObject
*_wrap_TextCtrl_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13300 PyObject
*resultobj
= 0;
13301 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13304 PyObject
*swig_obj
[1] ;
13306 if (!args
) SWIG_fail
;
13307 swig_obj
[0] = args
;
13308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13309 if (!SWIG_IsOK(res1
)) {
13310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13312 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13316 wxPyEndAllowThreads(__tstate
);
13317 if (PyErr_Occurred()) SWIG_fail
;
13319 resultobj
= SWIG_Py_Void();
13326 SWIGINTERN PyObject
*_wrap_TextCtrl_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13327 PyObject
*resultobj
= 0;
13328 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13331 PyObject
*swig_obj
[1] ;
13333 if (!args
) SWIG_fail
;
13334 swig_obj
[0] = args
;
13335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13336 if (!SWIG_IsOK(res1
)) {
13337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13339 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13343 wxPyEndAllowThreads(__tstate
);
13344 if (PyErr_Occurred()) SWIG_fail
;
13346 resultobj
= SWIG_Py_Void();
13353 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13354 PyObject
*resultobj
= 0;
13355 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13359 PyObject
*swig_obj
[1] ;
13361 if (!args
) SWIG_fail
;
13362 swig_obj
[0] = args
;
13363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13364 if (!SWIG_IsOK(res1
)) {
13365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13367 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13370 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
13371 wxPyEndAllowThreads(__tstate
);
13372 if (PyErr_Occurred()) SWIG_fail
;
13375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13383 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13384 PyObject
*resultobj
= 0;
13385 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13389 PyObject
*swig_obj
[1] ;
13391 if (!args
) SWIG_fail
;
13392 swig_obj
[0] = args
;
13393 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13394 if (!SWIG_IsOK(res1
)) {
13395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13397 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13400 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
13401 wxPyEndAllowThreads(__tstate
);
13402 if (PyErr_Occurred()) SWIG_fail
;
13405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13413 SWIGINTERN PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13414 PyObject
*resultobj
= 0;
13415 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13419 PyObject
*swig_obj
[1] ;
13421 if (!args
) SWIG_fail
;
13422 swig_obj
[0] = args
;
13423 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13424 if (!SWIG_IsOK(res1
)) {
13425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13427 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13430 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
13431 wxPyEndAllowThreads(__tstate
);
13432 if (PyErr_Occurred()) SWIG_fail
;
13435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13443 SWIGINTERN PyObject
*_wrap_TextCtrl_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13444 PyObject
*resultobj
= 0;
13445 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13448 PyObject
*swig_obj
[1] ;
13450 if (!args
) SWIG_fail
;
13451 swig_obj
[0] = args
;
13452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13453 if (!SWIG_IsOK(res1
)) {
13454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13456 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13460 wxPyEndAllowThreads(__tstate
);
13461 if (PyErr_Occurred()) SWIG_fail
;
13463 resultobj
= SWIG_Py_Void();
13470 SWIGINTERN PyObject
*_wrap_TextCtrl_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13471 PyObject
*resultobj
= 0;
13472 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13475 PyObject
*swig_obj
[1] ;
13477 if (!args
) SWIG_fail
;
13478 swig_obj
[0] = args
;
13479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13480 if (!SWIG_IsOK(res1
)) {
13481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13483 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13487 wxPyEndAllowThreads(__tstate
);
13488 if (PyErr_Occurred()) SWIG_fail
;
13490 resultobj
= SWIG_Py_Void();
13497 SWIGINTERN PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13498 PyObject
*resultobj
= 0;
13499 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13503 PyObject
*swig_obj
[1] ;
13505 if (!args
) SWIG_fail
;
13506 swig_obj
[0] = args
;
13507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13508 if (!SWIG_IsOK(res1
)) {
13509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13511 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13514 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
13515 wxPyEndAllowThreads(__tstate
);
13516 if (PyErr_Occurred()) SWIG_fail
;
13519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13527 SWIGINTERN PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13528 PyObject
*resultobj
= 0;
13529 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13533 PyObject
*swig_obj
[1] ;
13535 if (!args
) SWIG_fail
;
13536 swig_obj
[0] = args
;
13537 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13538 if (!SWIG_IsOK(res1
)) {
13539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13541 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13544 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
13545 wxPyEndAllowThreads(__tstate
);
13546 if (PyErr_Occurred()) SWIG_fail
;
13549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13557 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13558 PyObject
*resultobj
= 0;
13559 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13565 PyObject
* obj0
= 0 ;
13566 PyObject
* obj1
= 0 ;
13567 char * kwnames
[] = {
13568 (char *) "self",(char *) "pos", NULL
13571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13573 if (!SWIG_IsOK(res1
)) {
13574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13576 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13577 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13578 if (!SWIG_IsOK(ecode2
)) {
13579 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13581 arg2
= static_cast< long >(val2
);
13583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13584 (arg1
)->SetInsertionPoint(arg2
);
13585 wxPyEndAllowThreads(__tstate
);
13586 if (PyErr_Occurred()) SWIG_fail
;
13588 resultobj
= SWIG_Py_Void();
13595 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13596 PyObject
*resultobj
= 0;
13597 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13600 PyObject
*swig_obj
[1] ;
13602 if (!args
) SWIG_fail
;
13603 swig_obj
[0] = args
;
13604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13605 if (!SWIG_IsOK(res1
)) {
13606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13608 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13611 (arg1
)->SetInsertionPointEnd();
13612 wxPyEndAllowThreads(__tstate
);
13613 if (PyErr_Occurred()) SWIG_fail
;
13615 resultobj
= SWIG_Py_Void();
13622 SWIGINTERN PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13623 PyObject
*resultobj
= 0;
13624 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13628 PyObject
*swig_obj
[1] ;
13630 if (!args
) SWIG_fail
;
13631 swig_obj
[0] = args
;
13632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13633 if (!SWIG_IsOK(res1
)) {
13634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13636 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13639 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
13640 wxPyEndAllowThreads(__tstate
);
13641 if (PyErr_Occurred()) SWIG_fail
;
13643 resultobj
= SWIG_From_long(static_cast< long >(result
));
13650 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13651 PyObject
*resultobj
= 0;
13652 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13656 PyObject
*swig_obj
[1] ;
13658 if (!args
) SWIG_fail
;
13659 swig_obj
[0] = args
;
13660 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13661 if (!SWIG_IsOK(res1
)) {
13662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13664 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13667 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
13668 wxPyEndAllowThreads(__tstate
);
13669 if (PyErr_Occurred()) SWIG_fail
;
13671 resultobj
= SWIG_From_long(static_cast< long >(result
));
13678 SWIGINTERN PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13679 PyObject
*resultobj
= 0;
13680 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13689 PyObject
* obj0
= 0 ;
13690 PyObject
* obj1
= 0 ;
13691 PyObject
* obj2
= 0 ;
13692 char * kwnames
[] = {
13693 (char *) "self",(char *) "from",(char *) "to", NULL
13696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13698 if (!SWIG_IsOK(res1
)) {
13699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13701 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13702 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13703 if (!SWIG_IsOK(ecode2
)) {
13704 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13706 arg2
= static_cast< long >(val2
);
13707 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13708 if (!SWIG_IsOK(ecode3
)) {
13709 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13711 arg3
= static_cast< long >(val3
);
13713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13714 (arg1
)->SetSelection(arg2
,arg3
);
13715 wxPyEndAllowThreads(__tstate
);
13716 if (PyErr_Occurred()) SWIG_fail
;
13718 resultobj
= SWIG_Py_Void();
13725 SWIGINTERN PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13726 PyObject
*resultobj
= 0;
13727 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13730 PyObject
*swig_obj
[1] ;
13732 if (!args
) SWIG_fail
;
13733 swig_obj
[0] = args
;
13734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13735 if (!SWIG_IsOK(res1
)) {
13736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13738 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13741 (arg1
)->SelectAll();
13742 wxPyEndAllowThreads(__tstate
);
13743 if (PyErr_Occurred()) SWIG_fail
;
13745 resultobj
= SWIG_Py_Void();
13752 SWIGINTERN PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13753 PyObject
*resultobj
= 0;
13754 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13760 PyObject
* obj0
= 0 ;
13761 PyObject
* obj1
= 0 ;
13762 char * kwnames
[] = {
13763 (char *) "self",(char *) "editable", NULL
13766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13768 if (!SWIG_IsOK(res1
)) {
13769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13771 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13772 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13773 if (!SWIG_IsOK(ecode2
)) {
13774 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
13776 arg2
= static_cast< bool >(val2
);
13778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13779 (arg1
)->SetEditable(arg2
);
13780 wxPyEndAllowThreads(__tstate
);
13781 if (PyErr_Occurred()) SWIG_fail
;
13783 resultobj
= SWIG_Py_Void();
13790 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowNativeCaret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13791 PyObject
*resultobj
= 0;
13792 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13793 bool arg2
= (bool) true ;
13799 PyObject
* obj0
= 0 ;
13800 PyObject
* obj1
= 0 ;
13801 char * kwnames
[] = {
13802 (char *) "self",(char *) "show", NULL
13805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13807 if (!SWIG_IsOK(res1
)) {
13808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowNativeCaret" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13810 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13812 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13813 if (!SWIG_IsOK(ecode2
)) {
13814 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowNativeCaret" "', expected argument " "2"" of type '" "bool""'");
13816 arg2
= static_cast< bool >(val2
);
13819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13820 result
= (bool)(arg1
)->ShowNativeCaret(arg2
);
13821 wxPyEndAllowThreads(__tstate
);
13822 if (PyErr_Occurred()) SWIG_fail
;
13825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13833 SWIGINTERN PyObject
*_wrap_TextCtrl_HideNativeCaret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13834 PyObject
*resultobj
= 0;
13835 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13839 PyObject
*swig_obj
[1] ;
13841 if (!args
) SWIG_fail
;
13842 swig_obj
[0] = args
;
13843 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13844 if (!SWIG_IsOK(res1
)) {
13845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HideNativeCaret" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13847 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13850 result
= (bool)(arg1
)->HideNativeCaret();
13851 wxPyEndAllowThreads(__tstate
);
13852 if (PyErr_Occurred()) SWIG_fail
;
13855 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13863 SWIGINTERN PyObject
*_wrap_TextCtrl_write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13864 PyObject
*resultobj
= 0;
13865 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13866 wxString
*arg2
= 0 ;
13869 bool temp2
= false ;
13870 PyObject
* obj0
= 0 ;
13871 PyObject
* obj1
= 0 ;
13872 char * kwnames
[] = {
13873 (char *) "self",(char *) "text", NULL
13876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13878 if (!SWIG_IsOK(res1
)) {
13879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13881 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13883 arg2
= wxString_in_helper(obj1
);
13884 if (arg2
== NULL
) SWIG_fail
;
13888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13889 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
13890 wxPyEndAllowThreads(__tstate
);
13891 if (PyErr_Occurred()) SWIG_fail
;
13893 resultobj
= SWIG_Py_Void();
13908 SWIGINTERN PyObject
*_wrap_TextCtrl_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13909 PyObject
*resultobj
= 0;
13910 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13920 PyObject
* obj0
= 0 ;
13921 PyObject
* obj1
= 0 ;
13922 PyObject
* obj2
= 0 ;
13923 char * kwnames
[] = {
13924 (char *) "self",(char *) "from",(char *) "to", NULL
13927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13929 if (!SWIG_IsOK(res1
)) {
13930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13932 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13933 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13934 if (!SWIG_IsOK(ecode2
)) {
13935 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
13937 arg2
= static_cast< long >(val2
);
13938 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13939 if (!SWIG_IsOK(ecode3
)) {
13940 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
13942 arg3
= static_cast< long >(val3
);
13944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13945 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
13946 wxPyEndAllowThreads(__tstate
);
13947 if (PyErr_Occurred()) SWIG_fail
;
13951 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13953 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13962 SWIGINTERN PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13963 PyObject
*resultobj
= 0;
13964 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13965 SwigValueWrapper
<wxVisualAttributes
> result
;
13968 PyObject
* obj0
= 0 ;
13969 char * kwnames
[] = {
13970 (char *) "variant", NULL
13973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
13975 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13976 if (!SWIG_IsOK(ecode1
)) {
13977 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
13979 arg1
= static_cast< wxWindowVariant
>(val1
);
13982 if (!wxPyCheckForApp()) SWIG_fail
;
13983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13984 result
= wxTextCtrl::GetClassDefaultAttributes(arg1
);
13985 wxPyEndAllowThreads(__tstate
);
13986 if (PyErr_Occurred()) SWIG_fail
;
13988 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
13995 SWIGINTERN PyObject
*TextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13997 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13998 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl
, SWIG_NewClientData(obj
));
13999 return SWIG_Py_Void();
14002 SWIGINTERN PyObject
*TextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14003 return SWIG_Python_InitShadowInstance(args
);
14006 SWIGINTERN PyObject
*_wrap_new_TextUrlEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14007 PyObject
*resultobj
= 0;
14009 wxMouseEvent
*arg2
= 0 ;
14012 wxTextUrlEvent
*result
= 0 ;
14021 PyObject
* obj0
= 0 ;
14022 PyObject
* obj1
= 0 ;
14023 PyObject
* obj2
= 0 ;
14024 PyObject
* obj3
= 0 ;
14025 char * kwnames
[] = {
14026 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
14029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14030 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14031 if (!SWIG_IsOK(ecode1
)) {
14032 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
14034 arg1
= static_cast< int >(val1
);
14035 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
14036 if (!SWIG_IsOK(res2
)) {
14037 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14040 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14042 arg2
= reinterpret_cast< wxMouseEvent
* >(argp2
);
14043 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
14044 if (!SWIG_IsOK(ecode3
)) {
14045 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
14047 arg3
= static_cast< long >(val3
);
14048 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
14049 if (!SWIG_IsOK(ecode4
)) {
14050 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
14052 arg4
= static_cast< long >(val4
);
14054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14055 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
14056 wxPyEndAllowThreads(__tstate
);
14057 if (PyErr_Occurred()) SWIG_fail
;
14059 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_NEW
| 0 );
14066 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14067 PyObject
*resultobj
= 0;
14068 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14069 wxMouseEvent
*result
= 0 ;
14072 PyObject
*swig_obj
[1] ;
14074 if (!args
) SWIG_fail
;
14075 swig_obj
[0] = args
;
14076 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14077 if (!SWIG_IsOK(res1
)) {
14078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
14080 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14084 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
14085 result
= (wxMouseEvent
*) &_result_ref
;
14087 wxPyEndAllowThreads(__tstate
);
14088 if (PyErr_Occurred()) SWIG_fail
;
14090 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
14097 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14098 PyObject
*resultobj
= 0;
14099 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14103 PyObject
*swig_obj
[1] ;
14105 if (!args
) SWIG_fail
;
14106 swig_obj
[0] = args
;
14107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14108 if (!SWIG_IsOK(res1
)) {
14109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14111 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14114 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
14115 wxPyEndAllowThreads(__tstate
);
14116 if (PyErr_Occurred()) SWIG_fail
;
14118 resultobj
= SWIG_From_long(static_cast< long >(result
));
14125 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14126 PyObject
*resultobj
= 0;
14127 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14131 PyObject
*swig_obj
[1] ;
14133 if (!args
) SWIG_fail
;
14134 swig_obj
[0] = args
;
14135 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14136 if (!SWIG_IsOK(res1
)) {
14137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14139 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14142 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
14143 wxPyEndAllowThreads(__tstate
);
14144 if (PyErr_Occurred()) SWIG_fail
;
14146 resultobj
= SWIG_From_long(static_cast< long >(result
));
14153 SWIGINTERN PyObject
*TextUrlEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14155 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14156 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent
, SWIG_NewClientData(obj
));
14157 return SWIG_Py_Void();
14160 SWIGINTERN PyObject
*TextUrlEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14161 return SWIG_Python_InitShadowInstance(args
);
14164 SWIGINTERN
int ScrollBarNameStr_set(PyObject
*) {
14165 SWIG_Error(SWIG_AttributeError
,"Variable ScrollBarNameStr is read-only.");
14170 SWIGINTERN PyObject
*ScrollBarNameStr_get(void) {
14171 PyObject
*pyobj
= 0;
14175 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14177 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14184 SWIGINTERN PyObject
*_wrap_new_ScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14185 PyObject
*resultobj
= 0;
14186 wxWindow
*arg1
= (wxWindow
*) 0 ;
14187 int arg2
= (int) -1 ;
14188 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14189 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14190 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14191 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14192 long arg5
= (long) wxSB_HORIZONTAL
;
14193 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
14194 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
14195 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
14196 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14197 wxScrollBar
*result
= 0 ;
14208 bool temp7
= false ;
14209 PyObject
* obj0
= 0 ;
14210 PyObject
* obj1
= 0 ;
14211 PyObject
* obj2
= 0 ;
14212 PyObject
* obj3
= 0 ;
14213 PyObject
* obj4
= 0 ;
14214 PyObject
* obj5
= 0 ;
14215 PyObject
* obj6
= 0 ;
14216 char * kwnames
[] = {
14217 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14222 if (!SWIG_IsOK(res1
)) {
14223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
14225 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14227 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14228 if (!SWIG_IsOK(ecode2
)) {
14229 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
14231 arg2
= static_cast< int >(val2
);
14236 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14242 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14246 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14247 if (!SWIG_IsOK(ecode5
)) {
14248 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14250 arg5
= static_cast< long >(val5
);
14253 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
14254 if (!SWIG_IsOK(res6
)) {
14255 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14258 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14260 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
14264 arg7
= wxString_in_helper(obj6
);
14265 if (arg7
== NULL
) SWIG_fail
;
14270 if (!wxPyCheckForApp()) SWIG_fail
;
14271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14272 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
14273 wxPyEndAllowThreads(__tstate
);
14274 if (PyErr_Occurred()) SWIG_fail
;
14276 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_NEW
| 0 );
14291 SWIGINTERN PyObject
*_wrap_new_PreScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14292 PyObject
*resultobj
= 0;
14293 wxScrollBar
*result
= 0 ;
14295 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrollBar",0,0,0)) SWIG_fail
;
14297 if (!wxPyCheckForApp()) SWIG_fail
;
14298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14299 result
= (wxScrollBar
*)new wxScrollBar();
14300 wxPyEndAllowThreads(__tstate
);
14301 if (PyErr_Occurred()) SWIG_fail
;
14303 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_OWN
| 0 );
14310 SWIGINTERN PyObject
*_wrap_ScrollBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14311 PyObject
*resultobj
= 0;
14312 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14313 wxWindow
*arg2
= (wxWindow
*) 0 ;
14314 int arg3
= (int) -1 ;
14315 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14316 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14317 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14318 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14319 long arg6
= (long) wxSB_HORIZONTAL
;
14320 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14321 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14322 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
14323 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14337 bool temp8
= false ;
14338 PyObject
* obj0
= 0 ;
14339 PyObject
* obj1
= 0 ;
14340 PyObject
* obj2
= 0 ;
14341 PyObject
* obj3
= 0 ;
14342 PyObject
* obj4
= 0 ;
14343 PyObject
* obj5
= 0 ;
14344 PyObject
* obj6
= 0 ;
14345 PyObject
* obj7
= 0 ;
14346 char * kwnames
[] = {
14347 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
14351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14352 if (!SWIG_IsOK(res1
)) {
14353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14355 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14356 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14357 if (!SWIG_IsOK(res2
)) {
14358 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14360 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14362 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14363 if (!SWIG_IsOK(ecode3
)) {
14364 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14366 arg3
= static_cast< int >(val3
);
14371 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14377 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14381 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14382 if (!SWIG_IsOK(ecode6
)) {
14383 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14385 arg6
= static_cast< long >(val6
);
14388 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
14389 if (!SWIG_IsOK(res7
)) {
14390 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14393 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14395 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
14399 arg8
= wxString_in_helper(obj7
);
14400 if (arg8
== NULL
) SWIG_fail
;
14405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14406 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14407 wxPyEndAllowThreads(__tstate
);
14408 if (PyErr_Occurred()) SWIG_fail
;
14411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14427 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14428 PyObject
*resultobj
= 0;
14429 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14433 PyObject
*swig_obj
[1] ;
14435 if (!args
) SWIG_fail
;
14436 swig_obj
[0] = args
;
14437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14438 if (!SWIG_IsOK(res1
)) {
14439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14441 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14444 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
14445 wxPyEndAllowThreads(__tstate
);
14446 if (PyErr_Occurred()) SWIG_fail
;
14448 resultobj
= SWIG_From_int(static_cast< int >(result
));
14455 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14456 PyObject
*resultobj
= 0;
14457 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14461 PyObject
*swig_obj
[1] ;
14463 if (!args
) SWIG_fail
;
14464 swig_obj
[0] = args
;
14465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14466 if (!SWIG_IsOK(res1
)) {
14467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14469 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14472 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
14473 wxPyEndAllowThreads(__tstate
);
14474 if (PyErr_Occurred()) SWIG_fail
;
14476 resultobj
= SWIG_From_int(static_cast< int >(result
));
14483 SWIGINTERN PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14484 PyObject
*resultobj
= 0;
14485 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14489 PyObject
*swig_obj
[1] ;
14491 if (!args
) SWIG_fail
;
14492 swig_obj
[0] = args
;
14493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14494 if (!SWIG_IsOK(res1
)) {
14495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14497 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14500 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
14501 wxPyEndAllowThreads(__tstate
);
14502 if (PyErr_Occurred()) SWIG_fail
;
14504 resultobj
= SWIG_From_int(static_cast< int >(result
));
14511 SWIGINTERN PyObject
*_wrap_ScrollBar_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14512 PyObject
*resultobj
= 0;
14513 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14517 PyObject
*swig_obj
[1] ;
14519 if (!args
) SWIG_fail
;
14520 swig_obj
[0] = args
;
14521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14522 if (!SWIG_IsOK(res1
)) {
14523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14525 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14528 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
14529 wxPyEndAllowThreads(__tstate
);
14530 if (PyErr_Occurred()) SWIG_fail
;
14532 resultobj
= SWIG_From_int(static_cast< int >(result
));
14539 SWIGINTERN PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14540 PyObject
*resultobj
= 0;
14541 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14545 PyObject
*swig_obj
[1] ;
14547 if (!args
) SWIG_fail
;
14548 swig_obj
[0] = args
;
14549 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14550 if (!SWIG_IsOK(res1
)) {
14551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14553 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14556 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
14557 wxPyEndAllowThreads(__tstate
);
14558 if (PyErr_Occurred()) SWIG_fail
;
14561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14569 SWIGINTERN PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14570 PyObject
*resultobj
= 0;
14571 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14577 PyObject
* obj0
= 0 ;
14578 PyObject
* obj1
= 0 ;
14579 char * kwnames
[] = {
14580 (char *) "self",(char *) "viewStart", NULL
14583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14585 if (!SWIG_IsOK(res1
)) {
14586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14588 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14589 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14590 if (!SWIG_IsOK(ecode2
)) {
14591 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14593 arg2
= static_cast< int >(val2
);
14595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14596 (arg1
)->SetThumbPosition(arg2
);
14597 wxPyEndAllowThreads(__tstate
);
14598 if (PyErr_Occurred()) SWIG_fail
;
14600 resultobj
= SWIG_Py_Void();
14607 SWIGINTERN PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14608 PyObject
*resultobj
= 0;
14609 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14610 SwigValueWrapper
<wxVisualAttributes
> result
;
14613 PyObject
* obj0
= 0 ;
14614 char * kwnames
[] = {
14615 (char *) "variant", NULL
14618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14620 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14621 if (!SWIG_IsOK(ecode1
)) {
14622 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14624 arg1
= static_cast< wxWindowVariant
>(val1
);
14627 if (!wxPyCheckForApp()) SWIG_fail
;
14628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14629 result
= wxScrollBar::GetClassDefaultAttributes(arg1
);
14630 wxPyEndAllowThreads(__tstate
);
14631 if (PyErr_Occurred()) SWIG_fail
;
14633 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14640 SWIGINTERN PyObject
*ScrollBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14642 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14643 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar
, SWIG_NewClientData(obj
));
14644 return SWIG_Py_Void();
14647 SWIGINTERN PyObject
*ScrollBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14648 return SWIG_Python_InitShadowInstance(args
);
14651 SWIGINTERN
int SPIN_BUTTON_NAME_set(PyObject
*) {
14652 SWIG_Error(SWIG_AttributeError
,"Variable SPIN_BUTTON_NAME is read-only.");
14657 SWIGINTERN PyObject
*SPIN_BUTTON_NAME_get(void) {
14658 PyObject
*pyobj
= 0;
14662 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14664 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14671 SWIGINTERN
int SpinCtrlNameStr_set(PyObject
*) {
14672 SWIG_Error(SWIG_AttributeError
,"Variable SpinCtrlNameStr is read-only.");
14677 SWIGINTERN PyObject
*SpinCtrlNameStr_get(void) {
14678 PyObject
*pyobj
= 0;
14682 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14684 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14691 SWIGINTERN PyObject
*_wrap_new_SpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14692 PyObject
*resultobj
= 0;
14693 wxWindow
*arg1
= (wxWindow
*) 0 ;
14694 int arg2
= (int) -1 ;
14695 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14696 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14697 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14698 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14699 long arg5
= (long) wxSP_HORIZONTAL
;
14700 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
14701 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14702 wxSpinButton
*result
= 0 ;
14711 bool temp6
= false ;
14712 PyObject
* obj0
= 0 ;
14713 PyObject
* obj1
= 0 ;
14714 PyObject
* obj2
= 0 ;
14715 PyObject
* obj3
= 0 ;
14716 PyObject
* obj4
= 0 ;
14717 PyObject
* obj5
= 0 ;
14718 char * kwnames
[] = {
14719 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14724 if (!SWIG_IsOK(res1
)) {
14725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14727 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14729 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14730 if (!SWIG_IsOK(ecode2
)) {
14731 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14733 arg2
= static_cast< int >(val2
);
14738 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14744 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14748 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14749 if (!SWIG_IsOK(ecode5
)) {
14750 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14752 arg5
= static_cast< long >(val5
);
14756 arg6
= wxString_in_helper(obj5
);
14757 if (arg6
== NULL
) SWIG_fail
;
14762 if (!wxPyCheckForApp()) SWIG_fail
;
14763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14764 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14765 wxPyEndAllowThreads(__tstate
);
14766 if (PyErr_Occurred()) SWIG_fail
;
14768 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_NEW
| 0 );
14783 SWIGINTERN PyObject
*_wrap_new_PreSpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14784 PyObject
*resultobj
= 0;
14785 wxSpinButton
*result
= 0 ;
14787 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinButton",0,0,0)) SWIG_fail
;
14789 if (!wxPyCheckForApp()) SWIG_fail
;
14790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14791 result
= (wxSpinButton
*)new wxSpinButton();
14792 wxPyEndAllowThreads(__tstate
);
14793 if (PyErr_Occurred()) SWIG_fail
;
14795 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_OWN
| 0 );
14802 SWIGINTERN PyObject
*_wrap_SpinButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14803 PyObject
*resultobj
= 0;
14804 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14805 wxWindow
*arg2
= (wxWindow
*) 0 ;
14806 int arg3
= (int) -1 ;
14807 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14808 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14809 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14810 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14811 long arg6
= (long) wxSP_HORIZONTAL
;
14812 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
14813 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14825 bool temp7
= false ;
14826 PyObject
* obj0
= 0 ;
14827 PyObject
* obj1
= 0 ;
14828 PyObject
* obj2
= 0 ;
14829 PyObject
* obj3
= 0 ;
14830 PyObject
* obj4
= 0 ;
14831 PyObject
* obj5
= 0 ;
14832 PyObject
* obj6
= 0 ;
14833 char * kwnames
[] = {
14834 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14839 if (!SWIG_IsOK(res1
)) {
14840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14842 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14843 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14844 if (!SWIG_IsOK(res2
)) {
14845 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14847 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14849 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14850 if (!SWIG_IsOK(ecode3
)) {
14851 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
14853 arg3
= static_cast< int >(val3
);
14858 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14864 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14868 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14869 if (!SWIG_IsOK(ecode6
)) {
14870 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
14872 arg6
= static_cast< long >(val6
);
14876 arg7
= wxString_in_helper(obj6
);
14877 if (arg7
== NULL
) SWIG_fail
;
14882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14883 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14884 wxPyEndAllowThreads(__tstate
);
14885 if (PyErr_Occurred()) SWIG_fail
;
14888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14904 SWIGINTERN PyObject
*_wrap_SpinButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14905 PyObject
*resultobj
= 0;
14906 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14910 PyObject
*swig_obj
[1] ;
14912 if (!args
) SWIG_fail
;
14913 swig_obj
[0] = args
;
14914 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14915 if (!SWIG_IsOK(res1
)) {
14916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14918 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14921 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
14922 wxPyEndAllowThreads(__tstate
);
14923 if (PyErr_Occurred()) SWIG_fail
;
14925 resultobj
= SWIG_From_int(static_cast< int >(result
));
14932 SWIGINTERN PyObject
*_wrap_SpinButton_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14933 PyObject
*resultobj
= 0;
14934 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14938 PyObject
*swig_obj
[1] ;
14940 if (!args
) SWIG_fail
;
14941 swig_obj
[0] = args
;
14942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14943 if (!SWIG_IsOK(res1
)) {
14944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14946 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14949 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
14950 wxPyEndAllowThreads(__tstate
);
14951 if (PyErr_Occurred()) SWIG_fail
;
14953 resultobj
= SWIG_From_int(static_cast< int >(result
));
14960 SWIGINTERN PyObject
*_wrap_SpinButton_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14961 PyObject
*resultobj
= 0;
14962 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14966 PyObject
*swig_obj
[1] ;
14968 if (!args
) SWIG_fail
;
14969 swig_obj
[0] = args
;
14970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14971 if (!SWIG_IsOK(res1
)) {
14972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14974 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14977 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
14978 wxPyEndAllowThreads(__tstate
);
14979 if (PyErr_Occurred()) SWIG_fail
;
14981 resultobj
= SWIG_From_int(static_cast< int >(result
));
14988 SWIGINTERN PyObject
*_wrap_SpinButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14989 PyObject
*resultobj
= 0;
14990 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14996 PyObject
* obj0
= 0 ;
14997 PyObject
* obj1
= 0 ;
14998 char * kwnames
[] = {
14999 (char *) "self",(char *) "val", NULL
15002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15004 if (!SWIG_IsOK(res1
)) {
15005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15007 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15008 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15009 if (!SWIG_IsOK(ecode2
)) {
15010 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
15012 arg2
= static_cast< int >(val2
);
15014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15015 (arg1
)->SetValue(arg2
);
15016 wxPyEndAllowThreads(__tstate
);
15017 if (PyErr_Occurred()) SWIG_fail
;
15019 resultobj
= SWIG_Py_Void();
15026 SWIGINTERN PyObject
*_wrap_SpinButton_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15027 PyObject
*resultobj
= 0;
15028 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15034 PyObject
* obj0
= 0 ;
15035 PyObject
* obj1
= 0 ;
15036 char * kwnames
[] = {
15037 (char *) "self",(char *) "minVal", NULL
15040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15042 if (!SWIG_IsOK(res1
)) {
15043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15045 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15046 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15047 if (!SWIG_IsOK(ecode2
)) {
15048 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
15050 arg2
= static_cast< int >(val2
);
15052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15053 (arg1
)->SetMin(arg2
);
15054 wxPyEndAllowThreads(__tstate
);
15055 if (PyErr_Occurred()) SWIG_fail
;
15057 resultobj
= SWIG_Py_Void();
15064 SWIGINTERN PyObject
*_wrap_SpinButton_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15065 PyObject
*resultobj
= 0;
15066 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15072 PyObject
* obj0
= 0 ;
15073 PyObject
* obj1
= 0 ;
15074 char * kwnames
[] = {
15075 (char *) "self",(char *) "maxVal", NULL
15078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15080 if (!SWIG_IsOK(res1
)) {
15081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMax" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15083 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15084 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15085 if (!SWIG_IsOK(ecode2
)) {
15086 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMax" "', expected argument " "2"" of type '" "int""'");
15088 arg2
= static_cast< int >(val2
);
15090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15091 (arg1
)->SetMax(arg2
);
15092 wxPyEndAllowThreads(__tstate
);
15093 if (PyErr_Occurred()) SWIG_fail
;
15095 resultobj
= SWIG_Py_Void();
15102 SWIGINTERN PyObject
*_wrap_SpinButton_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15103 PyObject
*resultobj
= 0;
15104 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15113 PyObject
* obj0
= 0 ;
15114 PyObject
* obj1
= 0 ;
15115 PyObject
* obj2
= 0 ;
15116 char * kwnames
[] = {
15117 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15122 if (!SWIG_IsOK(res1
)) {
15123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15125 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15126 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15127 if (!SWIG_IsOK(ecode2
)) {
15128 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
15130 arg2
= static_cast< int >(val2
);
15131 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15132 if (!SWIG_IsOK(ecode3
)) {
15133 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
15135 arg3
= static_cast< int >(val3
);
15137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15138 (arg1
)->SetRange(arg2
,arg3
);
15139 wxPyEndAllowThreads(__tstate
);
15140 if (PyErr_Occurred()) SWIG_fail
;
15142 resultobj
= SWIG_Py_Void();
15149 SWIGINTERN PyObject
*_wrap_SpinButton_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15150 PyObject
*resultobj
= 0;
15151 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15155 PyObject
*swig_obj
[1] ;
15157 if (!args
) SWIG_fail
;
15158 swig_obj
[0] = args
;
15159 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15160 if (!SWIG_IsOK(res1
)) {
15161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15163 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15166 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
15167 wxPyEndAllowThreads(__tstate
);
15168 if (PyErr_Occurred()) SWIG_fail
;
15171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15179 SWIGINTERN PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15180 PyObject
*resultobj
= 0;
15181 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15182 SwigValueWrapper
<wxVisualAttributes
> result
;
15185 PyObject
* obj0
= 0 ;
15186 char * kwnames
[] = {
15187 (char *) "variant", NULL
15190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15192 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15193 if (!SWIG_IsOK(ecode1
)) {
15194 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15196 arg1
= static_cast< wxWindowVariant
>(val1
);
15199 if (!wxPyCheckForApp()) SWIG_fail
;
15200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15201 result
= wxSpinButton::GetClassDefaultAttributes(arg1
);
15202 wxPyEndAllowThreads(__tstate
);
15203 if (PyErr_Occurred()) SWIG_fail
;
15205 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15212 SWIGINTERN PyObject
*SpinButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15214 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15215 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton
, SWIG_NewClientData(obj
));
15216 return SWIG_Py_Void();
15219 SWIGINTERN PyObject
*SpinButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15220 return SWIG_Python_InitShadowInstance(args
);
15223 SWIGINTERN PyObject
*_wrap_new_SpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15224 PyObject
*resultobj
= 0;
15225 wxWindow
*arg1
= (wxWindow
*) 0 ;
15226 int arg2
= (int) -1 ;
15227 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15228 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15229 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15230 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15231 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15232 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15233 long arg6
= (long) wxSP_ARROW_KEYS
;
15234 int arg7
= (int) 0 ;
15235 int arg8
= (int) 100 ;
15236 int arg9
= (int) 0 ;
15237 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
15238 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15239 wxSpinCtrl
*result
= 0 ;
15244 bool temp3
= false ;
15255 bool temp10
= false ;
15256 PyObject
* obj0
= 0 ;
15257 PyObject
* obj1
= 0 ;
15258 PyObject
* obj2
= 0 ;
15259 PyObject
* obj3
= 0 ;
15260 PyObject
* obj4
= 0 ;
15261 PyObject
* obj5
= 0 ;
15262 PyObject
* obj6
= 0 ;
15263 PyObject
* obj7
= 0 ;
15264 PyObject
* obj8
= 0 ;
15265 PyObject
* obj9
= 0 ;
15266 char * kwnames
[] = {
15267 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15272 if (!SWIG_IsOK(res1
)) {
15273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15275 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15277 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15278 if (!SWIG_IsOK(ecode2
)) {
15279 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15281 arg2
= static_cast< int >(val2
);
15285 arg3
= wxString_in_helper(obj2
);
15286 if (arg3
== NULL
) SWIG_fail
;
15293 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15299 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15303 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15304 if (!SWIG_IsOK(ecode6
)) {
15305 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15307 arg6
= static_cast< long >(val6
);
15310 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15311 if (!SWIG_IsOK(ecode7
)) {
15312 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15314 arg7
= static_cast< int >(val7
);
15317 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15318 if (!SWIG_IsOK(ecode8
)) {
15319 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15321 arg8
= static_cast< int >(val8
);
15324 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15325 if (!SWIG_IsOK(ecode9
)) {
15326 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15328 arg9
= static_cast< int >(val9
);
15332 arg10
= wxString_in_helper(obj9
);
15333 if (arg10
== NULL
) SWIG_fail
;
15338 if (!wxPyCheckForApp()) SWIG_fail
;
15339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15340 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
15341 wxPyEndAllowThreads(__tstate
);
15342 if (PyErr_Occurred()) SWIG_fail
;
15344 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_NEW
| 0 );
15367 SWIGINTERN PyObject
*_wrap_new_PreSpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15368 PyObject
*resultobj
= 0;
15369 wxSpinCtrl
*result
= 0 ;
15371 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinCtrl",0,0,0)) SWIG_fail
;
15373 if (!wxPyCheckForApp()) SWIG_fail
;
15374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15375 result
= (wxSpinCtrl
*)new wxSpinCtrl();
15376 wxPyEndAllowThreads(__tstate
);
15377 if (PyErr_Occurred()) SWIG_fail
;
15379 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_OWN
| 0 );
15386 SWIGINTERN PyObject
*_wrap_SpinCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15387 PyObject
*resultobj
= 0;
15388 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15389 wxWindow
*arg2
= (wxWindow
*) 0 ;
15390 int arg3
= (int) -1 ;
15391 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15392 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15393 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15394 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15395 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15396 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15397 long arg7
= (long) wxSP_ARROW_KEYS
;
15398 int arg8
= (int) 0 ;
15399 int arg9
= (int) 100 ;
15400 int arg10
= (int) 0 ;
15401 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
15402 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15410 bool temp4
= false ;
15421 bool temp11
= false ;
15422 PyObject
* obj0
= 0 ;
15423 PyObject
* obj1
= 0 ;
15424 PyObject
* obj2
= 0 ;
15425 PyObject
* obj3
= 0 ;
15426 PyObject
* obj4
= 0 ;
15427 PyObject
* obj5
= 0 ;
15428 PyObject
* obj6
= 0 ;
15429 PyObject
* obj7
= 0 ;
15430 PyObject
* obj8
= 0 ;
15431 PyObject
* obj9
= 0 ;
15432 PyObject
* obj10
= 0 ;
15433 char * kwnames
[] = {
15434 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
15438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15439 if (!SWIG_IsOK(res1
)) {
15440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15442 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15443 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15444 if (!SWIG_IsOK(res2
)) {
15445 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15447 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15449 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15450 if (!SWIG_IsOK(ecode3
)) {
15451 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15453 arg3
= static_cast< int >(val3
);
15457 arg4
= wxString_in_helper(obj3
);
15458 if (arg4
== NULL
) SWIG_fail
;
15465 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15471 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15475 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
15476 if (!SWIG_IsOK(ecode7
)) {
15477 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15479 arg7
= static_cast< long >(val7
);
15482 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15483 if (!SWIG_IsOK(ecode8
)) {
15484 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15486 arg8
= static_cast< int >(val8
);
15489 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15490 if (!SWIG_IsOK(ecode9
)) {
15491 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15493 arg9
= static_cast< int >(val9
);
15496 ecode10
= SWIG_AsVal_int(obj9
, &val10
);
15497 if (!SWIG_IsOK(ecode10
)) {
15498 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15500 arg10
= static_cast< int >(val10
);
15504 arg11
= wxString_in_helper(obj10
);
15505 if (arg11
== NULL
) SWIG_fail
;
15510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15511 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
15512 wxPyEndAllowThreads(__tstate
);
15513 if (PyErr_Occurred()) SWIG_fail
;
15516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15540 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15541 PyObject
*resultobj
= 0;
15542 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15546 PyObject
*swig_obj
[1] ;
15548 if (!args
) SWIG_fail
;
15549 swig_obj
[0] = args
;
15550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15551 if (!SWIG_IsOK(res1
)) {
15552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15554 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15557 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
15558 wxPyEndAllowThreads(__tstate
);
15559 if (PyErr_Occurred()) SWIG_fail
;
15561 resultobj
= SWIG_From_int(static_cast< int >(result
));
15568 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15569 PyObject
*resultobj
= 0;
15570 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15576 PyObject
* obj0
= 0 ;
15577 PyObject
* obj1
= 0 ;
15578 char * kwnames
[] = {
15579 (char *) "self",(char *) "value", NULL
15582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15584 if (!SWIG_IsOK(res1
)) {
15585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15587 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15588 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15589 if (!SWIG_IsOK(ecode2
)) {
15590 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15592 arg2
= static_cast< int >(val2
);
15594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15595 (arg1
)->SetValue(arg2
);
15596 wxPyEndAllowThreads(__tstate
);
15597 if (PyErr_Occurred()) SWIG_fail
;
15599 resultobj
= SWIG_Py_Void();
15606 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15607 PyObject
*resultobj
= 0;
15608 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15609 wxString
*arg2
= 0 ;
15612 bool temp2
= false ;
15613 PyObject
* obj0
= 0 ;
15614 PyObject
* obj1
= 0 ;
15615 char * kwnames
[] = {
15616 (char *) "self",(char *) "text", NULL
15619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15621 if (!SWIG_IsOK(res1
)) {
15622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15624 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15626 arg2
= wxString_in_helper(obj1
);
15627 if (arg2
== NULL
) SWIG_fail
;
15631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15632 (arg1
)->SetValue((wxString
const &)*arg2
);
15633 wxPyEndAllowThreads(__tstate
);
15634 if (PyErr_Occurred()) SWIG_fail
;
15636 resultobj
= SWIG_Py_Void();
15651 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15652 PyObject
*resultobj
= 0;
15653 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15662 PyObject
* obj0
= 0 ;
15663 PyObject
* obj1
= 0 ;
15664 PyObject
* obj2
= 0 ;
15665 char * kwnames
[] = {
15666 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15671 if (!SWIG_IsOK(res1
)) {
15672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15674 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15675 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15676 if (!SWIG_IsOK(ecode2
)) {
15677 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15679 arg2
= static_cast< int >(val2
);
15680 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15681 if (!SWIG_IsOK(ecode3
)) {
15682 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15684 arg3
= static_cast< int >(val3
);
15686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15687 (arg1
)->SetRange(arg2
,arg3
);
15688 wxPyEndAllowThreads(__tstate
);
15689 if (PyErr_Occurred()) SWIG_fail
;
15691 resultobj
= SWIG_Py_Void();
15698 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15699 PyObject
*resultobj
= 0;
15700 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15704 PyObject
*swig_obj
[1] ;
15706 if (!args
) SWIG_fail
;
15707 swig_obj
[0] = args
;
15708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15709 if (!SWIG_IsOK(res1
)) {
15710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15712 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15715 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
15716 wxPyEndAllowThreads(__tstate
);
15717 if (PyErr_Occurred()) SWIG_fail
;
15719 resultobj
= SWIG_From_int(static_cast< int >(result
));
15726 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15727 PyObject
*resultobj
= 0;
15728 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15732 PyObject
*swig_obj
[1] ;
15734 if (!args
) SWIG_fail
;
15735 swig_obj
[0] = args
;
15736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15737 if (!SWIG_IsOK(res1
)) {
15738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15740 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15743 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
15744 wxPyEndAllowThreads(__tstate
);
15745 if (PyErr_Occurred()) SWIG_fail
;
15747 resultobj
= SWIG_From_int(static_cast< int >(result
));
15754 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15755 PyObject
*resultobj
= 0;
15756 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15765 PyObject
* obj0
= 0 ;
15766 PyObject
* obj1
= 0 ;
15767 PyObject
* obj2
= 0 ;
15768 char * kwnames
[] = {
15769 (char *) "self",(char *) "from",(char *) "to", NULL
15772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15774 if (!SWIG_IsOK(res1
)) {
15775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15777 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15778 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
15779 if (!SWIG_IsOK(ecode2
)) {
15780 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
15782 arg2
= static_cast< long >(val2
);
15783 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
15784 if (!SWIG_IsOK(ecode3
)) {
15785 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
15787 arg3
= static_cast< long >(val3
);
15789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15790 (arg1
)->SetSelection(arg2
,arg3
);
15791 wxPyEndAllowThreads(__tstate
);
15792 if (PyErr_Occurred()) SWIG_fail
;
15794 resultobj
= SWIG_Py_Void();
15801 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15802 PyObject
*resultobj
= 0;
15803 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15804 SwigValueWrapper
<wxVisualAttributes
> result
;
15807 PyObject
* obj0
= 0 ;
15808 char * kwnames
[] = {
15809 (char *) "variant", NULL
15812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15814 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15815 if (!SWIG_IsOK(ecode1
)) {
15816 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15818 arg1
= static_cast< wxWindowVariant
>(val1
);
15821 if (!wxPyCheckForApp()) SWIG_fail
;
15822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15823 result
= wxSpinCtrl::GetClassDefaultAttributes(arg1
);
15824 wxPyEndAllowThreads(__tstate
);
15825 if (PyErr_Occurred()) SWIG_fail
;
15827 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15834 SWIGINTERN PyObject
*SpinCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15836 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15837 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl
, SWIG_NewClientData(obj
));
15838 return SWIG_Py_Void();
15841 SWIGINTERN PyObject
*SpinCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15842 return SWIG_Python_InitShadowInstance(args
);
15845 SWIGINTERN PyObject
*_wrap_new_SpinEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15846 PyObject
*resultobj
= 0;
15847 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15848 int arg2
= (int) 0 ;
15849 wxSpinEvent
*result
= 0 ;
15854 PyObject
* obj0
= 0 ;
15855 PyObject
* obj1
= 0 ;
15856 char * kwnames
[] = {
15857 (char *) "commandType",(char *) "winid", NULL
15860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15862 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15863 if (!SWIG_IsOK(ecode1
)) {
15864 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15866 arg1
= static_cast< wxEventType
>(val1
);
15869 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15870 if (!SWIG_IsOK(ecode2
)) {
15871 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
15873 arg2
= static_cast< int >(val2
);
15876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15877 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
15878 wxPyEndAllowThreads(__tstate
);
15879 if (PyErr_Occurred()) SWIG_fail
;
15881 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_NEW
| 0 );
15888 SWIGINTERN PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15889 PyObject
*resultobj
= 0;
15890 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15894 PyObject
*swig_obj
[1] ;
15896 if (!args
) SWIG_fail
;
15897 swig_obj
[0] = args
;
15898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15899 if (!SWIG_IsOK(res1
)) {
15900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
15902 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15905 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
15906 wxPyEndAllowThreads(__tstate
);
15907 if (PyErr_Occurred()) SWIG_fail
;
15909 resultobj
= SWIG_From_int(static_cast< int >(result
));
15916 SWIGINTERN PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15917 PyObject
*resultobj
= 0;
15918 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15924 PyObject
* obj0
= 0 ;
15925 PyObject
* obj1
= 0 ;
15926 char * kwnames
[] = {
15927 (char *) "self",(char *) "pos", NULL
15930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15932 if (!SWIG_IsOK(res1
)) {
15933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
15935 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15936 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15937 if (!SWIG_IsOK(ecode2
)) {
15938 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
15940 arg2
= static_cast< int >(val2
);
15942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15943 (arg1
)->SetPosition(arg2
);
15944 wxPyEndAllowThreads(__tstate
);
15945 if (PyErr_Occurred()) SWIG_fail
;
15947 resultobj
= SWIG_Py_Void();
15954 SWIGINTERN PyObject
*SpinEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15956 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15957 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent
, SWIG_NewClientData(obj
));
15958 return SWIG_Py_Void();
15961 SWIGINTERN PyObject
*SpinEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15962 return SWIG_Python_InitShadowInstance(args
);
15965 SWIGINTERN
int RadioBoxNameStr_set(PyObject
*) {
15966 SWIG_Error(SWIG_AttributeError
,"Variable RadioBoxNameStr is read-only.");
15971 SWIGINTERN PyObject
*RadioBoxNameStr_get(void) {
15972 PyObject
*pyobj
= 0;
15976 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15978 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15985 SWIGINTERN
int RadioButtonNameStr_set(PyObject
*) {
15986 SWIG_Error(SWIG_AttributeError
,"Variable RadioButtonNameStr is read-only.");
15991 SWIGINTERN PyObject
*RadioButtonNameStr_get(void) {
15992 PyObject
*pyobj
= 0;
15996 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
15998 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
16005 SWIGINTERN PyObject
*_wrap_new_RadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16006 PyObject
*resultobj
= 0;
16007 wxWindow
*arg1
= (wxWindow
*) 0 ;
16008 int arg2
= (int) -1 ;
16009 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16010 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16011 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16012 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16013 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16014 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16015 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
16016 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
16017 int arg7
= (int) 0 ;
16018 long arg8
= (long) wxRA_HORIZONTAL
;
16019 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
16020 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
16021 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
16022 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
16023 wxRadioBox
*result
= 0 ;
16028 bool temp3
= false ;
16031 bool temp6
= false ;
16038 bool temp10
= false ;
16039 PyObject
* obj0
= 0 ;
16040 PyObject
* obj1
= 0 ;
16041 PyObject
* obj2
= 0 ;
16042 PyObject
* obj3
= 0 ;
16043 PyObject
* obj4
= 0 ;
16044 PyObject
* obj5
= 0 ;
16045 PyObject
* obj6
= 0 ;
16046 PyObject
* obj7
= 0 ;
16047 PyObject
* obj8
= 0 ;
16048 PyObject
* obj9
= 0 ;
16049 char * kwnames
[] = {
16050 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
16054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16055 if (!SWIG_IsOK(res1
)) {
16056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
16058 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16060 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16061 if (!SWIG_IsOK(ecode2
)) {
16062 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
16064 arg2
= static_cast< int >(val2
);
16068 arg3
= wxString_in_helper(obj2
);
16069 if (arg3
== NULL
) SWIG_fail
;
16076 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16082 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16087 if (! PySequence_Check(obj5
)) {
16088 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16091 arg6
= new wxArrayString
;
16093 int i
, len
=PySequence_Length(obj5
);
16094 for (i
=0; i
<len
; i
++) {
16095 PyObject
* item
= PySequence_GetItem(obj5
, i
);
16096 wxString
* s
= wxString_in_helper(item
);
16097 if (PyErr_Occurred()) SWIG_fail
;
16105 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
16106 if (!SWIG_IsOK(ecode7
)) {
16107 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
16109 arg7
= static_cast< int >(val7
);
16112 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
16113 if (!SWIG_IsOK(ecode8
)) {
16114 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
16116 arg8
= static_cast< long >(val8
);
16119 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
16120 if (!SWIG_IsOK(res9
)) {
16121 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16124 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16126 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
16130 arg10
= wxString_in_helper(obj9
);
16131 if (arg10
== NULL
) SWIG_fail
;
16136 if (!wxPyCheckForApp()) SWIG_fail
;
16137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16138 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
);
16139 wxPyEndAllowThreads(__tstate
);
16140 if (PyErr_Occurred()) SWIG_fail
;
16142 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_NEW
| 0 );
16148 if (temp6
) delete arg6
;
16161 if (temp6
) delete arg6
;
16171 SWIGINTERN PyObject
*_wrap_new_PreRadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16172 PyObject
*resultobj
= 0;
16173 wxRadioBox
*result
= 0 ;
16175 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioBox",0,0,0)) SWIG_fail
;
16177 if (!wxPyCheckForApp()) SWIG_fail
;
16178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16179 result
= (wxRadioBox
*)new wxRadioBox();
16180 wxPyEndAllowThreads(__tstate
);
16181 if (PyErr_Occurred()) SWIG_fail
;
16183 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_OWN
| 0 );
16190 SWIGINTERN PyObject
*_wrap_RadioBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16191 PyObject
*resultobj
= 0;
16192 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16193 wxWindow
*arg2
= (wxWindow
*) 0 ;
16194 int arg3
= (int) -1 ;
16195 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16196 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16197 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16198 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16199 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16200 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16201 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
16202 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
16203 int arg8
= (int) 0 ;
16204 long arg9
= (long) wxRA_HORIZONTAL
;
16205 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
16206 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
16207 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
16208 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
16216 bool temp4
= false ;
16219 bool temp7
= false ;
16226 bool temp11
= false ;
16227 PyObject
* obj0
= 0 ;
16228 PyObject
* obj1
= 0 ;
16229 PyObject
* obj2
= 0 ;
16230 PyObject
* obj3
= 0 ;
16231 PyObject
* obj4
= 0 ;
16232 PyObject
* obj5
= 0 ;
16233 PyObject
* obj6
= 0 ;
16234 PyObject
* obj7
= 0 ;
16235 PyObject
* obj8
= 0 ;
16236 PyObject
* obj9
= 0 ;
16237 PyObject
* obj10
= 0 ;
16238 char * kwnames
[] = {
16239 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
16243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16244 if (!SWIG_IsOK(res1
)) {
16245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16247 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16248 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16249 if (!SWIG_IsOK(res2
)) {
16250 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16252 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16254 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16255 if (!SWIG_IsOK(ecode3
)) {
16256 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16258 arg3
= static_cast< int >(val3
);
16262 arg4
= wxString_in_helper(obj3
);
16263 if (arg4
== NULL
) SWIG_fail
;
16270 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16276 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16281 if (! PySequence_Check(obj6
)) {
16282 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16285 arg7
= new wxArrayString
;
16287 int i
, len
=PySequence_Length(obj6
);
16288 for (i
=0; i
<len
; i
++) {
16289 PyObject
* item
= PySequence_GetItem(obj6
, i
);
16290 wxString
* s
= wxString_in_helper(item
);
16291 if (PyErr_Occurred()) SWIG_fail
;
16299 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
16300 if (!SWIG_IsOK(ecode8
)) {
16301 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16303 arg8
= static_cast< int >(val8
);
16306 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
16307 if (!SWIG_IsOK(ecode9
)) {
16308 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16310 arg9
= static_cast< long >(val9
);
16313 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
16314 if (!SWIG_IsOK(res10
)) {
16315 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16318 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16320 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
16324 arg11
= wxString_in_helper(obj10
);
16325 if (arg11
== NULL
) SWIG_fail
;
16330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16331 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
);
16332 wxPyEndAllowThreads(__tstate
);
16333 if (PyErr_Occurred()) SWIG_fail
;
16336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16343 if (temp7
) delete arg7
;
16356 if (temp7
) delete arg7
;
16366 SWIGINTERN PyObject
*_wrap_RadioBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16367 PyObject
*resultobj
= 0;
16368 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16374 PyObject
* obj0
= 0 ;
16375 PyObject
* obj1
= 0 ;
16376 char * kwnames
[] = {
16377 (char *) "self",(char *) "n", NULL
16380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16382 if (!SWIG_IsOK(res1
)) {
16383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16385 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16386 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16387 if (!SWIG_IsOK(ecode2
)) {
16388 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16390 arg2
= static_cast< int >(val2
);
16392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16393 (arg1
)->SetSelection(arg2
);
16394 wxPyEndAllowThreads(__tstate
);
16395 if (PyErr_Occurred()) SWIG_fail
;
16397 resultobj
= SWIG_Py_Void();
16404 SWIGINTERN PyObject
*_wrap_RadioBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16405 PyObject
*resultobj
= 0;
16406 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16410 PyObject
*swig_obj
[1] ;
16412 if (!args
) SWIG_fail
;
16413 swig_obj
[0] = args
;
16414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16415 if (!SWIG_IsOK(res1
)) {
16416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16418 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16421 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
16422 wxPyEndAllowThreads(__tstate
);
16423 if (PyErr_Occurred()) SWIG_fail
;
16425 resultobj
= SWIG_From_int(static_cast< int >(result
));
16432 SWIGINTERN PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16433 PyObject
*resultobj
= 0;
16434 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16438 PyObject
*swig_obj
[1] ;
16440 if (!args
) SWIG_fail
;
16441 swig_obj
[0] = args
;
16442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16443 if (!SWIG_IsOK(res1
)) {
16444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16446 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16449 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
16450 wxPyEndAllowThreads(__tstate
);
16451 if (PyErr_Occurred()) SWIG_fail
;
16455 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16457 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16466 SWIGINTERN PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16467 PyObject
*resultobj
= 0;
16468 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16469 wxString
*arg2
= 0 ;
16473 bool temp2
= false ;
16474 PyObject
* obj0
= 0 ;
16475 PyObject
* obj1
= 0 ;
16476 char * kwnames
[] = {
16477 (char *) "self",(char *) "s", NULL
16480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16482 if (!SWIG_IsOK(res1
)) {
16483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16485 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16487 arg2
= wxString_in_helper(obj1
);
16488 if (arg2
== NULL
) SWIG_fail
;
16492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16493 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
16494 wxPyEndAllowThreads(__tstate
);
16495 if (PyErr_Occurred()) SWIG_fail
;
16498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16514 SWIGINTERN PyObject
*_wrap_RadioBox_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16515 PyObject
*resultobj
= 0;
16516 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16520 PyObject
*swig_obj
[1] ;
16522 if (!args
) SWIG_fail
;
16523 swig_obj
[0] = args
;
16524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16525 if (!SWIG_IsOK(res1
)) {
16526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16528 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16531 result
= (size_t)((wxRadioBox
const *)arg1
)->GetCount();
16532 wxPyEndAllowThreads(__tstate
);
16533 if (PyErr_Occurred()) SWIG_fail
;
16535 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16542 SWIGINTERN PyObject
*_wrap_RadioBox_FindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16543 PyObject
*resultobj
= 0;
16544 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16545 wxString
*arg2
= 0 ;
16549 bool temp2
= false ;
16550 PyObject
* obj0
= 0 ;
16551 PyObject
* obj1
= 0 ;
16552 char * kwnames
[] = {
16553 (char *) "self",(char *) "s", NULL
16556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16558 if (!SWIG_IsOK(res1
)) {
16559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16561 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16563 arg2
= wxString_in_helper(obj1
);
16564 if (arg2
== NULL
) SWIG_fail
;
16568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16569 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
16570 wxPyEndAllowThreads(__tstate
);
16571 if (PyErr_Occurred()) SWIG_fail
;
16573 resultobj
= SWIG_From_int(static_cast< int >(result
));
16588 SWIGINTERN PyObject
*_wrap_RadioBox_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16589 PyObject
*resultobj
= 0;
16590 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16597 PyObject
* obj0
= 0 ;
16598 PyObject
* obj1
= 0 ;
16599 char * kwnames
[] = {
16600 (char *) "self",(char *) "n", NULL
16603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16605 if (!SWIG_IsOK(res1
)) {
16606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16608 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16609 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16610 if (!SWIG_IsOK(ecode2
)) {
16611 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16613 arg2
= static_cast< int >(val2
);
16615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16616 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
16617 wxPyEndAllowThreads(__tstate
);
16618 if (PyErr_Occurred()) SWIG_fail
;
16622 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16624 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16633 SWIGINTERN PyObject
*_wrap_RadioBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16634 PyObject
*resultobj
= 0;
16635 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16637 wxString
*arg3
= 0 ;
16642 bool temp3
= false ;
16643 PyObject
* obj0
= 0 ;
16644 PyObject
* obj1
= 0 ;
16645 PyObject
* obj2
= 0 ;
16646 char * kwnames
[] = {
16647 (char *) "self",(char *) "n",(char *) "label", NULL
16650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16652 if (!SWIG_IsOK(res1
)) {
16653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16655 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16656 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16657 if (!SWIG_IsOK(ecode2
)) {
16658 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16660 arg2
= static_cast< int >(val2
);
16662 arg3
= wxString_in_helper(obj2
);
16663 if (arg3
== NULL
) SWIG_fail
;
16667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16668 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
16669 wxPyEndAllowThreads(__tstate
);
16670 if (PyErr_Occurred()) SWIG_fail
;
16672 resultobj
= SWIG_Py_Void();
16687 SWIGINTERN PyObject
*_wrap_RadioBox_EnableItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16688 PyObject
*resultobj
= 0;
16689 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16690 unsigned int arg2
;
16691 bool arg3
= (bool) true ;
16694 unsigned int val2
;
16698 PyObject
* obj0
= 0 ;
16699 PyObject
* obj1
= 0 ;
16700 PyObject
* obj2
= 0 ;
16701 char * kwnames
[] = {
16702 (char *) "self",(char *) "n",(char *) "enable", NULL
16705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16707 if (!SWIG_IsOK(res1
)) {
16708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16710 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16711 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16712 if (!SWIG_IsOK(ecode2
)) {
16713 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "unsigned int""'");
16715 arg2
= static_cast< unsigned int >(val2
);
16717 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16718 if (!SWIG_IsOK(ecode3
)) {
16719 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16721 arg3
= static_cast< bool >(val3
);
16724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16725 (arg1
)->Enable(arg2
,arg3
);
16726 wxPyEndAllowThreads(__tstate
);
16727 if (PyErr_Occurred()) SWIG_fail
;
16729 resultobj
= SWIG_Py_Void();
16736 SWIGINTERN PyObject
*_wrap_RadioBox_ShowItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16737 PyObject
*resultobj
= 0;
16738 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16739 unsigned int arg2
;
16740 bool arg3
= (bool) true ;
16743 unsigned int val2
;
16747 PyObject
* obj0
= 0 ;
16748 PyObject
* obj1
= 0 ;
16749 PyObject
* obj2
= 0 ;
16750 char * kwnames
[] = {
16751 (char *) "self",(char *) "n",(char *) "show", NULL
16754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16756 if (!SWIG_IsOK(res1
)) {
16757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16759 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16760 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16761 if (!SWIG_IsOK(ecode2
)) {
16762 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
16764 arg2
= static_cast< unsigned int >(val2
);
16766 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16767 if (!SWIG_IsOK(ecode3
)) {
16768 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16770 arg3
= static_cast< bool >(val3
);
16773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16774 (arg1
)->Show(arg2
,arg3
);
16775 wxPyEndAllowThreads(__tstate
);
16776 if (PyErr_Occurred()) SWIG_fail
;
16778 resultobj
= SWIG_Py_Void();
16785 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16786 PyObject
*resultobj
= 0;
16787 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16788 unsigned int arg2
;
16792 unsigned int val2
;
16794 PyObject
* obj0
= 0 ;
16795 PyObject
* obj1
= 0 ;
16796 char * kwnames
[] = {
16797 (char *) "self",(char *) "n", NULL
16800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16802 if (!SWIG_IsOK(res1
)) {
16803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16805 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16806 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16807 if (!SWIG_IsOK(ecode2
)) {
16808 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
16810 arg2
= static_cast< unsigned int >(val2
);
16812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16813 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemEnabled(arg2
);
16814 wxPyEndAllowThreads(__tstate
);
16815 if (PyErr_Occurred()) SWIG_fail
;
16818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16826 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16827 PyObject
*resultobj
= 0;
16828 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16829 unsigned int arg2
;
16833 unsigned int val2
;
16835 PyObject
* obj0
= 0 ;
16836 PyObject
* obj1
= 0 ;
16837 char * kwnames
[] = {
16838 (char *) "self",(char *) "n", NULL
16841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemShown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16843 if (!SWIG_IsOK(res1
)) {
16844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16846 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16847 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16848 if (!SWIG_IsOK(ecode2
)) {
16849 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
16851 arg2
= static_cast< unsigned int >(val2
);
16853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16854 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemShown(arg2
);
16855 wxPyEndAllowThreads(__tstate
);
16856 if (PyErr_Occurred()) SWIG_fail
;
16859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16867 SWIGINTERN PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16868 PyObject
*resultobj
= 0;
16869 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16870 unsigned int result
;
16873 PyObject
*swig_obj
[1] ;
16875 if (!args
) SWIG_fail
;
16876 swig_obj
[0] = args
;
16877 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16878 if (!SWIG_IsOK(res1
)) {
16879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16881 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16884 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetColumnCount();
16885 wxPyEndAllowThreads(__tstate
);
16886 if (PyErr_Occurred()) SWIG_fail
;
16888 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16895 SWIGINTERN PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16896 PyObject
*resultobj
= 0;
16897 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16898 unsigned int result
;
16901 PyObject
*swig_obj
[1] ;
16903 if (!args
) SWIG_fail
;
16904 swig_obj
[0] = args
;
16905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16906 if (!SWIG_IsOK(res1
)) {
16907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16909 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16912 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetRowCount();
16913 wxPyEndAllowThreads(__tstate
);
16914 if (PyErr_Occurred()) SWIG_fail
;
16916 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16923 SWIGINTERN PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16924 PyObject
*resultobj
= 0;
16925 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16938 PyObject
* obj0
= 0 ;
16939 PyObject
* obj1
= 0 ;
16940 PyObject
* obj2
= 0 ;
16941 PyObject
* obj3
= 0 ;
16942 char * kwnames
[] = {
16943 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
16946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16948 if (!SWIG_IsOK(res1
)) {
16949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16951 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16952 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16953 if (!SWIG_IsOK(ecode2
)) {
16954 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
16956 arg2
= static_cast< int >(val2
);
16957 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16958 if (!SWIG_IsOK(ecode3
)) {
16959 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
16961 arg3
= static_cast< wxDirection
>(val3
);
16962 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16963 if (!SWIG_IsOK(ecode4
)) {
16964 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
16966 arg4
= static_cast< long >(val4
);
16968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16969 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
16970 wxPyEndAllowThreads(__tstate
);
16971 if (PyErr_Occurred()) SWIG_fail
;
16973 resultobj
= SWIG_From_int(static_cast< int >(result
));
16980 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16981 PyObject
*resultobj
= 0;
16982 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16983 unsigned int arg2
;
16984 wxString
*arg3
= 0 ;
16987 unsigned int val2
;
16989 bool temp3
= false ;
16990 PyObject
* obj0
= 0 ;
16991 PyObject
* obj1
= 0 ;
16992 PyObject
* obj2
= 0 ;
16993 char * kwnames
[] = {
16994 (char *) "self",(char *) "item",(char *) "text", NULL
16997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemToolTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16999 if (!SWIG_IsOK(res1
)) {
17000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17002 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17003 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17004 if (!SWIG_IsOK(ecode2
)) {
17005 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17007 arg2
= static_cast< unsigned int >(val2
);
17009 arg3
= wxString_in_helper(obj2
);
17010 if (arg3
== NULL
) SWIG_fail
;
17014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17015 (arg1
)->SetItemToolTip(arg2
,(wxString
const &)*arg3
);
17016 wxPyEndAllowThreads(__tstate
);
17017 if (PyErr_Occurred()) SWIG_fail
;
17019 resultobj
= SWIG_Py_Void();
17034 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17035 PyObject
*resultobj
= 0;
17036 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17037 unsigned int arg2
;
17038 wxToolTip
*result
= 0 ;
17041 unsigned int val2
;
17043 PyObject
* obj0
= 0 ;
17044 PyObject
* obj1
= 0 ;
17045 char * kwnames
[] = {
17046 (char *) "self",(char *) "item", NULL
17049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17051 if (!SWIG_IsOK(res1
)) {
17052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17054 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17055 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17056 if (!SWIG_IsOK(ecode2
)) {
17057 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17059 arg2
= static_cast< unsigned int >(val2
);
17061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17062 result
= (wxToolTip
*)((wxRadioBox
const *)arg1
)->GetItemToolTip(arg2
);
17063 wxPyEndAllowThreads(__tstate
);
17064 if (PyErr_Occurred()) SWIG_fail
;
17067 resultobj
= wxPyMake_wxObject(result
, (bool)0);
17075 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17076 PyObject
*resultobj
= 0;
17077 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17078 unsigned int arg2
;
17079 wxString
*arg3
= 0 ;
17082 unsigned int val2
;
17084 bool temp3
= false ;
17085 PyObject
* obj0
= 0 ;
17086 PyObject
* obj1
= 0 ;
17087 PyObject
* obj2
= 0 ;
17088 char * kwnames
[] = {
17089 (char *) "self",(char *) "n",(char *) "helpText", NULL
17092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemHelpText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17094 if (!SWIG_IsOK(res1
)) {
17095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17097 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17098 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17099 if (!SWIG_IsOK(ecode2
)) {
17100 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17102 arg2
= static_cast< unsigned int >(val2
);
17104 arg3
= wxString_in_helper(obj2
);
17105 if (arg3
== NULL
) SWIG_fail
;
17109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17110 (arg1
)->SetItemHelpText(arg2
,(wxString
const &)*arg3
);
17111 wxPyEndAllowThreads(__tstate
);
17112 if (PyErr_Occurred()) SWIG_fail
;
17114 resultobj
= SWIG_Py_Void();
17129 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17130 PyObject
*resultobj
= 0;
17131 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17132 unsigned int arg2
;
17136 unsigned int val2
;
17138 PyObject
* obj0
= 0 ;
17139 PyObject
* obj1
= 0 ;
17140 char * kwnames
[] = {
17141 (char *) "self",(char *) "n", NULL
17144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemHelpText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17146 if (!SWIG_IsOK(res1
)) {
17147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17149 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17150 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17151 if (!SWIG_IsOK(ecode2
)) {
17152 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17154 arg2
= static_cast< unsigned int >(val2
);
17156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17157 result
= ((wxRadioBox
const *)arg1
)->GetItemHelpText(arg2
);
17158 wxPyEndAllowThreads(__tstate
);
17159 if (PyErr_Occurred()) SWIG_fail
;
17163 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17165 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17174 SWIGINTERN PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17175 PyObject
*resultobj
= 0;
17176 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17177 SwigValueWrapper
<wxVisualAttributes
> result
;
17180 PyObject
* obj0
= 0 ;
17181 char * kwnames
[] = {
17182 (char *) "variant", NULL
17185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17187 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17188 if (!SWIG_IsOK(ecode1
)) {
17189 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17191 arg1
= static_cast< wxWindowVariant
>(val1
);
17194 if (!wxPyCheckForApp()) SWIG_fail
;
17195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17196 result
= wxRadioBox::GetClassDefaultAttributes(arg1
);
17197 wxPyEndAllowThreads(__tstate
);
17198 if (PyErr_Occurred()) SWIG_fail
;
17200 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17207 SWIGINTERN PyObject
*RadioBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17209 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17210 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox
, SWIG_NewClientData(obj
));
17211 return SWIG_Py_Void();
17214 SWIGINTERN PyObject
*RadioBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17215 return SWIG_Python_InitShadowInstance(args
);
17218 SWIGINTERN PyObject
*_wrap_new_RadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17219 PyObject
*resultobj
= 0;
17220 wxWindow
*arg1
= (wxWindow
*) 0 ;
17221 int arg2
= (int) -1 ;
17222 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17223 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17224 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17225 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17226 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17227 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17228 long arg6
= (long) 0 ;
17229 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
17230 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
17231 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
17232 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17233 wxRadioButton
*result
= 0 ;
17238 bool temp3
= false ;
17245 bool temp8
= false ;
17246 PyObject
* obj0
= 0 ;
17247 PyObject
* obj1
= 0 ;
17248 PyObject
* obj2
= 0 ;
17249 PyObject
* obj3
= 0 ;
17250 PyObject
* obj4
= 0 ;
17251 PyObject
* obj5
= 0 ;
17252 PyObject
* obj6
= 0 ;
17253 PyObject
* obj7
= 0 ;
17254 char * kwnames
[] = {
17255 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
17259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17260 if (!SWIG_IsOK(res1
)) {
17261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
17263 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17265 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17266 if (!SWIG_IsOK(ecode2
)) {
17267 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
17269 arg2
= static_cast< int >(val2
);
17273 arg3
= wxString_in_helper(obj2
);
17274 if (arg3
== NULL
) SWIG_fail
;
17281 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17287 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17291 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17292 if (!SWIG_IsOK(ecode6
)) {
17293 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
17295 arg6
= static_cast< long >(val6
);
17298 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
17299 if (!SWIG_IsOK(res7
)) {
17300 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17303 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17305 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
17309 arg8
= wxString_in_helper(obj7
);
17310 if (arg8
== NULL
) SWIG_fail
;
17315 if (!wxPyCheckForApp()) SWIG_fail
;
17316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17317 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
17318 wxPyEndAllowThreads(__tstate
);
17319 if (PyErr_Occurred()) SWIG_fail
;
17321 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_NEW
| 0 );
17344 SWIGINTERN PyObject
*_wrap_new_PreRadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17345 PyObject
*resultobj
= 0;
17346 wxRadioButton
*result
= 0 ;
17348 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioButton",0,0,0)) SWIG_fail
;
17350 if (!wxPyCheckForApp()) SWIG_fail
;
17351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17352 result
= (wxRadioButton
*)new wxRadioButton();
17353 wxPyEndAllowThreads(__tstate
);
17354 if (PyErr_Occurred()) SWIG_fail
;
17356 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_OWN
| 0 );
17363 SWIGINTERN PyObject
*_wrap_RadioButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17364 PyObject
*resultobj
= 0;
17365 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17366 wxWindow
*arg2
= (wxWindow
*) 0 ;
17367 int arg3
= (int) -1 ;
17368 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17369 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17370 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17371 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17372 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17373 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17374 long arg7
= (long) 0 ;
17375 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
17376 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
17377 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
17378 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17386 bool temp4
= false ;
17393 bool temp9
= false ;
17394 PyObject
* obj0
= 0 ;
17395 PyObject
* obj1
= 0 ;
17396 PyObject
* obj2
= 0 ;
17397 PyObject
* obj3
= 0 ;
17398 PyObject
* obj4
= 0 ;
17399 PyObject
* obj5
= 0 ;
17400 PyObject
* obj6
= 0 ;
17401 PyObject
* obj7
= 0 ;
17402 PyObject
* obj8
= 0 ;
17403 char * kwnames
[] = {
17404 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
17408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17409 if (!SWIG_IsOK(res1
)) {
17410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17412 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17413 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17414 if (!SWIG_IsOK(res2
)) {
17415 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17417 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17419 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17420 if (!SWIG_IsOK(ecode3
)) {
17421 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
17423 arg3
= static_cast< int >(val3
);
17427 arg4
= wxString_in_helper(obj3
);
17428 if (arg4
== NULL
) SWIG_fail
;
17435 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17441 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17445 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
17446 if (!SWIG_IsOK(ecode7
)) {
17447 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
17449 arg7
= static_cast< long >(val7
);
17452 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
17453 if (!SWIG_IsOK(res8
)) {
17454 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17457 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17459 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
17463 arg9
= wxString_in_helper(obj8
);
17464 if (arg9
== NULL
) SWIG_fail
;
17469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17470 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
17471 wxPyEndAllowThreads(__tstate
);
17472 if (PyErr_Occurred()) SWIG_fail
;
17475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17499 SWIGINTERN PyObject
*_wrap_RadioButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17500 PyObject
*resultobj
= 0;
17501 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17505 PyObject
*swig_obj
[1] ;
17507 if (!args
) SWIG_fail
;
17508 swig_obj
[0] = args
;
17509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17510 if (!SWIG_IsOK(res1
)) {
17511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17513 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17516 result
= (bool)(arg1
)->GetValue();
17517 wxPyEndAllowThreads(__tstate
);
17518 if (PyErr_Occurred()) SWIG_fail
;
17521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17529 SWIGINTERN PyObject
*_wrap_RadioButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17530 PyObject
*resultobj
= 0;
17531 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17537 PyObject
* obj0
= 0 ;
17538 PyObject
* obj1
= 0 ;
17539 char * kwnames
[] = {
17540 (char *) "self",(char *) "value", NULL
17543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17545 if (!SWIG_IsOK(res1
)) {
17546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17548 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17549 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
17550 if (!SWIG_IsOK(ecode2
)) {
17551 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17553 arg2
= static_cast< bool >(val2
);
17555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17556 (arg1
)->SetValue(arg2
);
17557 wxPyEndAllowThreads(__tstate
);
17558 if (PyErr_Occurred()) SWIG_fail
;
17560 resultobj
= SWIG_Py_Void();
17567 SWIGINTERN PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17568 PyObject
*resultobj
= 0;
17569 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17570 SwigValueWrapper
<wxVisualAttributes
> result
;
17573 PyObject
* obj0
= 0 ;
17574 char * kwnames
[] = {
17575 (char *) "variant", NULL
17578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17580 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17581 if (!SWIG_IsOK(ecode1
)) {
17582 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17584 arg1
= static_cast< wxWindowVariant
>(val1
);
17587 if (!wxPyCheckForApp()) SWIG_fail
;
17588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17589 result
= wxRadioButton::GetClassDefaultAttributes(arg1
);
17590 wxPyEndAllowThreads(__tstate
);
17591 if (PyErr_Occurred()) SWIG_fail
;
17593 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17600 SWIGINTERN PyObject
*RadioButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17602 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17603 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton
, SWIG_NewClientData(obj
));
17604 return SWIG_Py_Void();
17607 SWIGINTERN PyObject
*RadioButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17608 return SWIG_Python_InitShadowInstance(args
);
17611 SWIGINTERN
int SliderNameStr_set(PyObject
*) {
17612 SWIG_Error(SWIG_AttributeError
,"Variable SliderNameStr is read-only.");
17617 SWIGINTERN PyObject
*SliderNameStr_get(void) {
17618 PyObject
*pyobj
= 0;
17622 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17624 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17631 SWIGINTERN PyObject
*_wrap_new_Slider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17632 PyObject
*resultobj
= 0;
17633 wxWindow
*arg1
= (wxWindow
*) 0 ;
17634 int arg2
= (int) -1 ;
17635 int arg3
= (int) 0 ;
17636 int arg4
= (int) 0 ;
17637 int arg5
= (int) 100 ;
17638 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17639 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17640 wxSize
const &arg7_defvalue
= wxDefaultSize
;
17641 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
17642 long arg8
= (long) wxSL_HORIZONTAL
;
17643 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
17644 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
17645 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
17646 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
17647 wxSlider
*result
= 0 ;
17664 bool temp10
= false ;
17665 PyObject
* obj0
= 0 ;
17666 PyObject
* obj1
= 0 ;
17667 PyObject
* obj2
= 0 ;
17668 PyObject
* obj3
= 0 ;
17669 PyObject
* obj4
= 0 ;
17670 PyObject
* obj5
= 0 ;
17671 PyObject
* obj6
= 0 ;
17672 PyObject
* obj7
= 0 ;
17673 PyObject
* obj8
= 0 ;
17674 PyObject
* obj9
= 0 ;
17675 char * kwnames
[] = {
17676 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
17680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17681 if (!SWIG_IsOK(res1
)) {
17682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17684 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17686 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17687 if (!SWIG_IsOK(ecode2
)) {
17688 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17690 arg2
= static_cast< int >(val2
);
17693 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17694 if (!SWIG_IsOK(ecode3
)) {
17695 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17697 arg3
= static_cast< int >(val3
);
17700 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17701 if (!SWIG_IsOK(ecode4
)) {
17702 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17704 arg4
= static_cast< int >(val4
);
17707 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17708 if (!SWIG_IsOK(ecode5
)) {
17709 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17711 arg5
= static_cast< int >(val5
);
17716 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
17722 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
17726 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
17727 if (!SWIG_IsOK(ecode8
)) {
17728 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17730 arg8
= static_cast< long >(val8
);
17733 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
17734 if (!SWIG_IsOK(res9
)) {
17735 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17738 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17740 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
17744 arg10
= wxString_in_helper(obj9
);
17745 if (arg10
== NULL
) SWIG_fail
;
17750 if (!wxPyCheckForApp()) SWIG_fail
;
17751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17752 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
17753 wxPyEndAllowThreads(__tstate
);
17754 if (PyErr_Occurred()) SWIG_fail
;
17756 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_NEW
| 0 );
17771 SWIGINTERN PyObject
*_wrap_new_PreSlider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17772 PyObject
*resultobj
= 0;
17773 wxSlider
*result
= 0 ;
17775 if (!SWIG_Python_UnpackTuple(args
,"new_PreSlider",0,0,0)) SWIG_fail
;
17777 if (!wxPyCheckForApp()) SWIG_fail
;
17778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17779 result
= (wxSlider
*)new wxSlider();
17780 wxPyEndAllowThreads(__tstate
);
17781 if (PyErr_Occurred()) SWIG_fail
;
17783 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_OWN
| 0 );
17790 SWIGINTERN PyObject
*_wrap_Slider_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17791 PyObject
*resultobj
= 0;
17792 wxSlider
*arg1
= (wxSlider
*) 0 ;
17793 wxWindow
*arg2
= (wxWindow
*) 0 ;
17794 int arg3
= (int) -1 ;
17795 int arg4
= (int) 0 ;
17796 int arg5
= (int) 0 ;
17797 int arg6
= (int) 100 ;
17798 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17799 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17800 wxSize
const &arg8_defvalue
= wxDefaultSize
;
17801 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
17802 long arg9
= (long) wxSL_HORIZONTAL
;
17803 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
17804 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
17805 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
17806 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
17826 bool temp11
= false ;
17827 PyObject
* obj0
= 0 ;
17828 PyObject
* obj1
= 0 ;
17829 PyObject
* obj2
= 0 ;
17830 PyObject
* obj3
= 0 ;
17831 PyObject
* obj4
= 0 ;
17832 PyObject
* obj5
= 0 ;
17833 PyObject
* obj6
= 0 ;
17834 PyObject
* obj7
= 0 ;
17835 PyObject
* obj8
= 0 ;
17836 PyObject
* obj9
= 0 ;
17837 PyObject
* obj10
= 0 ;
17838 char * kwnames
[] = {
17839 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
17843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17844 if (!SWIG_IsOK(res1
)) {
17845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
17847 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17848 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17849 if (!SWIG_IsOK(res2
)) {
17850 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17852 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17854 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17855 if (!SWIG_IsOK(ecode3
)) {
17856 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
17858 arg3
= static_cast< int >(val3
);
17861 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17862 if (!SWIG_IsOK(ecode4
)) {
17863 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
17865 arg4
= static_cast< int >(val4
);
17868 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17869 if (!SWIG_IsOK(ecode5
)) {
17870 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
17872 arg5
= static_cast< int >(val5
);
17875 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17876 if (!SWIG_IsOK(ecode6
)) {
17877 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
17879 arg6
= static_cast< int >(val6
);
17884 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17890 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
17894 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
17895 if (!SWIG_IsOK(ecode9
)) {
17896 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
17898 arg9
= static_cast< long >(val9
);
17901 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
17902 if (!SWIG_IsOK(res10
)) {
17903 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17906 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17908 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
17912 arg11
= wxString_in_helper(obj10
);
17913 if (arg11
== NULL
) SWIG_fail
;
17918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17919 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
17920 wxPyEndAllowThreads(__tstate
);
17921 if (PyErr_Occurred()) SWIG_fail
;
17924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17940 SWIGINTERN PyObject
*_wrap_Slider_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17941 PyObject
*resultobj
= 0;
17942 wxSlider
*arg1
= (wxSlider
*) 0 ;
17946 PyObject
*swig_obj
[1] ;
17948 if (!args
) SWIG_fail
;
17949 swig_obj
[0] = args
;
17950 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17951 if (!SWIG_IsOK(res1
)) {
17952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
17954 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17957 result
= (int)((wxSlider
const *)arg1
)->GetValue();
17958 wxPyEndAllowThreads(__tstate
);
17959 if (PyErr_Occurred()) SWIG_fail
;
17961 resultobj
= SWIG_From_int(static_cast< int >(result
));
17968 SWIGINTERN PyObject
*_wrap_Slider_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17969 PyObject
*resultobj
= 0;
17970 wxSlider
*arg1
= (wxSlider
*) 0 ;
17976 PyObject
* obj0
= 0 ;
17977 PyObject
* obj1
= 0 ;
17978 char * kwnames
[] = {
17979 (char *) "self",(char *) "value", NULL
17982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17984 if (!SWIG_IsOK(res1
)) {
17985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
17987 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17988 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17989 if (!SWIG_IsOK(ecode2
)) {
17990 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
17992 arg2
= static_cast< int >(val2
);
17994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17995 (arg1
)->SetValue(arg2
);
17996 wxPyEndAllowThreads(__tstate
);
17997 if (PyErr_Occurred()) SWIG_fail
;
17999 resultobj
= SWIG_Py_Void();
18006 SWIGINTERN PyObject
*_wrap_Slider_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18007 PyObject
*resultobj
= 0;
18008 wxSlider
*arg1
= (wxSlider
*) 0 ;
18017 PyObject
* obj0
= 0 ;
18018 PyObject
* obj1
= 0 ;
18019 PyObject
* obj2
= 0 ;
18020 char * kwnames
[] = {
18021 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
18024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18026 if (!SWIG_IsOK(res1
)) {
18027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
18029 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18030 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18031 if (!SWIG_IsOK(ecode2
)) {
18032 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
18034 arg2
= static_cast< int >(val2
);
18035 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18036 if (!SWIG_IsOK(ecode3
)) {
18037 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
18039 arg3
= static_cast< int >(val3
);
18041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18042 (arg1
)->SetRange(arg2
,arg3
);
18043 wxPyEndAllowThreads(__tstate
);
18044 if (PyErr_Occurred()) SWIG_fail
;
18046 resultobj
= SWIG_Py_Void();
18053 SWIGINTERN PyObject
*_wrap_Slider_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18054 PyObject
*resultobj
= 0;
18055 wxSlider
*arg1
= (wxSlider
*) 0 ;
18059 PyObject
*swig_obj
[1] ;
18061 if (!args
) SWIG_fail
;
18062 swig_obj
[0] = args
;
18063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18064 if (!SWIG_IsOK(res1
)) {
18065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
18067 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18070 result
= (int)((wxSlider
const *)arg1
)->GetMin();
18071 wxPyEndAllowThreads(__tstate
);
18072 if (PyErr_Occurred()) SWIG_fail
;
18074 resultobj
= SWIG_From_int(static_cast< int >(result
));
18081 SWIGINTERN PyObject
*_wrap_Slider_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18082 PyObject
*resultobj
= 0;
18083 wxSlider
*arg1
= (wxSlider
*) 0 ;
18087 PyObject
*swig_obj
[1] ;
18089 if (!args
) SWIG_fail
;
18090 swig_obj
[0] = args
;
18091 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18092 if (!SWIG_IsOK(res1
)) {
18093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
18095 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18098 result
= (int)((wxSlider
const *)arg1
)->GetMax();
18099 wxPyEndAllowThreads(__tstate
);
18100 if (PyErr_Occurred()) SWIG_fail
;
18102 resultobj
= SWIG_From_int(static_cast< int >(result
));
18109 SWIGINTERN PyObject
*_wrap_Slider_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18110 PyObject
*resultobj
= 0;
18111 wxSlider
*arg1
= (wxSlider
*) 0 ;
18117 PyObject
* obj0
= 0 ;
18118 PyObject
* obj1
= 0 ;
18119 char * kwnames
[] = {
18120 (char *) "self",(char *) "minValue", NULL
18123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18125 if (!SWIG_IsOK(res1
)) {
18126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
18128 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18129 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18130 if (!SWIG_IsOK(ecode2
)) {
18131 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
18133 arg2
= static_cast< int >(val2
);
18135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18136 (arg1
)->SetMin(arg2
);
18137 wxPyEndAllowThreads(__tstate
);
18138 if (PyErr_Occurred()) SWIG_fail
;
18140 resultobj
= SWIG_Py_Void();
18147 SWIGINTERN PyObject
*_wrap_Slider_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18148 PyObject
*resultobj
= 0;
18149 wxSlider
*arg1
= (wxSlider
*) 0 ;
18155 PyObject
* obj0
= 0 ;
18156 PyObject
* obj1
= 0 ;
18157 char * kwnames
[] = {
18158 (char *) "self",(char *) "maxValue", NULL
18161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18163 if (!SWIG_IsOK(res1
)) {
18164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
18166 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18167 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18168 if (!SWIG_IsOK(ecode2
)) {
18169 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
18171 arg2
= static_cast< int >(val2
);
18173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18174 (arg1
)->SetMax(arg2
);
18175 wxPyEndAllowThreads(__tstate
);
18176 if (PyErr_Occurred()) SWIG_fail
;
18178 resultobj
= SWIG_Py_Void();
18185 SWIGINTERN PyObject
*_wrap_Slider_SetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18186 PyObject
*resultobj
= 0;
18187 wxSlider
*arg1
= (wxSlider
*) 0 ;
18193 PyObject
* obj0
= 0 ;
18194 PyObject
* obj1
= 0 ;
18195 char * kwnames
[] = {
18196 (char *) "self",(char *) "lineSize", NULL
18199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18201 if (!SWIG_IsOK(res1
)) {
18202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetLineSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18204 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18205 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18206 if (!SWIG_IsOK(ecode2
)) {
18207 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetLineSize" "', expected argument " "2"" of type '" "int""'");
18209 arg2
= static_cast< int >(val2
);
18211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18212 (arg1
)->SetLineSize(arg2
);
18213 wxPyEndAllowThreads(__tstate
);
18214 if (PyErr_Occurred()) SWIG_fail
;
18216 resultobj
= SWIG_Py_Void();
18223 SWIGINTERN PyObject
*_wrap_Slider_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18224 PyObject
*resultobj
= 0;
18225 wxSlider
*arg1
= (wxSlider
*) 0 ;
18231 PyObject
* obj0
= 0 ;
18232 PyObject
* obj1
= 0 ;
18233 char * kwnames
[] = {
18234 (char *) "self",(char *) "pageSize", NULL
18237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18239 if (!SWIG_IsOK(res1
)) {
18240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetPageSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18242 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18243 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18244 if (!SWIG_IsOK(ecode2
)) {
18245 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetPageSize" "', expected argument " "2"" of type '" "int""'");
18247 arg2
= static_cast< int >(val2
);
18249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18250 (arg1
)->SetPageSize(arg2
);
18251 wxPyEndAllowThreads(__tstate
);
18252 if (PyErr_Occurred()) SWIG_fail
;
18254 resultobj
= SWIG_Py_Void();
18261 SWIGINTERN PyObject
*_wrap_Slider_GetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18262 PyObject
*resultobj
= 0;
18263 wxSlider
*arg1
= (wxSlider
*) 0 ;
18267 PyObject
*swig_obj
[1] ;
18269 if (!args
) SWIG_fail
;
18270 swig_obj
[0] = args
;
18271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18272 if (!SWIG_IsOK(res1
)) {
18273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18275 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18278 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
18279 wxPyEndAllowThreads(__tstate
);
18280 if (PyErr_Occurred()) SWIG_fail
;
18282 resultobj
= SWIG_From_int(static_cast< int >(result
));
18289 SWIGINTERN PyObject
*_wrap_Slider_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18290 PyObject
*resultobj
= 0;
18291 wxSlider
*arg1
= (wxSlider
*) 0 ;
18295 PyObject
*swig_obj
[1] ;
18297 if (!args
) SWIG_fail
;
18298 swig_obj
[0] = args
;
18299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18300 if (!SWIG_IsOK(res1
)) {
18301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18303 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18306 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
18307 wxPyEndAllowThreads(__tstate
);
18308 if (PyErr_Occurred()) SWIG_fail
;
18310 resultobj
= SWIG_From_int(static_cast< int >(result
));
18317 SWIGINTERN PyObject
*_wrap_Slider_SetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18318 PyObject
*resultobj
= 0;
18319 wxSlider
*arg1
= (wxSlider
*) 0 ;
18325 PyObject
* obj0
= 0 ;
18326 PyObject
* obj1
= 0 ;
18327 char * kwnames
[] = {
18328 (char *) "self",(char *) "lenPixels", NULL
18331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18333 if (!SWIG_IsOK(res1
)) {
18334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
18336 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18337 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18338 if (!SWIG_IsOK(ecode2
)) {
18339 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
18341 arg2
= static_cast< int >(val2
);
18343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18344 (arg1
)->SetThumbLength(arg2
);
18345 wxPyEndAllowThreads(__tstate
);
18346 if (PyErr_Occurred()) SWIG_fail
;
18348 resultobj
= SWIG_Py_Void();
18355 SWIGINTERN PyObject
*_wrap_Slider_GetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18356 PyObject
*resultobj
= 0;
18357 wxSlider
*arg1
= (wxSlider
*) 0 ;
18361 PyObject
*swig_obj
[1] ;
18363 if (!args
) SWIG_fail
;
18364 swig_obj
[0] = args
;
18365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18366 if (!SWIG_IsOK(res1
)) {
18367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
18369 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18372 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
18373 wxPyEndAllowThreads(__tstate
);
18374 if (PyErr_Occurred()) SWIG_fail
;
18376 resultobj
= SWIG_From_int(static_cast< int >(result
));
18383 SWIGINTERN PyObject
*_wrap_Slider_SetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18384 PyObject
*resultobj
= 0;
18385 wxSlider
*arg1
= (wxSlider
*) 0 ;
18387 int arg3
= (int) 1 ;
18394 PyObject
* obj0
= 0 ;
18395 PyObject
* obj1
= 0 ;
18396 PyObject
* obj2
= 0 ;
18397 char * kwnames
[] = {
18398 (char *) "self",(char *) "n",(char *) "pos", NULL
18401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18403 if (!SWIG_IsOK(res1
)) {
18404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
18406 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18407 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18408 if (!SWIG_IsOK(ecode2
)) {
18409 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
18411 arg2
= static_cast< int >(val2
);
18413 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18414 if (!SWIG_IsOK(ecode3
)) {
18415 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
18417 arg3
= static_cast< int >(val3
);
18420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18421 (arg1
)->SetTickFreq(arg2
,arg3
);
18422 wxPyEndAllowThreads(__tstate
);
18423 if (PyErr_Occurred()) SWIG_fail
;
18425 resultobj
= SWIG_Py_Void();
18432 SWIGINTERN PyObject
*_wrap_Slider_GetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18433 PyObject
*resultobj
= 0;
18434 wxSlider
*arg1
= (wxSlider
*) 0 ;
18438 PyObject
*swig_obj
[1] ;
18440 if (!args
) SWIG_fail
;
18441 swig_obj
[0] = args
;
18442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18443 if (!SWIG_IsOK(res1
)) {
18444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
18446 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18449 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
18450 wxPyEndAllowThreads(__tstate
);
18451 if (PyErr_Occurred()) SWIG_fail
;
18453 resultobj
= SWIG_From_int(static_cast< int >(result
));
18460 SWIGINTERN PyObject
*_wrap_Slider_ClearTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18461 PyObject
*resultobj
= 0;
18462 wxSlider
*arg1
= (wxSlider
*) 0 ;
18465 PyObject
*swig_obj
[1] ;
18467 if (!args
) SWIG_fail
;
18468 swig_obj
[0] = args
;
18469 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18470 if (!SWIG_IsOK(res1
)) {
18471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18473 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18476 (arg1
)->ClearTicks();
18477 wxPyEndAllowThreads(__tstate
);
18478 if (PyErr_Occurred()) SWIG_fail
;
18480 resultobj
= SWIG_Py_Void();
18487 SWIGINTERN PyObject
*_wrap_Slider_SetTick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18488 PyObject
*resultobj
= 0;
18489 wxSlider
*arg1
= (wxSlider
*) 0 ;
18495 PyObject
* obj0
= 0 ;
18496 PyObject
* obj1
= 0 ;
18497 char * kwnames
[] = {
18498 (char *) "self",(char *) "tickPos", NULL
18501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18503 if (!SWIG_IsOK(res1
)) {
18504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
18506 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18507 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18508 if (!SWIG_IsOK(ecode2
)) {
18509 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
18511 arg2
= static_cast< int >(val2
);
18513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18514 (arg1
)->SetTick(arg2
);
18515 wxPyEndAllowThreads(__tstate
);
18516 if (PyErr_Occurred()) SWIG_fail
;
18518 resultobj
= SWIG_Py_Void();
18525 SWIGINTERN PyObject
*_wrap_Slider_ClearSel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18526 PyObject
*resultobj
= 0;
18527 wxSlider
*arg1
= (wxSlider
*) 0 ;
18530 PyObject
*swig_obj
[1] ;
18532 if (!args
) SWIG_fail
;
18533 swig_obj
[0] = args
;
18534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18535 if (!SWIG_IsOK(res1
)) {
18536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18538 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18541 (arg1
)->ClearSel();
18542 wxPyEndAllowThreads(__tstate
);
18543 if (PyErr_Occurred()) SWIG_fail
;
18545 resultobj
= SWIG_Py_Void();
18552 SWIGINTERN PyObject
*_wrap_Slider_GetSelEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18553 PyObject
*resultobj
= 0;
18554 wxSlider
*arg1
= (wxSlider
*) 0 ;
18558 PyObject
*swig_obj
[1] ;
18560 if (!args
) SWIG_fail
;
18561 swig_obj
[0] = args
;
18562 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18563 if (!SWIG_IsOK(res1
)) {
18564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18566 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18569 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
18570 wxPyEndAllowThreads(__tstate
);
18571 if (PyErr_Occurred()) SWIG_fail
;
18573 resultobj
= SWIG_From_int(static_cast< int >(result
));
18580 SWIGINTERN PyObject
*_wrap_Slider_GetSelStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18581 PyObject
*resultobj
= 0;
18582 wxSlider
*arg1
= (wxSlider
*) 0 ;
18586 PyObject
*swig_obj
[1] ;
18588 if (!args
) SWIG_fail
;
18589 swig_obj
[0] = args
;
18590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18591 if (!SWIG_IsOK(res1
)) {
18592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18594 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18597 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
18598 wxPyEndAllowThreads(__tstate
);
18599 if (PyErr_Occurred()) SWIG_fail
;
18601 resultobj
= SWIG_From_int(static_cast< int >(result
));
18608 SWIGINTERN PyObject
*_wrap_Slider_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18609 PyObject
*resultobj
= 0;
18610 wxSlider
*arg1
= (wxSlider
*) 0 ;
18619 PyObject
* obj0
= 0 ;
18620 PyObject
* obj1
= 0 ;
18621 PyObject
* obj2
= 0 ;
18622 char * kwnames
[] = {
18623 (char *) "self",(char *) "min",(char *) "max", NULL
18626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18627 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18628 if (!SWIG_IsOK(res1
)) {
18629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18631 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18632 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18633 if (!SWIG_IsOK(ecode2
)) {
18634 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18636 arg2
= static_cast< int >(val2
);
18637 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18638 if (!SWIG_IsOK(ecode3
)) {
18639 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18641 arg3
= static_cast< int >(val3
);
18643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18644 (arg1
)->SetSelection(arg2
,arg3
);
18645 wxPyEndAllowThreads(__tstate
);
18646 if (PyErr_Occurred()) SWIG_fail
;
18648 resultobj
= SWIG_Py_Void();
18655 SWIGINTERN PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18656 PyObject
*resultobj
= 0;
18657 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18658 SwigValueWrapper
<wxVisualAttributes
> result
;
18661 PyObject
* obj0
= 0 ;
18662 char * kwnames
[] = {
18663 (char *) "variant", NULL
18666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18668 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18669 if (!SWIG_IsOK(ecode1
)) {
18670 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18672 arg1
= static_cast< wxWindowVariant
>(val1
);
18675 if (!wxPyCheckForApp()) SWIG_fail
;
18676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18677 result
= wxSlider::GetClassDefaultAttributes(arg1
);
18678 wxPyEndAllowThreads(__tstate
);
18679 if (PyErr_Occurred()) SWIG_fail
;
18681 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18688 SWIGINTERN PyObject
*Slider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18690 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18691 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider
, SWIG_NewClientData(obj
));
18692 return SWIG_Py_Void();
18695 SWIGINTERN PyObject
*Slider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18696 return SWIG_Python_InitShadowInstance(args
);
18699 SWIGINTERN
int ToggleButtonNameStr_set(PyObject
*) {
18700 SWIG_Error(SWIG_AttributeError
,"Variable ToggleButtonNameStr is read-only.");
18705 SWIGINTERN PyObject
*ToggleButtonNameStr_get(void) {
18706 PyObject
*pyobj
= 0;
18710 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18712 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18719 SWIGINTERN PyObject
*_wrap_new_ToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18720 PyObject
*resultobj
= 0;
18721 wxWindow
*arg1
= (wxWindow
*) 0 ;
18722 int arg2
= (int) -1 ;
18723 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18724 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18725 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18726 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18727 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18728 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18729 long arg6
= (long) 0 ;
18730 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
18731 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
18732 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
18733 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
18734 wxToggleButton
*result
= 0 ;
18739 bool temp3
= false ;
18746 bool temp8
= false ;
18747 PyObject
* obj0
= 0 ;
18748 PyObject
* obj1
= 0 ;
18749 PyObject
* obj2
= 0 ;
18750 PyObject
* obj3
= 0 ;
18751 PyObject
* obj4
= 0 ;
18752 PyObject
* obj5
= 0 ;
18753 PyObject
* obj6
= 0 ;
18754 PyObject
* obj7
= 0 ;
18755 char * kwnames
[] = {
18756 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18761 if (!SWIG_IsOK(res1
)) {
18762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18764 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18766 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18767 if (!SWIG_IsOK(ecode2
)) {
18768 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18770 arg2
= static_cast< int >(val2
);
18774 arg3
= wxString_in_helper(obj2
);
18775 if (arg3
== NULL
) SWIG_fail
;
18782 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18788 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18792 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18793 if (!SWIG_IsOK(ecode6
)) {
18794 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
18796 arg6
= static_cast< long >(val6
);
18799 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
18800 if (!SWIG_IsOK(res7
)) {
18801 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18804 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18806 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
18810 arg8
= wxString_in_helper(obj7
);
18811 if (arg8
== NULL
) SWIG_fail
;
18816 if (!wxPyCheckForApp()) SWIG_fail
;
18817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18818 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
18819 wxPyEndAllowThreads(__tstate
);
18820 if (PyErr_Occurred()) SWIG_fail
;
18822 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_NEW
| 0 );
18845 SWIGINTERN PyObject
*_wrap_new_PreToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18846 PyObject
*resultobj
= 0;
18847 wxToggleButton
*result
= 0 ;
18849 if (!SWIG_Python_UnpackTuple(args
,"new_PreToggleButton",0,0,0)) SWIG_fail
;
18851 if (!wxPyCheckForApp()) SWIG_fail
;
18852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18853 result
= (wxToggleButton
*)new wxToggleButton();
18854 wxPyEndAllowThreads(__tstate
);
18855 if (PyErr_Occurred()) SWIG_fail
;
18857 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_OWN
| 0 );
18864 SWIGINTERN PyObject
*_wrap_ToggleButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18865 PyObject
*resultobj
= 0;
18866 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18867 wxWindow
*arg2
= (wxWindow
*) 0 ;
18868 int arg3
= (int) -1 ;
18869 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18870 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18871 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
18872 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
18873 wxSize
const &arg6_defvalue
= wxDefaultSize
;
18874 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
18875 long arg7
= (long) 0 ;
18876 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
18877 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
18878 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
18879 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
18887 bool temp4
= false ;
18894 bool temp9
= false ;
18895 PyObject
* obj0
= 0 ;
18896 PyObject
* obj1
= 0 ;
18897 PyObject
* obj2
= 0 ;
18898 PyObject
* obj3
= 0 ;
18899 PyObject
* obj4
= 0 ;
18900 PyObject
* obj5
= 0 ;
18901 PyObject
* obj6
= 0 ;
18902 PyObject
* obj7
= 0 ;
18903 PyObject
* obj8
= 0 ;
18904 char * kwnames
[] = {
18905 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
18909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18910 if (!SWIG_IsOK(res1
)) {
18911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18913 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18914 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18915 if (!SWIG_IsOK(res2
)) {
18916 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18918 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
18920 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18921 if (!SWIG_IsOK(ecode3
)) {
18922 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
18924 arg3
= static_cast< int >(val3
);
18928 arg4
= wxString_in_helper(obj3
);
18929 if (arg4
== NULL
) SWIG_fail
;
18936 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18942 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
18946 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18947 if (!SWIG_IsOK(ecode7
)) {
18948 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
18950 arg7
= static_cast< long >(val7
);
18953 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
18954 if (!SWIG_IsOK(res8
)) {
18955 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18958 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18960 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
18964 arg9
= wxString_in_helper(obj8
);
18965 if (arg9
== NULL
) SWIG_fail
;
18970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18971 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
18972 wxPyEndAllowThreads(__tstate
);
18973 if (PyErr_Occurred()) SWIG_fail
;
18976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19000 SWIGINTERN PyObject
*_wrap_ToggleButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19001 PyObject
*resultobj
= 0;
19002 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
19008 PyObject
* obj0
= 0 ;
19009 PyObject
* obj1
= 0 ;
19010 char * kwnames
[] = {
19011 (char *) "self",(char *) "value", NULL
19014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19016 if (!SWIG_IsOK(res1
)) {
19017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
19019 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19020 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19021 if (!SWIG_IsOK(ecode2
)) {
19022 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
19024 arg2
= static_cast< bool >(val2
);
19026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19027 (arg1
)->SetValue(arg2
);
19028 wxPyEndAllowThreads(__tstate
);
19029 if (PyErr_Occurred()) SWIG_fail
;
19031 resultobj
= SWIG_Py_Void();
19038 SWIGINTERN PyObject
*_wrap_ToggleButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19039 PyObject
*resultobj
= 0;
19040 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
19044 PyObject
*swig_obj
[1] ;
19046 if (!args
) SWIG_fail
;
19047 swig_obj
[0] = args
;
19048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19049 if (!SWIG_IsOK(res1
)) {
19050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
19052 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19055 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
19056 wxPyEndAllowThreads(__tstate
);
19057 if (PyErr_Occurred()) SWIG_fail
;
19060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19068 SWIGINTERN PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19069 PyObject
*resultobj
= 0;
19070 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
19071 SwigValueWrapper
<wxVisualAttributes
> result
;
19074 PyObject
* obj0
= 0 ;
19075 char * kwnames
[] = {
19076 (char *) "variant", NULL
19079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
19081 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19082 if (!SWIG_IsOK(ecode1
)) {
19083 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
19085 arg1
= static_cast< wxWindowVariant
>(val1
);
19088 if (!wxPyCheckForApp()) SWIG_fail
;
19089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19090 result
= wxToggleButton::GetClassDefaultAttributes(arg1
);
19091 wxPyEndAllowThreads(__tstate
);
19092 if (PyErr_Occurred()) SWIG_fail
;
19094 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
19101 SWIGINTERN PyObject
*ToggleButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19103 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19104 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton
, SWIG_NewClientData(obj
));
19105 return SWIG_Py_Void();
19108 SWIGINTERN PyObject
*ToggleButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19109 return SWIG_Python_InitShadowInstance(args
);
19112 SWIGINTERN
int NotebookNameStr_set(PyObject
*) {
19113 SWIG_Error(SWIG_AttributeError
,"Variable NotebookNameStr is read-only.");
19118 SWIGINTERN PyObject
*NotebookNameStr_get(void) {
19119 PyObject
*pyobj
= 0;
19123 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19125 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19132 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19133 PyObject
*resultobj
= 0;
19134 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19138 PyObject
*swig_obj
[1] ;
19140 if (!args
) SWIG_fail
;
19141 swig_obj
[0] = args
;
19142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19143 if (!SWIG_IsOK(res1
)) {
19144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19146 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19149 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
19150 wxPyEndAllowThreads(__tstate
);
19151 if (PyErr_Occurred()) SWIG_fail
;
19153 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
19160 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19161 PyObject
*resultobj
= 0;
19162 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19164 wxWindow
*result
= 0 ;
19169 PyObject
* obj0
= 0 ;
19170 PyObject
* obj1
= 0 ;
19171 char * kwnames
[] = {
19172 (char *) "self",(char *) "n", NULL
19175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19177 if (!SWIG_IsOK(res1
)) {
19178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19180 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19181 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19182 if (!SWIG_IsOK(ecode2
)) {
19183 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
19185 arg2
= static_cast< size_t >(val2
);
19187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19188 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
19189 wxPyEndAllowThreads(__tstate
);
19190 if (PyErr_Occurred()) SWIG_fail
;
19193 resultobj
= wxPyMake_wxObject(result
, 0);
19201 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19202 PyObject
*resultobj
= 0;
19203 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19204 wxWindow
*result
= 0 ;
19207 PyObject
*swig_obj
[1] ;
19209 if (!args
) SWIG_fail
;
19210 swig_obj
[0] = args
;
19211 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19212 if (!SWIG_IsOK(res1
)) {
19213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19215 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19218 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
19219 wxPyEndAllowThreads(__tstate
);
19220 if (PyErr_Occurred()) SWIG_fail
;
19223 resultobj
= wxPyMake_wxObject(result
, 0);
19231 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19232 PyObject
*resultobj
= 0;
19233 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19237 PyObject
*swig_obj
[1] ;
19239 if (!args
) SWIG_fail
;
19240 swig_obj
[0] = args
;
19241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19242 if (!SWIG_IsOK(res1
)) {
19243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19245 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19248 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
19249 wxPyEndAllowThreads(__tstate
);
19250 if (PyErr_Occurred()) SWIG_fail
;
19252 resultobj
= SWIG_From_int(static_cast< int >(result
));
19259 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19260 PyObject
*resultobj
= 0;
19261 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19263 wxString
*arg3
= 0 ;
19269 bool temp3
= false ;
19270 PyObject
* obj0
= 0 ;
19271 PyObject
* obj1
= 0 ;
19272 PyObject
* obj2
= 0 ;
19273 char * kwnames
[] = {
19274 (char *) "self",(char *) "n",(char *) "strText", NULL
19277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19279 if (!SWIG_IsOK(res1
)) {
19280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19282 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19283 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19284 if (!SWIG_IsOK(ecode2
)) {
19285 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
19287 arg2
= static_cast< size_t >(val2
);
19289 arg3
= wxString_in_helper(obj2
);
19290 if (arg3
== NULL
) SWIG_fail
;
19294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19295 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
19296 wxPyEndAllowThreads(__tstate
);
19297 if (PyErr_Occurred()) SWIG_fail
;
19300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19316 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19317 PyObject
*resultobj
= 0;
19318 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19325 PyObject
* obj0
= 0 ;
19326 PyObject
* obj1
= 0 ;
19327 char * kwnames
[] = {
19328 (char *) "self",(char *) "n", NULL
19331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19333 if (!SWIG_IsOK(res1
)) {
19334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19336 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19337 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19338 if (!SWIG_IsOK(ecode2
)) {
19339 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
19341 arg2
= static_cast< size_t >(val2
);
19343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19344 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
19345 wxPyEndAllowThreads(__tstate
);
19346 if (PyErr_Occurred()) SWIG_fail
;
19350 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19352 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19361 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19362 PyObject
*resultobj
= 0;
19363 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19364 wxImageList
*arg2
= (wxImageList
*) 0 ;
19369 PyObject
* obj0
= 0 ;
19370 PyObject
* obj1
= 0 ;
19371 char * kwnames
[] = {
19372 (char *) "self",(char *) "imageList", NULL
19375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19377 if (!SWIG_IsOK(res1
)) {
19378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19380 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19381 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
19382 if (!SWIG_IsOK(res2
)) {
19383 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19385 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
19387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19388 (arg1
)->SetImageList(arg2
);
19389 wxPyEndAllowThreads(__tstate
);
19390 if (PyErr_Occurred()) SWIG_fail
;
19392 resultobj
= SWIG_Py_Void();
19399 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19400 PyObject
*resultobj
= 0;
19401 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19402 wxImageList
*arg2
= (wxImageList
*) 0 ;
19406 PyObject
* obj0
= 0 ;
19407 PyObject
* obj1
= 0 ;
19408 char * kwnames
[] = {
19409 (char *) "self",(char *) "imageList", NULL
19412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19414 if (!SWIG_IsOK(res1
)) {
19415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19417 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19418 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
19419 if (!SWIG_IsOK(res2
)) {
19420 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19424 (arg1
)->AssignImageList(arg2
);
19425 wxPyEndAllowThreads(__tstate
);
19426 if (PyErr_Occurred()) SWIG_fail
;
19428 resultobj
= SWIG_Py_Void();
19435 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19436 PyObject
*resultobj
= 0;
19437 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19438 wxImageList
*result
= 0 ;
19441 PyObject
*swig_obj
[1] ;
19443 if (!args
) SWIG_fail
;
19444 swig_obj
[0] = args
;
19445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19446 if (!SWIG_IsOK(res1
)) {
19447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19449 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19452 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
19453 wxPyEndAllowThreads(__tstate
);
19454 if (PyErr_Occurred()) SWIG_fail
;
19457 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19465 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19466 PyObject
*resultobj
= 0;
19467 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19474 PyObject
* obj0
= 0 ;
19475 PyObject
* obj1
= 0 ;
19476 char * kwnames
[] = {
19477 (char *) "self",(char *) "n", NULL
19480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19482 if (!SWIG_IsOK(res1
)) {
19483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19485 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19486 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19487 if (!SWIG_IsOK(ecode2
)) {
19488 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19490 arg2
= static_cast< size_t >(val2
);
19492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19493 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
19494 wxPyEndAllowThreads(__tstate
);
19495 if (PyErr_Occurred()) SWIG_fail
;
19497 resultobj
= SWIG_From_int(static_cast< int >(result
));
19504 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19505 PyObject
*resultobj
= 0;
19506 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19516 PyObject
* obj0
= 0 ;
19517 PyObject
* obj1
= 0 ;
19518 PyObject
* obj2
= 0 ;
19519 char * kwnames
[] = {
19520 (char *) "self",(char *) "n",(char *) "imageId", NULL
19523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19525 if (!SWIG_IsOK(res1
)) {
19526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19528 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19529 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19530 if (!SWIG_IsOK(ecode2
)) {
19531 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19533 arg2
= static_cast< size_t >(val2
);
19534 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19535 if (!SWIG_IsOK(ecode3
)) {
19536 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19538 arg3
= static_cast< int >(val3
);
19540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19541 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
19542 wxPyEndAllowThreads(__tstate
);
19543 if (PyErr_Occurred()) SWIG_fail
;
19546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19554 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19555 PyObject
*resultobj
= 0;
19556 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19561 PyObject
* obj0
= 0 ;
19562 PyObject
* obj1
= 0 ;
19563 char * kwnames
[] = {
19564 (char *) "self",(char *) "size", NULL
19567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19569 if (!SWIG_IsOK(res1
)) {
19570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19572 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19575 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19579 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
19580 wxPyEndAllowThreads(__tstate
);
19581 if (PyErr_Occurred()) SWIG_fail
;
19583 resultobj
= SWIG_Py_Void();
19590 SWIGINTERN PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19591 PyObject
*resultobj
= 0;
19592 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19598 PyObject
* obj0
= 0 ;
19599 PyObject
* obj1
= 0 ;
19600 char * kwnames
[] = {
19601 (char *) "self",(char *) "sizePage", NULL
19604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19606 if (!SWIG_IsOK(res1
)) {
19607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19609 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19612 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19616 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
19617 wxPyEndAllowThreads(__tstate
);
19618 if (PyErr_Occurred()) SWIG_fail
;
19620 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19627 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19628 PyObject
*resultobj
= 0;
19629 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19630 unsigned int result
;
19633 PyObject
*swig_obj
[1] ;
19635 if (!args
) SWIG_fail
;
19636 swig_obj
[0] = args
;
19637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19638 if (!SWIG_IsOK(res1
)) {
19639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19641 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19644 result
= (unsigned int)((wxBookCtrlBase
const *)arg1
)->GetInternalBorder();
19645 wxPyEndAllowThreads(__tstate
);
19646 if (PyErr_Occurred()) SWIG_fail
;
19648 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
19655 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19656 PyObject
*resultobj
= 0;
19657 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19658 unsigned int arg2
;
19661 unsigned int val2
;
19663 PyObject
* obj0
= 0 ;
19664 PyObject
* obj1
= 0 ;
19665 char * kwnames
[] = {
19666 (char *) "self",(char *) "internalBorder", NULL
19669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19671 if (!SWIG_IsOK(res1
)) {
19672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19674 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19675 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
19676 if (!SWIG_IsOK(ecode2
)) {
19677 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "unsigned int""'");
19679 arg2
= static_cast< unsigned int >(val2
);
19681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19682 (arg1
)->SetInternalBorder(arg2
);
19683 wxPyEndAllowThreads(__tstate
);
19684 if (PyErr_Occurred()) SWIG_fail
;
19686 resultobj
= SWIG_Py_Void();
19693 SWIGINTERN PyObject
*_wrap_BookCtrlBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19694 PyObject
*resultobj
= 0;
19695 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19699 PyObject
*swig_obj
[1] ;
19701 if (!args
) SWIG_fail
;
19702 swig_obj
[0] = args
;
19703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19704 if (!SWIG_IsOK(res1
)) {
19705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19707 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19710 result
= (bool)((wxBookCtrlBase
const *)arg1
)->IsVertical();
19711 wxPyEndAllowThreads(__tstate
);
19712 if (PyErr_Occurred()) SWIG_fail
;
19715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19723 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19724 PyObject
*resultobj
= 0;
19725 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19731 PyObject
* obj0
= 0 ;
19732 PyObject
* obj1
= 0 ;
19733 char * kwnames
[] = {
19734 (char *) "self",(char *) "margin", NULL
19737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetControlMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19739 if (!SWIG_IsOK(res1
)) {
19740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19742 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19743 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19744 if (!SWIG_IsOK(ecode2
)) {
19745 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "2"" of type '" "int""'");
19747 arg2
= static_cast< int >(val2
);
19749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19750 (arg1
)->SetControlMargin(arg2
);
19751 wxPyEndAllowThreads(__tstate
);
19752 if (PyErr_Occurred()) SWIG_fail
;
19754 resultobj
= SWIG_Py_Void();
19761 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19762 PyObject
*resultobj
= 0;
19763 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19767 PyObject
*swig_obj
[1] ;
19769 if (!args
) SWIG_fail
;
19770 swig_obj
[0] = args
;
19771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19772 if (!SWIG_IsOK(res1
)) {
19773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19775 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19778 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetControlMargin();
19779 wxPyEndAllowThreads(__tstate
);
19780 if (PyErr_Occurred()) SWIG_fail
;
19782 resultobj
= SWIG_From_int(static_cast< int >(result
));
19789 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19790 PyObject
*resultobj
= 0;
19791 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19797 PyObject
* obj0
= 0 ;
19798 PyObject
* obj1
= 0 ;
19799 char * kwnames
[] = {
19800 (char *) "self",(char *) "fit", NULL
19803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19805 if (!SWIG_IsOK(res1
)) {
19806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19808 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19809 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19810 if (!SWIG_IsOK(ecode2
)) {
19811 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
19813 arg2
= static_cast< bool >(val2
);
19815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19816 (arg1
)->SetFitToCurrentPage(arg2
);
19817 wxPyEndAllowThreads(__tstate
);
19818 if (PyErr_Occurred()) SWIG_fail
;
19820 resultobj
= SWIG_Py_Void();
19827 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19828 PyObject
*resultobj
= 0;
19829 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19833 PyObject
*swig_obj
[1] ;
19835 if (!args
) SWIG_fail
;
19836 swig_obj
[0] = args
;
19837 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19838 if (!SWIG_IsOK(res1
)) {
19839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19841 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19844 result
= (bool)((wxBookCtrlBase
const *)arg1
)->GetFitToCurrentPage();
19845 wxPyEndAllowThreads(__tstate
);
19846 if (PyErr_Occurred()) SWIG_fail
;
19849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19857 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19858 PyObject
*resultobj
= 0;
19859 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19860 wxSizer
*result
= 0 ;
19863 PyObject
*swig_obj
[1] ;
19865 if (!args
) SWIG_fail
;
19866 swig_obj
[0] = args
;
19867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19868 if (!SWIG_IsOK(res1
)) {
19869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlSizer" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19871 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19874 result
= (wxSizer
*)((wxBookCtrlBase
const *)arg1
)->GetControlSizer();
19875 wxPyEndAllowThreads(__tstate
);
19876 if (PyErr_Occurred()) SWIG_fail
;
19879 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19887 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19888 PyObject
*resultobj
= 0;
19889 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19896 PyObject
* obj0
= 0 ;
19897 PyObject
* obj1
= 0 ;
19898 char * kwnames
[] = {
19899 (char *) "self",(char *) "n", NULL
19902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19904 if (!SWIG_IsOK(res1
)) {
19905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19907 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19908 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19909 if (!SWIG_IsOK(ecode2
)) {
19910 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
19912 arg2
= static_cast< size_t >(val2
);
19914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19915 result
= (bool)(arg1
)->DeletePage(arg2
);
19916 wxPyEndAllowThreads(__tstate
);
19917 if (PyErr_Occurred()) SWIG_fail
;
19920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19928 SWIGINTERN PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19929 PyObject
*resultobj
= 0;
19930 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19937 PyObject
* obj0
= 0 ;
19938 PyObject
* obj1
= 0 ;
19939 char * kwnames
[] = {
19940 (char *) "self",(char *) "n", NULL
19943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19945 if (!SWIG_IsOK(res1
)) {
19946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19948 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19949 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19950 if (!SWIG_IsOK(ecode2
)) {
19951 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
19953 arg2
= static_cast< size_t >(val2
);
19955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19956 result
= (bool)(arg1
)->RemovePage(arg2
);
19957 wxPyEndAllowThreads(__tstate
);
19958 if (PyErr_Occurred()) SWIG_fail
;
19961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19969 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19970 PyObject
*resultobj
= 0;
19971 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19975 PyObject
*swig_obj
[1] ;
19977 if (!args
) SWIG_fail
;
19978 swig_obj
[0] = args
;
19979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19980 if (!SWIG_IsOK(res1
)) {
19981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19983 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19986 result
= (bool)(arg1
)->DeleteAllPages();
19987 wxPyEndAllowThreads(__tstate
);
19988 if (PyErr_Occurred()) SWIG_fail
;
19991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19999 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20000 PyObject
*resultobj
= 0;
20001 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20002 wxWindow
*arg2
= (wxWindow
*) 0 ;
20003 wxString
*arg3
= 0 ;
20004 bool arg4
= (bool) false ;
20005 int arg5
= (int) -1 ;
20011 bool temp3
= false ;
20016 PyObject
* obj0
= 0 ;
20017 PyObject
* obj1
= 0 ;
20018 PyObject
* obj2
= 0 ;
20019 PyObject
* obj3
= 0 ;
20020 PyObject
* obj4
= 0 ;
20021 char * kwnames
[] = {
20022 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20027 if (!SWIG_IsOK(res1
)) {
20028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20030 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20031 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20032 if (!SWIG_IsOK(res2
)) {
20033 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
20035 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20037 arg3
= wxString_in_helper(obj2
);
20038 if (arg3
== NULL
) SWIG_fail
;
20042 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
20043 if (!SWIG_IsOK(ecode4
)) {
20044 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
20046 arg4
= static_cast< bool >(val4
);
20049 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20050 if (!SWIG_IsOK(ecode5
)) {
20051 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
20053 arg5
= static_cast< int >(val5
);
20056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20057 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
20058 wxPyEndAllowThreads(__tstate
);
20059 if (PyErr_Occurred()) SWIG_fail
;
20062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20078 SWIGINTERN PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20079 PyObject
*resultobj
= 0;
20080 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20082 wxWindow
*arg3
= (wxWindow
*) 0 ;
20083 wxString
*arg4
= 0 ;
20084 bool arg5
= (bool) false ;
20085 int arg6
= (int) -1 ;
20093 bool temp4
= false ;
20098 PyObject
* obj0
= 0 ;
20099 PyObject
* obj1
= 0 ;
20100 PyObject
* obj2
= 0 ;
20101 PyObject
* obj3
= 0 ;
20102 PyObject
* obj4
= 0 ;
20103 PyObject
* obj5
= 0 ;
20104 char * kwnames
[] = {
20105 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20110 if (!SWIG_IsOK(res1
)) {
20111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20113 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20114 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20115 if (!SWIG_IsOK(ecode2
)) {
20116 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
20118 arg2
= static_cast< size_t >(val2
);
20119 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20120 if (!SWIG_IsOK(res3
)) {
20121 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
20123 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
20125 arg4
= wxString_in_helper(obj3
);
20126 if (arg4
== NULL
) SWIG_fail
;
20130 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
20131 if (!SWIG_IsOK(ecode5
)) {
20132 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
20134 arg5
= static_cast< bool >(val5
);
20137 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20138 if (!SWIG_IsOK(ecode6
)) {
20139 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
20141 arg6
= static_cast< int >(val6
);
20144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20145 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
20146 wxPyEndAllowThreads(__tstate
);
20147 if (PyErr_Occurred()) SWIG_fail
;
20150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20166 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20167 PyObject
*resultobj
= 0;
20168 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20175 PyObject
* obj0
= 0 ;
20176 PyObject
* obj1
= 0 ;
20177 char * kwnames
[] = {
20178 (char *) "self",(char *) "n", NULL
20181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20183 if (!SWIG_IsOK(res1
)) {
20184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20186 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20187 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20188 if (!SWIG_IsOK(ecode2
)) {
20189 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
20191 arg2
= static_cast< size_t >(val2
);
20193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20194 result
= (int)(arg1
)->SetSelection(arg2
);
20195 wxPyEndAllowThreads(__tstate
);
20196 if (PyErr_Occurred()) SWIG_fail
;
20198 resultobj
= SWIG_From_int(static_cast< int >(result
));
20205 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20206 PyObject
*resultobj
= 0;
20207 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20208 bool arg2
= (bool) true ;
20213 PyObject
* obj0
= 0 ;
20214 PyObject
* obj1
= 0 ;
20215 char * kwnames
[] = {
20216 (char *) "self",(char *) "forward", NULL
20219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20221 if (!SWIG_IsOK(res1
)) {
20222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20224 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20226 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20227 if (!SWIG_IsOK(ecode2
)) {
20228 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
20230 arg2
= static_cast< bool >(val2
);
20233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20234 (arg1
)->AdvanceSelection(arg2
);
20235 wxPyEndAllowThreads(__tstate
);
20236 if (PyErr_Occurred()) SWIG_fail
;
20238 resultobj
= SWIG_Py_Void();
20245 SWIGINTERN PyObject
*_wrap_BookCtrlBase_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20246 PyObject
*resultobj
= 0;
20247 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20248 wxPoint
*arg2
= 0 ;
20249 long *arg3
= (long *) 0 ;
20255 int res3
= SWIG_TMPOBJ
;
20256 PyObject
* obj0
= 0 ;
20257 PyObject
* obj1
= 0 ;
20258 char * kwnames
[] = {
20259 (char *) "self",(char *) "pt", NULL
20263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20265 if (!SWIG_IsOK(res1
)) {
20266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_HitTest" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20268 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20271 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20275 result
= (int)((wxBookCtrlBase
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
20276 wxPyEndAllowThreads(__tstate
);
20277 if (PyErr_Occurred()) SWIG_fail
;
20279 resultobj
= SWIG_From_int(static_cast< int >(result
));
20280 if (SWIG_IsTmpObj(res3
)) {
20281 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
20283 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20284 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
20292 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20293 PyObject
*resultobj
= 0;
20294 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20295 SwigValueWrapper
<wxVisualAttributes
> result
;
20298 PyObject
* obj0
= 0 ;
20299 char * kwnames
[] = {
20300 (char *) "variant", NULL
20303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20305 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20306 if (!SWIG_IsOK(ecode1
)) {
20307 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20309 arg1
= static_cast< wxWindowVariant
>(val1
);
20312 if (!wxPyCheckForApp()) SWIG_fail
;
20313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20314 result
= wxBookCtrlBase::GetClassDefaultAttributes(arg1
);
20315 wxPyEndAllowThreads(__tstate
);
20316 if (PyErr_Occurred()) SWIG_fail
;
20318 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20325 SWIGINTERN PyObject
*BookCtrlBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20327 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20328 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase
, SWIG_NewClientData(obj
));
20329 return SWIG_Py_Void();
20332 SWIGINTERN PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20333 PyObject
*resultobj
= 0;
20334 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20335 int arg2
= (int) 0 ;
20336 int arg3
= (int) -1 ;
20337 int arg4
= (int) -1 ;
20338 wxBookCtrlBaseEvent
*result
= 0 ;
20347 PyObject
* obj0
= 0 ;
20348 PyObject
* obj1
= 0 ;
20349 PyObject
* obj2
= 0 ;
20350 PyObject
* obj3
= 0 ;
20351 char * kwnames
[] = {
20352 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20357 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20358 if (!SWIG_IsOK(ecode1
)) {
20359 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20361 arg1
= static_cast< wxEventType
>(val1
);
20364 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20365 if (!SWIG_IsOK(ecode2
)) {
20366 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
20368 arg2
= static_cast< int >(val2
);
20371 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20372 if (!SWIG_IsOK(ecode3
)) {
20373 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
20375 arg3
= static_cast< int >(val3
);
20378 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20379 if (!SWIG_IsOK(ecode4
)) {
20380 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
20382 arg4
= static_cast< int >(val4
);
20385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20386 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
20387 wxPyEndAllowThreads(__tstate
);
20388 if (PyErr_Occurred()) SWIG_fail
;
20390 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_NEW
| 0 );
20397 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20398 PyObject
*resultobj
= 0;
20399 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20403 PyObject
*swig_obj
[1] ;
20405 if (!args
) SWIG_fail
;
20406 swig_obj
[0] = args
;
20407 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20408 if (!SWIG_IsOK(res1
)) {
20409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20411 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20414 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
20415 wxPyEndAllowThreads(__tstate
);
20416 if (PyErr_Occurred()) SWIG_fail
;
20418 resultobj
= SWIG_From_int(static_cast< int >(result
));
20425 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20426 PyObject
*resultobj
= 0;
20427 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20433 PyObject
* obj0
= 0 ;
20434 PyObject
* obj1
= 0 ;
20435 char * kwnames
[] = {
20436 (char *) "self",(char *) "nSel", NULL
20439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20441 if (!SWIG_IsOK(res1
)) {
20442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20444 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20445 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20446 if (!SWIG_IsOK(ecode2
)) {
20447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
20449 arg2
= static_cast< int >(val2
);
20451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20452 (arg1
)->SetSelection(arg2
);
20453 wxPyEndAllowThreads(__tstate
);
20454 if (PyErr_Occurred()) SWIG_fail
;
20456 resultobj
= SWIG_Py_Void();
20463 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20464 PyObject
*resultobj
= 0;
20465 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20469 PyObject
*swig_obj
[1] ;
20471 if (!args
) SWIG_fail
;
20472 swig_obj
[0] = args
;
20473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20474 if (!SWIG_IsOK(res1
)) {
20475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20477 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20480 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
20481 wxPyEndAllowThreads(__tstate
);
20482 if (PyErr_Occurred()) SWIG_fail
;
20484 resultobj
= SWIG_From_int(static_cast< int >(result
));
20491 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20492 PyObject
*resultobj
= 0;
20493 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20499 PyObject
* obj0
= 0 ;
20500 PyObject
* obj1
= 0 ;
20501 char * kwnames
[] = {
20502 (char *) "self",(char *) "nOldSel", NULL
20505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20507 if (!SWIG_IsOK(res1
)) {
20508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20510 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20511 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20512 if (!SWIG_IsOK(ecode2
)) {
20513 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
20515 arg2
= static_cast< int >(val2
);
20517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20518 (arg1
)->SetOldSelection(arg2
);
20519 wxPyEndAllowThreads(__tstate
);
20520 if (PyErr_Occurred()) SWIG_fail
;
20522 resultobj
= SWIG_Py_Void();
20529 SWIGINTERN PyObject
*BookCtrlBaseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20531 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20532 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_NewClientData(obj
));
20533 return SWIG_Py_Void();
20536 SWIGINTERN PyObject
*BookCtrlBaseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20537 return SWIG_Python_InitShadowInstance(args
);
20540 SWIGINTERN PyObject
*_wrap_new_Notebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20541 PyObject
*resultobj
= 0;
20542 wxWindow
*arg1
= (wxWindow
*) 0 ;
20543 int arg2
= (int) -1 ;
20544 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20545 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20546 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20547 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20548 long arg5
= (long) 0 ;
20549 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
20550 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20551 wxNotebook
*result
= 0 ;
20560 bool temp6
= false ;
20561 PyObject
* obj0
= 0 ;
20562 PyObject
* obj1
= 0 ;
20563 PyObject
* obj2
= 0 ;
20564 PyObject
* obj3
= 0 ;
20565 PyObject
* obj4
= 0 ;
20566 PyObject
* obj5
= 0 ;
20567 char * kwnames
[] = {
20568 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20573 if (!SWIG_IsOK(res1
)) {
20574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20576 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20578 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20579 if (!SWIG_IsOK(ecode2
)) {
20580 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20582 arg2
= static_cast< int >(val2
);
20587 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20593 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20597 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20598 if (!SWIG_IsOK(ecode5
)) {
20599 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20601 arg5
= static_cast< long >(val5
);
20605 arg6
= wxString_in_helper(obj5
);
20606 if (arg6
== NULL
) SWIG_fail
;
20611 if (!wxPyCheckForApp()) SWIG_fail
;
20612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20613 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20614 wxPyEndAllowThreads(__tstate
);
20615 if (PyErr_Occurred()) SWIG_fail
;
20617 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_NEW
| 0 );
20632 SWIGINTERN PyObject
*_wrap_new_PreNotebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20633 PyObject
*resultobj
= 0;
20634 wxNotebook
*result
= 0 ;
20636 if (!SWIG_Python_UnpackTuple(args
,"new_PreNotebook",0,0,0)) SWIG_fail
;
20638 if (!wxPyCheckForApp()) SWIG_fail
;
20639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20640 result
= (wxNotebook
*)new wxNotebook();
20641 wxPyEndAllowThreads(__tstate
);
20642 if (PyErr_Occurred()) SWIG_fail
;
20644 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_OWN
| 0 );
20651 SWIGINTERN PyObject
*_wrap_Notebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20652 PyObject
*resultobj
= 0;
20653 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20654 wxWindow
*arg2
= (wxWindow
*) 0 ;
20655 int arg3
= (int) -1 ;
20656 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20657 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20658 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20659 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20660 long arg6
= (long) 0 ;
20661 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
20662 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20674 bool temp7
= false ;
20675 PyObject
* obj0
= 0 ;
20676 PyObject
* obj1
= 0 ;
20677 PyObject
* obj2
= 0 ;
20678 PyObject
* obj3
= 0 ;
20679 PyObject
* obj4
= 0 ;
20680 PyObject
* obj5
= 0 ;
20681 PyObject
* obj6
= 0 ;
20682 char * kwnames
[] = {
20683 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20688 if (!SWIG_IsOK(res1
)) {
20689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20691 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20692 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20693 if (!SWIG_IsOK(res2
)) {
20694 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20696 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20698 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20699 if (!SWIG_IsOK(ecode3
)) {
20700 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20702 arg3
= static_cast< int >(val3
);
20707 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20713 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20717 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20718 if (!SWIG_IsOK(ecode6
)) {
20719 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20721 arg6
= static_cast< long >(val6
);
20725 arg7
= wxString_in_helper(obj6
);
20726 if (arg7
== NULL
) SWIG_fail
;
20731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20732 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20733 wxPyEndAllowThreads(__tstate
);
20734 if (PyErr_Occurred()) SWIG_fail
;
20737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20753 SWIGINTERN PyObject
*_wrap_Notebook_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20754 PyObject
*resultobj
= 0;
20755 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20759 PyObject
*swig_obj
[1] ;
20761 if (!args
) SWIG_fail
;
20762 swig_obj
[0] = args
;
20763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20764 if (!SWIG_IsOK(res1
)) {
20765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20767 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20770 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
20771 wxPyEndAllowThreads(__tstate
);
20772 if (PyErr_Occurred()) SWIG_fail
;
20774 resultobj
= SWIG_From_int(static_cast< int >(result
));
20781 SWIGINTERN PyObject
*_wrap_Notebook_SetPadding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20782 PyObject
*resultobj
= 0;
20783 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20788 PyObject
* obj0
= 0 ;
20789 PyObject
* obj1
= 0 ;
20790 char * kwnames
[] = {
20791 (char *) "self",(char *) "padding", NULL
20794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20796 if (!SWIG_IsOK(res1
)) {
20797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
20799 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20802 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20806 (arg1
)->SetPadding((wxSize
const &)*arg2
);
20807 wxPyEndAllowThreads(__tstate
);
20808 if (PyErr_Occurred()) SWIG_fail
;
20810 resultobj
= SWIG_Py_Void();
20817 SWIGINTERN PyObject
*_wrap_Notebook_SetTabSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20818 PyObject
*resultobj
= 0;
20819 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20824 PyObject
* obj0
= 0 ;
20825 PyObject
* obj1
= 0 ;
20826 char * kwnames
[] = {
20827 (char *) "self",(char *) "sz", NULL
20830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20832 if (!SWIG_IsOK(res1
)) {
20833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
20835 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20838 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20842 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
20843 wxPyEndAllowThreads(__tstate
);
20844 if (PyErr_Occurred()) SWIG_fail
;
20846 resultobj
= SWIG_Py_Void();
20853 SWIGINTERN PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20854 PyObject
*resultobj
= 0;
20855 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20859 PyObject
*swig_obj
[1] ;
20861 if (!args
) SWIG_fail
;
20862 swig_obj
[0] = args
;
20863 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20864 if (!SWIG_IsOK(res1
)) {
20865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20867 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20870 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
20871 wxPyEndAllowThreads(__tstate
);
20872 if (PyErr_Occurred()) SWIG_fail
;
20874 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
20881 SWIGINTERN PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20882 PyObject
*resultobj
= 0;
20883 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20884 SwigValueWrapper
<wxVisualAttributes
> result
;
20887 PyObject
* obj0
= 0 ;
20888 char * kwnames
[] = {
20889 (char *) "variant", NULL
20892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20894 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20895 if (!SWIG_IsOK(ecode1
)) {
20896 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20898 arg1
= static_cast< wxWindowVariant
>(val1
);
20901 if (!wxPyCheckForApp()) SWIG_fail
;
20902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20903 result
= wxNotebook::GetClassDefaultAttributes(arg1
);
20904 wxPyEndAllowThreads(__tstate
);
20905 if (PyErr_Occurred()) SWIG_fail
;
20907 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20914 SWIGINTERN PyObject
*Notebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20916 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20917 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook
, SWIG_NewClientData(obj
));
20918 return SWIG_Py_Void();
20921 SWIGINTERN PyObject
*Notebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20922 return SWIG_Python_InitShadowInstance(args
);
20925 SWIGINTERN PyObject
*_wrap_new_NotebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20926 PyObject
*resultobj
= 0;
20927 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20928 int arg2
= (int) 0 ;
20929 int arg3
= (int) -1 ;
20930 int arg4
= (int) -1 ;
20931 wxNotebookEvent
*result
= 0 ;
20940 PyObject
* obj0
= 0 ;
20941 PyObject
* obj1
= 0 ;
20942 PyObject
* obj2
= 0 ;
20943 PyObject
* obj3
= 0 ;
20944 char * kwnames
[] = {
20945 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20950 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20951 if (!SWIG_IsOK(ecode1
)) {
20952 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20954 arg1
= static_cast< wxEventType
>(val1
);
20957 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20958 if (!SWIG_IsOK(ecode2
)) {
20959 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
20961 arg2
= static_cast< int >(val2
);
20964 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20965 if (!SWIG_IsOK(ecode3
)) {
20966 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
20968 arg3
= static_cast< int >(val3
);
20971 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20972 if (!SWIG_IsOK(ecode4
)) {
20973 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
20975 arg4
= static_cast< int >(val4
);
20978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20979 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
20980 wxPyEndAllowThreads(__tstate
);
20981 if (PyErr_Occurred()) SWIG_fail
;
20983 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebookEvent
, SWIG_POINTER_NEW
| 0 );
20990 SWIGINTERN PyObject
*NotebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20992 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20993 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent
, SWIG_NewClientData(obj
));
20994 return SWIG_Py_Void();
20997 SWIGINTERN PyObject
*NotebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20998 return SWIG_Python_InitShadowInstance(args
);
21001 SWIGINTERN PyObject
*_wrap_new_Listbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21002 PyObject
*resultobj
= 0;
21003 wxWindow
*arg1
= (wxWindow
*) 0 ;
21004 int arg2
= (int) -1 ;
21005 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21006 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21007 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21008 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21009 long arg5
= (long) 0 ;
21010 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21011 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21012 wxListbook
*result
= 0 ;
21021 bool temp6
= false ;
21022 PyObject
* obj0
= 0 ;
21023 PyObject
* obj1
= 0 ;
21024 PyObject
* obj2
= 0 ;
21025 PyObject
* obj3
= 0 ;
21026 PyObject
* obj4
= 0 ;
21027 PyObject
* obj5
= 0 ;
21028 char * kwnames
[] = {
21029 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21034 if (!SWIG_IsOK(res1
)) {
21035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
21037 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21039 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21040 if (!SWIG_IsOK(ecode2
)) {
21041 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
21043 arg2
= static_cast< int >(val2
);
21048 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21054 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21058 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21059 if (!SWIG_IsOK(ecode5
)) {
21060 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
21062 arg5
= static_cast< long >(val5
);
21066 arg6
= wxString_in_helper(obj5
);
21067 if (arg6
== NULL
) SWIG_fail
;
21072 if (!wxPyCheckForApp()) SWIG_fail
;
21073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21074 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21075 wxPyEndAllowThreads(__tstate
);
21076 if (PyErr_Occurred()) SWIG_fail
;
21078 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_NEW
| 0 );
21093 SWIGINTERN PyObject
*_wrap_new_PreListbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21094 PyObject
*resultobj
= 0;
21095 wxListbook
*result
= 0 ;
21097 if (!SWIG_Python_UnpackTuple(args
,"new_PreListbook",0,0,0)) SWIG_fail
;
21099 if (!wxPyCheckForApp()) SWIG_fail
;
21100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21101 result
= (wxListbook
*)new wxListbook();
21102 wxPyEndAllowThreads(__tstate
);
21103 if (PyErr_Occurred()) SWIG_fail
;
21105 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_OWN
| 0 );
21112 SWIGINTERN PyObject
*_wrap_Listbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21113 PyObject
*resultobj
= 0;
21114 wxListbook
*arg1
= (wxListbook
*) 0 ;
21115 wxWindow
*arg2
= (wxWindow
*) 0 ;
21116 int arg3
= (int) -1 ;
21117 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21118 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21119 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21120 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21121 long arg6
= (long) 0 ;
21122 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21123 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21135 bool temp7
= false ;
21136 PyObject
* obj0
= 0 ;
21137 PyObject
* obj1
= 0 ;
21138 PyObject
* obj2
= 0 ;
21139 PyObject
* obj3
= 0 ;
21140 PyObject
* obj4
= 0 ;
21141 PyObject
* obj5
= 0 ;
21142 PyObject
* obj6
= 0 ;
21143 char * kwnames
[] = {
21144 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21149 if (!SWIG_IsOK(res1
)) {
21150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
21152 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21153 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21154 if (!SWIG_IsOK(res2
)) {
21155 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21157 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21159 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21160 if (!SWIG_IsOK(ecode3
)) {
21161 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
21163 arg3
= static_cast< int >(val3
);
21168 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21174 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21178 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21179 if (!SWIG_IsOK(ecode6
)) {
21180 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
21182 arg6
= static_cast< long >(val6
);
21186 arg7
= wxString_in_helper(obj6
);
21187 if (arg7
== NULL
) SWIG_fail
;
21192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21193 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21194 wxPyEndAllowThreads(__tstate
);
21195 if (PyErr_Occurred()) SWIG_fail
;
21198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21214 SWIGINTERN PyObject
*_wrap_Listbook_GetListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21215 PyObject
*resultobj
= 0;
21216 wxListbook
*arg1
= (wxListbook
*) 0 ;
21217 wxListView
*result
= 0 ;
21220 PyObject
*swig_obj
[1] ;
21222 if (!args
) SWIG_fail
;
21223 swig_obj
[0] = args
;
21224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21225 if (!SWIG_IsOK(res1
)) {
21226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
21228 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21231 result
= (wxListView
*)(arg1
)->GetListView();
21232 wxPyEndAllowThreads(__tstate
);
21233 if (PyErr_Occurred()) SWIG_fail
;
21235 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, 0 | 0 );
21242 SWIGINTERN PyObject
*Listbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21244 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21245 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook
, SWIG_NewClientData(obj
));
21246 return SWIG_Py_Void();
21249 SWIGINTERN PyObject
*Listbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21250 return SWIG_Python_InitShadowInstance(args
);
21253 SWIGINTERN PyObject
*_wrap_new_ListbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21254 PyObject
*resultobj
= 0;
21255 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21256 int arg2
= (int) 0 ;
21257 int arg3
= (int) -1 ;
21258 int arg4
= (int) -1 ;
21259 wxListbookEvent
*result
= 0 ;
21268 PyObject
* obj0
= 0 ;
21269 PyObject
* obj1
= 0 ;
21270 PyObject
* obj2
= 0 ;
21271 PyObject
* obj3
= 0 ;
21272 char * kwnames
[] = {
21273 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21278 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21279 if (!SWIG_IsOK(ecode1
)) {
21280 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21282 arg1
= static_cast< wxEventType
>(val1
);
21285 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21286 if (!SWIG_IsOK(ecode2
)) {
21287 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
21289 arg2
= static_cast< int >(val2
);
21292 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21293 if (!SWIG_IsOK(ecode3
)) {
21294 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
21296 arg3
= static_cast< int >(val3
);
21299 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21300 if (!SWIG_IsOK(ecode4
)) {
21301 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
21303 arg4
= static_cast< int >(val4
);
21306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21307 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
21308 wxPyEndAllowThreads(__tstate
);
21309 if (PyErr_Occurred()) SWIG_fail
;
21311 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbookEvent
, SWIG_POINTER_NEW
| 0 );
21318 SWIGINTERN PyObject
*ListbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21320 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21321 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent
, SWIG_NewClientData(obj
));
21322 return SWIG_Py_Void();
21325 SWIGINTERN PyObject
*ListbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21326 return SWIG_Python_InitShadowInstance(args
);
21329 SWIGINTERN PyObject
*_wrap_new_Choicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21330 PyObject
*resultobj
= 0;
21331 wxWindow
*arg1
= (wxWindow
*) 0 ;
21333 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21334 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21335 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21336 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21337 long arg5
= (long) 0 ;
21338 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21339 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21340 wxChoicebook
*result
= 0 ;
21349 bool temp6
= false ;
21350 PyObject
* obj0
= 0 ;
21351 PyObject
* obj1
= 0 ;
21352 PyObject
* obj2
= 0 ;
21353 PyObject
* obj3
= 0 ;
21354 PyObject
* obj4
= 0 ;
21355 PyObject
* obj5
= 0 ;
21356 char * kwnames
[] = {
21357 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21362 if (!SWIG_IsOK(res1
)) {
21363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21365 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21366 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21367 if (!SWIG_IsOK(ecode2
)) {
21368 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
21370 arg2
= static_cast< int >(val2
);
21374 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21380 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21384 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21385 if (!SWIG_IsOK(ecode5
)) {
21386 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
21388 arg5
= static_cast< long >(val5
);
21392 arg6
= wxString_in_helper(obj5
);
21393 if (arg6
== NULL
) SWIG_fail
;
21398 if (!wxPyCheckForApp()) SWIG_fail
;
21399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21400 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21401 wxPyEndAllowThreads(__tstate
);
21402 if (PyErr_Occurred()) SWIG_fail
;
21404 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_NEW
| 0 );
21419 SWIGINTERN PyObject
*_wrap_new_PreChoicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21420 PyObject
*resultobj
= 0;
21421 wxChoicebook
*result
= 0 ;
21423 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoicebook",0,0,0)) SWIG_fail
;
21425 if (!wxPyCheckForApp()) SWIG_fail
;
21426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21427 result
= (wxChoicebook
*)new wxChoicebook();
21428 wxPyEndAllowThreads(__tstate
);
21429 if (PyErr_Occurred()) SWIG_fail
;
21431 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_OWN
| 0 );
21438 SWIGINTERN PyObject
*_wrap_Choicebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21439 PyObject
*resultobj
= 0;
21440 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21441 wxWindow
*arg2
= (wxWindow
*) 0 ;
21443 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21444 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21445 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21446 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21447 long arg6
= (long) 0 ;
21448 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21449 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21461 bool temp7
= false ;
21462 PyObject
* obj0
= 0 ;
21463 PyObject
* obj1
= 0 ;
21464 PyObject
* obj2
= 0 ;
21465 PyObject
* obj3
= 0 ;
21466 PyObject
* obj4
= 0 ;
21467 PyObject
* obj5
= 0 ;
21468 PyObject
* obj6
= 0 ;
21469 char * kwnames
[] = {
21470 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21475 if (!SWIG_IsOK(res1
)) {
21476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
21478 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21479 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21480 if (!SWIG_IsOK(res2
)) {
21481 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21483 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21484 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21485 if (!SWIG_IsOK(ecode3
)) {
21486 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
21488 arg3
= static_cast< int >(val3
);
21492 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21498 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21502 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21503 if (!SWIG_IsOK(ecode6
)) {
21504 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21506 arg6
= static_cast< long >(val6
);
21510 arg7
= wxString_in_helper(obj6
);
21511 if (arg7
== NULL
) SWIG_fail
;
21516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21517 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21518 wxPyEndAllowThreads(__tstate
);
21519 if (PyErr_Occurred()) SWIG_fail
;
21522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21538 SWIGINTERN PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21539 PyObject
*resultobj
= 0;
21540 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21541 wxChoice
*result
= 0 ;
21544 PyObject
*swig_obj
[1] ;
21546 if (!args
) SWIG_fail
;
21547 swig_obj
[0] = args
;
21548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21549 if (!SWIG_IsOK(res1
)) {
21550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21552 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21555 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
21556 wxPyEndAllowThreads(__tstate
);
21557 if (PyErr_Occurred()) SWIG_fail
;
21559 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, 0 | 0 );
21566 SWIGINTERN PyObject
*Choicebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21568 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21569 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook
, SWIG_NewClientData(obj
));
21570 return SWIG_Py_Void();
21573 SWIGINTERN PyObject
*Choicebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21574 return SWIG_Python_InitShadowInstance(args
);
21577 SWIGINTERN PyObject
*_wrap_new_ChoicebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21578 PyObject
*resultobj
= 0;
21579 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21580 int arg2
= (int) 0 ;
21581 int arg3
= (int) -1 ;
21582 int arg4
= (int) -1 ;
21583 wxChoicebookEvent
*result
= 0 ;
21592 PyObject
* obj0
= 0 ;
21593 PyObject
* obj1
= 0 ;
21594 PyObject
* obj2
= 0 ;
21595 PyObject
* obj3
= 0 ;
21596 char * kwnames
[] = {
21597 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21602 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21603 if (!SWIG_IsOK(ecode1
)) {
21604 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21606 arg1
= static_cast< wxEventType
>(val1
);
21609 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21610 if (!SWIG_IsOK(ecode2
)) {
21611 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
21613 arg2
= static_cast< int >(val2
);
21616 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21617 if (!SWIG_IsOK(ecode3
)) {
21618 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
21620 arg3
= static_cast< int >(val3
);
21623 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21624 if (!SWIG_IsOK(ecode4
)) {
21625 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
21627 arg4
= static_cast< int >(val4
);
21630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21631 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
21632 wxPyEndAllowThreads(__tstate
);
21633 if (PyErr_Occurred()) SWIG_fail
;
21635 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebookEvent
, SWIG_POINTER_NEW
| 0 );
21642 SWIGINTERN PyObject
*ChoicebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21644 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21645 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent
, SWIG_NewClientData(obj
));
21646 return SWIG_Py_Void();
21649 SWIGINTERN PyObject
*ChoicebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21650 return SWIG_Python_InitShadowInstance(args
);
21653 SWIGINTERN PyObject
*_wrap_new_Treebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21654 PyObject
*resultobj
= 0;
21655 wxWindow
*arg1
= (wxWindow
*) 0 ;
21657 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21658 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21659 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21660 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21661 long arg5
= (long) wxBK_DEFAULT
;
21662 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21663 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21664 wxTreebook
*result
= 0 ;
21673 bool temp6
= false ;
21674 PyObject
* obj0
= 0 ;
21675 PyObject
* obj1
= 0 ;
21676 PyObject
* obj2
= 0 ;
21677 PyObject
* obj3
= 0 ;
21678 PyObject
* obj4
= 0 ;
21679 PyObject
* obj5
= 0 ;
21680 char * kwnames
[] = {
21681 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Treebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21686 if (!SWIG_IsOK(res1
)) {
21687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21689 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21690 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21691 if (!SWIG_IsOK(ecode2
)) {
21692 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
21694 arg2
= static_cast< int >(val2
);
21698 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21704 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21708 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21709 if (!SWIG_IsOK(ecode5
)) {
21710 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
21712 arg5
= static_cast< long >(val5
);
21716 arg6
= wxString_in_helper(obj5
);
21717 if (arg6
== NULL
) SWIG_fail
;
21722 if (!wxPyCheckForApp()) SWIG_fail
;
21723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21724 result
= (wxTreebook
*)new wxTreebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21725 wxPyEndAllowThreads(__tstate
);
21726 if (PyErr_Occurred()) SWIG_fail
;
21728 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_NEW
| 0 );
21743 SWIGINTERN PyObject
*_wrap_new_PreTreebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21744 PyObject
*resultobj
= 0;
21745 wxTreebook
*result
= 0 ;
21747 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreebook",0,0,0)) SWIG_fail
;
21749 if (!wxPyCheckForApp()) SWIG_fail
;
21750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21751 result
= (wxTreebook
*)new wxTreebook();
21752 wxPyEndAllowThreads(__tstate
);
21753 if (PyErr_Occurred()) SWIG_fail
;
21755 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_OWN
| 0 );
21762 SWIGINTERN PyObject
*_wrap_Treebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21763 PyObject
*resultobj
= 0;
21764 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21765 wxWindow
*arg2
= (wxWindow
*) 0 ;
21767 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21768 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21769 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21770 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21771 long arg6
= (long) wxBK_DEFAULT
;
21772 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21773 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21785 bool temp7
= false ;
21786 PyObject
* obj0
= 0 ;
21787 PyObject
* obj1
= 0 ;
21788 PyObject
* obj2
= 0 ;
21789 PyObject
* obj3
= 0 ;
21790 PyObject
* obj4
= 0 ;
21791 PyObject
* obj5
= 0 ;
21792 PyObject
* obj6
= 0 ;
21793 char * kwnames
[] = {
21794 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Treebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21799 if (!SWIG_IsOK(res1
)) {
21800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
21802 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21803 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21804 if (!SWIG_IsOK(res2
)) {
21805 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21807 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21808 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21809 if (!SWIG_IsOK(ecode3
)) {
21810 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
21812 arg3
= static_cast< int >(val3
);
21816 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21822 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21826 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21827 if (!SWIG_IsOK(ecode6
)) {
21828 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
21830 arg6
= static_cast< long >(val6
);
21834 arg7
= wxString_in_helper(obj6
);
21835 if (arg7
== NULL
) SWIG_fail
;
21840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21841 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21842 wxPyEndAllowThreads(__tstate
);
21843 if (PyErr_Occurred()) SWIG_fail
;
21846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21862 SWIGINTERN PyObject
*_wrap_Treebook_InsertSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21863 PyObject
*resultobj
= 0;
21864 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21866 wxWindow
*arg3
= (wxWindow
*) 0 ;
21867 wxString
*arg4
= 0 ;
21868 bool arg5
= (bool) false ;
21869 int arg6
= (int) wxNOT_FOUND
;
21877 bool temp4
= false ;
21882 PyObject
* obj0
= 0 ;
21883 PyObject
* obj1
= 0 ;
21884 PyObject
* obj2
= 0 ;
21885 PyObject
* obj3
= 0 ;
21886 PyObject
* obj4
= 0 ;
21887 PyObject
* obj5
= 0 ;
21888 char * kwnames
[] = {
21889 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21894 if (!SWIG_IsOK(res1
)) {
21895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
21897 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21898 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21899 if (!SWIG_IsOK(ecode2
)) {
21900 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
21902 arg2
= static_cast< size_t >(val2
);
21903 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21904 if (!SWIG_IsOK(res3
)) {
21905 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
21907 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
21909 arg4
= wxString_in_helper(obj3
);
21910 if (arg4
== NULL
) SWIG_fail
;
21914 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
21915 if (!SWIG_IsOK(ecode5
)) {
21916 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
21918 arg5
= static_cast< bool >(val5
);
21921 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21922 if (!SWIG_IsOK(ecode6
)) {
21923 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
21925 arg6
= static_cast< int >(val6
);
21928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21929 result
= (bool)(arg1
)->InsertSubPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
21930 wxPyEndAllowThreads(__tstate
);
21931 if (PyErr_Occurred()) SWIG_fail
;
21934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21950 SWIGINTERN PyObject
*_wrap_Treebook_AddSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21951 PyObject
*resultobj
= 0;
21952 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21953 wxWindow
*arg2
= (wxWindow
*) 0 ;
21954 wxString
*arg3
= 0 ;
21955 bool arg4
= (bool) false ;
21956 int arg5
= (int) wxNOT_FOUND
;
21962 bool temp3
= false ;
21967 PyObject
* obj0
= 0 ;
21968 PyObject
* obj1
= 0 ;
21969 PyObject
* obj2
= 0 ;
21970 PyObject
* obj3
= 0 ;
21971 PyObject
* obj4
= 0 ;
21972 char * kwnames
[] = {
21973 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Treebook_AddSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21978 if (!SWIG_IsOK(res1
)) {
21979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
21981 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21982 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21983 if (!SWIG_IsOK(res2
)) {
21984 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
21986 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21988 arg3
= wxString_in_helper(obj2
);
21989 if (arg3
== NULL
) SWIG_fail
;
21993 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
21994 if (!SWIG_IsOK(ecode4
)) {
21995 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
21997 arg4
= static_cast< bool >(val4
);
22000 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22001 if (!SWIG_IsOK(ecode5
)) {
22002 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
22004 arg5
= static_cast< int >(val5
);
22007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22008 result
= (bool)(arg1
)->AddSubPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
22009 wxPyEndAllowThreads(__tstate
);
22010 if (PyErr_Occurred()) SWIG_fail
;
22013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22029 SWIGINTERN PyObject
*_wrap_Treebook_IsNodeExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22030 PyObject
*resultobj
= 0;
22031 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22038 PyObject
* obj0
= 0 ;
22039 PyObject
* obj1
= 0 ;
22040 char * kwnames
[] = {
22041 (char *) "self",(char *) "pos", NULL
22044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_IsNodeExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22046 if (!SWIG_IsOK(res1
)) {
22047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22049 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22050 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22051 if (!SWIG_IsOK(ecode2
)) {
22052 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
22054 arg2
= static_cast< size_t >(val2
);
22056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22057 result
= (bool)((wxTreebook
const *)arg1
)->IsNodeExpanded(arg2
);
22058 wxPyEndAllowThreads(__tstate
);
22059 if (PyErr_Occurred()) SWIG_fail
;
22062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22070 SWIGINTERN PyObject
*_wrap_Treebook_ExpandNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22071 PyObject
*resultobj
= 0;
22072 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22074 bool arg3
= (bool) true ;
22082 PyObject
* obj0
= 0 ;
22083 PyObject
* obj1
= 0 ;
22084 PyObject
* obj2
= 0 ;
22085 char * kwnames
[] = {
22086 (char *) "self",(char *) "pos",(char *) "expand", NULL
22089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Treebook_ExpandNode",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22091 if (!SWIG_IsOK(res1
)) {
22092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22094 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22095 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22096 if (!SWIG_IsOK(ecode2
)) {
22097 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
22099 arg2
= static_cast< size_t >(val2
);
22101 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22102 if (!SWIG_IsOK(ecode3
)) {
22103 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
22105 arg3
= static_cast< bool >(val3
);
22108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22109 result
= (bool)(arg1
)->ExpandNode(arg2
,arg3
);
22110 wxPyEndAllowThreads(__tstate
);
22111 if (PyErr_Occurred()) SWIG_fail
;
22114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22122 SWIGINTERN PyObject
*_wrap_Treebook_CollapseNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22123 PyObject
*resultobj
= 0;
22124 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22131 PyObject
* obj0
= 0 ;
22132 PyObject
* obj1
= 0 ;
22133 char * kwnames
[] = {
22134 (char *) "self",(char *) "pos", NULL
22137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_CollapseNode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22139 if (!SWIG_IsOK(res1
)) {
22140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22142 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22143 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22144 if (!SWIG_IsOK(ecode2
)) {
22145 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
22147 arg2
= static_cast< size_t >(val2
);
22149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22150 result
= (bool)(arg1
)->CollapseNode(arg2
);
22151 wxPyEndAllowThreads(__tstate
);
22152 if (PyErr_Occurred()) SWIG_fail
;
22155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22163 SWIGINTERN PyObject
*_wrap_Treebook_GetPageParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22164 PyObject
*resultobj
= 0;
22165 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22172 PyObject
* obj0
= 0 ;
22173 PyObject
* obj1
= 0 ;
22174 char * kwnames
[] = {
22175 (char *) "self",(char *) "pos", NULL
22178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_GetPageParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22180 if (!SWIG_IsOK(res1
)) {
22181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22183 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22184 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22185 if (!SWIG_IsOK(ecode2
)) {
22186 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
22188 arg2
= static_cast< size_t >(val2
);
22190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22191 result
= (int)((wxTreebook
const *)arg1
)->GetPageParent(arg2
);
22192 wxPyEndAllowThreads(__tstate
);
22193 if (PyErr_Occurred()) SWIG_fail
;
22195 resultobj
= SWIG_From_int(static_cast< int >(result
));
22202 SWIGINTERN PyObject
*_wrap_Treebook_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22203 PyObject
*resultobj
= 0;
22204 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22205 wxPyTreeCtrl
*result
= 0 ;
22208 PyObject
*swig_obj
[1] ;
22210 if (!args
) SWIG_fail
;
22211 swig_obj
[0] = args
;
22212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22213 if (!SWIG_IsOK(res1
)) {
22214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22216 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22219 result
= (wxPyTreeCtrl
*)((wxTreebook
const *)arg1
)->GetTreeCtrl();
22220 wxPyEndAllowThreads(__tstate
);
22221 if (PyErr_Occurred()) SWIG_fail
;
22224 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22232 SWIGINTERN PyObject
*Treebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22234 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22235 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook
, SWIG_NewClientData(obj
));
22236 return SWIG_Py_Void();
22239 SWIGINTERN PyObject
*Treebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22240 return SWIG_Python_InitShadowInstance(args
);
22243 SWIGINTERN PyObject
*_wrap_new_TreebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22244 PyObject
*resultobj
= 0;
22245 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22246 int arg2
= (int) 0 ;
22247 int arg3
= (int) wxNOT_FOUND
;
22248 int arg4
= (int) wxNOT_FOUND
;
22249 wxTreebookEvent
*result
= 0 ;
22258 PyObject
* obj0
= 0 ;
22259 PyObject
* obj1
= 0 ;
22260 PyObject
* obj2
= 0 ;
22261 PyObject
* obj3
= 0 ;
22262 char * kwnames
[] = {
22263 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TreebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22268 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22269 if (!SWIG_IsOK(ecode1
)) {
22270 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22272 arg1
= static_cast< wxEventType
>(val1
);
22275 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22276 if (!SWIG_IsOK(ecode2
)) {
22277 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
22279 arg2
= static_cast< int >(val2
);
22282 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22283 if (!SWIG_IsOK(ecode3
)) {
22284 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
22286 arg3
= static_cast< int >(val3
);
22289 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22290 if (!SWIG_IsOK(ecode4
)) {
22291 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
22293 arg4
= static_cast< int >(val4
);
22296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22297 result
= (wxTreebookEvent
*)new wxTreebookEvent(arg1
,arg2
,arg3
,arg4
);
22298 wxPyEndAllowThreads(__tstate
);
22299 if (PyErr_Occurred()) SWIG_fail
;
22301 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebookEvent
, SWIG_POINTER_NEW
| 0 );
22308 SWIGINTERN PyObject
*TreebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22310 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22311 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent
, SWIG_NewClientData(obj
));
22312 return SWIG_Py_Void();
22315 SWIGINTERN PyObject
*TreebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22316 return SWIG_Python_InitShadowInstance(args
);
22319 SWIGINTERN PyObject
*_wrap_new_Toolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22320 PyObject
*resultobj
= 0;
22321 wxWindow
*arg1
= (wxWindow
*) 0 ;
22323 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22324 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22325 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22326 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22327 long arg5
= (long) wxBK_DEFAULT
;
22328 wxString
const &arg6_defvalue
= wxPyEmptyString
;
22329 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22330 wxToolbook
*result
= 0 ;
22339 bool temp6
= false ;
22340 PyObject
* obj0
= 0 ;
22341 PyObject
* obj1
= 0 ;
22342 PyObject
* obj2
= 0 ;
22343 PyObject
* obj3
= 0 ;
22344 PyObject
* obj4
= 0 ;
22345 PyObject
* obj5
= 0 ;
22346 char * kwnames
[] = {
22347 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Toolbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22352 if (!SWIG_IsOK(res1
)) {
22353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
22355 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22356 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22357 if (!SWIG_IsOK(ecode2
)) {
22358 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
22360 arg2
= static_cast< int >(val2
);
22364 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22370 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22374 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22375 if (!SWIG_IsOK(ecode5
)) {
22376 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
22378 arg5
= static_cast< long >(val5
);
22382 arg6
= wxString_in_helper(obj5
);
22383 if (arg6
== NULL
) SWIG_fail
;
22388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22389 result
= (wxToolbook
*)new wxToolbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22390 wxPyEndAllowThreads(__tstate
);
22391 if (PyErr_Occurred()) SWIG_fail
;
22393 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_NEW
| 0 );
22408 SWIGINTERN PyObject
*_wrap_new_PreToolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22409 PyObject
*resultobj
= 0;
22410 wxToolbook
*result
= 0 ;
22412 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolbook",0,0,0)) SWIG_fail
;
22414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22415 result
= (wxToolbook
*)new wxToolbook();
22416 wxPyEndAllowThreads(__tstate
);
22417 if (PyErr_Occurred()) SWIG_fail
;
22419 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_OWN
| 0 );
22426 SWIGINTERN PyObject
*_wrap_Toolbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22427 PyObject
*resultobj
= 0;
22428 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22429 wxWindow
*arg2
= (wxWindow
*) 0 ;
22431 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22432 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22433 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22434 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22435 long arg6
= (long) 0 ;
22436 wxString
const &arg7_defvalue
= wxEmptyString
;
22437 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22449 bool temp7
= false ;
22450 PyObject
* obj0
= 0 ;
22451 PyObject
* obj1
= 0 ;
22452 PyObject
* obj2
= 0 ;
22453 PyObject
* obj3
= 0 ;
22454 PyObject
* obj4
= 0 ;
22455 PyObject
* obj5
= 0 ;
22456 PyObject
* obj6
= 0 ;
22457 char * kwnames
[] = {
22458 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Toolbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22463 if (!SWIG_IsOK(res1
)) {
22464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
22466 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22467 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22468 if (!SWIG_IsOK(res2
)) {
22469 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22471 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22472 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22473 if (!SWIG_IsOK(ecode3
)) {
22474 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
22476 arg3
= static_cast< int >(val3
);
22480 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22486 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22490 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22491 if (!SWIG_IsOK(ecode6
)) {
22492 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
22494 arg6
= static_cast< long >(val6
);
22498 arg7
= wxString_in_helper(obj6
);
22499 if (arg7
== NULL
) SWIG_fail
;
22504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22505 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22506 wxPyEndAllowThreads(__tstate
);
22507 if (PyErr_Occurred()) SWIG_fail
;
22510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22526 SWIGINTERN PyObject
*_wrap_Toolbook_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22527 PyObject
*resultobj
= 0;
22528 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22529 wxToolBarBase
*result
= 0 ;
22532 PyObject
*swig_obj
[1] ;
22534 if (!args
) SWIG_fail
;
22535 swig_obj
[0] = args
;
22536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22537 if (!SWIG_IsOK(res1
)) {
22538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22540 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22543 result
= (wxToolBarBase
*)((wxToolbook
const *)arg1
)->GetToolBar();
22544 wxPyEndAllowThreads(__tstate
);
22545 if (PyErr_Occurred()) SWIG_fail
;
22548 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22556 SWIGINTERN PyObject
*_wrap_Toolbook_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22557 PyObject
*resultobj
= 0;
22558 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22561 PyObject
*swig_obj
[1] ;
22563 if (!args
) SWIG_fail
;
22564 swig_obj
[0] = args
;
22565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22566 if (!SWIG_IsOK(res1
)) {
22567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22569 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22573 wxPyEndAllowThreads(__tstate
);
22574 if (PyErr_Occurred()) SWIG_fail
;
22576 resultobj
= SWIG_Py_Void();
22583 SWIGINTERN PyObject
*Toolbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22585 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22586 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook
, SWIG_NewClientData(obj
));
22587 return SWIG_Py_Void();
22590 SWIGINTERN PyObject
*Toolbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22591 return SWIG_Python_InitShadowInstance(args
);
22594 SWIGINTERN PyObject
*_wrap_new_ToolbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22595 PyObject
*resultobj
= 0;
22596 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22597 int arg2
= (int) 0 ;
22598 int arg3
= (int) wxNOT_FOUND
;
22599 int arg4
= (int) wxNOT_FOUND
;
22600 wxToolbookEvent
*result
= 0 ;
22609 PyObject
* obj0
= 0 ;
22610 PyObject
* obj1
= 0 ;
22611 PyObject
* obj2
= 0 ;
22612 PyObject
* obj3
= 0 ;
22613 char * kwnames
[] = {
22614 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ToolbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22619 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22620 if (!SWIG_IsOK(ecode1
)) {
22621 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22623 arg1
= static_cast< wxEventType
>(val1
);
22626 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22627 if (!SWIG_IsOK(ecode2
)) {
22628 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
22630 arg2
= static_cast< int >(val2
);
22633 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22634 if (!SWIG_IsOK(ecode3
)) {
22635 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
22637 arg3
= static_cast< int >(val3
);
22640 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22641 if (!SWIG_IsOK(ecode4
)) {
22642 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22644 arg4
= static_cast< int >(val4
);
22647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22648 result
= (wxToolbookEvent
*)new wxToolbookEvent(arg1
,arg2
,arg3
,arg4
);
22649 wxPyEndAllowThreads(__tstate
);
22650 if (PyErr_Occurred()) SWIG_fail
;
22652 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbookEvent
, SWIG_POINTER_NEW
| 0 );
22659 SWIGINTERN PyObject
*ToolbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22661 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22662 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent
, SWIG_NewClientData(obj
));
22663 return SWIG_Py_Void();
22666 SWIGINTERN PyObject
*ToolbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22667 return SWIG_Python_InitShadowInstance(args
);
22670 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22671 PyObject
*resultobj
= 0;
22672 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22676 PyObject
*swig_obj
[1] ;
22678 if (!args
) SWIG_fail
;
22679 swig_obj
[0] = args
;
22680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22681 if (!SWIG_IsOK(res1
)) {
22682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22684 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22687 result
= (int)(arg1
)->GetId();
22688 wxPyEndAllowThreads(__tstate
);
22689 if (PyErr_Occurred()) SWIG_fail
;
22691 resultobj
= SWIG_From_int(static_cast< int >(result
));
22698 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22699 PyObject
*resultobj
= 0;
22700 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22701 wxControl
*result
= 0 ;
22704 PyObject
*swig_obj
[1] ;
22706 if (!args
) SWIG_fail
;
22707 swig_obj
[0] = args
;
22708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22709 if (!SWIG_IsOK(res1
)) {
22710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22712 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22715 result
= (wxControl
*)(arg1
)->GetControl();
22716 wxPyEndAllowThreads(__tstate
);
22717 if (PyErr_Occurred()) SWIG_fail
;
22720 resultobj
= wxPyMake_wxObject(result
, 0);
22728 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22729 PyObject
*resultobj
= 0;
22730 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22731 wxToolBarBase
*result
= 0 ;
22734 PyObject
*swig_obj
[1] ;
22736 if (!args
) SWIG_fail
;
22737 swig_obj
[0] = args
;
22738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22739 if (!SWIG_IsOK(res1
)) {
22740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22742 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22745 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
22746 wxPyEndAllowThreads(__tstate
);
22747 if (PyErr_Occurred()) SWIG_fail
;
22750 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22758 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22759 PyObject
*resultobj
= 0;
22760 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22764 PyObject
*swig_obj
[1] ;
22766 if (!args
) SWIG_fail
;
22767 swig_obj
[0] = args
;
22768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22769 if (!SWIG_IsOK(res1
)) {
22770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22772 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22775 result
= (int)(arg1
)->IsButton();
22776 wxPyEndAllowThreads(__tstate
);
22777 if (PyErr_Occurred()) SWIG_fail
;
22779 resultobj
= SWIG_From_int(static_cast< int >(result
));
22786 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22787 PyObject
*resultobj
= 0;
22788 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22792 PyObject
*swig_obj
[1] ;
22794 if (!args
) SWIG_fail
;
22795 swig_obj
[0] = args
;
22796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22797 if (!SWIG_IsOK(res1
)) {
22798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22800 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22803 result
= (int)(arg1
)->IsControl();
22804 wxPyEndAllowThreads(__tstate
);
22805 if (PyErr_Occurred()) SWIG_fail
;
22807 resultobj
= SWIG_From_int(static_cast< int >(result
));
22814 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22815 PyObject
*resultobj
= 0;
22816 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22820 PyObject
*swig_obj
[1] ;
22822 if (!args
) SWIG_fail
;
22823 swig_obj
[0] = args
;
22824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22825 if (!SWIG_IsOK(res1
)) {
22826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22828 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22831 result
= (int)(arg1
)->IsSeparator();
22832 wxPyEndAllowThreads(__tstate
);
22833 if (PyErr_Occurred()) SWIG_fail
;
22835 resultobj
= SWIG_From_int(static_cast< int >(result
));
22842 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22843 PyObject
*resultobj
= 0;
22844 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22848 PyObject
*swig_obj
[1] ;
22850 if (!args
) SWIG_fail
;
22851 swig_obj
[0] = args
;
22852 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22853 if (!SWIG_IsOK(res1
)) {
22854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22856 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22859 result
= (int)(arg1
)->GetStyle();
22860 wxPyEndAllowThreads(__tstate
);
22861 if (PyErr_Occurred()) SWIG_fail
;
22863 resultobj
= SWIG_From_int(static_cast< int >(result
));
22870 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22871 PyObject
*resultobj
= 0;
22872 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22876 PyObject
*swig_obj
[1] ;
22878 if (!args
) SWIG_fail
;
22879 swig_obj
[0] = args
;
22880 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22881 if (!SWIG_IsOK(res1
)) {
22882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22884 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22887 result
= (wxItemKind
)(arg1
)->GetKind();
22888 wxPyEndAllowThreads(__tstate
);
22889 if (PyErr_Occurred()) SWIG_fail
;
22891 resultobj
= SWIG_From_int(static_cast< int >(result
));
22898 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22899 PyObject
*resultobj
= 0;
22900 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22904 PyObject
*swig_obj
[1] ;
22906 if (!args
) SWIG_fail
;
22907 swig_obj
[0] = args
;
22908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22909 if (!SWIG_IsOK(res1
)) {
22910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22912 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22915 result
= (bool)(arg1
)->IsEnabled();
22916 wxPyEndAllowThreads(__tstate
);
22917 if (PyErr_Occurred()) SWIG_fail
;
22920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22928 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22929 PyObject
*resultobj
= 0;
22930 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22934 PyObject
*swig_obj
[1] ;
22936 if (!args
) SWIG_fail
;
22937 swig_obj
[0] = args
;
22938 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22939 if (!SWIG_IsOK(res1
)) {
22940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22942 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22945 result
= (bool)(arg1
)->IsToggled();
22946 wxPyEndAllowThreads(__tstate
);
22947 if (PyErr_Occurred()) SWIG_fail
;
22950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22958 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22959 PyObject
*resultobj
= 0;
22960 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22964 PyObject
*swig_obj
[1] ;
22966 if (!args
) SWIG_fail
;
22967 swig_obj
[0] = args
;
22968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22969 if (!SWIG_IsOK(res1
)) {
22970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22972 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22975 result
= (bool)(arg1
)->CanBeToggled();
22976 wxPyEndAllowThreads(__tstate
);
22977 if (PyErr_Occurred()) SWIG_fail
;
22980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22988 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22989 PyObject
*resultobj
= 0;
22990 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22991 wxBitmap
*result
= 0 ;
22994 PyObject
*swig_obj
[1] ;
22996 if (!args
) SWIG_fail
;
22997 swig_obj
[0] = args
;
22998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22999 if (!SWIG_IsOK(res1
)) {
23000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23002 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23006 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
23007 result
= (wxBitmap
*) &_result_ref
;
23009 wxPyEndAllowThreads(__tstate
);
23010 if (PyErr_Occurred()) SWIG_fail
;
23013 wxBitmap
* resultptr
= new wxBitmap(*result
);
23014 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
23022 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23023 PyObject
*resultobj
= 0;
23024 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23025 wxBitmap
*result
= 0 ;
23028 PyObject
*swig_obj
[1] ;
23030 if (!args
) SWIG_fail
;
23031 swig_obj
[0] = args
;
23032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23033 if (!SWIG_IsOK(res1
)) {
23034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23036 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23040 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
23041 result
= (wxBitmap
*) &_result_ref
;
23043 wxPyEndAllowThreads(__tstate
);
23044 if (PyErr_Occurred()) SWIG_fail
;
23047 wxBitmap
* resultptr
= new wxBitmap(*result
);
23048 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
23056 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23057 PyObject
*resultobj
= 0;
23058 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23062 PyObject
*swig_obj
[1] ;
23064 if (!args
) SWIG_fail
;
23065 swig_obj
[0] = args
;
23066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23067 if (!SWIG_IsOK(res1
)) {
23068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23070 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23073 result
= (arg1
)->GetBitmap();
23074 wxPyEndAllowThreads(__tstate
);
23075 if (PyErr_Occurred()) SWIG_fail
;
23077 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
23084 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23085 PyObject
*resultobj
= 0;
23086 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23090 PyObject
*swig_obj
[1] ;
23092 if (!args
) SWIG_fail
;
23093 swig_obj
[0] = args
;
23094 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23095 if (!SWIG_IsOK(res1
)) {
23096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23098 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23101 result
= (arg1
)->GetLabel();
23102 wxPyEndAllowThreads(__tstate
);
23103 if (PyErr_Occurred()) SWIG_fail
;
23107 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23109 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23118 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23119 PyObject
*resultobj
= 0;
23120 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23124 PyObject
*swig_obj
[1] ;
23126 if (!args
) SWIG_fail
;
23127 swig_obj
[0] = args
;
23128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23129 if (!SWIG_IsOK(res1
)) {
23130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23132 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23135 result
= (arg1
)->GetShortHelp();
23136 wxPyEndAllowThreads(__tstate
);
23137 if (PyErr_Occurred()) SWIG_fail
;
23141 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23143 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23152 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23153 PyObject
*resultobj
= 0;
23154 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23158 PyObject
*swig_obj
[1] ;
23160 if (!args
) SWIG_fail
;
23161 swig_obj
[0] = args
;
23162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23163 if (!SWIG_IsOK(res1
)) {
23164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23166 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23169 result
= (arg1
)->GetLongHelp();
23170 wxPyEndAllowThreads(__tstate
);
23171 if (PyErr_Occurred()) SWIG_fail
;
23175 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23177 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23186 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23187 PyObject
*resultobj
= 0;
23188 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23195 PyObject
* obj0
= 0 ;
23196 PyObject
* obj1
= 0 ;
23197 char * kwnames
[] = {
23198 (char *) "self",(char *) "enable", NULL
23201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23203 if (!SWIG_IsOK(res1
)) {
23204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23206 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23207 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23208 if (!SWIG_IsOK(ecode2
)) {
23209 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
23211 arg2
= static_cast< bool >(val2
);
23213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23214 result
= (bool)(arg1
)->Enable(arg2
);
23215 wxPyEndAllowThreads(__tstate
);
23216 if (PyErr_Occurred()) SWIG_fail
;
23219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23227 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23228 PyObject
*resultobj
= 0;
23229 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23232 PyObject
*swig_obj
[1] ;
23234 if (!args
) SWIG_fail
;
23235 swig_obj
[0] = args
;
23236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23237 if (!SWIG_IsOK(res1
)) {
23238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23240 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23244 wxPyEndAllowThreads(__tstate
);
23245 if (PyErr_Occurred()) SWIG_fail
;
23247 resultobj
= SWIG_Py_Void();
23254 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23255 PyObject
*resultobj
= 0;
23256 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23263 PyObject
* obj0
= 0 ;
23264 PyObject
* obj1
= 0 ;
23265 char * kwnames
[] = {
23266 (char *) "self",(char *) "toggle", NULL
23269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23271 if (!SWIG_IsOK(res1
)) {
23272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23274 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23275 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23276 if (!SWIG_IsOK(ecode2
)) {
23277 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
23279 arg2
= static_cast< bool >(val2
);
23281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23282 result
= (bool)(arg1
)->SetToggle(arg2
);
23283 wxPyEndAllowThreads(__tstate
);
23284 if (PyErr_Occurred()) SWIG_fail
;
23287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23295 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23296 PyObject
*resultobj
= 0;
23297 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23298 wxString
*arg2
= 0 ;
23302 bool temp2
= false ;
23303 PyObject
* obj0
= 0 ;
23304 PyObject
* obj1
= 0 ;
23305 char * kwnames
[] = {
23306 (char *) "self",(char *) "help", NULL
23309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23311 if (!SWIG_IsOK(res1
)) {
23312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23314 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23316 arg2
= wxString_in_helper(obj1
);
23317 if (arg2
== NULL
) SWIG_fail
;
23321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23322 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
23323 wxPyEndAllowThreads(__tstate
);
23324 if (PyErr_Occurred()) SWIG_fail
;
23327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23343 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23344 PyObject
*resultobj
= 0;
23345 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23346 wxString
*arg2
= 0 ;
23350 bool temp2
= false ;
23351 PyObject
* obj0
= 0 ;
23352 PyObject
* obj1
= 0 ;
23353 char * kwnames
[] = {
23354 (char *) "self",(char *) "help", NULL
23357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23359 if (!SWIG_IsOK(res1
)) {
23360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23362 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23364 arg2
= wxString_in_helper(obj1
);
23365 if (arg2
== NULL
) SWIG_fail
;
23369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23370 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
23371 wxPyEndAllowThreads(__tstate
);
23372 if (PyErr_Occurred()) SWIG_fail
;
23375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23391 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23392 PyObject
*resultobj
= 0;
23393 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23394 wxBitmap
*arg2
= 0 ;
23399 PyObject
* obj0
= 0 ;
23400 PyObject
* obj1
= 0 ;
23401 char * kwnames
[] = {
23402 (char *) "self",(char *) "bmp", NULL
23405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23407 if (!SWIG_IsOK(res1
)) {
23408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23410 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23411 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23412 if (!SWIG_IsOK(res2
)) {
23413 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23416 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23418 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23421 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
23422 wxPyEndAllowThreads(__tstate
);
23423 if (PyErr_Occurred()) SWIG_fail
;
23425 resultobj
= SWIG_Py_Void();
23432 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23433 PyObject
*resultobj
= 0;
23434 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23435 wxBitmap
*arg2
= 0 ;
23440 PyObject
* obj0
= 0 ;
23441 PyObject
* obj1
= 0 ;
23442 char * kwnames
[] = {
23443 (char *) "self",(char *) "bmp", NULL
23446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23448 if (!SWIG_IsOK(res1
)) {
23449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23451 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23452 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23453 if (!SWIG_IsOK(res2
)) {
23454 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23457 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23459 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23462 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
23463 wxPyEndAllowThreads(__tstate
);
23464 if (PyErr_Occurred()) SWIG_fail
;
23466 resultobj
= SWIG_Py_Void();
23473 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23474 PyObject
*resultobj
= 0;
23475 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23476 wxString
*arg2
= 0 ;
23479 bool temp2
= false ;
23480 PyObject
* obj0
= 0 ;
23481 PyObject
* obj1
= 0 ;
23482 char * kwnames
[] = {
23483 (char *) "self",(char *) "label", NULL
23486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23488 if (!SWIG_IsOK(res1
)) {
23489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23491 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23493 arg2
= wxString_in_helper(obj1
);
23494 if (arg2
== NULL
) SWIG_fail
;
23498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23499 (arg1
)->SetLabel((wxString
const &)*arg2
);
23500 wxPyEndAllowThreads(__tstate
);
23501 if (PyErr_Occurred()) SWIG_fail
;
23503 resultobj
= SWIG_Py_Void();
23518 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23519 PyObject
*resultobj
= 0;
23520 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23523 PyObject
*swig_obj
[1] ;
23525 if (!args
) SWIG_fail
;
23526 swig_obj
[0] = args
;
23527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23528 if (!SWIG_IsOK(res1
)) {
23529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23531 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23535 wxPyEndAllowThreads(__tstate
);
23536 if (PyErr_Occurred()) SWIG_fail
;
23538 resultobj
= SWIG_Py_Void();
23545 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23546 PyObject
*resultobj
= 0;
23547 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23548 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
23553 PyObject
* obj0
= 0 ;
23554 PyObject
* obj1
= 0 ;
23555 char * kwnames
[] = {
23556 (char *) "self",(char *) "tbar", NULL
23559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23561 if (!SWIG_IsOK(res1
)) {
23562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23564 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23565 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23566 if (!SWIG_IsOK(res2
)) {
23567 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23569 arg2
= reinterpret_cast< wxToolBarBase
* >(argp2
);
23571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23572 (arg1
)->Attach(arg2
);
23573 wxPyEndAllowThreads(__tstate
);
23574 if (PyErr_Occurred()) SWIG_fail
;
23576 resultobj
= SWIG_Py_Void();
23583 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23584 PyObject
*resultobj
= 0;
23585 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23586 PyObject
*result
= 0 ;
23589 PyObject
*swig_obj
[1] ;
23591 if (!args
) SWIG_fail
;
23592 swig_obj
[0] = args
;
23593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23594 if (!SWIG_IsOK(res1
)) {
23595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23597 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23600 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
23601 wxPyEndAllowThreads(__tstate
);
23602 if (PyErr_Occurred()) SWIG_fail
;
23604 resultobj
= result
;
23611 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23612 PyObject
*resultobj
= 0;
23613 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23614 PyObject
*arg2
= (PyObject
*) 0 ;
23617 PyObject
* obj0
= 0 ;
23618 PyObject
* obj1
= 0 ;
23619 char * kwnames
[] = {
23620 (char *) "self",(char *) "clientData", NULL
23623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23625 if (!SWIG_IsOK(res1
)) {
23626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23628 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23632 wxToolBarToolBase_SetClientData(arg1
,arg2
);
23633 wxPyEndAllowThreads(__tstate
);
23634 if (PyErr_Occurred()) SWIG_fail
;
23636 resultobj
= SWIG_Py_Void();
23643 SWIGINTERN PyObject
*ToolBarToolBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23645 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23646 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase
, SWIG_NewClientData(obj
));
23647 return SWIG_Py_Void();
23650 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23651 PyObject
*resultobj
= 0;
23652 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23654 wxString
*arg3
= 0 ;
23655 wxBitmap
*arg4
= 0 ;
23656 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
23657 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
23658 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
23659 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23660 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23661 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23662 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23663 PyObject
*arg9
= (PyObject
*) NULL
;
23664 wxToolBarToolBase
*result
= 0 ;
23669 bool temp3
= false ;
23676 bool temp7
= false ;
23677 bool temp8
= false ;
23678 PyObject
* obj0
= 0 ;
23679 PyObject
* obj1
= 0 ;
23680 PyObject
* obj2
= 0 ;
23681 PyObject
* obj3
= 0 ;
23682 PyObject
* obj4
= 0 ;
23683 PyObject
* obj5
= 0 ;
23684 PyObject
* obj6
= 0 ;
23685 PyObject
* obj7
= 0 ;
23686 PyObject
* obj8
= 0 ;
23687 char * kwnames
[] = {
23688 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
23692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23693 if (!SWIG_IsOK(res1
)) {
23694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23696 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23697 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23698 if (!SWIG_IsOK(ecode2
)) {
23699 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
23701 arg2
= static_cast< int >(val2
);
23703 arg3
= wxString_in_helper(obj2
);
23704 if (arg3
== NULL
) SWIG_fail
;
23707 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23708 if (!SWIG_IsOK(res4
)) {
23709 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23712 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23714 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
23716 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23717 if (!SWIG_IsOK(res5
)) {
23718 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23721 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23723 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23726 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23727 if (!SWIG_IsOK(ecode6
)) {
23728 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
23730 arg6
= static_cast< wxItemKind
>(val6
);
23734 arg7
= wxString_in_helper(obj6
);
23735 if (arg7
== NULL
) SWIG_fail
;
23741 arg8
= wxString_in_helper(obj7
);
23742 if (arg8
== NULL
) SWIG_fail
;
23750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23751 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
23752 wxPyEndAllowThreads(__tstate
);
23753 if (PyErr_Occurred()) SWIG_fail
;
23756 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23788 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23789 PyObject
*resultobj
= 0;
23790 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23793 wxString
*arg4
= 0 ;
23794 wxBitmap
*arg5
= 0 ;
23795 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
23796 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
23797 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
23798 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23799 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23800 wxString
const &arg9_defvalue
= wxPyEmptyString
;
23801 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
23802 PyObject
*arg10
= (PyObject
*) NULL
;
23803 wxToolBarToolBase
*result
= 0 ;
23810 bool temp4
= false ;
23817 bool temp8
= false ;
23818 bool temp9
= false ;
23819 PyObject
* obj0
= 0 ;
23820 PyObject
* obj1
= 0 ;
23821 PyObject
* obj2
= 0 ;
23822 PyObject
* obj3
= 0 ;
23823 PyObject
* obj4
= 0 ;
23824 PyObject
* obj5
= 0 ;
23825 PyObject
* obj6
= 0 ;
23826 PyObject
* obj7
= 0 ;
23827 PyObject
* obj8
= 0 ;
23828 PyObject
* obj9
= 0 ;
23829 char * kwnames
[] = {
23830 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
23834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23835 if (!SWIG_IsOK(res1
)) {
23836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23838 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23839 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23840 if (!SWIG_IsOK(ecode2
)) {
23841 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
23843 arg2
= static_cast< size_t >(val2
);
23844 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23845 if (!SWIG_IsOK(ecode3
)) {
23846 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
23848 arg3
= static_cast< int >(val3
);
23850 arg4
= wxString_in_helper(obj3
);
23851 if (arg4
== NULL
) SWIG_fail
;
23854 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23855 if (!SWIG_IsOK(res5
)) {
23856 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23859 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23861 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23863 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23864 if (!SWIG_IsOK(res6
)) {
23865 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23868 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23870 arg6
= reinterpret_cast< wxBitmap
* >(argp6
);
23873 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
23874 if (!SWIG_IsOK(ecode7
)) {
23875 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
23877 arg7
= static_cast< wxItemKind
>(val7
);
23881 arg8
= wxString_in_helper(obj7
);
23882 if (arg8
== NULL
) SWIG_fail
;
23888 arg9
= wxString_in_helper(obj8
);
23889 if (arg9
== NULL
) SWIG_fail
;
23897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23898 result
= (wxToolBarToolBase
*)wxToolBarBase_DoInsertTool(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxBitmap
const &)*arg6
,arg7
,(wxString
const &)*arg8
,(wxString
const &)*arg9
,arg10
);
23899 wxPyEndAllowThreads(__tstate
);
23900 if (PyErr_Occurred()) SWIG_fail
;
23903 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23935 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23936 PyObject
*resultobj
= 0;
23937 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23938 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
23939 wxToolBarToolBase
*result
= 0 ;
23944 PyObject
* obj0
= 0 ;
23945 PyObject
* obj1
= 0 ;
23946 char * kwnames
[] = {
23947 (char *) "self",(char *) "tool", NULL
23950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23952 if (!SWIG_IsOK(res1
)) {
23953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23955 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23956 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23957 if (!SWIG_IsOK(res2
)) {
23958 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
23960 arg2
= reinterpret_cast< wxToolBarToolBase
* >(argp2
);
23962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23963 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
23964 wxPyEndAllowThreads(__tstate
);
23965 if (PyErr_Occurred()) SWIG_fail
;
23968 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23976 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23977 PyObject
*resultobj
= 0;
23978 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23980 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
23981 wxToolBarToolBase
*result
= 0 ;
23988 PyObject
* obj0
= 0 ;
23989 PyObject
* obj1
= 0 ;
23990 PyObject
* obj2
= 0 ;
23991 char * kwnames
[] = {
23992 (char *) "self",(char *) "pos",(char *) "tool", NULL
23995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23997 if (!SWIG_IsOK(res1
)) {
23998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24000 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24001 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24002 if (!SWIG_IsOK(ecode2
)) {
24003 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
24005 arg2
= static_cast< size_t >(val2
);
24006 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
24007 if (!SWIG_IsOK(res3
)) {
24008 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
24010 arg3
= reinterpret_cast< wxToolBarToolBase
* >(argp3
);
24012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24013 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
24014 wxPyEndAllowThreads(__tstate
);
24015 if (PyErr_Occurred()) SWIG_fail
;
24018 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24026 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24027 PyObject
*resultobj
= 0;
24028 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24029 wxControl
*arg2
= (wxControl
*) 0 ;
24030 wxToolBarToolBase
*result
= 0 ;
24035 PyObject
* obj0
= 0 ;
24036 PyObject
* obj1
= 0 ;
24037 char * kwnames
[] = {
24038 (char *) "self",(char *) "control", NULL
24041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24043 if (!SWIG_IsOK(res1
)) {
24044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24046 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24047 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 | 0 );
24048 if (!SWIG_IsOK(res2
)) {
24049 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
24051 arg2
= reinterpret_cast< wxControl
* >(argp2
);
24053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24054 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
24055 wxPyEndAllowThreads(__tstate
);
24056 if (PyErr_Occurred()) SWIG_fail
;
24059 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24067 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24068 PyObject
*resultobj
= 0;
24069 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24071 wxControl
*arg3
= (wxControl
*) 0 ;
24072 wxToolBarToolBase
*result
= 0 ;
24079 PyObject
* obj0
= 0 ;
24080 PyObject
* obj1
= 0 ;
24081 PyObject
* obj2
= 0 ;
24082 char * kwnames
[] = {
24083 (char *) "self",(char *) "pos",(char *) "control", NULL
24086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24088 if (!SWIG_IsOK(res1
)) {
24089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24091 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24092 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24093 if (!SWIG_IsOK(ecode2
)) {
24094 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
24096 arg2
= static_cast< size_t >(val2
);
24097 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxControl
, 0 | 0 );
24098 if (!SWIG_IsOK(res3
)) {
24099 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
24101 arg3
= reinterpret_cast< wxControl
* >(argp3
);
24103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24104 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
24105 wxPyEndAllowThreads(__tstate
);
24106 if (PyErr_Occurred()) SWIG_fail
;
24109 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24117 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24118 PyObject
*resultobj
= 0;
24119 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24121 wxControl
*result
= 0 ;
24126 PyObject
* obj0
= 0 ;
24127 PyObject
* obj1
= 0 ;
24128 char * kwnames
[] = {
24129 (char *) "self",(char *) "id", NULL
24132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24134 if (!SWIG_IsOK(res1
)) {
24135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24137 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24138 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24139 if (!SWIG_IsOK(ecode2
)) {
24140 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
24142 arg2
= static_cast< int >(val2
);
24144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24145 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
24146 wxPyEndAllowThreads(__tstate
);
24147 if (PyErr_Occurred()) SWIG_fail
;
24150 resultobj
= wxPyMake_wxObject(result
, 0);
24158 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24159 PyObject
*resultobj
= 0;
24160 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24161 wxToolBarToolBase
*result
= 0 ;
24164 PyObject
*swig_obj
[1] ;
24166 if (!args
) SWIG_fail
;
24167 swig_obj
[0] = args
;
24168 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24169 if (!SWIG_IsOK(res1
)) {
24170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24172 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24175 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
24176 wxPyEndAllowThreads(__tstate
);
24177 if (PyErr_Occurred()) SWIG_fail
;
24180 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24188 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24189 PyObject
*resultobj
= 0;
24190 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24192 wxToolBarToolBase
*result
= 0 ;
24197 PyObject
* obj0
= 0 ;
24198 PyObject
* obj1
= 0 ;
24199 char * kwnames
[] = {
24200 (char *) "self",(char *) "pos", NULL
24203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24205 if (!SWIG_IsOK(res1
)) {
24206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24208 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24209 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24210 if (!SWIG_IsOK(ecode2
)) {
24211 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
24213 arg2
= static_cast< size_t >(val2
);
24215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24216 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
24217 wxPyEndAllowThreads(__tstate
);
24218 if (PyErr_Occurred()) SWIG_fail
;
24221 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24229 SWIGINTERN PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24230 PyObject
*resultobj
= 0;
24231 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24233 wxToolBarToolBase
*result
= 0 ;
24238 PyObject
* obj0
= 0 ;
24239 PyObject
* obj1
= 0 ;
24240 char * kwnames
[] = {
24241 (char *) "self",(char *) "id", NULL
24244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24246 if (!SWIG_IsOK(res1
)) {
24247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24249 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24250 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24251 if (!SWIG_IsOK(ecode2
)) {
24252 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
24254 arg2
= static_cast< int >(val2
);
24256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24257 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
24258 wxPyEndAllowThreads(__tstate
);
24259 if (PyErr_Occurred()) SWIG_fail
;
24262 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24270 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24271 PyObject
*resultobj
= 0;
24272 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24279 PyObject
* obj0
= 0 ;
24280 PyObject
* obj1
= 0 ;
24281 char * kwnames
[] = {
24282 (char *) "self",(char *) "pos", NULL
24285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24287 if (!SWIG_IsOK(res1
)) {
24288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24290 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24291 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24292 if (!SWIG_IsOK(ecode2
)) {
24293 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
24295 arg2
= static_cast< size_t >(val2
);
24297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24298 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
24299 wxPyEndAllowThreads(__tstate
);
24300 if (PyErr_Occurred()) SWIG_fail
;
24303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24311 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24312 PyObject
*resultobj
= 0;
24313 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24320 PyObject
* obj0
= 0 ;
24321 PyObject
* obj1
= 0 ;
24322 char * kwnames
[] = {
24323 (char *) "self",(char *) "id", NULL
24326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24328 if (!SWIG_IsOK(res1
)) {
24329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24331 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24332 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24333 if (!SWIG_IsOK(ecode2
)) {
24334 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
24336 arg2
= static_cast< int >(val2
);
24338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24339 result
= (bool)(arg1
)->DeleteTool(arg2
);
24340 wxPyEndAllowThreads(__tstate
);
24341 if (PyErr_Occurred()) SWIG_fail
;
24344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24352 SWIGINTERN PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24353 PyObject
*resultobj
= 0;
24354 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24357 PyObject
*swig_obj
[1] ;
24359 if (!args
) SWIG_fail
;
24360 swig_obj
[0] = args
;
24361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24362 if (!SWIG_IsOK(res1
)) {
24363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24365 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24368 (arg1
)->ClearTools();
24369 wxPyEndAllowThreads(__tstate
);
24370 if (PyErr_Occurred()) SWIG_fail
;
24372 resultobj
= SWIG_Py_Void();
24379 SWIGINTERN PyObject
*_wrap_ToolBarBase_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24380 PyObject
*resultobj
= 0;
24381 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24385 PyObject
*swig_obj
[1] ;
24387 if (!args
) SWIG_fail
;
24388 swig_obj
[0] = args
;
24389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24390 if (!SWIG_IsOK(res1
)) {
24391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24393 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24396 result
= (bool)(arg1
)->Realize();
24397 wxPyEndAllowThreads(__tstate
);
24398 if (PyErr_Occurred()) SWIG_fail
;
24401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24409 SWIGINTERN PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24410 PyObject
*resultobj
= 0;
24411 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24420 PyObject
* obj0
= 0 ;
24421 PyObject
* obj1
= 0 ;
24422 PyObject
* obj2
= 0 ;
24423 char * kwnames
[] = {
24424 (char *) "self",(char *) "id",(char *) "enable", NULL
24427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24429 if (!SWIG_IsOK(res1
)) {
24430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24432 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24433 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24434 if (!SWIG_IsOK(ecode2
)) {
24435 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
24437 arg2
= static_cast< int >(val2
);
24438 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24439 if (!SWIG_IsOK(ecode3
)) {
24440 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
24442 arg3
= static_cast< bool >(val3
);
24444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24445 (arg1
)->EnableTool(arg2
,arg3
);
24446 wxPyEndAllowThreads(__tstate
);
24447 if (PyErr_Occurred()) SWIG_fail
;
24449 resultobj
= SWIG_Py_Void();
24456 SWIGINTERN PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24457 PyObject
*resultobj
= 0;
24458 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24467 PyObject
* obj0
= 0 ;
24468 PyObject
* obj1
= 0 ;
24469 PyObject
* obj2
= 0 ;
24470 char * kwnames
[] = {
24471 (char *) "self",(char *) "id",(char *) "toggle", NULL
24474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24476 if (!SWIG_IsOK(res1
)) {
24477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24479 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24480 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24481 if (!SWIG_IsOK(ecode2
)) {
24482 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
24484 arg2
= static_cast< int >(val2
);
24485 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24486 if (!SWIG_IsOK(ecode3
)) {
24487 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
24489 arg3
= static_cast< bool >(val3
);
24491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24492 (arg1
)->ToggleTool(arg2
,arg3
);
24493 wxPyEndAllowThreads(__tstate
);
24494 if (PyErr_Occurred()) SWIG_fail
;
24496 resultobj
= SWIG_Py_Void();
24503 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24504 PyObject
*resultobj
= 0;
24505 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24514 PyObject
* obj0
= 0 ;
24515 PyObject
* obj1
= 0 ;
24516 PyObject
* obj2
= 0 ;
24517 char * kwnames
[] = {
24518 (char *) "self",(char *) "id",(char *) "toggle", NULL
24521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24523 if (!SWIG_IsOK(res1
)) {
24524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24526 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24527 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24528 if (!SWIG_IsOK(ecode2
)) {
24529 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
24531 arg2
= static_cast< int >(val2
);
24532 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24533 if (!SWIG_IsOK(ecode3
)) {
24534 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
24536 arg3
= static_cast< bool >(val3
);
24538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24539 (arg1
)->SetToggle(arg2
,arg3
);
24540 wxPyEndAllowThreads(__tstate
);
24541 if (PyErr_Occurred()) SWIG_fail
;
24543 resultobj
= SWIG_Py_Void();
24550 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24551 PyObject
*resultobj
= 0;
24552 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24554 PyObject
*result
= 0 ;
24559 PyObject
* obj0
= 0 ;
24560 PyObject
* obj1
= 0 ;
24561 char * kwnames
[] = {
24562 (char *) "self",(char *) "id", NULL
24565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24567 if (!SWIG_IsOK(res1
)) {
24568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24570 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24571 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24572 if (!SWIG_IsOK(ecode2
)) {
24573 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
24575 arg2
= static_cast< int >(val2
);
24577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24578 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
24579 wxPyEndAllowThreads(__tstate
);
24580 if (PyErr_Occurred()) SWIG_fail
;
24582 resultobj
= result
;
24589 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24590 PyObject
*resultobj
= 0;
24591 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24593 PyObject
*arg3
= (PyObject
*) 0 ;
24598 PyObject
* obj0
= 0 ;
24599 PyObject
* obj1
= 0 ;
24600 PyObject
* obj2
= 0 ;
24601 char * kwnames
[] = {
24602 (char *) "self",(char *) "id",(char *) "clientData", NULL
24605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24607 if (!SWIG_IsOK(res1
)) {
24608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24610 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24611 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24612 if (!SWIG_IsOK(ecode2
)) {
24613 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
24615 arg2
= static_cast< int >(val2
);
24618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24619 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
24620 wxPyEndAllowThreads(__tstate
);
24621 if (PyErr_Occurred()) SWIG_fail
;
24623 resultobj
= SWIG_Py_Void();
24630 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24631 PyObject
*resultobj
= 0;
24632 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24639 PyObject
* obj0
= 0 ;
24640 PyObject
* obj1
= 0 ;
24641 char * kwnames
[] = {
24642 (char *) "self",(char *) "id", NULL
24645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24647 if (!SWIG_IsOK(res1
)) {
24648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24650 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24651 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24652 if (!SWIG_IsOK(ecode2
)) {
24653 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
24655 arg2
= static_cast< int >(val2
);
24657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24658 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
24659 wxPyEndAllowThreads(__tstate
);
24660 if (PyErr_Occurred()) SWIG_fail
;
24662 resultobj
= SWIG_From_int(static_cast< int >(result
));
24669 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24670 PyObject
*resultobj
= 0;
24671 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24678 PyObject
* obj0
= 0 ;
24679 PyObject
* obj1
= 0 ;
24680 char * kwnames
[] = {
24681 (char *) "self",(char *) "id", NULL
24684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24686 if (!SWIG_IsOK(res1
)) {
24687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24689 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24690 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24691 if (!SWIG_IsOK(ecode2
)) {
24692 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
24694 arg2
= static_cast< int >(val2
);
24696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24697 result
= (bool)(arg1
)->GetToolState(arg2
);
24698 wxPyEndAllowThreads(__tstate
);
24699 if (PyErr_Occurred()) SWIG_fail
;
24702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24710 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24711 PyObject
*resultobj
= 0;
24712 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24719 PyObject
* obj0
= 0 ;
24720 PyObject
* obj1
= 0 ;
24721 char * kwnames
[] = {
24722 (char *) "self",(char *) "id", NULL
24725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24727 if (!SWIG_IsOK(res1
)) {
24728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24730 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24731 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24732 if (!SWIG_IsOK(ecode2
)) {
24733 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
24735 arg2
= static_cast< int >(val2
);
24737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24738 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
24739 wxPyEndAllowThreads(__tstate
);
24740 if (PyErr_Occurred()) SWIG_fail
;
24743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24751 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24752 PyObject
*resultobj
= 0;
24753 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24755 wxString
*arg3
= 0 ;
24760 bool temp3
= false ;
24761 PyObject
* obj0
= 0 ;
24762 PyObject
* obj1
= 0 ;
24763 PyObject
* obj2
= 0 ;
24764 char * kwnames
[] = {
24765 (char *) "self",(char *) "id",(char *) "helpString", NULL
24768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24770 if (!SWIG_IsOK(res1
)) {
24771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24773 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24774 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24775 if (!SWIG_IsOK(ecode2
)) {
24776 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24778 arg2
= static_cast< int >(val2
);
24780 arg3
= wxString_in_helper(obj2
);
24781 if (arg3
== NULL
) SWIG_fail
;
24785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24786 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
24787 wxPyEndAllowThreads(__tstate
);
24788 if (PyErr_Occurred()) SWIG_fail
;
24790 resultobj
= SWIG_Py_Void();
24805 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24806 PyObject
*resultobj
= 0;
24807 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24814 PyObject
* obj0
= 0 ;
24815 PyObject
* obj1
= 0 ;
24816 char * kwnames
[] = {
24817 (char *) "self",(char *) "id", NULL
24820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24822 if (!SWIG_IsOK(res1
)) {
24823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24825 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24826 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24827 if (!SWIG_IsOK(ecode2
)) {
24828 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24830 arg2
= static_cast< int >(val2
);
24832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24833 result
= (arg1
)->GetToolShortHelp(arg2
);
24834 wxPyEndAllowThreads(__tstate
);
24835 if (PyErr_Occurred()) SWIG_fail
;
24839 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24841 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24850 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24851 PyObject
*resultobj
= 0;
24852 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24854 wxString
*arg3
= 0 ;
24859 bool temp3
= false ;
24860 PyObject
* obj0
= 0 ;
24861 PyObject
* obj1
= 0 ;
24862 PyObject
* obj2
= 0 ;
24863 char * kwnames
[] = {
24864 (char *) "self",(char *) "id",(char *) "helpString", NULL
24867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24869 if (!SWIG_IsOK(res1
)) {
24870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24872 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24873 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24874 if (!SWIG_IsOK(ecode2
)) {
24875 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24877 arg2
= static_cast< int >(val2
);
24879 arg3
= wxString_in_helper(obj2
);
24880 if (arg3
== NULL
) SWIG_fail
;
24884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24885 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
24886 wxPyEndAllowThreads(__tstate
);
24887 if (PyErr_Occurred()) SWIG_fail
;
24889 resultobj
= SWIG_Py_Void();
24904 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24905 PyObject
*resultobj
= 0;
24906 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24913 PyObject
* obj0
= 0 ;
24914 PyObject
* obj1
= 0 ;
24915 char * kwnames
[] = {
24916 (char *) "self",(char *) "id", NULL
24919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24921 if (!SWIG_IsOK(res1
)) {
24922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24924 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24925 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24926 if (!SWIG_IsOK(ecode2
)) {
24927 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24929 arg2
= static_cast< int >(val2
);
24931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24932 result
= (arg1
)->GetToolLongHelp(arg2
);
24933 wxPyEndAllowThreads(__tstate
);
24934 if (PyErr_Occurred()) SWIG_fail
;
24938 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24940 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24949 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24950 PyObject
*resultobj
= 0;
24951 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24960 PyObject
* obj0
= 0 ;
24961 PyObject
* obj1
= 0 ;
24962 PyObject
* obj2
= 0 ;
24963 char * kwnames
[] = {
24964 (char *) "self",(char *) "x",(char *) "y", NULL
24967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24969 if (!SWIG_IsOK(res1
)) {
24970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24972 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24973 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24974 if (!SWIG_IsOK(ecode2
)) {
24975 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
24977 arg2
= static_cast< int >(val2
);
24978 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24979 if (!SWIG_IsOK(ecode3
)) {
24980 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
24982 arg3
= static_cast< int >(val3
);
24984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24985 (arg1
)->SetMargins(arg2
,arg3
);
24986 wxPyEndAllowThreads(__tstate
);
24987 if (PyErr_Occurred()) SWIG_fail
;
24989 resultobj
= SWIG_Py_Void();
24996 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24997 PyObject
*resultobj
= 0;
24998 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25003 PyObject
* obj0
= 0 ;
25004 PyObject
* obj1
= 0 ;
25005 char * kwnames
[] = {
25006 (char *) "self",(char *) "size", NULL
25009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25011 if (!SWIG_IsOK(res1
)) {
25012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25014 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25017 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25021 (arg1
)->SetMargins((wxSize
const &)*arg2
);
25022 wxPyEndAllowThreads(__tstate
);
25023 if (PyErr_Occurred()) SWIG_fail
;
25025 resultobj
= SWIG_Py_Void();
25032 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25033 PyObject
*resultobj
= 0;
25034 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25040 PyObject
* obj0
= 0 ;
25041 PyObject
* obj1
= 0 ;
25042 char * kwnames
[] = {
25043 (char *) "self",(char *) "packing", NULL
25046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25048 if (!SWIG_IsOK(res1
)) {
25049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25051 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25052 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25053 if (!SWIG_IsOK(ecode2
)) {
25054 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
25056 arg2
= static_cast< int >(val2
);
25058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25059 (arg1
)->SetToolPacking(arg2
);
25060 wxPyEndAllowThreads(__tstate
);
25061 if (PyErr_Occurred()) SWIG_fail
;
25063 resultobj
= SWIG_Py_Void();
25070 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25071 PyObject
*resultobj
= 0;
25072 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25078 PyObject
* obj0
= 0 ;
25079 PyObject
* obj1
= 0 ;
25080 char * kwnames
[] = {
25081 (char *) "self",(char *) "separation", NULL
25084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25086 if (!SWIG_IsOK(res1
)) {
25087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25089 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25090 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25091 if (!SWIG_IsOK(ecode2
)) {
25092 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
25094 arg2
= static_cast< int >(val2
);
25096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25097 (arg1
)->SetToolSeparation(arg2
);
25098 wxPyEndAllowThreads(__tstate
);
25099 if (PyErr_Occurred()) SWIG_fail
;
25101 resultobj
= SWIG_Py_Void();
25108 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25109 PyObject
*resultobj
= 0;
25110 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25114 PyObject
*swig_obj
[1] ;
25116 if (!args
) SWIG_fail
;
25117 swig_obj
[0] = args
;
25118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25119 if (!SWIG_IsOK(res1
)) {
25120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25122 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25125 result
= (arg1
)->GetToolMargins();
25126 wxPyEndAllowThreads(__tstate
);
25127 if (PyErr_Occurred()) SWIG_fail
;
25129 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25136 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25137 PyObject
*resultobj
= 0;
25138 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25142 PyObject
*swig_obj
[1] ;
25144 if (!args
) SWIG_fail
;
25145 swig_obj
[0] = args
;
25146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25147 if (!SWIG_IsOK(res1
)) {
25148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25150 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25153 result
= (arg1
)->GetMargins();
25154 wxPyEndAllowThreads(__tstate
);
25155 if (PyErr_Occurred()) SWIG_fail
;
25157 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25164 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25165 PyObject
*resultobj
= 0;
25166 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25170 PyObject
*swig_obj
[1] ;
25172 if (!args
) SWIG_fail
;
25173 swig_obj
[0] = args
;
25174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25175 if (!SWIG_IsOK(res1
)) {
25176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25178 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25181 result
= (int)(arg1
)->GetToolPacking();
25182 wxPyEndAllowThreads(__tstate
);
25183 if (PyErr_Occurred()) SWIG_fail
;
25185 resultobj
= SWIG_From_int(static_cast< int >(result
));
25192 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25193 PyObject
*resultobj
= 0;
25194 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25198 PyObject
*swig_obj
[1] ;
25200 if (!args
) SWIG_fail
;
25201 swig_obj
[0] = args
;
25202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25203 if (!SWIG_IsOK(res1
)) {
25204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25206 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25209 result
= (int)(arg1
)->GetToolSeparation();
25210 wxPyEndAllowThreads(__tstate
);
25211 if (PyErr_Occurred()) SWIG_fail
;
25213 resultobj
= SWIG_From_int(static_cast< int >(result
));
25220 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25221 PyObject
*resultobj
= 0;
25222 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25228 PyObject
* obj0
= 0 ;
25229 PyObject
* obj1
= 0 ;
25230 char * kwnames
[] = {
25231 (char *) "self",(char *) "nRows", NULL
25234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25236 if (!SWIG_IsOK(res1
)) {
25237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25239 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25240 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25241 if (!SWIG_IsOK(ecode2
)) {
25242 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
25244 arg2
= static_cast< int >(val2
);
25246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25247 (arg1
)->SetRows(arg2
);
25248 wxPyEndAllowThreads(__tstate
);
25249 if (PyErr_Occurred()) SWIG_fail
;
25251 resultobj
= SWIG_Py_Void();
25258 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25259 PyObject
*resultobj
= 0;
25260 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25269 PyObject
* obj0
= 0 ;
25270 PyObject
* obj1
= 0 ;
25271 PyObject
* obj2
= 0 ;
25272 char * kwnames
[] = {
25273 (char *) "self",(char *) "rows",(char *) "cols", NULL
25276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25278 if (!SWIG_IsOK(res1
)) {
25279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25281 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25282 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25283 if (!SWIG_IsOK(ecode2
)) {
25284 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
25286 arg2
= static_cast< int >(val2
);
25287 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25288 if (!SWIG_IsOK(ecode3
)) {
25289 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
25291 arg3
= static_cast< int >(val3
);
25293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25294 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
25295 wxPyEndAllowThreads(__tstate
);
25296 if (PyErr_Occurred()) SWIG_fail
;
25298 resultobj
= SWIG_Py_Void();
25305 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25306 PyObject
*resultobj
= 0;
25307 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25311 PyObject
*swig_obj
[1] ;
25313 if (!args
) SWIG_fail
;
25314 swig_obj
[0] = args
;
25315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25316 if (!SWIG_IsOK(res1
)) {
25317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25319 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25322 result
= (int)(arg1
)->GetMaxRows();
25323 wxPyEndAllowThreads(__tstate
);
25324 if (PyErr_Occurred()) SWIG_fail
;
25326 resultobj
= SWIG_From_int(static_cast< int >(result
));
25333 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25334 PyObject
*resultobj
= 0;
25335 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25339 PyObject
*swig_obj
[1] ;
25341 if (!args
) SWIG_fail
;
25342 swig_obj
[0] = args
;
25343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25344 if (!SWIG_IsOK(res1
)) {
25345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25347 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25350 result
= (int)(arg1
)->GetMaxCols();
25351 wxPyEndAllowThreads(__tstate
);
25352 if (PyErr_Occurred()) SWIG_fail
;
25354 resultobj
= SWIG_From_int(static_cast< int >(result
));
25361 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25362 PyObject
*resultobj
= 0;
25363 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25368 PyObject
* obj0
= 0 ;
25369 PyObject
* obj1
= 0 ;
25370 char * kwnames
[] = {
25371 (char *) "self",(char *) "size", NULL
25374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25376 if (!SWIG_IsOK(res1
)) {
25377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25379 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25382 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25386 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
25387 wxPyEndAllowThreads(__tstate
);
25388 if (PyErr_Occurred()) SWIG_fail
;
25390 resultobj
= SWIG_Py_Void();
25397 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25398 PyObject
*resultobj
= 0;
25399 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25403 PyObject
*swig_obj
[1] ;
25405 if (!args
) SWIG_fail
;
25406 swig_obj
[0] = args
;
25407 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25408 if (!SWIG_IsOK(res1
)) {
25409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25411 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25414 result
= (arg1
)->GetToolBitmapSize();
25415 wxPyEndAllowThreads(__tstate
);
25416 if (PyErr_Occurred()) SWIG_fail
;
25418 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25425 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25426 PyObject
*resultobj
= 0;
25427 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25431 PyObject
*swig_obj
[1] ;
25433 if (!args
) SWIG_fail
;
25434 swig_obj
[0] = args
;
25435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25436 if (!SWIG_IsOK(res1
)) {
25437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25439 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25442 result
= (arg1
)->GetToolSize();
25443 wxPyEndAllowThreads(__tstate
);
25444 if (PyErr_Occurred()) SWIG_fail
;
25446 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25453 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25454 PyObject
*resultobj
= 0;
25455 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25458 wxToolBarToolBase
*result
= 0 ;
25465 PyObject
* obj0
= 0 ;
25466 PyObject
* obj1
= 0 ;
25467 PyObject
* obj2
= 0 ;
25468 char * kwnames
[] = {
25469 (char *) "self",(char *) "x",(char *) "y", NULL
25472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25474 if (!SWIG_IsOK(res1
)) {
25475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25477 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25478 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25479 if (!SWIG_IsOK(ecode2
)) {
25480 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25482 arg2
= static_cast< int >(val2
);
25483 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25484 if (!SWIG_IsOK(ecode3
)) {
25485 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25487 arg3
= static_cast< int >(val3
);
25489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25490 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
25491 wxPyEndAllowThreads(__tstate
);
25492 if (PyErr_Occurred()) SWIG_fail
;
25495 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25503 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25504 PyObject
*resultobj
= 0;
25505 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25507 wxToolBarToolBase
*result
= 0 ;
25512 PyObject
* obj0
= 0 ;
25513 PyObject
* obj1
= 0 ;
25514 char * kwnames
[] = {
25515 (char *) "self",(char *) "toolid", NULL
25518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25520 if (!SWIG_IsOK(res1
)) {
25521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25523 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25524 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25525 if (!SWIG_IsOK(ecode2
)) {
25526 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
25528 arg2
= static_cast< int >(val2
);
25530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25531 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
25532 wxPyEndAllowThreads(__tstate
);
25533 if (PyErr_Occurred()) SWIG_fail
;
25536 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25544 SWIGINTERN PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25545 PyObject
*resultobj
= 0;
25546 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25550 PyObject
*swig_obj
[1] ;
25552 if (!args
) SWIG_fail
;
25553 swig_obj
[0] = args
;
25554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25555 if (!SWIG_IsOK(res1
)) {
25556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25558 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25561 result
= (bool)(arg1
)->IsVertical();
25562 wxPyEndAllowThreads(__tstate
);
25563 if (PyErr_Occurred()) SWIG_fail
;
25566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25574 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25575 PyObject
*resultobj
= 0;
25576 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25580 PyObject
*swig_obj
[1] ;
25582 if (!args
) SWIG_fail
;
25583 swig_obj
[0] = args
;
25584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25585 if (!SWIG_IsOK(res1
)) {
25586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25588 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25591 result
= (size_t)((wxToolBarBase
const *)arg1
)->GetToolsCount();
25592 wxPyEndAllowThreads(__tstate
);
25593 if (PyErr_Occurred()) SWIG_fail
;
25595 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
25602 SWIGINTERN PyObject
*ToolBarBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25604 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25605 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase
, SWIG_NewClientData(obj
));
25606 return SWIG_Py_Void();
25609 SWIGINTERN PyObject
*_wrap_new_ToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25610 PyObject
*resultobj
= 0;
25611 wxWindow
*arg1
= (wxWindow
*) 0 ;
25612 int arg2
= (int) -1 ;
25613 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25614 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25615 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25616 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25617 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25618 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
25619 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25620 wxToolBar
*result
= 0 ;
25629 bool temp6
= false ;
25630 PyObject
* obj0
= 0 ;
25631 PyObject
* obj1
= 0 ;
25632 PyObject
* obj2
= 0 ;
25633 PyObject
* obj3
= 0 ;
25634 PyObject
* obj4
= 0 ;
25635 PyObject
* obj5
= 0 ;
25636 char * kwnames
[] = {
25637 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25642 if (!SWIG_IsOK(res1
)) {
25643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
25645 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25647 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25648 if (!SWIG_IsOK(ecode2
)) {
25649 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
25651 arg2
= static_cast< int >(val2
);
25656 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25662 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25666 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
25667 if (!SWIG_IsOK(ecode5
)) {
25668 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
25670 arg5
= static_cast< long >(val5
);
25674 arg6
= wxString_in_helper(obj5
);
25675 if (arg6
== NULL
) SWIG_fail
;
25680 if (!wxPyCheckForApp()) SWIG_fail
;
25681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25682 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25683 wxPyEndAllowThreads(__tstate
);
25684 if (PyErr_Occurred()) SWIG_fail
;
25686 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_NEW
| 0 );
25701 SWIGINTERN PyObject
*_wrap_new_PreToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25702 PyObject
*resultobj
= 0;
25703 wxToolBar
*result
= 0 ;
25705 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolBar",0,0,0)) SWIG_fail
;
25707 if (!wxPyCheckForApp()) SWIG_fail
;
25708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25709 result
= (wxToolBar
*)new wxToolBar();
25710 wxPyEndAllowThreads(__tstate
);
25711 if (PyErr_Occurred()) SWIG_fail
;
25713 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_OWN
| 0 );
25720 SWIGINTERN PyObject
*_wrap_ToolBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25721 PyObject
*resultobj
= 0;
25722 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
25723 wxWindow
*arg2
= (wxWindow
*) 0 ;
25724 int arg3
= (int) -1 ;
25725 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25726 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25727 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25728 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25729 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25730 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
25731 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25743 bool temp7
= false ;
25744 PyObject
* obj0
= 0 ;
25745 PyObject
* obj1
= 0 ;
25746 PyObject
* obj2
= 0 ;
25747 PyObject
* obj3
= 0 ;
25748 PyObject
* obj4
= 0 ;
25749 PyObject
* obj5
= 0 ;
25750 PyObject
* obj6
= 0 ;
25751 char * kwnames
[] = {
25752 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
25757 if (!SWIG_IsOK(res1
)) {
25758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
25760 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
25761 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25762 if (!SWIG_IsOK(res2
)) {
25763 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
25765 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25767 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25768 if (!SWIG_IsOK(ecode3
)) {
25769 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
25771 arg3
= static_cast< int >(val3
);
25776 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25782 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25786 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
25787 if (!SWIG_IsOK(ecode6
)) {
25788 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
25790 arg6
= static_cast< long >(val6
);
25794 arg7
= wxString_in_helper(obj6
);
25795 if (arg7
== NULL
) SWIG_fail
;
25800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25801 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25802 wxPyEndAllowThreads(__tstate
);
25803 if (PyErr_Occurred()) SWIG_fail
;
25806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25822 SWIGINTERN PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25823 PyObject
*resultobj
= 0;
25824 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
25825 SwigValueWrapper
<wxVisualAttributes
> result
;
25828 PyObject
* obj0
= 0 ;
25829 char * kwnames
[] = {
25830 (char *) "variant", NULL
25833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
25835 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25836 if (!SWIG_IsOK(ecode1
)) {
25837 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
25839 arg1
= static_cast< wxWindowVariant
>(val1
);
25842 if (!wxPyCheckForApp()) SWIG_fail
;
25843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25844 result
= wxToolBar::GetClassDefaultAttributes(arg1
);
25845 wxPyEndAllowThreads(__tstate
);
25846 if (PyErr_Occurred()) SWIG_fail
;
25848 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
25855 SWIGINTERN PyObject
*ToolBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25857 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25858 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar
, SWIG_NewClientData(obj
));
25859 return SWIG_Py_Void();
25862 SWIGINTERN PyObject
*ToolBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25863 return SWIG_Python_InitShadowInstance(args
);
25866 SWIGINTERN
int ListCtrlNameStr_set(PyObject
*) {
25867 SWIG_Error(SWIG_AttributeError
,"Variable ListCtrlNameStr is read-only.");
25872 SWIGINTERN PyObject
*ListCtrlNameStr_get(void) {
25873 PyObject
*pyobj
= 0;
25877 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
25879 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
25886 SWIGINTERN PyObject
*_wrap_new_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25887 PyObject
*resultobj
= 0;
25888 wxColour
const &arg1_defvalue
= wxNullColour
;
25889 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
25890 wxColour
const &arg2_defvalue
= wxNullColour
;
25891 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
25892 wxFont
const &arg3_defvalue
= wxNullFont
;
25893 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
25894 wxListItemAttr
*result
= 0 ;
25899 PyObject
* obj0
= 0 ;
25900 PyObject
* obj1
= 0 ;
25901 PyObject
* obj2
= 0 ;
25902 char * kwnames
[] = {
25903 (char *) "colText",(char *) "colBack",(char *) "font", NULL
25906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25910 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
25916 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25920 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
25921 if (!SWIG_IsOK(res3
)) {
25922 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
25925 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
25927 arg3
= reinterpret_cast< wxFont
* >(argp3
);
25930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25931 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
25932 wxPyEndAllowThreads(__tstate
);
25933 if (PyErr_Occurred()) SWIG_fail
;
25935 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_NEW
| 0 );
25942 SWIGINTERN PyObject
*_wrap_delete_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25943 PyObject
*resultobj
= 0;
25944 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25947 PyObject
*swig_obj
[1] ;
25949 if (!args
) SWIG_fail
;
25950 swig_obj
[0] = args
;
25951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_DISOWN
| 0 );
25952 if (!SWIG_IsOK(res1
)) {
25953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25955 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25960 wxPyEndAllowThreads(__tstate
);
25961 if (PyErr_Occurred()) SWIG_fail
;
25963 resultobj
= SWIG_Py_Void();
25970 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25971 PyObject
*resultobj
= 0;
25972 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25973 wxColour
*arg2
= 0 ;
25977 PyObject
* obj0
= 0 ;
25978 PyObject
* obj1
= 0 ;
25979 char * kwnames
[] = {
25980 (char *) "self",(char *) "colText", NULL
25983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25985 if (!SWIG_IsOK(res1
)) {
25986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25988 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25991 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25995 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
25996 wxPyEndAllowThreads(__tstate
);
25997 if (PyErr_Occurred()) SWIG_fail
;
25999 resultobj
= SWIG_Py_Void();
26006 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26007 PyObject
*resultobj
= 0;
26008 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26009 wxColour
*arg2
= 0 ;
26013 PyObject
* obj0
= 0 ;
26014 PyObject
* obj1
= 0 ;
26015 char * kwnames
[] = {
26016 (char *) "self",(char *) "colBack", NULL
26019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26021 if (!SWIG_IsOK(res1
)) {
26022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26024 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26027 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26031 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26032 wxPyEndAllowThreads(__tstate
);
26033 if (PyErr_Occurred()) SWIG_fail
;
26035 resultobj
= SWIG_Py_Void();
26042 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26043 PyObject
*resultobj
= 0;
26044 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26050 PyObject
* obj0
= 0 ;
26051 PyObject
* obj1
= 0 ;
26052 char * kwnames
[] = {
26053 (char *) "self",(char *) "font", NULL
26056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26058 if (!SWIG_IsOK(res1
)) {
26059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26061 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26062 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
26063 if (!SWIG_IsOK(res2
)) {
26064 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26067 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26069 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26072 (arg1
)->SetFont((wxFont
const &)*arg2
);
26073 wxPyEndAllowThreads(__tstate
);
26074 if (PyErr_Occurred()) SWIG_fail
;
26076 resultobj
= SWIG_Py_Void();
26083 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26084 PyObject
*resultobj
= 0;
26085 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26089 PyObject
*swig_obj
[1] ;
26091 if (!args
) SWIG_fail
;
26092 swig_obj
[0] = args
;
26093 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26094 if (!SWIG_IsOK(res1
)) {
26095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26097 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26100 result
= (bool)(arg1
)->HasTextColour();
26101 wxPyEndAllowThreads(__tstate
);
26102 if (PyErr_Occurred()) SWIG_fail
;
26105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26113 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26114 PyObject
*resultobj
= 0;
26115 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26119 PyObject
*swig_obj
[1] ;
26121 if (!args
) SWIG_fail
;
26122 swig_obj
[0] = args
;
26123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26124 if (!SWIG_IsOK(res1
)) {
26125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26127 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26130 result
= (bool)(arg1
)->HasBackgroundColour();
26131 wxPyEndAllowThreads(__tstate
);
26132 if (PyErr_Occurred()) SWIG_fail
;
26135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26143 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26144 PyObject
*resultobj
= 0;
26145 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26149 PyObject
*swig_obj
[1] ;
26151 if (!args
) SWIG_fail
;
26152 swig_obj
[0] = args
;
26153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26154 if (!SWIG_IsOK(res1
)) {
26155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26157 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26160 result
= (bool)(arg1
)->HasFont();
26161 wxPyEndAllowThreads(__tstate
);
26162 if (PyErr_Occurred()) SWIG_fail
;
26165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26173 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26174 PyObject
*resultobj
= 0;
26175 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26179 PyObject
*swig_obj
[1] ;
26181 if (!args
) SWIG_fail
;
26182 swig_obj
[0] = args
;
26183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26184 if (!SWIG_IsOK(res1
)) {
26185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26187 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26190 result
= (arg1
)->GetTextColour();
26191 wxPyEndAllowThreads(__tstate
);
26192 if (PyErr_Occurred()) SWIG_fail
;
26194 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26201 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26202 PyObject
*resultobj
= 0;
26203 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26207 PyObject
*swig_obj
[1] ;
26209 if (!args
) SWIG_fail
;
26210 swig_obj
[0] = args
;
26211 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26212 if (!SWIG_IsOK(res1
)) {
26213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26215 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26218 result
= (arg1
)->GetBackgroundColour();
26219 wxPyEndAllowThreads(__tstate
);
26220 if (PyErr_Occurred()) SWIG_fail
;
26222 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26229 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26230 PyObject
*resultobj
= 0;
26231 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26235 PyObject
*swig_obj
[1] ;
26237 if (!args
) SWIG_fail
;
26238 swig_obj
[0] = args
;
26239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26240 if (!SWIG_IsOK(res1
)) {
26241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26243 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26246 result
= (arg1
)->GetFont();
26247 wxPyEndAllowThreads(__tstate
);
26248 if (PyErr_Occurred()) SWIG_fail
;
26250 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
26257 SWIGINTERN PyObject
*_wrap_ListItemAttr_AssignFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26258 PyObject
*resultobj
= 0;
26259 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26260 wxListItemAttr
*arg2
= 0 ;
26265 PyObject
* obj0
= 0 ;
26266 PyObject
* obj1
= 0 ;
26267 char * kwnames
[] = {
26268 (char *) "self",(char *) "source", NULL
26271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_AssignFrom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26273 if (!SWIG_IsOK(res1
)) {
26274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26276 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26277 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItemAttr
, 0 | 0);
26278 if (!SWIG_IsOK(res2
)) {
26279 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26282 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26284 arg2
= reinterpret_cast< wxListItemAttr
* >(argp2
);
26286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26287 (arg1
)->AssignFrom((wxListItemAttr
const &)*arg2
);
26288 wxPyEndAllowThreads(__tstate
);
26289 if (PyErr_Occurred()) SWIG_fail
;
26291 resultobj
= SWIG_Py_Void();
26298 SWIGINTERN PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26299 PyObject
*resultobj
= 0;
26300 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26303 PyObject
*swig_obj
[1] ;
26305 if (!args
) SWIG_fail
;
26306 swig_obj
[0] = args
;
26307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26308 if (!SWIG_IsOK(res1
)) {
26309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26311 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26314 wxListItemAttr_Destroy(arg1
);
26315 wxPyEndAllowThreads(__tstate
);
26316 if (PyErr_Occurred()) SWIG_fail
;
26318 resultobj
= SWIG_Py_Void();
26325 SWIGINTERN PyObject
*ListItemAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26327 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26328 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr
, SWIG_NewClientData(obj
));
26329 return SWIG_Py_Void();
26332 SWIGINTERN PyObject
*ListItemAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26333 return SWIG_Python_InitShadowInstance(args
);
26336 SWIGINTERN PyObject
*_wrap_new_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26337 PyObject
*resultobj
= 0;
26338 wxListItem
*result
= 0 ;
26340 if (!SWIG_Python_UnpackTuple(args
,"new_ListItem",0,0,0)) SWIG_fail
;
26342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26343 result
= (wxListItem
*)new wxListItem();
26344 wxPyEndAllowThreads(__tstate
);
26345 if (PyErr_Occurred()) SWIG_fail
;
26348 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
26356 SWIGINTERN PyObject
*_wrap_delete_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26357 PyObject
*resultobj
= 0;
26358 wxListItem
*arg1
= (wxListItem
*) 0 ;
26361 PyObject
*swig_obj
[1] ;
26363 if (!args
) SWIG_fail
;
26364 swig_obj
[0] = args
;
26365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, SWIG_POINTER_DISOWN
| 0 );
26366 if (!SWIG_IsOK(res1
)) {
26367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
26369 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26374 wxPyEndAllowThreads(__tstate
);
26375 if (PyErr_Occurred()) SWIG_fail
;
26377 resultobj
= SWIG_Py_Void();
26384 SWIGINTERN PyObject
*_wrap_ListItem_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26385 PyObject
*resultobj
= 0;
26386 wxListItem
*arg1
= (wxListItem
*) 0 ;
26389 PyObject
*swig_obj
[1] ;
26391 if (!args
) SWIG_fail
;
26392 swig_obj
[0] = args
;
26393 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26394 if (!SWIG_IsOK(res1
)) {
26395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
26397 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26401 wxPyEndAllowThreads(__tstate
);
26402 if (PyErr_Occurred()) SWIG_fail
;
26404 resultobj
= SWIG_Py_Void();
26411 SWIGINTERN PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26412 PyObject
*resultobj
= 0;
26413 wxListItem
*arg1
= (wxListItem
*) 0 ;
26416 PyObject
*swig_obj
[1] ;
26418 if (!args
) SWIG_fail
;
26419 swig_obj
[0] = args
;
26420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26421 if (!SWIG_IsOK(res1
)) {
26422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26424 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26427 (arg1
)->ClearAttributes();
26428 wxPyEndAllowThreads(__tstate
);
26429 if (PyErr_Occurred()) SWIG_fail
;
26431 resultobj
= SWIG_Py_Void();
26438 SWIGINTERN PyObject
*_wrap_ListItem_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26439 PyObject
*resultobj
= 0;
26440 wxListItem
*arg1
= (wxListItem
*) 0 ;
26446 PyObject
* obj0
= 0 ;
26447 PyObject
* obj1
= 0 ;
26448 char * kwnames
[] = {
26449 (char *) "self",(char *) "mask", NULL
26452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26454 if (!SWIG_IsOK(res1
)) {
26455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26457 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26458 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26459 if (!SWIG_IsOK(ecode2
)) {
26460 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
26462 arg2
= static_cast< long >(val2
);
26464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26465 (arg1
)->SetMask(arg2
);
26466 wxPyEndAllowThreads(__tstate
);
26467 if (PyErr_Occurred()) SWIG_fail
;
26469 resultobj
= SWIG_Py_Void();
26476 SWIGINTERN PyObject
*_wrap_ListItem_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26477 PyObject
*resultobj
= 0;
26478 wxListItem
*arg1
= (wxListItem
*) 0 ;
26484 PyObject
* obj0
= 0 ;
26485 PyObject
* obj1
= 0 ;
26486 char * kwnames
[] = {
26487 (char *) "self",(char *) "id", NULL
26490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26492 if (!SWIG_IsOK(res1
)) {
26493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26495 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26496 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26497 if (!SWIG_IsOK(ecode2
)) {
26498 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
26500 arg2
= static_cast< long >(val2
);
26502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26503 (arg1
)->SetId(arg2
);
26504 wxPyEndAllowThreads(__tstate
);
26505 if (PyErr_Occurred()) SWIG_fail
;
26507 resultobj
= SWIG_Py_Void();
26514 SWIGINTERN PyObject
*_wrap_ListItem_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26515 PyObject
*resultobj
= 0;
26516 wxListItem
*arg1
= (wxListItem
*) 0 ;
26522 PyObject
* obj0
= 0 ;
26523 PyObject
* obj1
= 0 ;
26524 char * kwnames
[] = {
26525 (char *) "self",(char *) "col", NULL
26528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26530 if (!SWIG_IsOK(res1
)) {
26531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26533 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26534 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26535 if (!SWIG_IsOK(ecode2
)) {
26536 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
26538 arg2
= static_cast< int >(val2
);
26540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26541 (arg1
)->SetColumn(arg2
);
26542 wxPyEndAllowThreads(__tstate
);
26543 if (PyErr_Occurred()) SWIG_fail
;
26545 resultobj
= SWIG_Py_Void();
26552 SWIGINTERN PyObject
*_wrap_ListItem_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26553 PyObject
*resultobj
= 0;
26554 wxListItem
*arg1
= (wxListItem
*) 0 ;
26560 PyObject
* obj0
= 0 ;
26561 PyObject
* obj1
= 0 ;
26562 char * kwnames
[] = {
26563 (char *) "self",(char *) "state", NULL
26566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26568 if (!SWIG_IsOK(res1
)) {
26569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26571 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26572 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26573 if (!SWIG_IsOK(ecode2
)) {
26574 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
26576 arg2
= static_cast< long >(val2
);
26578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26579 (arg1
)->SetState(arg2
);
26580 wxPyEndAllowThreads(__tstate
);
26581 if (PyErr_Occurred()) SWIG_fail
;
26583 resultobj
= SWIG_Py_Void();
26590 SWIGINTERN PyObject
*_wrap_ListItem_SetStateMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26591 PyObject
*resultobj
= 0;
26592 wxListItem
*arg1
= (wxListItem
*) 0 ;
26598 PyObject
* obj0
= 0 ;
26599 PyObject
* obj1
= 0 ;
26600 char * kwnames
[] = {
26601 (char *) "self",(char *) "stateMask", NULL
26604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26606 if (!SWIG_IsOK(res1
)) {
26607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26609 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26610 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26611 if (!SWIG_IsOK(ecode2
)) {
26612 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
26614 arg2
= static_cast< long >(val2
);
26616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26617 (arg1
)->SetStateMask(arg2
);
26618 wxPyEndAllowThreads(__tstate
);
26619 if (PyErr_Occurred()) SWIG_fail
;
26621 resultobj
= SWIG_Py_Void();
26628 SWIGINTERN PyObject
*_wrap_ListItem_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26629 PyObject
*resultobj
= 0;
26630 wxListItem
*arg1
= (wxListItem
*) 0 ;
26631 wxString
*arg2
= 0 ;
26634 bool temp2
= false ;
26635 PyObject
* obj0
= 0 ;
26636 PyObject
* obj1
= 0 ;
26637 char * kwnames
[] = {
26638 (char *) "self",(char *) "text", NULL
26641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26643 if (!SWIG_IsOK(res1
)) {
26644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26646 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26648 arg2
= wxString_in_helper(obj1
);
26649 if (arg2
== NULL
) SWIG_fail
;
26653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26654 (arg1
)->SetText((wxString
const &)*arg2
);
26655 wxPyEndAllowThreads(__tstate
);
26656 if (PyErr_Occurred()) SWIG_fail
;
26658 resultobj
= SWIG_Py_Void();
26673 SWIGINTERN PyObject
*_wrap_ListItem_SetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26674 PyObject
*resultobj
= 0;
26675 wxListItem
*arg1
= (wxListItem
*) 0 ;
26681 PyObject
* obj0
= 0 ;
26682 PyObject
* obj1
= 0 ;
26683 char * kwnames
[] = {
26684 (char *) "self",(char *) "image", NULL
26687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26689 if (!SWIG_IsOK(res1
)) {
26690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26692 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26693 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26694 if (!SWIG_IsOK(ecode2
)) {
26695 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
26697 arg2
= static_cast< int >(val2
);
26699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26700 (arg1
)->SetImage(arg2
);
26701 wxPyEndAllowThreads(__tstate
);
26702 if (PyErr_Occurred()) SWIG_fail
;
26704 resultobj
= SWIG_Py_Void();
26711 SWIGINTERN PyObject
*_wrap_ListItem_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26712 PyObject
*resultobj
= 0;
26713 wxListItem
*arg1
= (wxListItem
*) 0 ;
26719 PyObject
* obj0
= 0 ;
26720 PyObject
* obj1
= 0 ;
26721 char * kwnames
[] = {
26722 (char *) "self",(char *) "data", NULL
26725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26727 if (!SWIG_IsOK(res1
)) {
26728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26730 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26731 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26732 if (!SWIG_IsOK(ecode2
)) {
26733 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
26735 arg2
= static_cast< long >(val2
);
26737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26738 (arg1
)->SetData(arg2
);
26739 wxPyEndAllowThreads(__tstate
);
26740 if (PyErr_Occurred()) SWIG_fail
;
26742 resultobj
= SWIG_Py_Void();
26749 SWIGINTERN PyObject
*_wrap_ListItem_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26750 PyObject
*resultobj
= 0;
26751 wxListItem
*arg1
= (wxListItem
*) 0 ;
26757 PyObject
* obj0
= 0 ;
26758 PyObject
* obj1
= 0 ;
26759 char * kwnames
[] = {
26760 (char *) "self",(char *) "width", NULL
26763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26765 if (!SWIG_IsOK(res1
)) {
26766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26768 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26769 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26770 if (!SWIG_IsOK(ecode2
)) {
26771 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
26773 arg2
= static_cast< int >(val2
);
26775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26776 (arg1
)->SetWidth(arg2
);
26777 wxPyEndAllowThreads(__tstate
);
26778 if (PyErr_Occurred()) SWIG_fail
;
26780 resultobj
= SWIG_Py_Void();
26787 SWIGINTERN PyObject
*_wrap_ListItem_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26788 PyObject
*resultobj
= 0;
26789 wxListItem
*arg1
= (wxListItem
*) 0 ;
26790 wxListColumnFormat arg2
;
26795 PyObject
* obj0
= 0 ;
26796 PyObject
* obj1
= 0 ;
26797 char * kwnames
[] = {
26798 (char *) "self",(char *) "align", NULL
26801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26803 if (!SWIG_IsOK(res1
)) {
26804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
26806 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26807 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26808 if (!SWIG_IsOK(ecode2
)) {
26809 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
26811 arg2
= static_cast< wxListColumnFormat
>(val2
);
26813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26814 (arg1
)->SetAlign(arg2
);
26815 wxPyEndAllowThreads(__tstate
);
26816 if (PyErr_Occurred()) SWIG_fail
;
26818 resultobj
= SWIG_Py_Void();
26825 SWIGINTERN PyObject
*_wrap_ListItem_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26826 PyObject
*resultobj
= 0;
26827 wxListItem
*arg1
= (wxListItem
*) 0 ;
26828 wxColour
*arg2
= 0 ;
26832 PyObject
* obj0
= 0 ;
26833 PyObject
* obj1
= 0 ;
26834 char * kwnames
[] = {
26835 (char *) "self",(char *) "colText", NULL
26838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26840 if (!SWIG_IsOK(res1
)) {
26841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26843 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26846 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26850 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
26851 wxPyEndAllowThreads(__tstate
);
26852 if (PyErr_Occurred()) SWIG_fail
;
26854 resultobj
= SWIG_Py_Void();
26861 SWIGINTERN PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26862 PyObject
*resultobj
= 0;
26863 wxListItem
*arg1
= (wxListItem
*) 0 ;
26864 wxColour
*arg2
= 0 ;
26868 PyObject
* obj0
= 0 ;
26869 PyObject
* obj1
= 0 ;
26870 char * kwnames
[] = {
26871 (char *) "self",(char *) "colBack", NULL
26874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26876 if (!SWIG_IsOK(res1
)) {
26877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26879 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26882 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26886 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26887 wxPyEndAllowThreads(__tstate
);
26888 if (PyErr_Occurred()) SWIG_fail
;
26890 resultobj
= SWIG_Py_Void();
26897 SWIGINTERN PyObject
*_wrap_ListItem_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26898 PyObject
*resultobj
= 0;
26899 wxListItem
*arg1
= (wxListItem
*) 0 ;
26905 PyObject
* obj0
= 0 ;
26906 PyObject
* obj1
= 0 ;
26907 char * kwnames
[] = {
26908 (char *) "self",(char *) "font", NULL
26911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26913 if (!SWIG_IsOK(res1
)) {
26914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
26916 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26917 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
26918 if (!SWIG_IsOK(res2
)) {
26919 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26922 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26924 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26927 (arg1
)->SetFont((wxFont
const &)*arg2
);
26928 wxPyEndAllowThreads(__tstate
);
26929 if (PyErr_Occurred()) SWIG_fail
;
26931 resultobj
= SWIG_Py_Void();
26938 SWIGINTERN PyObject
*_wrap_ListItem_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26939 PyObject
*resultobj
= 0;
26940 wxListItem
*arg1
= (wxListItem
*) 0 ;
26944 PyObject
*swig_obj
[1] ;
26946 if (!args
) SWIG_fail
;
26947 swig_obj
[0] = args
;
26948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26949 if (!SWIG_IsOK(res1
)) {
26950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26952 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26955 result
= (long)(arg1
)->GetMask();
26956 wxPyEndAllowThreads(__tstate
);
26957 if (PyErr_Occurred()) SWIG_fail
;
26959 resultobj
= SWIG_From_long(static_cast< long >(result
));
26966 SWIGINTERN PyObject
*_wrap_ListItem_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26967 PyObject
*resultobj
= 0;
26968 wxListItem
*arg1
= (wxListItem
*) 0 ;
26972 PyObject
*swig_obj
[1] ;
26974 if (!args
) SWIG_fail
;
26975 swig_obj
[0] = args
;
26976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26977 if (!SWIG_IsOK(res1
)) {
26978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26980 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26983 result
= (long)(arg1
)->GetId();
26984 wxPyEndAllowThreads(__tstate
);
26985 if (PyErr_Occurred()) SWIG_fail
;
26987 resultobj
= SWIG_From_long(static_cast< long >(result
));
26994 SWIGINTERN PyObject
*_wrap_ListItem_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26995 PyObject
*resultobj
= 0;
26996 wxListItem
*arg1
= (wxListItem
*) 0 ;
27000 PyObject
*swig_obj
[1] ;
27002 if (!args
) SWIG_fail
;
27003 swig_obj
[0] = args
;
27004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27005 if (!SWIG_IsOK(res1
)) {
27006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
27008 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27011 result
= (int)(arg1
)->GetColumn();
27012 wxPyEndAllowThreads(__tstate
);
27013 if (PyErr_Occurred()) SWIG_fail
;
27015 resultobj
= SWIG_From_int(static_cast< int >(result
));
27022 SWIGINTERN PyObject
*_wrap_ListItem_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27023 PyObject
*resultobj
= 0;
27024 wxListItem
*arg1
= (wxListItem
*) 0 ;
27028 PyObject
*swig_obj
[1] ;
27030 if (!args
) SWIG_fail
;
27031 swig_obj
[0] = args
;
27032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27033 if (!SWIG_IsOK(res1
)) {
27034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
27036 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27039 result
= (long)(arg1
)->GetState();
27040 wxPyEndAllowThreads(__tstate
);
27041 if (PyErr_Occurred()) SWIG_fail
;
27043 resultobj
= SWIG_From_long(static_cast< long >(result
));
27050 SWIGINTERN PyObject
*_wrap_ListItem_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27051 PyObject
*resultobj
= 0;
27052 wxListItem
*arg1
= (wxListItem
*) 0 ;
27053 wxString
*result
= 0 ;
27056 PyObject
*swig_obj
[1] ;
27058 if (!args
) SWIG_fail
;
27059 swig_obj
[0] = args
;
27060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27061 if (!SWIG_IsOK(res1
)) {
27062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
27064 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27068 wxString
const &_result_ref
= (arg1
)->GetText();
27069 result
= (wxString
*) &_result_ref
;
27071 wxPyEndAllowThreads(__tstate
);
27072 if (PyErr_Occurred()) SWIG_fail
;
27076 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27078 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27087 SWIGINTERN PyObject
*_wrap_ListItem_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27088 PyObject
*resultobj
= 0;
27089 wxListItem
*arg1
= (wxListItem
*) 0 ;
27093 PyObject
*swig_obj
[1] ;
27095 if (!args
) SWIG_fail
;
27096 swig_obj
[0] = args
;
27097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27098 if (!SWIG_IsOK(res1
)) {
27099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
27101 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27104 result
= (int)(arg1
)->GetImage();
27105 wxPyEndAllowThreads(__tstate
);
27106 if (PyErr_Occurred()) SWIG_fail
;
27108 resultobj
= SWIG_From_int(static_cast< int >(result
));
27115 SWIGINTERN PyObject
*_wrap_ListItem_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27116 PyObject
*resultobj
= 0;
27117 wxListItem
*arg1
= (wxListItem
*) 0 ;
27121 PyObject
*swig_obj
[1] ;
27123 if (!args
) SWIG_fail
;
27124 swig_obj
[0] = args
;
27125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27126 if (!SWIG_IsOK(res1
)) {
27127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
27129 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27132 result
= (long)(arg1
)->GetData();
27133 wxPyEndAllowThreads(__tstate
);
27134 if (PyErr_Occurred()) SWIG_fail
;
27136 resultobj
= SWIG_From_long(static_cast< long >(result
));
27143 SWIGINTERN PyObject
*_wrap_ListItem_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27144 PyObject
*resultobj
= 0;
27145 wxListItem
*arg1
= (wxListItem
*) 0 ;
27149 PyObject
*swig_obj
[1] ;
27151 if (!args
) SWIG_fail
;
27152 swig_obj
[0] = args
;
27153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27154 if (!SWIG_IsOK(res1
)) {
27155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27157 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27160 result
= (int)(arg1
)->GetWidth();
27161 wxPyEndAllowThreads(__tstate
);
27162 if (PyErr_Occurred()) SWIG_fail
;
27164 resultobj
= SWIG_From_int(static_cast< int >(result
));
27171 SWIGINTERN PyObject
*_wrap_ListItem_GetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27172 PyObject
*resultobj
= 0;
27173 wxListItem
*arg1
= (wxListItem
*) 0 ;
27174 wxListColumnFormat result
;
27177 PyObject
*swig_obj
[1] ;
27179 if (!args
) SWIG_fail
;
27180 swig_obj
[0] = args
;
27181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27182 if (!SWIG_IsOK(res1
)) {
27183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27185 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27188 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
27189 wxPyEndAllowThreads(__tstate
);
27190 if (PyErr_Occurred()) SWIG_fail
;
27192 resultobj
= SWIG_From_int(static_cast< int >(result
));
27199 SWIGINTERN PyObject
*_wrap_ListItem_GetAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27200 PyObject
*resultobj
= 0;
27201 wxListItem
*arg1
= (wxListItem
*) 0 ;
27202 wxListItemAttr
*result
= 0 ;
27205 PyObject
*swig_obj
[1] ;
27207 if (!args
) SWIG_fail
;
27208 swig_obj
[0] = args
;
27209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27210 if (!SWIG_IsOK(res1
)) {
27211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27213 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27216 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
27217 wxPyEndAllowThreads(__tstate
);
27218 if (PyErr_Occurred()) SWIG_fail
;
27220 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
27227 SWIGINTERN PyObject
*_wrap_ListItem_HasAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27228 PyObject
*resultobj
= 0;
27229 wxListItem
*arg1
= (wxListItem
*) 0 ;
27233 PyObject
*swig_obj
[1] ;
27235 if (!args
) SWIG_fail
;
27236 swig_obj
[0] = args
;
27237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27238 if (!SWIG_IsOK(res1
)) {
27239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27241 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27244 result
= (bool)(arg1
)->HasAttributes();
27245 wxPyEndAllowThreads(__tstate
);
27246 if (PyErr_Occurred()) SWIG_fail
;
27249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27257 SWIGINTERN PyObject
*_wrap_ListItem_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27258 PyObject
*resultobj
= 0;
27259 wxListItem
*arg1
= (wxListItem
*) 0 ;
27263 PyObject
*swig_obj
[1] ;
27265 if (!args
) SWIG_fail
;
27266 swig_obj
[0] = args
;
27267 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27268 if (!SWIG_IsOK(res1
)) {
27269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27271 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27274 result
= ((wxListItem
const *)arg1
)->GetTextColour();
27275 wxPyEndAllowThreads(__tstate
);
27276 if (PyErr_Occurred()) SWIG_fail
;
27278 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27285 SWIGINTERN PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27286 PyObject
*resultobj
= 0;
27287 wxListItem
*arg1
= (wxListItem
*) 0 ;
27291 PyObject
*swig_obj
[1] ;
27293 if (!args
) SWIG_fail
;
27294 swig_obj
[0] = args
;
27295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27296 if (!SWIG_IsOK(res1
)) {
27297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27299 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27302 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
27303 wxPyEndAllowThreads(__tstate
);
27304 if (PyErr_Occurred()) SWIG_fail
;
27306 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27313 SWIGINTERN PyObject
*_wrap_ListItem_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27314 PyObject
*resultobj
= 0;
27315 wxListItem
*arg1
= (wxListItem
*) 0 ;
27319 PyObject
*swig_obj
[1] ;
27321 if (!args
) SWIG_fail
;
27322 swig_obj
[0] = args
;
27323 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27324 if (!SWIG_IsOK(res1
)) {
27325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
27327 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27330 result
= ((wxListItem
const *)arg1
)->GetFont();
27331 wxPyEndAllowThreads(__tstate
);
27332 if (PyErr_Occurred()) SWIG_fail
;
27334 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
27341 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27342 PyObject
*resultobj
= 0;
27343 wxListItem
*arg1
= (wxListItem
*) 0 ;
27349 PyObject
*swig_obj
[2] ;
27351 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_mask_set",2,2,swig_obj
)) SWIG_fail
;
27352 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27353 if (!SWIG_IsOK(res1
)) {
27354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27356 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27357 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27358 if (!SWIG_IsOK(ecode2
)) {
27359 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
27361 arg2
= static_cast< long >(val2
);
27362 if (arg1
) (arg1
)->m_mask
= arg2
;
27364 resultobj
= SWIG_Py_Void();
27371 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27372 PyObject
*resultobj
= 0;
27373 wxListItem
*arg1
= (wxListItem
*) 0 ;
27377 PyObject
*swig_obj
[1] ;
27379 if (!args
) SWIG_fail
;
27380 swig_obj
[0] = args
;
27381 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27382 if (!SWIG_IsOK(res1
)) {
27383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27385 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27386 result
= (long) ((arg1
)->m_mask
);
27387 resultobj
= SWIG_From_long(static_cast< long >(result
));
27394 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27395 PyObject
*resultobj
= 0;
27396 wxListItem
*arg1
= (wxListItem
*) 0 ;
27402 PyObject
*swig_obj
[2] ;
27404 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_itemId_set",2,2,swig_obj
)) SWIG_fail
;
27405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27406 if (!SWIG_IsOK(res1
)) {
27407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27409 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27410 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27411 if (!SWIG_IsOK(ecode2
)) {
27412 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
27414 arg2
= static_cast< long >(val2
);
27415 if (arg1
) (arg1
)->m_itemId
= arg2
;
27417 resultobj
= SWIG_Py_Void();
27424 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27425 PyObject
*resultobj
= 0;
27426 wxListItem
*arg1
= (wxListItem
*) 0 ;
27430 PyObject
*swig_obj
[1] ;
27432 if (!args
) SWIG_fail
;
27433 swig_obj
[0] = args
;
27434 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27435 if (!SWIG_IsOK(res1
)) {
27436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27438 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27439 result
= (long) ((arg1
)->m_itemId
);
27440 resultobj
= SWIG_From_long(static_cast< long >(result
));
27447 SWIGINTERN PyObject
*_wrap_ListItem_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27448 PyObject
*resultobj
= 0;
27449 wxListItem
*arg1
= (wxListItem
*) 0 ;
27455 PyObject
*swig_obj
[2] ;
27457 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27459 if (!SWIG_IsOK(res1
)) {
27460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27462 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27463 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27464 if (!SWIG_IsOK(ecode2
)) {
27465 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
27467 arg2
= static_cast< int >(val2
);
27468 if (arg1
) (arg1
)->m_col
= arg2
;
27470 resultobj
= SWIG_Py_Void();
27477 SWIGINTERN PyObject
*_wrap_ListItem_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27478 PyObject
*resultobj
= 0;
27479 wxListItem
*arg1
= (wxListItem
*) 0 ;
27483 PyObject
*swig_obj
[1] ;
27485 if (!args
) SWIG_fail
;
27486 swig_obj
[0] = args
;
27487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27488 if (!SWIG_IsOK(res1
)) {
27489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27491 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27492 result
= (int) ((arg1
)->m_col
);
27493 resultobj
= SWIG_From_int(static_cast< int >(result
));
27500 SWIGINTERN PyObject
*_wrap_ListItem_m_state_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27501 PyObject
*resultobj
= 0;
27502 wxListItem
*arg1
= (wxListItem
*) 0 ;
27508 PyObject
*swig_obj
[2] ;
27510 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_state_set",2,2,swig_obj
)) SWIG_fail
;
27511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27512 if (!SWIG_IsOK(res1
)) {
27513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27515 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27516 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27517 if (!SWIG_IsOK(ecode2
)) {
27518 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
27520 arg2
= static_cast< long >(val2
);
27521 if (arg1
) (arg1
)->m_state
= arg2
;
27523 resultobj
= SWIG_Py_Void();
27530 SWIGINTERN PyObject
*_wrap_ListItem_m_state_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27531 PyObject
*resultobj
= 0;
27532 wxListItem
*arg1
= (wxListItem
*) 0 ;
27536 PyObject
*swig_obj
[1] ;
27538 if (!args
) SWIG_fail
;
27539 swig_obj
[0] = args
;
27540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27541 if (!SWIG_IsOK(res1
)) {
27542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27544 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27545 result
= (long) ((arg1
)->m_state
);
27546 resultobj
= SWIG_From_long(static_cast< long >(result
));
27553 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27554 PyObject
*resultobj
= 0;
27555 wxListItem
*arg1
= (wxListItem
*) 0 ;
27561 PyObject
*swig_obj
[2] ;
27563 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_stateMask_set",2,2,swig_obj
)) SWIG_fail
;
27564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27565 if (!SWIG_IsOK(res1
)) {
27566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27568 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27569 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27570 if (!SWIG_IsOK(ecode2
)) {
27571 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
27573 arg2
= static_cast< long >(val2
);
27574 if (arg1
) (arg1
)->m_stateMask
= arg2
;
27576 resultobj
= SWIG_Py_Void();
27583 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27584 PyObject
*resultobj
= 0;
27585 wxListItem
*arg1
= (wxListItem
*) 0 ;
27589 PyObject
*swig_obj
[1] ;
27591 if (!args
) SWIG_fail
;
27592 swig_obj
[0] = args
;
27593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27594 if (!SWIG_IsOK(res1
)) {
27595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27597 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27598 result
= (long) ((arg1
)->m_stateMask
);
27599 resultobj
= SWIG_From_long(static_cast< long >(result
));
27606 SWIGINTERN PyObject
*_wrap_ListItem_m_text_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27607 PyObject
*resultobj
= 0;
27608 wxListItem
*arg1
= (wxListItem
*) 0 ;
27609 wxString
*arg2
= (wxString
*) 0 ;
27612 bool temp2
= false ;
27613 PyObject
*swig_obj
[2] ;
27615 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_text_set",2,2,swig_obj
)) SWIG_fail
;
27616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27617 if (!SWIG_IsOK(res1
)) {
27618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27620 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27622 arg2
= wxString_in_helper(swig_obj
[1]);
27623 if (arg2
== NULL
) SWIG_fail
;
27626 if (arg1
) (arg1
)->m_text
= *arg2
;
27628 resultobj
= SWIG_Py_Void();
27643 SWIGINTERN PyObject
*_wrap_ListItem_m_text_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27644 PyObject
*resultobj
= 0;
27645 wxListItem
*arg1
= (wxListItem
*) 0 ;
27646 wxString
*result
= 0 ;
27649 PyObject
*swig_obj
[1] ;
27651 if (!args
) SWIG_fail
;
27652 swig_obj
[0] = args
;
27653 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27654 if (!SWIG_IsOK(res1
)) {
27655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27657 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27658 result
= (wxString
*)& ((arg1
)->m_text
);
27661 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27663 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27672 SWIGINTERN PyObject
*_wrap_ListItem_m_image_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27673 PyObject
*resultobj
= 0;
27674 wxListItem
*arg1
= (wxListItem
*) 0 ;
27680 PyObject
*swig_obj
[2] ;
27682 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_image_set",2,2,swig_obj
)) SWIG_fail
;
27683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27684 if (!SWIG_IsOK(res1
)) {
27685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27687 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27688 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27689 if (!SWIG_IsOK(ecode2
)) {
27690 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
27692 arg2
= static_cast< int >(val2
);
27693 if (arg1
) (arg1
)->m_image
= arg2
;
27695 resultobj
= SWIG_Py_Void();
27702 SWIGINTERN PyObject
*_wrap_ListItem_m_image_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27703 PyObject
*resultobj
= 0;
27704 wxListItem
*arg1
= (wxListItem
*) 0 ;
27708 PyObject
*swig_obj
[1] ;
27710 if (!args
) SWIG_fail
;
27711 swig_obj
[0] = args
;
27712 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27713 if (!SWIG_IsOK(res1
)) {
27714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27716 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27717 result
= (int) ((arg1
)->m_image
);
27718 resultobj
= SWIG_From_int(static_cast< int >(result
));
27725 SWIGINTERN PyObject
*_wrap_ListItem_m_data_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27726 PyObject
*resultobj
= 0;
27727 wxListItem
*arg1
= (wxListItem
*) 0 ;
27733 PyObject
*swig_obj
[2] ;
27735 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_data_set",2,2,swig_obj
)) SWIG_fail
;
27736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27737 if (!SWIG_IsOK(res1
)) {
27738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27740 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27741 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27742 if (!SWIG_IsOK(ecode2
)) {
27743 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
27745 arg2
= static_cast< long >(val2
);
27746 if (arg1
) (arg1
)->m_data
= arg2
;
27748 resultobj
= SWIG_Py_Void();
27755 SWIGINTERN PyObject
*_wrap_ListItem_m_data_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27756 PyObject
*resultobj
= 0;
27757 wxListItem
*arg1
= (wxListItem
*) 0 ;
27761 PyObject
*swig_obj
[1] ;
27763 if (!args
) SWIG_fail
;
27764 swig_obj
[0] = args
;
27765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27766 if (!SWIG_IsOK(res1
)) {
27767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27769 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27770 result
= (long) ((arg1
)->m_data
);
27771 resultobj
= SWIG_From_long(static_cast< long >(result
));
27778 SWIGINTERN PyObject
*_wrap_ListItem_m_format_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27779 PyObject
*resultobj
= 0;
27780 wxListItem
*arg1
= (wxListItem
*) 0 ;
27786 PyObject
*swig_obj
[2] ;
27788 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_format_set",2,2,swig_obj
)) SWIG_fail
;
27789 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27790 if (!SWIG_IsOK(res1
)) {
27791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27793 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27794 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27795 if (!SWIG_IsOK(ecode2
)) {
27796 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
27798 arg2
= static_cast< int >(val2
);
27799 if (arg1
) (arg1
)->m_format
= arg2
;
27801 resultobj
= SWIG_Py_Void();
27808 SWIGINTERN PyObject
*_wrap_ListItem_m_format_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27809 PyObject
*resultobj
= 0;
27810 wxListItem
*arg1
= (wxListItem
*) 0 ;
27814 PyObject
*swig_obj
[1] ;
27816 if (!args
) SWIG_fail
;
27817 swig_obj
[0] = args
;
27818 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27819 if (!SWIG_IsOK(res1
)) {
27820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27822 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27823 result
= (int) ((arg1
)->m_format
);
27824 resultobj
= SWIG_From_int(static_cast< int >(result
));
27831 SWIGINTERN PyObject
*_wrap_ListItem_m_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27832 PyObject
*resultobj
= 0;
27833 wxListItem
*arg1
= (wxListItem
*) 0 ;
27839 PyObject
*swig_obj
[2] ;
27841 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_width_set",2,2,swig_obj
)) SWIG_fail
;
27842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27843 if (!SWIG_IsOK(res1
)) {
27844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27846 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27847 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27848 if (!SWIG_IsOK(ecode2
)) {
27849 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
27851 arg2
= static_cast< int >(val2
);
27852 if (arg1
) (arg1
)->m_width
= arg2
;
27854 resultobj
= SWIG_Py_Void();
27861 SWIGINTERN PyObject
*_wrap_ListItem_m_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27862 PyObject
*resultobj
= 0;
27863 wxListItem
*arg1
= (wxListItem
*) 0 ;
27867 PyObject
*swig_obj
[1] ;
27869 if (!args
) SWIG_fail
;
27870 swig_obj
[0] = args
;
27871 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27872 if (!SWIG_IsOK(res1
)) {
27873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27875 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27876 result
= (int) ((arg1
)->m_width
);
27877 resultobj
= SWIG_From_int(static_cast< int >(result
));
27884 SWIGINTERN PyObject
*ListItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27886 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27887 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem
, SWIG_NewClientData(obj
));
27888 return SWIG_Py_Void();
27891 SWIGINTERN PyObject
*ListItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27892 return SWIG_Python_InitShadowInstance(args
);
27895 SWIGINTERN PyObject
*_wrap_new_ListEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27896 PyObject
*resultobj
= 0;
27897 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27898 int arg2
= (int) 0 ;
27899 wxListEvent
*result
= 0 ;
27904 PyObject
* obj0
= 0 ;
27905 PyObject
* obj1
= 0 ;
27906 char * kwnames
[] = {
27907 (char *) "commandType",(char *) "id", NULL
27910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27912 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27913 if (!SWIG_IsOK(ecode1
)) {
27914 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
27916 arg1
= static_cast< wxEventType
>(val1
);
27919 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27920 if (!SWIG_IsOK(ecode2
)) {
27921 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
27923 arg2
= static_cast< int >(val2
);
27926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27927 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
27928 wxPyEndAllowThreads(__tstate
);
27929 if (PyErr_Occurred()) SWIG_fail
;
27931 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListEvent
, SWIG_POINTER_NEW
| 0 );
27938 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27939 PyObject
*resultobj
= 0;
27940 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27946 PyObject
*swig_obj
[2] ;
27948 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_code_set",2,2,swig_obj
)) SWIG_fail
;
27949 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27950 if (!SWIG_IsOK(res1
)) {
27951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27953 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27954 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27955 if (!SWIG_IsOK(ecode2
)) {
27956 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
27958 arg2
= static_cast< int >(val2
);
27959 if (arg1
) (arg1
)->m_code
= arg2
;
27961 resultobj
= SWIG_Py_Void();
27968 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27969 PyObject
*resultobj
= 0;
27970 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27974 PyObject
*swig_obj
[1] ;
27976 if (!args
) SWIG_fail
;
27977 swig_obj
[0] = args
;
27978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27979 if (!SWIG_IsOK(res1
)) {
27980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27982 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27983 result
= (int) ((arg1
)->m_code
);
27984 resultobj
= SWIG_From_int(static_cast< int >(result
));
27991 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27992 PyObject
*resultobj
= 0;
27993 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27999 PyObject
*swig_obj
[2] ;
28001 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_oldItemIndex_set",2,2,swig_obj
)) SWIG_fail
;
28002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28003 if (!SWIG_IsOK(res1
)) {
28004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28006 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28007 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28008 if (!SWIG_IsOK(ecode2
)) {
28009 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
28011 arg2
= static_cast< long >(val2
);
28012 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
28014 resultobj
= SWIG_Py_Void();
28021 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28022 PyObject
*resultobj
= 0;
28023 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28027 PyObject
*swig_obj
[1] ;
28029 if (!args
) SWIG_fail
;
28030 swig_obj
[0] = args
;
28031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28032 if (!SWIG_IsOK(res1
)) {
28033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28035 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28036 result
= (long) ((arg1
)->m_oldItemIndex
);
28037 resultobj
= SWIG_From_long(static_cast< long >(result
));
28044 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28045 PyObject
*resultobj
= 0;
28046 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28052 PyObject
*swig_obj
[2] ;
28054 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_itemIndex_set",2,2,swig_obj
)) SWIG_fail
;
28055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28056 if (!SWIG_IsOK(res1
)) {
28057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28059 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28060 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28061 if (!SWIG_IsOK(ecode2
)) {
28062 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
28064 arg2
= static_cast< long >(val2
);
28065 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
28067 resultobj
= SWIG_Py_Void();
28074 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28075 PyObject
*resultobj
= 0;
28076 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28080 PyObject
*swig_obj
[1] ;
28082 if (!args
) SWIG_fail
;
28083 swig_obj
[0] = args
;
28084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28085 if (!SWIG_IsOK(res1
)) {
28086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28088 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28089 result
= (long) ((arg1
)->m_itemIndex
);
28090 resultobj
= SWIG_From_long(static_cast< long >(result
));
28097 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28098 PyObject
*resultobj
= 0;
28099 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28105 PyObject
*swig_obj
[2] ;
28107 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_col_set",2,2,swig_obj
)) SWIG_fail
;
28108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28109 if (!SWIG_IsOK(res1
)) {
28110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28112 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28113 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28114 if (!SWIG_IsOK(ecode2
)) {
28115 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
28117 arg2
= static_cast< int >(val2
);
28118 if (arg1
) (arg1
)->m_col
= arg2
;
28120 resultobj
= SWIG_Py_Void();
28127 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28128 PyObject
*resultobj
= 0;
28129 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28133 PyObject
*swig_obj
[1] ;
28135 if (!args
) SWIG_fail
;
28136 swig_obj
[0] = args
;
28137 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28138 if (!SWIG_IsOK(res1
)) {
28139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28141 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28142 result
= (int) ((arg1
)->m_col
);
28143 resultobj
= SWIG_From_int(static_cast< int >(result
));
28150 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28151 PyObject
*resultobj
= 0;
28152 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28153 wxPoint
*arg2
= (wxPoint
*) 0 ;
28158 PyObject
*swig_obj
[2] ;
28160 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_pointDrag_set",2,2,swig_obj
)) SWIG_fail
;
28161 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28162 if (!SWIG_IsOK(res1
)) {
28163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28165 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28166 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPoint
, 0 | 0 );
28167 if (!SWIG_IsOK(res2
)) {
28168 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
28170 arg2
= reinterpret_cast< wxPoint
* >(argp2
);
28171 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
28173 resultobj
= SWIG_Py_Void();
28180 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28181 PyObject
*resultobj
= 0;
28182 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28183 wxPoint
*result
= 0 ;
28186 PyObject
*swig_obj
[1] ;
28188 if (!args
) SWIG_fail
;
28189 swig_obj
[0] = args
;
28190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28191 if (!SWIG_IsOK(res1
)) {
28192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28194 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28195 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
28196 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
28203 SWIGINTERN PyObject
*_wrap_ListEvent_m_item_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28204 PyObject
*resultobj
= 0;
28205 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28206 wxListItem
*result
= 0 ;
28209 PyObject
*swig_obj
[1] ;
28211 if (!args
) SWIG_fail
;
28212 swig_obj
[0] = args
;
28213 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28214 if (!SWIG_IsOK(res1
)) {
28215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28217 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28218 result
= (wxListItem
*)& ((arg1
)->m_item
);
28220 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28228 SWIGINTERN PyObject
*_wrap_ListEvent_GetKeyCode(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_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
28242 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28245 result
= (int)(arg1
)->GetKeyCode();
28246 wxPyEndAllowThreads(__tstate
);
28247 if (PyErr_Occurred()) SWIG_fail
;
28249 resultobj
= SWIG_From_int(static_cast< int >(result
));
28256 SWIGINTERN PyObject
*_wrap_ListEvent_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28257 PyObject
*resultobj
= 0;
28258 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28262 PyObject
*swig_obj
[1] ;
28264 if (!args
) SWIG_fail
;
28265 swig_obj
[0] = args
;
28266 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28267 if (!SWIG_IsOK(res1
)) {
28268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
28270 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28273 result
= (long)(arg1
)->GetIndex();
28274 wxPyEndAllowThreads(__tstate
);
28275 if (PyErr_Occurred()) SWIG_fail
;
28277 resultobj
= SWIG_From_long(static_cast< long >(result
));
28284 SWIGINTERN PyObject
*_wrap_ListEvent_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28285 PyObject
*resultobj
= 0;
28286 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28290 PyObject
*swig_obj
[1] ;
28292 if (!args
) SWIG_fail
;
28293 swig_obj
[0] = args
;
28294 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28295 if (!SWIG_IsOK(res1
)) {
28296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
28298 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28301 result
= (int)(arg1
)->GetColumn();
28302 wxPyEndAllowThreads(__tstate
);
28303 if (PyErr_Occurred()) SWIG_fail
;
28305 resultobj
= SWIG_From_int(static_cast< int >(result
));
28312 SWIGINTERN PyObject
*_wrap_ListEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28313 PyObject
*resultobj
= 0;
28314 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28318 PyObject
*swig_obj
[1] ;
28320 if (!args
) SWIG_fail
;
28321 swig_obj
[0] = args
;
28322 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28323 if (!SWIG_IsOK(res1
)) {
28324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
28326 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28329 result
= (arg1
)->GetPoint();
28330 wxPyEndAllowThreads(__tstate
);
28331 if (PyErr_Occurred()) SWIG_fail
;
28333 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
28340 SWIGINTERN PyObject
*_wrap_ListEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28341 PyObject
*resultobj
= 0;
28342 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28343 wxString
*result
= 0 ;
28346 PyObject
*swig_obj
[1] ;
28348 if (!args
) SWIG_fail
;
28349 swig_obj
[0] = args
;
28350 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28351 if (!SWIG_IsOK(res1
)) {
28352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
28354 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28358 wxString
const &_result_ref
= (arg1
)->GetLabel();
28359 result
= (wxString
*) &_result_ref
;
28361 wxPyEndAllowThreads(__tstate
);
28362 if (PyErr_Occurred()) SWIG_fail
;
28366 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28368 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28377 SWIGINTERN PyObject
*_wrap_ListEvent_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28378 PyObject
*resultobj
= 0;
28379 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28380 wxString
*result
= 0 ;
28383 PyObject
*swig_obj
[1] ;
28385 if (!args
) SWIG_fail
;
28386 swig_obj
[0] = args
;
28387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28388 if (!SWIG_IsOK(res1
)) {
28389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
28391 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28395 wxString
const &_result_ref
= (arg1
)->GetText();
28396 result
= (wxString
*) &_result_ref
;
28398 wxPyEndAllowThreads(__tstate
);
28399 if (PyErr_Occurred()) SWIG_fail
;
28403 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28405 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28414 SWIGINTERN PyObject
*_wrap_ListEvent_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28415 PyObject
*resultobj
= 0;
28416 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28420 PyObject
*swig_obj
[1] ;
28422 if (!args
) SWIG_fail
;
28423 swig_obj
[0] = args
;
28424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28425 if (!SWIG_IsOK(res1
)) {
28426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
28428 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28431 result
= (int)(arg1
)->GetImage();
28432 wxPyEndAllowThreads(__tstate
);
28433 if (PyErr_Occurred()) SWIG_fail
;
28435 resultobj
= SWIG_From_int(static_cast< int >(result
));
28442 SWIGINTERN PyObject
*_wrap_ListEvent_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28443 PyObject
*resultobj
= 0;
28444 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28448 PyObject
*swig_obj
[1] ;
28450 if (!args
) SWIG_fail
;
28451 swig_obj
[0] = args
;
28452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28453 if (!SWIG_IsOK(res1
)) {
28454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
28456 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28459 result
= (long)(arg1
)->GetData();
28460 wxPyEndAllowThreads(__tstate
);
28461 if (PyErr_Occurred()) SWIG_fail
;
28463 resultobj
= SWIG_From_long(static_cast< long >(result
));
28470 SWIGINTERN PyObject
*_wrap_ListEvent_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28471 PyObject
*resultobj
= 0;
28472 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28476 PyObject
*swig_obj
[1] ;
28478 if (!args
) SWIG_fail
;
28479 swig_obj
[0] = args
;
28480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28481 if (!SWIG_IsOK(res1
)) {
28482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
28484 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28487 result
= (long)(arg1
)->GetMask();
28488 wxPyEndAllowThreads(__tstate
);
28489 if (PyErr_Occurred()) SWIG_fail
;
28491 resultobj
= SWIG_From_long(static_cast< long >(result
));
28498 SWIGINTERN PyObject
*_wrap_ListEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28499 PyObject
*resultobj
= 0;
28500 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28501 wxListItem
*result
= 0 ;
28504 PyObject
*swig_obj
[1] ;
28506 if (!args
) SWIG_fail
;
28507 swig_obj
[0] = args
;
28508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28509 if (!SWIG_IsOK(res1
)) {
28510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
28512 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28516 wxListItem
const &_result_ref
= (arg1
)->GetItem();
28517 result
= (wxListItem
*) &_result_ref
;
28519 wxPyEndAllowThreads(__tstate
);
28520 if (PyErr_Occurred()) SWIG_fail
;
28522 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, 0 | 0 );
28529 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28530 PyObject
*resultobj
= 0;
28531 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28535 PyObject
*swig_obj
[1] ;
28537 if (!args
) SWIG_fail
;
28538 swig_obj
[0] = args
;
28539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28540 if (!SWIG_IsOK(res1
)) {
28541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
28543 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28546 result
= (long)(arg1
)->GetCacheFrom();
28547 wxPyEndAllowThreads(__tstate
);
28548 if (PyErr_Occurred()) SWIG_fail
;
28550 resultobj
= SWIG_From_long(static_cast< long >(result
));
28557 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28558 PyObject
*resultobj
= 0;
28559 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28563 PyObject
*swig_obj
[1] ;
28565 if (!args
) SWIG_fail
;
28566 swig_obj
[0] = args
;
28567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28568 if (!SWIG_IsOK(res1
)) {
28569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
28571 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28574 result
= (long)(arg1
)->GetCacheTo();
28575 wxPyEndAllowThreads(__tstate
);
28576 if (PyErr_Occurred()) SWIG_fail
;
28578 resultobj
= SWIG_From_long(static_cast< long >(result
));
28585 SWIGINTERN PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28586 PyObject
*resultobj
= 0;
28587 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28591 PyObject
*swig_obj
[1] ;
28593 if (!args
) SWIG_fail
;
28594 swig_obj
[0] = args
;
28595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28596 if (!SWIG_IsOK(res1
)) {
28597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
28599 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28602 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
28603 wxPyEndAllowThreads(__tstate
);
28604 if (PyErr_Occurred()) SWIG_fail
;
28607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28615 SWIGINTERN PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28616 PyObject
*resultobj
= 0;
28617 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28623 PyObject
* obj0
= 0 ;
28624 PyObject
* obj1
= 0 ;
28625 char * kwnames
[] = {
28626 (char *) "self",(char *) "editCancelled", NULL
28629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28631 if (!SWIG_IsOK(res1
)) {
28632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
28634 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28635 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28636 if (!SWIG_IsOK(ecode2
)) {
28637 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
28639 arg2
= static_cast< bool >(val2
);
28641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28642 (arg1
)->SetEditCanceled(arg2
);
28643 wxPyEndAllowThreads(__tstate
);
28644 if (PyErr_Occurred()) SWIG_fail
;
28646 resultobj
= SWIG_Py_Void();
28653 SWIGINTERN PyObject
*ListEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28655 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28656 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent
, SWIG_NewClientData(obj
));
28657 return SWIG_Py_Void();
28660 SWIGINTERN PyObject
*ListEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28661 return SWIG_Python_InitShadowInstance(args
);
28664 SWIGINTERN PyObject
*_wrap_new_ListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28665 PyObject
*resultobj
= 0;
28666 wxWindow
*arg1
= (wxWindow
*) 0 ;
28667 int arg2
= (int) -1 ;
28668 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28669 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28670 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28671 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28672 long arg5
= (long) wxLC_ICON
;
28673 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28674 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28675 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
28676 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28677 wxPyListCtrl
*result
= 0 ;
28688 bool temp7
= false ;
28689 PyObject
* obj0
= 0 ;
28690 PyObject
* obj1
= 0 ;
28691 PyObject
* obj2
= 0 ;
28692 PyObject
* obj3
= 0 ;
28693 PyObject
* obj4
= 0 ;
28694 PyObject
* obj5
= 0 ;
28695 PyObject
* obj6
= 0 ;
28696 char * kwnames
[] = {
28697 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28702 if (!SWIG_IsOK(res1
)) {
28703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
28705 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28707 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28708 if (!SWIG_IsOK(ecode2
)) {
28709 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
28711 arg2
= static_cast< int >(val2
);
28716 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28722 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28726 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28727 if (!SWIG_IsOK(ecode5
)) {
28728 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
28730 arg5
= static_cast< long >(val5
);
28733 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
28734 if (!SWIG_IsOK(res6
)) {
28735 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28738 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28740 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
28744 arg7
= wxString_in_helper(obj6
);
28745 if (arg7
== NULL
) SWIG_fail
;
28750 if (!wxPyCheckForApp()) SWIG_fail
;
28751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28752 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28753 wxPyEndAllowThreads(__tstate
);
28754 if (PyErr_Occurred()) SWIG_fail
;
28756 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_NEW
| 0 );
28771 SWIGINTERN PyObject
*_wrap_new_PreListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28772 PyObject
*resultobj
= 0;
28773 wxPyListCtrl
*result
= 0 ;
28775 if (!SWIG_Python_UnpackTuple(args
,"new_PreListCtrl",0,0,0)) SWIG_fail
;
28777 if (!wxPyCheckForApp()) SWIG_fail
;
28778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28779 result
= (wxPyListCtrl
*)new wxPyListCtrl();
28780 wxPyEndAllowThreads(__tstate
);
28781 if (PyErr_Occurred()) SWIG_fail
;
28783 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_OWN
| 0 );
28790 SWIGINTERN PyObject
*_wrap_ListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28791 PyObject
*resultobj
= 0;
28792 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28793 wxWindow
*arg2
= (wxWindow
*) 0 ;
28794 int arg3
= (int) -1 ;
28795 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28796 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28797 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28798 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28799 long arg6
= (long) wxLC_ICON
;
28800 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
28801 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
28802 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
28803 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28817 bool temp8
= false ;
28818 PyObject
* obj0
= 0 ;
28819 PyObject
* obj1
= 0 ;
28820 PyObject
* obj2
= 0 ;
28821 PyObject
* obj3
= 0 ;
28822 PyObject
* obj4
= 0 ;
28823 PyObject
* obj5
= 0 ;
28824 PyObject
* obj6
= 0 ;
28825 PyObject
* obj7
= 0 ;
28826 char * kwnames
[] = {
28827 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28832 if (!SWIG_IsOK(res1
)) {
28833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28835 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28836 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28837 if (!SWIG_IsOK(res2
)) {
28838 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
28840 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28842 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28843 if (!SWIG_IsOK(ecode3
)) {
28844 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
28846 arg3
= static_cast< int >(val3
);
28851 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28857 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28861 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28862 if (!SWIG_IsOK(ecode6
)) {
28863 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
28865 arg6
= static_cast< long >(val6
);
28868 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
28869 if (!SWIG_IsOK(res7
)) {
28870 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28873 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28875 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
28879 arg8
= wxString_in_helper(obj7
);
28880 if (arg8
== NULL
) SWIG_fail
;
28885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28886 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
28887 wxPyEndAllowThreads(__tstate
);
28888 if (PyErr_Occurred()) SWIG_fail
;
28891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28907 SWIGINTERN PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28908 PyObject
*resultobj
= 0;
28909 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28910 PyObject
*arg2
= (PyObject
*) 0 ;
28911 PyObject
*arg3
= (PyObject
*) 0 ;
28914 PyObject
* obj0
= 0 ;
28915 PyObject
* obj1
= 0 ;
28916 PyObject
* obj2
= 0 ;
28917 char * kwnames
[] = {
28918 (char *) "self",(char *) "self",(char *) "_class", NULL
28921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28923 if (!SWIG_IsOK(res1
)) {
28924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28926 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28931 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28932 wxPyEndAllowThreads(__tstate
);
28933 if (PyErr_Occurred()) SWIG_fail
;
28935 resultobj
= SWIG_Py_Void();
28942 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28943 PyObject
*resultobj
= 0;
28944 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28946 wxListItem
*result
= 0 ;
28951 PyObject
* obj0
= 0 ;
28952 PyObject
* obj1
= 0 ;
28953 char * kwnames
[] = {
28954 (char *) "self",(char *) "col", NULL
28957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28959 if (!SWIG_IsOK(res1
)) {
28960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28962 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28963 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28964 if (!SWIG_IsOK(ecode2
)) {
28965 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
28967 arg2
= static_cast< int >(val2
);
28969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28970 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
28971 wxPyEndAllowThreads(__tstate
);
28972 if (PyErr_Occurred()) SWIG_fail
;
28975 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28983 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28984 PyObject
*resultobj
= 0;
28985 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28987 wxListItem
*arg3
= 0 ;
28995 PyObject
* obj0
= 0 ;
28996 PyObject
* obj1
= 0 ;
28997 PyObject
* obj2
= 0 ;
28998 char * kwnames
[] = {
28999 (char *) "self",(char *) "col",(char *) "item", NULL
29002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29004 if (!SWIG_IsOK(res1
)) {
29005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29007 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29008 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29009 if (!SWIG_IsOK(ecode2
)) {
29010 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
29012 arg2
= static_cast< int >(val2
);
29013 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
29014 if (!SWIG_IsOK(res3
)) {
29015 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29018 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29020 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
29022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29023 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
29024 wxPyEndAllowThreads(__tstate
);
29025 if (PyErr_Occurred()) SWIG_fail
;
29028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29036 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29037 PyObject
*resultobj
= 0;
29038 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29045 PyObject
* obj0
= 0 ;
29046 PyObject
* obj1
= 0 ;
29047 char * kwnames
[] = {
29048 (char *) "self",(char *) "col", NULL
29051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29053 if (!SWIG_IsOK(res1
)) {
29054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29056 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29057 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29058 if (!SWIG_IsOK(ecode2
)) {
29059 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29061 arg2
= static_cast< int >(val2
);
29063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29064 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
29065 wxPyEndAllowThreads(__tstate
);
29066 if (PyErr_Occurred()) SWIG_fail
;
29068 resultobj
= SWIG_From_int(static_cast< int >(result
));
29075 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29076 PyObject
*resultobj
= 0;
29077 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29087 PyObject
* obj0
= 0 ;
29088 PyObject
* obj1
= 0 ;
29089 PyObject
* obj2
= 0 ;
29090 char * kwnames
[] = {
29091 (char *) "self",(char *) "col",(char *) "width", NULL
29094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29096 if (!SWIG_IsOK(res1
)) {
29097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29099 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29100 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29101 if (!SWIG_IsOK(ecode2
)) {
29102 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29104 arg2
= static_cast< int >(val2
);
29105 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29106 if (!SWIG_IsOK(ecode3
)) {
29107 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
29109 arg3
= static_cast< int >(val3
);
29111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29112 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
29113 wxPyEndAllowThreads(__tstate
);
29114 if (PyErr_Occurred()) SWIG_fail
;
29117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29125 SWIGINTERN PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29126 PyObject
*resultobj
= 0;
29127 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29131 PyObject
*swig_obj
[1] ;
29133 if (!args
) SWIG_fail
;
29134 swig_obj
[0] = args
;
29135 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29136 if (!SWIG_IsOK(res1
)) {
29137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29139 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29142 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
29143 wxPyEndAllowThreads(__tstate
);
29144 if (PyErr_Occurred()) SWIG_fail
;
29146 resultobj
= SWIG_From_int(static_cast< int >(result
));
29153 SWIGINTERN PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29154 PyObject
*resultobj
= 0;
29155 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29159 PyObject
*swig_obj
[1] ;
29161 if (!args
) SWIG_fail
;
29162 swig_obj
[0] = args
;
29163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29164 if (!SWIG_IsOK(res1
)) {
29165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29167 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29170 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
29171 wxPyEndAllowThreads(__tstate
);
29172 if (PyErr_Occurred()) SWIG_fail
;
29174 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29181 SWIGINTERN PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29182 PyObject
*resultobj
= 0;
29183 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29184 wxTextCtrl
*result
= 0 ;
29187 PyObject
*swig_obj
[1] ;
29189 if (!args
) SWIG_fail
;
29190 swig_obj
[0] = args
;
29191 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29192 if (!SWIG_IsOK(res1
)) {
29193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29195 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29198 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
29199 wxPyEndAllowThreads(__tstate
);
29200 if (PyErr_Occurred()) SWIG_fail
;
29203 resultobj
= wxPyMake_wxObject(result
, 0);
29211 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29212 PyObject
*resultobj
= 0;
29213 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29215 int arg3
= (int) 0 ;
29216 wxListItem
*result
= 0 ;
29223 PyObject
* obj0
= 0 ;
29224 PyObject
* obj1
= 0 ;
29225 PyObject
* obj2
= 0 ;
29226 char * kwnames
[] = {
29227 (char *) "self",(char *) "itemId",(char *) "col", NULL
29230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29232 if (!SWIG_IsOK(res1
)) {
29233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29235 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29236 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29237 if (!SWIG_IsOK(ecode2
)) {
29238 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
29240 arg2
= static_cast< long >(val2
);
29242 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29243 if (!SWIG_IsOK(ecode3
)) {
29244 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
29246 arg3
= static_cast< int >(val3
);
29249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29250 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
29251 wxPyEndAllowThreads(__tstate
);
29252 if (PyErr_Occurred()) SWIG_fail
;
29255 resultobj
= wxPyMake_wxObject(result
, (bool)0);
29263 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29264 PyObject
*resultobj
= 0;
29265 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29266 wxListItem
*arg2
= 0 ;
29272 PyObject
* obj0
= 0 ;
29273 PyObject
* obj1
= 0 ;
29274 char * kwnames
[] = {
29275 (char *) "self",(char *) "info", NULL
29278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29280 if (!SWIG_IsOK(res1
)) {
29281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29283 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29284 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
29285 if (!SWIG_IsOK(res2
)) {
29286 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29289 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29291 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
29293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29294 result
= (bool)(arg1
)->SetItem(*arg2
);
29295 wxPyEndAllowThreads(__tstate
);
29296 if (PyErr_Occurred()) SWIG_fail
;
29299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29307 SWIGINTERN PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29308 PyObject
*resultobj
= 0;
29309 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29312 wxString
*arg4
= 0 ;
29313 int arg5
= (int) -1 ;
29321 bool temp4
= false ;
29324 PyObject
* obj0
= 0 ;
29325 PyObject
* obj1
= 0 ;
29326 PyObject
* obj2
= 0 ;
29327 PyObject
* obj3
= 0 ;
29328 PyObject
* obj4
= 0 ;
29329 char * kwnames
[] = {
29330 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
29333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29335 if (!SWIG_IsOK(res1
)) {
29336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29338 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29339 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29340 if (!SWIG_IsOK(ecode2
)) {
29341 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
29343 arg2
= static_cast< long >(val2
);
29344 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29345 if (!SWIG_IsOK(ecode3
)) {
29346 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
29348 arg3
= static_cast< int >(val3
);
29350 arg4
= wxString_in_helper(obj3
);
29351 if (arg4
== NULL
) SWIG_fail
;
29355 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29356 if (!SWIG_IsOK(ecode5
)) {
29357 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
29359 arg5
= static_cast< int >(val5
);
29362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29363 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
29364 wxPyEndAllowThreads(__tstate
);
29365 if (PyErr_Occurred()) SWIG_fail
;
29367 resultobj
= SWIG_From_long(static_cast< long >(result
));
29382 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29383 PyObject
*resultobj
= 0;
29384 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29394 PyObject
* obj0
= 0 ;
29395 PyObject
* obj1
= 0 ;
29396 PyObject
* obj2
= 0 ;
29397 char * kwnames
[] = {
29398 (char *) "self",(char *) "item",(char *) "stateMask", NULL
29401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29403 if (!SWIG_IsOK(res1
)) {
29404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29406 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29407 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29408 if (!SWIG_IsOK(ecode2
)) {
29409 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
29411 arg2
= static_cast< long >(val2
);
29412 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29413 if (!SWIG_IsOK(ecode3
)) {
29414 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
29416 arg3
= static_cast< long >(val3
);
29418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29419 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
29420 wxPyEndAllowThreads(__tstate
);
29421 if (PyErr_Occurred()) SWIG_fail
;
29423 resultobj
= SWIG_From_int(static_cast< int >(result
));
29430 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29431 PyObject
*resultobj
= 0;
29432 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29445 PyObject
* obj0
= 0 ;
29446 PyObject
* obj1
= 0 ;
29447 PyObject
* obj2
= 0 ;
29448 PyObject
* obj3
= 0 ;
29449 char * kwnames
[] = {
29450 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
29453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29455 if (!SWIG_IsOK(res1
)) {
29456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29458 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29459 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29460 if (!SWIG_IsOK(ecode2
)) {
29461 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
29463 arg2
= static_cast< long >(val2
);
29464 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29465 if (!SWIG_IsOK(ecode3
)) {
29466 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
29468 arg3
= static_cast< long >(val3
);
29469 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
29470 if (!SWIG_IsOK(ecode4
)) {
29471 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
29473 arg4
= static_cast< long >(val4
);
29475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29476 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
29477 wxPyEndAllowThreads(__tstate
);
29478 if (PyErr_Occurred()) SWIG_fail
;
29481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29489 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29490 PyObject
*resultobj
= 0;
29491 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29494 int arg4
= (int) -1 ;
29504 PyObject
* obj0
= 0 ;
29505 PyObject
* obj1
= 0 ;
29506 PyObject
* obj2
= 0 ;
29507 PyObject
* obj3
= 0 ;
29508 char * kwnames
[] = {
29509 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
29512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29514 if (!SWIG_IsOK(res1
)) {
29515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29517 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29518 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29519 if (!SWIG_IsOK(ecode2
)) {
29520 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
29522 arg2
= static_cast< long >(val2
);
29523 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29524 if (!SWIG_IsOK(ecode3
)) {
29525 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
29527 arg3
= static_cast< int >(val3
);
29529 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29530 if (!SWIG_IsOK(ecode4
)) {
29531 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
29533 arg4
= static_cast< int >(val4
);
29536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29537 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
29538 wxPyEndAllowThreads(__tstate
);
29539 if (PyErr_Occurred()) SWIG_fail
;
29542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29550 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29551 PyObject
*resultobj
= 0;
29552 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29565 PyObject
* obj0
= 0 ;
29566 PyObject
* obj1
= 0 ;
29567 PyObject
* obj2
= 0 ;
29568 PyObject
* obj3
= 0 ;
29569 char * kwnames
[] = {
29570 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
29573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29575 if (!SWIG_IsOK(res1
)) {
29576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29578 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29579 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29580 if (!SWIG_IsOK(ecode2
)) {
29581 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
29583 arg2
= static_cast< long >(val2
);
29584 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29585 if (!SWIG_IsOK(ecode3
)) {
29586 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
29588 arg3
= static_cast< long >(val3
);
29589 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29590 if (!SWIG_IsOK(ecode4
)) {
29591 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
29593 arg4
= static_cast< int >(val4
);
29595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29596 result
= (bool)(arg1
)->SetItemColumnImage(arg2
,arg3
,arg4
);
29597 wxPyEndAllowThreads(__tstate
);
29598 if (PyErr_Occurred()) SWIG_fail
;
29601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29609 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29610 PyObject
*resultobj
= 0;
29611 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29618 PyObject
* obj0
= 0 ;
29619 PyObject
* obj1
= 0 ;
29620 char * kwnames
[] = {
29621 (char *) "self",(char *) "item", NULL
29624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29626 if (!SWIG_IsOK(res1
)) {
29627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29629 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29630 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29631 if (!SWIG_IsOK(ecode2
)) {
29632 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
29634 arg2
= static_cast< long >(val2
);
29636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29637 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
29638 wxPyEndAllowThreads(__tstate
);
29639 if (PyErr_Occurred()) SWIG_fail
;
29643 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29645 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29654 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29655 PyObject
*resultobj
= 0;
29656 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29658 wxString
*arg3
= 0 ;
29663 bool temp3
= false ;
29664 PyObject
* obj0
= 0 ;
29665 PyObject
* obj1
= 0 ;
29666 PyObject
* obj2
= 0 ;
29667 char * kwnames
[] = {
29668 (char *) "self",(char *) "item",(char *) "str", NULL
29671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29673 if (!SWIG_IsOK(res1
)) {
29674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29676 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29677 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29678 if (!SWIG_IsOK(ecode2
)) {
29679 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
29681 arg2
= static_cast< long >(val2
);
29683 arg3
= wxString_in_helper(obj2
);
29684 if (arg3
== NULL
) SWIG_fail
;
29688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29689 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
29690 wxPyEndAllowThreads(__tstate
);
29691 if (PyErr_Occurred()) SWIG_fail
;
29693 resultobj
= SWIG_Py_Void();
29708 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29709 PyObject
*resultobj
= 0;
29710 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29717 PyObject
* obj0
= 0 ;
29718 PyObject
* obj1
= 0 ;
29719 char * kwnames
[] = {
29720 (char *) "self",(char *) "item", NULL
29723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29725 if (!SWIG_IsOK(res1
)) {
29726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29728 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29729 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29730 if (!SWIG_IsOK(ecode2
)) {
29731 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
29733 arg2
= static_cast< long >(val2
);
29735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29736 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
29737 wxPyEndAllowThreads(__tstate
);
29738 if (PyErr_Occurred()) SWIG_fail
;
29740 resultobj
= SWIG_From_long(static_cast< long >(result
));
29747 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29748 PyObject
*resultobj
= 0;
29749 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29759 PyObject
* obj0
= 0 ;
29760 PyObject
* obj1
= 0 ;
29761 PyObject
* obj2
= 0 ;
29762 char * kwnames
[] = {
29763 (char *) "self",(char *) "item",(char *) "data", NULL
29766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29768 if (!SWIG_IsOK(res1
)) {
29769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29771 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29772 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29773 if (!SWIG_IsOK(ecode2
)) {
29774 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
29776 arg2
= static_cast< long >(val2
);
29777 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29778 if (!SWIG_IsOK(ecode3
)) {
29779 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
29781 arg3
= static_cast< long >(val3
);
29783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29784 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
29785 wxPyEndAllowThreads(__tstate
);
29786 if (PyErr_Occurred()) SWIG_fail
;
29789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29797 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29798 PyObject
*resultobj
= 0;
29799 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29806 PyObject
* obj0
= 0 ;
29807 PyObject
* obj1
= 0 ;
29808 char * kwnames
[] = {
29809 (char *) "self",(char *) "item", NULL
29812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29814 if (!SWIG_IsOK(res1
)) {
29815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29817 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29818 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29819 if (!SWIG_IsOK(ecode2
)) {
29820 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
29822 arg2
= static_cast< long >(val2
);
29824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29825 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
29826 wxPyEndAllowThreads(__tstate
);
29827 if (PyErr_Occurred()) SWIG_fail
;
29829 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
29836 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29837 PyObject
*resultobj
= 0;
29838 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29840 int arg3
= (int) wxLIST_RECT_BOUNDS
;
29848 PyObject
* obj0
= 0 ;
29849 PyObject
* obj1
= 0 ;
29850 PyObject
* obj2
= 0 ;
29851 char * kwnames
[] = {
29852 (char *) "self",(char *) "item",(char *) "code", NULL
29855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29857 if (!SWIG_IsOK(res1
)) {
29858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29860 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29861 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29862 if (!SWIG_IsOK(ecode2
)) {
29863 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
29865 arg2
= static_cast< long >(val2
);
29867 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29868 if (!SWIG_IsOK(ecode3
)) {
29869 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
29871 arg3
= static_cast< int >(val3
);
29874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29875 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
29876 wxPyEndAllowThreads(__tstate
);
29877 if (PyErr_Occurred()) SWIG_fail
;
29879 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29886 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29887 PyObject
*resultobj
= 0;
29888 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29890 wxPoint
*arg3
= 0 ;
29897 PyObject
* obj0
= 0 ;
29898 PyObject
* obj1
= 0 ;
29899 PyObject
* obj2
= 0 ;
29900 char * kwnames
[] = {
29901 (char *) "self",(char *) "item",(char *) "pos", NULL
29904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29906 if (!SWIG_IsOK(res1
)) {
29907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29909 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29910 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29911 if (!SWIG_IsOK(ecode2
)) {
29912 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
29914 arg2
= static_cast< long >(val2
);
29917 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29921 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
29922 wxPyEndAllowThreads(__tstate
);
29923 if (PyErr_Occurred()) SWIG_fail
;
29926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29934 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29935 PyObject
*resultobj
= 0;
29936 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29940 PyObject
*swig_obj
[1] ;
29942 if (!args
) SWIG_fail
;
29943 swig_obj
[0] = args
;
29944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29945 if (!SWIG_IsOK(res1
)) {
29946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29948 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29951 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
29952 wxPyEndAllowThreads(__tstate
);
29953 if (PyErr_Occurred()) SWIG_fail
;
29955 resultobj
= SWIG_From_int(static_cast< int >(result
));
29962 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29963 PyObject
*resultobj
= 0;
29964 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29968 PyObject
*swig_obj
[1] ;
29970 if (!args
) SWIG_fail
;
29971 swig_obj
[0] = args
;
29972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29973 if (!SWIG_IsOK(res1
)) {
29974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29976 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29979 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
29980 wxPyEndAllowThreads(__tstate
);
29981 if (PyErr_Occurred()) SWIG_fail
;
29983 resultobj
= SWIG_From_int(static_cast< int >(result
));
29990 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29991 PyObject
*resultobj
= 0;
29992 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29996 PyObject
*swig_obj
[1] ;
29998 if (!args
) SWIG_fail
;
29999 swig_obj
[0] = args
;
30000 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30001 if (!SWIG_IsOK(res1
)) {
30002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30004 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30007 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
30008 wxPyEndAllowThreads(__tstate
);
30009 if (PyErr_Occurred()) SWIG_fail
;
30011 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
30018 SWIGINTERN PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30019 PyObject
*resultobj
= 0;
30020 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30024 PyObject
*swig_obj
[1] ;
30026 if (!args
) SWIG_fail
;
30027 swig_obj
[0] = args
;
30028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30029 if (!SWIG_IsOK(res1
)) {
30030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30032 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30035 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
30036 wxPyEndAllowThreads(__tstate
);
30037 if (PyErr_Occurred()) SWIG_fail
;
30039 resultobj
= SWIG_From_int(static_cast< int >(result
));
30046 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30047 PyObject
*resultobj
= 0;
30048 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30052 PyObject
*swig_obj
[1] ;
30054 if (!args
) SWIG_fail
;
30055 swig_obj
[0] = args
;
30056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30057 if (!SWIG_IsOK(res1
)) {
30058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30060 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30063 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
30064 wxPyEndAllowThreads(__tstate
);
30065 if (PyErr_Occurred()) SWIG_fail
;
30067 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
30074 SWIGINTERN PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30075 PyObject
*resultobj
= 0;
30076 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30077 wxColour
*arg2
= 0 ;
30081 PyObject
* obj0
= 0 ;
30082 PyObject
* obj1
= 0 ;
30083 char * kwnames
[] = {
30084 (char *) "self",(char *) "col", NULL
30087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30089 if (!SWIG_IsOK(res1
)) {
30090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30092 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30095 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30099 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
30100 wxPyEndAllowThreads(__tstate
);
30101 if (PyErr_Occurred()) SWIG_fail
;
30103 resultobj
= SWIG_Py_Void();
30110 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30111 PyObject
*resultobj
= 0;
30112 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30116 PyObject
*swig_obj
[1] ;
30118 if (!args
) SWIG_fail
;
30119 swig_obj
[0] = args
;
30120 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30121 if (!SWIG_IsOK(res1
)) {
30122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30124 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30127 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
30128 wxPyEndAllowThreads(__tstate
);
30129 if (PyErr_Occurred()) SWIG_fail
;
30131 resultobj
= SWIG_From_long(static_cast< long >(result
));
30138 SWIGINTERN PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30139 PyObject
*resultobj
= 0;
30140 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30142 bool arg3
= (bool) true ;
30149 PyObject
* obj0
= 0 ;
30150 PyObject
* obj1
= 0 ;
30151 PyObject
* obj2
= 0 ;
30152 char * kwnames
[] = {
30153 (char *) "self",(char *) "style",(char *) "add", NULL
30156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30158 if (!SWIG_IsOK(res1
)) {
30159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30161 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30162 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30163 if (!SWIG_IsOK(ecode2
)) {
30164 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
30166 arg2
= static_cast< long >(val2
);
30168 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30169 if (!SWIG_IsOK(ecode3
)) {
30170 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
30172 arg3
= static_cast< bool >(val3
);
30175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30176 (arg1
)->SetSingleStyle(arg2
,arg3
);
30177 wxPyEndAllowThreads(__tstate
);
30178 if (PyErr_Occurred()) SWIG_fail
;
30180 resultobj
= SWIG_Py_Void();
30187 SWIGINTERN PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30188 PyObject
*resultobj
= 0;
30189 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30191 int arg3
= (int) wxLIST_NEXT_ALL
;
30192 int arg4
= (int) wxLIST_STATE_DONTCARE
;
30202 PyObject
* obj0
= 0 ;
30203 PyObject
* obj1
= 0 ;
30204 PyObject
* obj2
= 0 ;
30205 PyObject
* obj3
= 0 ;
30206 char * kwnames
[] = {
30207 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
30210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30212 if (!SWIG_IsOK(res1
)) {
30213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30215 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30216 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30217 if (!SWIG_IsOK(ecode2
)) {
30218 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
30220 arg2
= static_cast< long >(val2
);
30222 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30223 if (!SWIG_IsOK(ecode3
)) {
30224 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
30226 arg3
= static_cast< int >(val3
);
30229 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30230 if (!SWIG_IsOK(ecode4
)) {
30231 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
30233 arg4
= static_cast< int >(val4
);
30236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30237 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
30238 wxPyEndAllowThreads(__tstate
);
30239 if (PyErr_Occurred()) SWIG_fail
;
30241 resultobj
= SWIG_From_long(static_cast< long >(result
));
30248 SWIGINTERN PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30249 PyObject
*resultobj
= 0;
30250 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30252 wxImageList
*result
= 0 ;
30257 PyObject
* obj0
= 0 ;
30258 PyObject
* obj1
= 0 ;
30259 char * kwnames
[] = {
30260 (char *) "self",(char *) "which", NULL
30263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30265 if (!SWIG_IsOK(res1
)) {
30266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30268 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30269 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30270 if (!SWIG_IsOK(ecode2
)) {
30271 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
30273 arg2
= static_cast< int >(val2
);
30275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30276 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
30277 wxPyEndAllowThreads(__tstate
);
30278 if (PyErr_Occurred()) SWIG_fail
;
30281 resultobj
= wxPyMake_wxObject(result
, (bool)0);
30289 SWIGINTERN PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30290 PyObject
*resultobj
= 0;
30291 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30292 wxImageList
*arg2
= (wxImageList
*) 0 ;
30300 PyObject
* obj0
= 0 ;
30301 PyObject
* obj1
= 0 ;
30302 PyObject
* obj2
= 0 ;
30303 char * kwnames
[] = {
30304 (char *) "self",(char *) "imageList",(char *) "which", NULL
30307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30309 if (!SWIG_IsOK(res1
)) {
30310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30312 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30313 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30314 if (!SWIG_IsOK(res2
)) {
30315 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30317 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
30318 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30319 if (!SWIG_IsOK(ecode3
)) {
30320 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
30322 arg3
= static_cast< int >(val3
);
30324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30325 (arg1
)->SetImageList(arg2
,arg3
);
30326 wxPyEndAllowThreads(__tstate
);
30327 if (PyErr_Occurred()) SWIG_fail
;
30329 resultobj
= SWIG_Py_Void();
30336 SWIGINTERN PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30337 PyObject
*resultobj
= 0;
30338 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30339 wxImageList
*arg2
= (wxImageList
*) 0 ;
30346 PyObject
* obj0
= 0 ;
30347 PyObject
* obj1
= 0 ;
30348 PyObject
* obj2
= 0 ;
30349 char * kwnames
[] = {
30350 (char *) "self",(char *) "imageList",(char *) "which", NULL
30353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30355 if (!SWIG_IsOK(res1
)) {
30356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30358 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30359 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
30360 if (!SWIG_IsOK(res2
)) {
30361 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30363 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30364 if (!SWIG_IsOK(ecode3
)) {
30365 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
30367 arg3
= static_cast< int >(val3
);
30369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30370 (arg1
)->AssignImageList(arg2
,arg3
);
30371 wxPyEndAllowThreads(__tstate
);
30372 if (PyErr_Occurred()) SWIG_fail
;
30374 resultobj
= SWIG_Py_Void();
30381 SWIGINTERN PyObject
*_wrap_ListCtrl_InReportView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30382 PyObject
*resultobj
= 0;
30383 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30387 PyObject
*swig_obj
[1] ;
30389 if (!args
) SWIG_fail
;
30390 swig_obj
[0] = args
;
30391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30392 if (!SWIG_IsOK(res1
)) {
30393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30395 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30398 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
30399 wxPyEndAllowThreads(__tstate
);
30400 if (PyErr_Occurred()) SWIG_fail
;
30403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30411 SWIGINTERN PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30412 PyObject
*resultobj
= 0;
30413 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30417 PyObject
*swig_obj
[1] ;
30419 if (!args
) SWIG_fail
;
30420 swig_obj
[0] = args
;
30421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30422 if (!SWIG_IsOK(res1
)) {
30423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30425 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30428 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
30429 wxPyEndAllowThreads(__tstate
);
30430 if (PyErr_Occurred()) SWIG_fail
;
30433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30441 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30442 PyObject
*resultobj
= 0;
30443 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30449 PyObject
* obj0
= 0 ;
30450 PyObject
* obj1
= 0 ;
30451 char * kwnames
[] = {
30452 (char *) "self",(char *) "item", NULL
30455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30457 if (!SWIG_IsOK(res1
)) {
30458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30460 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30461 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30462 if (!SWIG_IsOK(ecode2
)) {
30463 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
30465 arg2
= static_cast< long >(val2
);
30467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30468 (arg1
)->RefreshItem(arg2
);
30469 wxPyEndAllowThreads(__tstate
);
30470 if (PyErr_Occurred()) SWIG_fail
;
30472 resultobj
= SWIG_Py_Void();
30479 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30480 PyObject
*resultobj
= 0;
30481 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30490 PyObject
* obj0
= 0 ;
30491 PyObject
* obj1
= 0 ;
30492 PyObject
* obj2
= 0 ;
30493 char * kwnames
[] = {
30494 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
30497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30499 if (!SWIG_IsOK(res1
)) {
30500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30502 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30503 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30504 if (!SWIG_IsOK(ecode2
)) {
30505 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "2"" of type '" "long""'");
30507 arg2
= static_cast< long >(val2
);
30508 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30509 if (!SWIG_IsOK(ecode3
)) {
30510 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
30512 arg3
= static_cast< long >(val3
);
30514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30515 (arg1
)->RefreshItems(arg2
,arg3
);
30516 wxPyEndAllowThreads(__tstate
);
30517 if (PyErr_Occurred()) SWIG_fail
;
30519 resultobj
= SWIG_Py_Void();
30526 SWIGINTERN PyObject
*_wrap_ListCtrl_Arrange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30527 PyObject
*resultobj
= 0;
30528 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30529 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
30535 PyObject
* obj0
= 0 ;
30536 PyObject
* obj1
= 0 ;
30537 char * kwnames
[] = {
30538 (char *) "self",(char *) "flag", NULL
30541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30543 if (!SWIG_IsOK(res1
)) {
30544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30546 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30548 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30549 if (!SWIG_IsOK(ecode2
)) {
30550 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
30552 arg2
= static_cast< int >(val2
);
30555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30556 result
= (bool)(arg1
)->Arrange(arg2
);
30557 wxPyEndAllowThreads(__tstate
);
30558 if (PyErr_Occurred()) SWIG_fail
;
30561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30569 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30570 PyObject
*resultobj
= 0;
30571 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30578 PyObject
* obj0
= 0 ;
30579 PyObject
* obj1
= 0 ;
30580 char * kwnames
[] = {
30581 (char *) "self",(char *) "item", NULL
30584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30586 if (!SWIG_IsOK(res1
)) {
30587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30589 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30590 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30591 if (!SWIG_IsOK(ecode2
)) {
30592 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
30594 arg2
= static_cast< long >(val2
);
30596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30597 result
= (bool)(arg1
)->DeleteItem(arg2
);
30598 wxPyEndAllowThreads(__tstate
);
30599 if (PyErr_Occurred()) SWIG_fail
;
30602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30610 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30611 PyObject
*resultobj
= 0;
30612 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30616 PyObject
*swig_obj
[1] ;
30618 if (!args
) SWIG_fail
;
30619 swig_obj
[0] = args
;
30620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30621 if (!SWIG_IsOK(res1
)) {
30622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30624 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30627 result
= (bool)(arg1
)->DeleteAllItems();
30628 wxPyEndAllowThreads(__tstate
);
30629 if (PyErr_Occurred()) SWIG_fail
;
30632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30640 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30641 PyObject
*resultobj
= 0;
30642 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30649 PyObject
* obj0
= 0 ;
30650 PyObject
* obj1
= 0 ;
30651 char * kwnames
[] = {
30652 (char *) "self",(char *) "col", NULL
30655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30657 if (!SWIG_IsOK(res1
)) {
30658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30660 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30661 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30662 if (!SWIG_IsOK(ecode2
)) {
30663 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
30665 arg2
= static_cast< int >(val2
);
30667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30668 result
= (bool)(arg1
)->DeleteColumn(arg2
);
30669 wxPyEndAllowThreads(__tstate
);
30670 if (PyErr_Occurred()) SWIG_fail
;
30673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30681 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30682 PyObject
*resultobj
= 0;
30683 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30687 PyObject
*swig_obj
[1] ;
30689 if (!args
) SWIG_fail
;
30690 swig_obj
[0] = args
;
30691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30692 if (!SWIG_IsOK(res1
)) {
30693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30695 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30698 result
= (bool)(arg1
)->DeleteAllColumns();
30699 wxPyEndAllowThreads(__tstate
);
30700 if (PyErr_Occurred()) SWIG_fail
;
30703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30711 SWIGINTERN PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30712 PyObject
*resultobj
= 0;
30713 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30716 PyObject
*swig_obj
[1] ;
30718 if (!args
) SWIG_fail
;
30719 swig_obj
[0] = args
;
30720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30721 if (!SWIG_IsOK(res1
)) {
30722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30724 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30727 (arg1
)->ClearAll();
30728 wxPyEndAllowThreads(__tstate
);
30729 if (PyErr_Occurred()) SWIG_fail
;
30731 resultobj
= SWIG_Py_Void();
30738 SWIGINTERN PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30739 PyObject
*resultobj
= 0;
30740 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30742 wxTextCtrl
*result
= 0 ;
30747 PyObject
* obj0
= 0 ;
30748 PyObject
* obj1
= 0 ;
30749 char * kwnames
[] = {
30750 (char *) "self",(char *) "item", NULL
30753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30755 if (!SWIG_IsOK(res1
)) {
30756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30758 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30759 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30760 if (!SWIG_IsOK(ecode2
)) {
30761 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
30763 arg2
= static_cast< long >(val2
);
30765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30766 result
= (wxTextCtrl
*)(arg1
)->EditLabel(arg2
);
30767 wxPyEndAllowThreads(__tstate
);
30768 if (PyErr_Occurred()) SWIG_fail
;
30771 resultobj
= wxPyMake_wxObject(result
, 0);
30779 SWIGINTERN PyObject
*_wrap_ListCtrl_EndEditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30780 PyObject
*resultobj
= 0;
30781 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30788 PyObject
* obj0
= 0 ;
30789 PyObject
* obj1
= 0 ;
30790 char * kwnames
[] = {
30791 (char *) "self",(char *) "cancel", NULL
30794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30796 if (!SWIG_IsOK(res1
)) {
30797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EndEditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30799 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30800 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
30801 if (!SWIG_IsOK(ecode2
)) {
30802 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EndEditLabel" "', expected argument " "2"" of type '" "bool""'");
30804 arg2
= static_cast< bool >(val2
);
30806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30807 result
= (bool)(arg1
)->EndEditLabel(arg2
);
30808 wxPyEndAllowThreads(__tstate
);
30809 if (PyErr_Occurred()) SWIG_fail
;
30812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30820 SWIGINTERN PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30821 PyObject
*resultobj
= 0;
30822 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30829 PyObject
* obj0
= 0 ;
30830 PyObject
* obj1
= 0 ;
30831 char * kwnames
[] = {
30832 (char *) "self",(char *) "item", NULL
30835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30837 if (!SWIG_IsOK(res1
)) {
30838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30840 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30841 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30842 if (!SWIG_IsOK(ecode2
)) {
30843 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
30845 arg2
= static_cast< long >(val2
);
30847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30848 result
= (bool)(arg1
)->EnsureVisible(arg2
);
30849 wxPyEndAllowThreads(__tstate
);
30850 if (PyErr_Occurred()) SWIG_fail
;
30853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30861 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30862 PyObject
*resultobj
= 0;
30863 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30865 wxString
*arg3
= 0 ;
30866 bool arg4
= (bool) false ;
30872 bool temp3
= false ;
30875 PyObject
* obj0
= 0 ;
30876 PyObject
* obj1
= 0 ;
30877 PyObject
* obj2
= 0 ;
30878 PyObject
* obj3
= 0 ;
30879 char * kwnames
[] = {
30880 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
30883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30885 if (!SWIG_IsOK(res1
)) {
30886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30888 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30889 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30890 if (!SWIG_IsOK(ecode2
)) {
30891 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
30893 arg2
= static_cast< long >(val2
);
30895 arg3
= wxString_in_helper(obj2
);
30896 if (arg3
== NULL
) SWIG_fail
;
30900 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
30901 if (!SWIG_IsOK(ecode4
)) {
30902 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
30904 arg4
= static_cast< bool >(val4
);
30907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30908 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
30909 wxPyEndAllowThreads(__tstate
);
30910 if (PyErr_Occurred()) SWIG_fail
;
30912 resultobj
= SWIG_From_long(static_cast< long >(result
));
30927 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30928 PyObject
*resultobj
= 0;
30929 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30939 PyObject
* obj0
= 0 ;
30940 PyObject
* obj1
= 0 ;
30941 PyObject
* obj2
= 0 ;
30942 char * kwnames
[] = {
30943 (char *) "self",(char *) "start",(char *) "data", NULL
30946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30948 if (!SWIG_IsOK(res1
)) {
30949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30951 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30952 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30953 if (!SWIG_IsOK(ecode2
)) {
30954 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
30956 arg2
= static_cast< long >(val2
);
30957 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30958 if (!SWIG_IsOK(ecode3
)) {
30959 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
30961 arg3
= static_cast< long >(val3
);
30963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30964 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
30965 wxPyEndAllowThreads(__tstate
);
30966 if (PyErr_Occurred()) SWIG_fail
;
30968 resultobj
= SWIG_From_long(static_cast< long >(result
));
30975 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30976 PyObject
*resultobj
= 0;
30977 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30979 wxPoint
*arg3
= 0 ;
30989 PyObject
* obj0
= 0 ;
30990 PyObject
* obj1
= 0 ;
30991 PyObject
* obj2
= 0 ;
30992 PyObject
* obj3
= 0 ;
30993 char * kwnames
[] = {
30994 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
30997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30999 if (!SWIG_IsOK(res1
)) {
31000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31002 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31003 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31004 if (!SWIG_IsOK(ecode2
)) {
31005 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
31007 arg2
= static_cast< long >(val2
);
31010 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31012 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31013 if (!SWIG_IsOK(ecode4
)) {
31014 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
31016 arg4
= static_cast< int >(val4
);
31018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31019 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
31020 wxPyEndAllowThreads(__tstate
);
31021 if (PyErr_Occurred()) SWIG_fail
;
31023 resultobj
= SWIG_From_long(static_cast< long >(result
));
31030 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31031 PyObject
*resultobj
= 0;
31032 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31033 wxPoint
*arg2
= 0 ;
31040 int res3
= SWIG_TMPOBJ
;
31041 PyObject
* obj0
= 0 ;
31042 PyObject
* obj1
= 0 ;
31043 char * kwnames
[] = {
31044 (char *) "self",(char *) "point", NULL
31048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31050 if (!SWIG_IsOK(res1
)) {
31051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31053 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31056 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31060 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
31061 wxPyEndAllowThreads(__tstate
);
31062 if (PyErr_Occurred()) SWIG_fail
;
31064 resultobj
= SWIG_From_long(static_cast< long >(result
));
31065 if (SWIG_IsTmpObj(res3
)) {
31066 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31068 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31069 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31077 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTestSubItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31078 PyObject
*resultobj
= 0;
31079 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31080 wxPoint
*arg2
= 0 ;
31082 long *arg4
= (long *) 0 ;
31088 int res3
= SWIG_TMPOBJ
;
31090 int res4
= SWIG_TMPOBJ
;
31091 PyObject
* obj0
= 0 ;
31092 PyObject
* obj1
= 0 ;
31093 char * kwnames
[] = {
31094 (char *) "self",(char *) "point", NULL
31099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTestSubItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31101 if (!SWIG_IsOK(res1
)) {
31102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTestSubItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31104 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31107 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31111 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
,arg4
);
31112 wxPyEndAllowThreads(__tstate
);
31113 if (PyErr_Occurred()) SWIG_fail
;
31115 resultobj
= SWIG_From_long(static_cast< long >(result
));
31116 if (SWIG_IsTmpObj(res3
)) {
31117 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31119 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31120 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31122 if (SWIG_IsTmpObj(res4
)) {
31123 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
31125 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31126 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
31134 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31135 PyObject
*resultobj
= 0;
31136 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31137 wxListItem
*arg2
= 0 ;
31143 PyObject
* obj0
= 0 ;
31144 PyObject
* obj1
= 0 ;
31145 char * kwnames
[] = {
31146 (char *) "self",(char *) "info", NULL
31149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31151 if (!SWIG_IsOK(res1
)) {
31152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31154 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31155 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
31156 if (!SWIG_IsOK(res2
)) {
31157 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31160 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31162 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
31164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31165 result
= (long)(arg1
)->InsertItem(*arg2
);
31166 wxPyEndAllowThreads(__tstate
);
31167 if (PyErr_Occurred()) SWIG_fail
;
31169 resultobj
= SWIG_From_long(static_cast< long >(result
));
31176 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31177 PyObject
*resultobj
= 0;
31178 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31180 wxString
*arg3
= 0 ;
31181 int arg4
= (int) -1 ;
31187 bool temp3
= false ;
31190 PyObject
* obj0
= 0 ;
31191 PyObject
* obj1
= 0 ;
31192 PyObject
* obj2
= 0 ;
31193 PyObject
* obj3
= 0 ;
31194 char * kwnames
[] = {
31195 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31200 if (!SWIG_IsOK(res1
)) {
31201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31203 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31204 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31205 if (!SWIG_IsOK(ecode2
)) {
31206 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
31208 arg2
= static_cast< long >(val2
);
31210 arg3
= wxString_in_helper(obj2
);
31211 if (arg3
== NULL
) SWIG_fail
;
31215 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31216 if (!SWIG_IsOK(ecode4
)) {
31217 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
31219 arg4
= static_cast< int >(val4
);
31222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31223 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31224 wxPyEndAllowThreads(__tstate
);
31225 if (PyErr_Occurred()) SWIG_fail
;
31227 resultobj
= SWIG_From_long(static_cast< long >(result
));
31242 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31243 PyObject
*resultobj
= 0;
31244 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31254 PyObject
* obj0
= 0 ;
31255 PyObject
* obj1
= 0 ;
31256 PyObject
* obj2
= 0 ;
31257 char * kwnames
[] = {
31258 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
31261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31263 if (!SWIG_IsOK(res1
)) {
31264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31266 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31267 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31268 if (!SWIG_IsOK(ecode2
)) {
31269 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
31271 arg2
= static_cast< long >(val2
);
31272 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31273 if (!SWIG_IsOK(ecode3
)) {
31274 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
31276 arg3
= static_cast< int >(val3
);
31278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31279 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
31280 wxPyEndAllowThreads(__tstate
);
31281 if (PyErr_Occurred()) SWIG_fail
;
31283 resultobj
= SWIG_From_long(static_cast< long >(result
));
31290 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31291 PyObject
*resultobj
= 0;
31292 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31294 wxString
*arg3
= 0 ;
31301 bool temp3
= false ;
31304 PyObject
* obj0
= 0 ;
31305 PyObject
* obj1
= 0 ;
31306 PyObject
* obj2
= 0 ;
31307 PyObject
* obj3
= 0 ;
31308 char * kwnames
[] = {
31309 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31313 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31314 if (!SWIG_IsOK(res1
)) {
31315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31317 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31318 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31319 if (!SWIG_IsOK(ecode2
)) {
31320 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
31322 arg2
= static_cast< long >(val2
);
31324 arg3
= wxString_in_helper(obj2
);
31325 if (arg3
== NULL
) SWIG_fail
;
31328 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31329 if (!SWIG_IsOK(ecode4
)) {
31330 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
31332 arg4
= static_cast< int >(val4
);
31334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31335 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31336 wxPyEndAllowThreads(__tstate
);
31337 if (PyErr_Occurred()) SWIG_fail
;
31339 resultobj
= SWIG_From_long(static_cast< long >(result
));
31354 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31355 PyObject
*resultobj
= 0;
31356 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31358 wxListItem
*arg3
= 0 ;
31366 PyObject
* obj0
= 0 ;
31367 PyObject
* obj1
= 0 ;
31368 PyObject
* obj2
= 0 ;
31369 char * kwnames
[] = {
31370 (char *) "self",(char *) "col",(char *) "info", NULL
31373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31375 if (!SWIG_IsOK(res1
)) {
31376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31378 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31379 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31380 if (!SWIG_IsOK(ecode2
)) {
31381 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
31383 arg2
= static_cast< long >(val2
);
31384 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
31385 if (!SWIG_IsOK(res3
)) {
31386 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31389 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31391 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
31393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31394 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
31395 wxPyEndAllowThreads(__tstate
);
31396 if (PyErr_Occurred()) SWIG_fail
;
31398 resultobj
= SWIG_From_long(static_cast< long >(result
));
31405 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31406 PyObject
*resultobj
= 0;
31407 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31409 wxString
*arg3
= 0 ;
31410 int arg4
= (int) wxLIST_FORMAT_LEFT
;
31411 int arg5
= (int) -1 ;
31417 bool temp3
= false ;
31422 PyObject
* obj0
= 0 ;
31423 PyObject
* obj1
= 0 ;
31424 PyObject
* obj2
= 0 ;
31425 PyObject
* obj3
= 0 ;
31426 PyObject
* obj4
= 0 ;
31427 char * kwnames
[] = {
31428 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
31431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31433 if (!SWIG_IsOK(res1
)) {
31434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31436 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31437 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31438 if (!SWIG_IsOK(ecode2
)) {
31439 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
31441 arg2
= static_cast< long >(val2
);
31443 arg3
= wxString_in_helper(obj2
);
31444 if (arg3
== NULL
) SWIG_fail
;
31448 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31449 if (!SWIG_IsOK(ecode4
)) {
31450 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
31452 arg4
= static_cast< int >(val4
);
31455 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31456 if (!SWIG_IsOK(ecode5
)) {
31457 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
31459 arg5
= static_cast< int >(val5
);
31462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31463 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
31464 wxPyEndAllowThreads(__tstate
);
31465 if (PyErr_Occurred()) SWIG_fail
;
31467 resultobj
= SWIG_From_long(static_cast< long >(result
));
31482 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31483 PyObject
*resultobj
= 0;
31484 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31490 PyObject
* obj0
= 0 ;
31491 PyObject
* obj1
= 0 ;
31492 char * kwnames
[] = {
31493 (char *) "self",(char *) "count", NULL
31496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31498 if (!SWIG_IsOK(res1
)) {
31499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31501 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31502 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31503 if (!SWIG_IsOK(ecode2
)) {
31504 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
31506 arg2
= static_cast< long >(val2
);
31508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31509 (arg1
)->SetItemCount(arg2
);
31510 wxPyEndAllowThreads(__tstate
);
31511 if (PyErr_Occurred()) SWIG_fail
;
31513 resultobj
= SWIG_Py_Void();
31520 SWIGINTERN PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31521 PyObject
*resultobj
= 0;
31522 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31532 PyObject
* obj0
= 0 ;
31533 PyObject
* obj1
= 0 ;
31534 PyObject
* obj2
= 0 ;
31535 char * kwnames
[] = {
31536 (char *) "self",(char *) "dx",(char *) "dy", NULL
31539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31541 if (!SWIG_IsOK(res1
)) {
31542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31544 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31545 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31546 if (!SWIG_IsOK(ecode2
)) {
31547 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
31549 arg2
= static_cast< int >(val2
);
31550 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31551 if (!SWIG_IsOK(ecode3
)) {
31552 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
31554 arg3
= static_cast< int >(val3
);
31556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31557 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
31558 wxPyEndAllowThreads(__tstate
);
31559 if (PyErr_Occurred()) SWIG_fail
;
31562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31570 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31571 PyObject
*resultobj
= 0;
31572 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31574 wxColour
*arg3
= 0 ;
31580 PyObject
* obj0
= 0 ;
31581 PyObject
* obj1
= 0 ;
31582 PyObject
* obj2
= 0 ;
31583 char * kwnames
[] = {
31584 (char *) "self",(char *) "item",(char *) "col", NULL
31587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31589 if (!SWIG_IsOK(res1
)) {
31590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31592 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31593 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31594 if (!SWIG_IsOK(ecode2
)) {
31595 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31597 arg2
= static_cast< long >(val2
);
31600 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31604 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
31605 wxPyEndAllowThreads(__tstate
);
31606 if (PyErr_Occurred()) SWIG_fail
;
31608 resultobj
= SWIG_Py_Void();
31615 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31616 PyObject
*resultobj
= 0;
31617 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31624 PyObject
* obj0
= 0 ;
31625 PyObject
* obj1
= 0 ;
31626 char * kwnames
[] = {
31627 (char *) "self",(char *) "item", NULL
31630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31632 if (!SWIG_IsOK(res1
)) {
31633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31635 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31636 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31637 if (!SWIG_IsOK(ecode2
)) {
31638 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31640 arg2
= static_cast< long >(val2
);
31642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31643 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
31644 wxPyEndAllowThreads(__tstate
);
31645 if (PyErr_Occurred()) SWIG_fail
;
31647 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31654 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31655 PyObject
*resultobj
= 0;
31656 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31658 wxColour
*arg3
= 0 ;
31664 PyObject
* obj0
= 0 ;
31665 PyObject
* obj1
= 0 ;
31666 PyObject
* obj2
= 0 ;
31667 char * kwnames
[] = {
31668 (char *) "self",(char *) "item",(char *) "col", NULL
31671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31673 if (!SWIG_IsOK(res1
)) {
31674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31676 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31677 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31678 if (!SWIG_IsOK(ecode2
)) {
31679 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31681 arg2
= static_cast< long >(val2
);
31684 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31688 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
31689 wxPyEndAllowThreads(__tstate
);
31690 if (PyErr_Occurred()) SWIG_fail
;
31692 resultobj
= SWIG_Py_Void();
31699 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31700 PyObject
*resultobj
= 0;
31701 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31708 PyObject
* obj0
= 0 ;
31709 PyObject
* obj1
= 0 ;
31710 char * kwnames
[] = {
31711 (char *) "self",(char *) "item", NULL
31714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31716 if (!SWIG_IsOK(res1
)) {
31717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31719 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31720 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31721 if (!SWIG_IsOK(ecode2
)) {
31722 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31724 arg2
= static_cast< long >(val2
);
31726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31727 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
31728 wxPyEndAllowThreads(__tstate
);
31729 if (PyErr_Occurred()) SWIG_fail
;
31731 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31738 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31739 PyObject
*resultobj
= 0;
31740 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31749 PyObject
* obj0
= 0 ;
31750 PyObject
* obj1
= 0 ;
31751 PyObject
* obj2
= 0 ;
31752 char * kwnames
[] = {
31753 (char *) "self",(char *) "item",(char *) "f", NULL
31756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31758 if (!SWIG_IsOK(res1
)) {
31759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31761 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31762 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31763 if (!SWIG_IsOK(ecode2
)) {
31764 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
31766 arg2
= static_cast< long >(val2
);
31767 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
31768 if (!SWIG_IsOK(res3
)) {
31769 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31772 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31774 arg3
= reinterpret_cast< wxFont
* >(argp3
);
31776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31777 (arg1
)->SetItemFont(arg2
,(wxFont
const &)*arg3
);
31778 wxPyEndAllowThreads(__tstate
);
31779 if (PyErr_Occurred()) SWIG_fail
;
31781 resultobj
= SWIG_Py_Void();
31788 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31789 PyObject
*resultobj
= 0;
31790 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31797 PyObject
* obj0
= 0 ;
31798 PyObject
* obj1
= 0 ;
31799 char * kwnames
[] = {
31800 (char *) "self",(char *) "item", NULL
31803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31805 if (!SWIG_IsOK(res1
)) {
31806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31808 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31809 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31810 if (!SWIG_IsOK(ecode2
)) {
31811 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
31813 arg2
= static_cast< long >(val2
);
31815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31816 result
= ((wxPyListCtrl
const *)arg1
)->GetItemFont(arg2
);
31817 wxPyEndAllowThreads(__tstate
);
31818 if (PyErr_Occurred()) SWIG_fail
;
31820 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
31827 SWIGINTERN PyObject
*_wrap_ListCtrl_SortItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31828 PyObject
*resultobj
= 0;
31829 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31830 PyObject
*arg2
= (PyObject
*) 0 ;
31834 PyObject
* obj0
= 0 ;
31835 PyObject
* obj1
= 0 ;
31836 char * kwnames
[] = {
31837 (char *) "self",(char *) "func", NULL
31840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31842 if (!SWIG_IsOK(res1
)) {
31843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31845 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31849 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
31850 wxPyEndAllowThreads(__tstate
);
31851 if (PyErr_Occurred()) SWIG_fail
;
31854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31862 SWIGINTERN PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31863 PyObject
*resultobj
= 0;
31864 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31865 wxWindow
*result
= 0 ;
31868 PyObject
*swig_obj
[1] ;
31870 if (!args
) SWIG_fail
;
31871 swig_obj
[0] = args
;
31872 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31873 if (!SWIG_IsOK(res1
)) {
31874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31876 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31879 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
31880 wxPyEndAllowThreads(__tstate
);
31881 if (PyErr_Occurred()) SWIG_fail
;
31884 resultobj
= wxPyMake_wxObject(result
, 0);
31892 SWIGINTERN PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31893 PyObject
*resultobj
= 0;
31894 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
31895 SwigValueWrapper
<wxVisualAttributes
> result
;
31898 PyObject
* obj0
= 0 ;
31899 char * kwnames
[] = {
31900 (char *) "variant", NULL
31903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
31905 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31906 if (!SWIG_IsOK(ecode1
)) {
31907 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
31909 arg1
= static_cast< wxWindowVariant
>(val1
);
31912 if (!wxPyCheckForApp()) SWIG_fail
;
31913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31914 result
= wxPyListCtrl::GetClassDefaultAttributes(arg1
);
31915 wxPyEndAllowThreads(__tstate
);
31916 if (PyErr_Occurred()) SWIG_fail
;
31918 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
31925 SWIGINTERN PyObject
*ListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31927 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31928 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl
, SWIG_NewClientData(obj
));
31929 return SWIG_Py_Void();
31932 SWIGINTERN PyObject
*ListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31933 return SWIG_Python_InitShadowInstance(args
);
31936 SWIGINTERN PyObject
*_wrap_new_ListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31937 PyObject
*resultobj
= 0;
31938 wxWindow
*arg1
= (wxWindow
*) 0 ;
31939 int arg2
= (int) -1 ;
31940 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31941 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31942 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31943 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31944 long arg5
= (long) wxLC_REPORT
;
31945 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
31946 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
31947 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
31948 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31949 wxListView
*result
= 0 ;
31960 bool temp7
= false ;
31961 PyObject
* obj0
= 0 ;
31962 PyObject
* obj1
= 0 ;
31963 PyObject
* obj2
= 0 ;
31964 PyObject
* obj3
= 0 ;
31965 PyObject
* obj4
= 0 ;
31966 PyObject
* obj5
= 0 ;
31967 PyObject
* obj6
= 0 ;
31968 char * kwnames
[] = {
31969 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31974 if (!SWIG_IsOK(res1
)) {
31975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
31977 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31979 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31980 if (!SWIG_IsOK(ecode2
)) {
31981 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
31983 arg2
= static_cast< int >(val2
);
31988 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31994 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31998 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
31999 if (!SWIG_IsOK(ecode5
)) {
32000 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
32002 arg5
= static_cast< long >(val5
);
32005 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
32006 if (!SWIG_IsOK(res6
)) {
32007 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32010 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32012 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
32016 arg7
= wxString_in_helper(obj6
);
32017 if (arg7
== NULL
) SWIG_fail
;
32022 if (!wxPyCheckForApp()) SWIG_fail
;
32023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32024 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
32025 wxPyEndAllowThreads(__tstate
);
32026 if (PyErr_Occurred()) SWIG_fail
;
32028 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_NEW
| 0 );
32043 SWIGINTERN PyObject
*_wrap_new_PreListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32044 PyObject
*resultobj
= 0;
32045 wxListView
*result
= 0 ;
32047 if (!SWIG_Python_UnpackTuple(args
,"new_PreListView",0,0,0)) SWIG_fail
;
32049 if (!wxPyCheckForApp()) SWIG_fail
;
32050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32051 result
= (wxListView
*)new wxListView();
32052 wxPyEndAllowThreads(__tstate
);
32053 if (PyErr_Occurred()) SWIG_fail
;
32055 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_OWN
| 0 );
32062 SWIGINTERN PyObject
*_wrap_ListView_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32063 PyObject
*resultobj
= 0;
32064 wxListView
*arg1
= (wxListView
*) 0 ;
32065 wxWindow
*arg2
= (wxWindow
*) 0 ;
32066 int arg3
= (int) -1 ;
32067 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
32068 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
32069 wxSize
const &arg5_defvalue
= wxDefaultSize
;
32070 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
32071 long arg6
= (long) wxLC_REPORT
;
32072 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
32073 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
32074 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
32075 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
32089 bool temp8
= false ;
32090 PyObject
* obj0
= 0 ;
32091 PyObject
* obj1
= 0 ;
32092 PyObject
* obj2
= 0 ;
32093 PyObject
* obj3
= 0 ;
32094 PyObject
* obj4
= 0 ;
32095 PyObject
* obj5
= 0 ;
32096 PyObject
* obj6
= 0 ;
32097 PyObject
* obj7
= 0 ;
32098 char * kwnames
[] = {
32099 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
32103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32104 if (!SWIG_IsOK(res1
)) {
32105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
32107 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32108 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32109 if (!SWIG_IsOK(res2
)) {
32110 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
32112 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
32114 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32115 if (!SWIG_IsOK(ecode3
)) {
32116 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
32118 arg3
= static_cast< int >(val3
);
32123 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32129 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
32133 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
32134 if (!SWIG_IsOK(ecode6
)) {
32135 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
32137 arg6
= static_cast< long >(val6
);
32140 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
32141 if (!SWIG_IsOK(res7
)) {
32142 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32145 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32147 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
32151 arg8
= wxString_in_helper(obj7
);
32152 if (arg8
== NULL
) SWIG_fail
;
32157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32158 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
32159 wxPyEndAllowThreads(__tstate
);
32160 if (PyErr_Occurred()) SWIG_fail
;
32163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32179 SWIGINTERN PyObject
*_wrap_ListView_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32180 PyObject
*resultobj
= 0;
32181 wxListView
*arg1
= (wxListView
*) 0 ;
32183 bool arg3
= (bool) true ;
32190 PyObject
* obj0
= 0 ;
32191 PyObject
* obj1
= 0 ;
32192 PyObject
* obj2
= 0 ;
32193 char * kwnames
[] = {
32194 (char *) "self",(char *) "n",(char *) "on", NULL
32197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32199 if (!SWIG_IsOK(res1
)) {
32200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
32202 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32203 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32204 if (!SWIG_IsOK(ecode2
)) {
32205 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
32207 arg2
= static_cast< long >(val2
);
32209 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
32210 if (!SWIG_IsOK(ecode3
)) {
32211 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
32213 arg3
= static_cast< bool >(val3
);
32216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32217 (arg1
)->Select(arg2
,arg3
);
32218 wxPyEndAllowThreads(__tstate
);
32219 if (PyErr_Occurred()) SWIG_fail
;
32221 resultobj
= SWIG_Py_Void();
32228 SWIGINTERN PyObject
*_wrap_ListView_Focus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32229 PyObject
*resultobj
= 0;
32230 wxListView
*arg1
= (wxListView
*) 0 ;
32236 PyObject
* obj0
= 0 ;
32237 PyObject
* obj1
= 0 ;
32238 char * kwnames
[] = {
32239 (char *) "self",(char *) "index", NULL
32242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32244 if (!SWIG_IsOK(res1
)) {
32245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
32247 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32248 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32249 if (!SWIG_IsOK(ecode2
)) {
32250 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
32252 arg2
= static_cast< long >(val2
);
32254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32255 (arg1
)->Focus(arg2
);
32256 wxPyEndAllowThreads(__tstate
);
32257 if (PyErr_Occurred()) SWIG_fail
;
32259 resultobj
= SWIG_Py_Void();
32266 SWIGINTERN PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32267 PyObject
*resultobj
= 0;
32268 wxListView
*arg1
= (wxListView
*) 0 ;
32272 PyObject
*swig_obj
[1] ;
32274 if (!args
) SWIG_fail
;
32275 swig_obj
[0] = args
;
32276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32277 if (!SWIG_IsOK(res1
)) {
32278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
32280 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32283 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
32284 wxPyEndAllowThreads(__tstate
);
32285 if (PyErr_Occurred()) SWIG_fail
;
32287 resultobj
= SWIG_From_long(static_cast< long >(result
));
32294 SWIGINTERN PyObject
*_wrap_ListView_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32295 PyObject
*resultobj
= 0;
32296 wxListView
*arg1
= (wxListView
*) 0 ;
32303 PyObject
* obj0
= 0 ;
32304 PyObject
* obj1
= 0 ;
32305 char * kwnames
[] = {
32306 (char *) "self",(char *) "item", NULL
32309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32311 if (!SWIG_IsOK(res1
)) {
32312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32314 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32315 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32316 if (!SWIG_IsOK(ecode2
)) {
32317 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
32319 arg2
= static_cast< long >(val2
);
32321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32322 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
32323 wxPyEndAllowThreads(__tstate
);
32324 if (PyErr_Occurred()) SWIG_fail
;
32326 resultobj
= SWIG_From_long(static_cast< long >(result
));
32333 SWIGINTERN PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32334 PyObject
*resultobj
= 0;
32335 wxListView
*arg1
= (wxListView
*) 0 ;
32339 PyObject
*swig_obj
[1] ;
32341 if (!args
) SWIG_fail
;
32342 swig_obj
[0] = args
;
32343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32344 if (!SWIG_IsOK(res1
)) {
32345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32347 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32350 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
32351 wxPyEndAllowThreads(__tstate
);
32352 if (PyErr_Occurred()) SWIG_fail
;
32354 resultobj
= SWIG_From_long(static_cast< long >(result
));
32361 SWIGINTERN PyObject
*_wrap_ListView_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32362 PyObject
*resultobj
= 0;
32363 wxListView
*arg1
= (wxListView
*) 0 ;
32370 PyObject
* obj0
= 0 ;
32371 PyObject
* obj1
= 0 ;
32372 char * kwnames
[] = {
32373 (char *) "self",(char *) "index", NULL
32376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32378 if (!SWIG_IsOK(res1
)) {
32379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
32381 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32382 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32383 if (!SWIG_IsOK(ecode2
)) {
32384 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
32386 arg2
= static_cast< long >(val2
);
32388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32389 result
= (bool)(arg1
)->IsSelected(arg2
);
32390 wxPyEndAllowThreads(__tstate
);
32391 if (PyErr_Occurred()) SWIG_fail
;
32394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32402 SWIGINTERN PyObject
*_wrap_ListView_SetColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32403 PyObject
*resultobj
= 0;
32404 wxListView
*arg1
= (wxListView
*) 0 ;
32413 PyObject
* obj0
= 0 ;
32414 PyObject
* obj1
= 0 ;
32415 PyObject
* obj2
= 0 ;
32416 char * kwnames
[] = {
32417 (char *) "self",(char *) "col",(char *) "image", NULL
32420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32422 if (!SWIG_IsOK(res1
)) {
32423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32425 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32426 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32427 if (!SWIG_IsOK(ecode2
)) {
32428 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
32430 arg2
= static_cast< int >(val2
);
32431 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32432 if (!SWIG_IsOK(ecode3
)) {
32433 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
32435 arg3
= static_cast< int >(val3
);
32437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32438 (arg1
)->SetColumnImage(arg2
,arg3
);
32439 wxPyEndAllowThreads(__tstate
);
32440 if (PyErr_Occurred()) SWIG_fail
;
32442 resultobj
= SWIG_Py_Void();
32449 SWIGINTERN PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32450 PyObject
*resultobj
= 0;
32451 wxListView
*arg1
= (wxListView
*) 0 ;
32457 PyObject
* obj0
= 0 ;
32458 PyObject
* obj1
= 0 ;
32459 char * kwnames
[] = {
32460 (char *) "self",(char *) "col", NULL
32463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32465 if (!SWIG_IsOK(res1
)) {
32466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32468 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32469 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32470 if (!SWIG_IsOK(ecode2
)) {
32471 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
32473 arg2
= static_cast< int >(val2
);
32475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32476 (arg1
)->ClearColumnImage(arg2
);
32477 wxPyEndAllowThreads(__tstate
);
32478 if (PyErr_Occurred()) SWIG_fail
;
32480 resultobj
= SWIG_Py_Void();
32487 SWIGINTERN PyObject
*ListView_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32489 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32490 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView
, SWIG_NewClientData(obj
));
32491 return SWIG_Py_Void();
32494 SWIGINTERN PyObject
*ListView_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32495 return SWIG_Python_InitShadowInstance(args
);
32498 SWIGINTERN
int TreeCtrlNameStr_set(PyObject
*) {
32499 SWIG_Error(SWIG_AttributeError
,"Variable TreeCtrlNameStr is read-only.");
32504 SWIGINTERN PyObject
*TreeCtrlNameStr_get(void) {
32505 PyObject
*pyobj
= 0;
32509 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32511 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32518 SWIGINTERN PyObject
*_wrap_new_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32519 PyObject
*resultobj
= 0;
32520 wxTreeItemId
*result
= 0 ;
32522 if (!SWIG_Python_UnpackTuple(args
,"new_TreeItemId",0,0,0)) SWIG_fail
;
32524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32525 result
= (wxTreeItemId
*)new wxTreeItemId();
32526 wxPyEndAllowThreads(__tstate
);
32527 if (PyErr_Occurred()) SWIG_fail
;
32529 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_NEW
| 0 );
32536 SWIGINTERN PyObject
*_wrap_delete_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32537 PyObject
*resultobj
= 0;
32538 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32541 PyObject
*swig_obj
[1] ;
32543 if (!args
) SWIG_fail
;
32544 swig_obj
[0] = args
;
32545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_DISOWN
| 0 );
32546 if (!SWIG_IsOK(res1
)) {
32547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32549 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32554 wxPyEndAllowThreads(__tstate
);
32555 if (PyErr_Occurred()) SWIG_fail
;
32557 resultobj
= SWIG_Py_Void();
32564 SWIGINTERN PyObject
*_wrap_TreeItemId_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32565 PyObject
*resultobj
= 0;
32566 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32570 PyObject
*swig_obj
[1] ;
32572 if (!args
) SWIG_fail
;
32573 swig_obj
[0] = args
;
32574 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32575 if (!SWIG_IsOK(res1
)) {
32576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
32578 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32581 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
32582 wxPyEndAllowThreads(__tstate
);
32583 if (PyErr_Occurred()) SWIG_fail
;
32586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32594 SWIGINTERN PyObject
*_wrap_TreeItemId___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32595 PyObject
*resultobj
= 0;
32596 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32597 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32603 PyObject
* obj0
= 0 ;
32604 PyObject
* obj1
= 0 ;
32605 char * kwnames
[] = {
32606 (char *) "self",(char *) "other", NULL
32609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32611 if (!SWIG_IsOK(res1
)) {
32612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32614 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32615 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32616 if (!SWIG_IsOK(res2
)) {
32617 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32619 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32622 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
32623 wxPyEndAllowThreads(__tstate
);
32624 if (PyErr_Occurred()) SWIG_fail
;
32627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32635 SWIGINTERN PyObject
*_wrap_TreeItemId___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32636 PyObject
*resultobj
= 0;
32637 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32638 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32644 PyObject
* obj0
= 0 ;
32645 PyObject
* obj1
= 0 ;
32646 char * kwnames
[] = {
32647 (char *) "self",(char *) "other", NULL
32650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32652 if (!SWIG_IsOK(res1
)) {
32653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32655 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32656 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32657 if (!SWIG_IsOK(res2
)) {
32658 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32660 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32663 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
32664 wxPyEndAllowThreads(__tstate
);
32665 if (PyErr_Occurred()) SWIG_fail
;
32668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32676 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32677 PyObject
*resultobj
= 0;
32678 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32679 void *arg2
= (void *) 0 ;
32683 PyObject
*swig_obj
[2] ;
32685 if (!SWIG_Python_UnpackTuple(args
,"TreeItemId_m_pItem_set",2,2,swig_obj
)) SWIG_fail
;
32686 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32687 if (!SWIG_IsOK(res1
)) {
32688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32690 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32691 res2
= SWIG_ConvertPtr(swig_obj
[1],SWIG_as_voidptrptr(&arg2
), 0, SWIG_POINTER_DISOWN
);
32692 if (!SWIG_IsOK(res2
)) {
32693 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
32695 if (arg1
) (arg1
)->m_pItem
= arg2
;
32697 resultobj
= SWIG_Py_Void();
32704 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32705 PyObject
*resultobj
= 0;
32706 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32710 PyObject
*swig_obj
[1] ;
32712 if (!args
) SWIG_fail
;
32713 swig_obj
[0] = args
;
32714 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32715 if (!SWIG_IsOK(res1
)) {
32716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32718 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32719 result
= (void *) ((arg1
)->m_pItem
);
32720 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
32727 SWIGINTERN PyObject
*TreeItemId_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32729 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32730 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId
, SWIG_NewClientData(obj
));
32731 return SWIG_Py_Void();
32734 SWIGINTERN PyObject
*TreeItemId_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32735 return SWIG_Python_InitShadowInstance(args
);
32738 SWIGINTERN PyObject
*_wrap_new_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32739 PyObject
*resultobj
= 0;
32740 PyObject
*arg1
= (PyObject
*) NULL
;
32741 wxPyTreeItemData
*result
= 0 ;
32742 PyObject
* obj0
= 0 ;
32743 char * kwnames
[] = {
32744 (char *) "obj", NULL
32747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) SWIG_fail
;
32752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32753 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
32754 wxPyEndAllowThreads(__tstate
);
32755 if (PyErr_Occurred()) SWIG_fail
;
32757 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_NEW
| 0 );
32764 SWIGINTERN PyObject
*_wrap_delete_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32765 PyObject
*resultobj
= 0;
32766 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32769 PyObject
*swig_obj
[1] ;
32771 if (!args
) SWIG_fail
;
32772 swig_obj
[0] = args
;
32773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
32774 if (!SWIG_IsOK(res1
)) {
32775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32777 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32782 wxPyEndAllowThreads(__tstate
);
32783 if (PyErr_Occurred()) SWIG_fail
;
32785 resultobj
= SWIG_Py_Void();
32792 SWIGINTERN PyObject
*_wrap_TreeItemData_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32793 PyObject
*resultobj
= 0;
32794 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32795 PyObject
*result
= 0 ;
32798 PyObject
*swig_obj
[1] ;
32800 if (!args
) SWIG_fail
;
32801 swig_obj
[0] = args
;
32802 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32803 if (!SWIG_IsOK(res1
)) {
32804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32806 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32809 result
= (PyObject
*)(arg1
)->GetData();
32810 wxPyEndAllowThreads(__tstate
);
32811 if (PyErr_Occurred()) SWIG_fail
;
32813 resultobj
= result
;
32820 SWIGINTERN PyObject
*_wrap_TreeItemData_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32821 PyObject
*resultobj
= 0;
32822 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32823 PyObject
*arg2
= (PyObject
*) 0 ;
32826 PyObject
* obj0
= 0 ;
32827 PyObject
* obj1
= 0 ;
32828 char * kwnames
[] = {
32829 (char *) "self",(char *) "obj", NULL
32832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32834 if (!SWIG_IsOK(res1
)) {
32835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32837 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32841 (arg1
)->SetData(arg2
);
32842 wxPyEndAllowThreads(__tstate
);
32843 if (PyErr_Occurred()) SWIG_fail
;
32845 resultobj
= SWIG_Py_Void();
32852 SWIGINTERN PyObject
*_wrap_TreeItemData_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32853 PyObject
*resultobj
= 0;
32854 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32855 wxTreeItemId
*result
= 0 ;
32858 PyObject
*swig_obj
[1] ;
32860 if (!args
) SWIG_fail
;
32861 swig_obj
[0] = args
;
32862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32863 if (!SWIG_IsOK(res1
)) {
32864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32866 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32870 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
32871 result
= (wxTreeItemId
*) &_result_ref
;
32873 wxPyEndAllowThreads(__tstate
);
32874 if (PyErr_Occurred()) SWIG_fail
;
32876 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32883 SWIGINTERN PyObject
*_wrap_TreeItemData_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32884 PyObject
*resultobj
= 0;
32885 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32886 wxTreeItemId
*arg2
= 0 ;
32891 PyObject
* obj0
= 0 ;
32892 PyObject
* obj1
= 0 ;
32893 char * kwnames
[] = {
32894 (char *) "self",(char *) "id", NULL
32897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32899 if (!SWIG_IsOK(res1
)) {
32900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32902 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32903 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32904 if (!SWIG_IsOK(res2
)) {
32905 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32908 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32910 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32913 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
32914 wxPyEndAllowThreads(__tstate
);
32915 if (PyErr_Occurred()) SWIG_fail
;
32917 resultobj
= SWIG_Py_Void();
32924 SWIGINTERN PyObject
*_wrap_TreeItemData_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32925 PyObject
*resultobj
= 0;
32926 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32929 PyObject
*swig_obj
[1] ;
32931 if (!args
) SWIG_fail
;
32932 swig_obj
[0] = args
;
32933 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32934 if (!SWIG_IsOK(res1
)) {
32935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32937 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32940 wxPyTreeItemData_Destroy(arg1
);
32941 wxPyEndAllowThreads(__tstate
);
32942 if (PyErr_Occurred()) SWIG_fail
;
32944 resultobj
= SWIG_Py_Void();
32951 SWIGINTERN PyObject
*TreeItemData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32953 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32954 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData
, SWIG_NewClientData(obj
));
32955 return SWIG_Py_Void();
32958 SWIGINTERN PyObject
*TreeItemData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32959 return SWIG_Python_InitShadowInstance(args
);
32962 SWIGINTERN
int NullTreeItemId_set(PyObject
*_val
) {
32965 int res
= SWIG_ConvertPtr(_val
, &argp
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32966 if (!SWIG_IsOK(res
)) {
32967 SWIG_exception_fail(SWIG_ArgError(res
), "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
32970 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
32972 wxTreeItemId
* temp
;
32973 temp
= reinterpret_cast< wxTreeItemId
* >(argp
);
32974 wxNullTreeItemId
= *temp
;
32975 if (SWIG_IsNewObj(res
)) delete temp
;
32984 SWIGINTERN PyObject
*NullTreeItemId_get(void) {
32985 PyObject
*pyobj
= 0;
32987 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullTreeItemId
), SWIGTYPE_p_wxTreeItemId
, 0 );
32992 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
32993 PyObject
*resultobj
= 0;
32994 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
32995 int arg2
= (int) 0 ;
32996 wxTreeEvent
*result
= 0 ;
33002 if ((nobjs
< 0) || (nobjs
> 2)) SWIG_fail
;
33004 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
33005 if (!SWIG_IsOK(ecode1
)) {
33006 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33008 arg1
= static_cast< wxEventType
>(val1
);
33011 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
33012 if (!SWIG_IsOK(ecode2
)) {
33013 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
33015 arg2
= static_cast< int >(val2
);
33018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33019 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
33020 wxPyEndAllowThreads(__tstate
);
33021 if (PyErr_Occurred()) SWIG_fail
;
33023 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
33030 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33031 PyObject
*resultobj
= 0;
33033 wxPyTreeCtrl
*arg2
= (wxPyTreeCtrl
*) 0 ;
33034 wxTreeItemId
&arg3_defvalue
= wxNullTreeItemId
;
33035 wxTreeItemId
*arg3
= (wxTreeItemId
*) &arg3_defvalue
;
33036 wxTreeEvent
*result
= 0 ;
33044 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
33045 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
33046 if (!SWIG_IsOK(ecode1
)) {
33047 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33049 arg1
= static_cast< wxEventType
>(val1
);
33050 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33051 if (!SWIG_IsOK(res2
)) {
33052 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "wxPyTreeCtrl *""'");
33054 arg2
= reinterpret_cast< wxPyTreeCtrl
* >(argp2
);
33056 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 );
33057 if (!SWIG_IsOK(res3
)) {
33058 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33061 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33063 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
33066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33067 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
,*arg3
);
33068 wxPyEndAllowThreads(__tstate
);
33069 if (PyErr_Occurred()) SWIG_fail
;
33071 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
33078 SWIGINTERN PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
) {
33082 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_TreeEvent",0,3,argv
))) SWIG_fail
;
33084 if ((argc
>= 0) && (argc
<= 2)) {
33089 int res
= SWIG_AsVal_int(argv
[1], NULL
);
33090 _v
= SWIG_CheckState(res
);
33093 if (!_v
) goto check_1
;
33095 return _wrap_new_TreeEvent__SWIG_0(self
, argc
, argv
);
33099 if ((argc
>= 2) && (argc
<= 3)) {
33100 return _wrap_new_TreeEvent__SWIG_1(self
, argc
, argv
);
33104 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TreeEvent'");
33109 SWIGINTERN PyObject
*_wrap_TreeEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33110 PyObject
*resultobj
= 0;
33111 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33112 wxTreeItemId result
;
33115 PyObject
*swig_obj
[1] ;
33117 if (!args
) SWIG_fail
;
33118 swig_obj
[0] = args
;
33119 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33120 if (!SWIG_IsOK(res1
)) {
33121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33123 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33126 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
33127 wxPyEndAllowThreads(__tstate
);
33128 if (PyErr_Occurred()) SWIG_fail
;
33130 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33137 SWIGINTERN PyObject
*_wrap_TreeEvent_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33138 PyObject
*resultobj
= 0;
33139 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33140 wxTreeItemId
*arg2
= 0 ;
33145 PyObject
* obj0
= 0 ;
33146 PyObject
* obj1
= 0 ;
33147 char * kwnames
[] = {
33148 (char *) "self",(char *) "item", NULL
33151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33153 if (!SWIG_IsOK(res1
)) {
33154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33156 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33157 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33158 if (!SWIG_IsOK(res2
)) {
33159 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33162 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33164 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33167 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
33168 wxPyEndAllowThreads(__tstate
);
33169 if (PyErr_Occurred()) SWIG_fail
;
33171 resultobj
= SWIG_Py_Void();
33178 SWIGINTERN PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33179 PyObject
*resultobj
= 0;
33180 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33181 wxTreeItemId result
;
33184 PyObject
*swig_obj
[1] ;
33186 if (!args
) SWIG_fail
;
33187 swig_obj
[0] = args
;
33188 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33189 if (!SWIG_IsOK(res1
)) {
33190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33192 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33195 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
33196 wxPyEndAllowThreads(__tstate
);
33197 if (PyErr_Occurred()) SWIG_fail
;
33199 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33206 SWIGINTERN PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33207 PyObject
*resultobj
= 0;
33208 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33209 wxTreeItemId
*arg2
= 0 ;
33214 PyObject
* obj0
= 0 ;
33215 PyObject
* obj1
= 0 ;
33216 char * kwnames
[] = {
33217 (char *) "self",(char *) "item", NULL
33220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33222 if (!SWIG_IsOK(res1
)) {
33223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33225 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33226 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33227 if (!SWIG_IsOK(res2
)) {
33228 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33231 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33233 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33236 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
33237 wxPyEndAllowThreads(__tstate
);
33238 if (PyErr_Occurred()) SWIG_fail
;
33240 resultobj
= SWIG_Py_Void();
33247 SWIGINTERN PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33248 PyObject
*resultobj
= 0;
33249 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33253 PyObject
*swig_obj
[1] ;
33255 if (!args
) SWIG_fail
;
33256 swig_obj
[0] = args
;
33257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33258 if (!SWIG_IsOK(res1
)) {
33259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33261 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33264 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
33265 wxPyEndAllowThreads(__tstate
);
33266 if (PyErr_Occurred()) SWIG_fail
;
33268 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
33275 SWIGINTERN PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33276 PyObject
*resultobj
= 0;
33277 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33278 wxPoint
*arg2
= 0 ;
33282 PyObject
* obj0
= 0 ;
33283 PyObject
* obj1
= 0 ;
33284 char * kwnames
[] = {
33285 (char *) "self",(char *) "pt", NULL
33288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33290 if (!SWIG_IsOK(res1
)) {
33291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33293 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33296 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33300 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
33301 wxPyEndAllowThreads(__tstate
);
33302 if (PyErr_Occurred()) SWIG_fail
;
33304 resultobj
= SWIG_Py_Void();
33311 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33312 PyObject
*resultobj
= 0;
33313 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33314 wxKeyEvent
*result
= 0 ;
33317 PyObject
*swig_obj
[1] ;
33319 if (!args
) SWIG_fail
;
33320 swig_obj
[0] = args
;
33321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33322 if (!SWIG_IsOK(res1
)) {
33323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33325 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33329 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
33330 result
= (wxKeyEvent
*) &_result_ref
;
33332 wxPyEndAllowThreads(__tstate
);
33333 if (PyErr_Occurred()) SWIG_fail
;
33335 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
33342 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33343 PyObject
*resultobj
= 0;
33344 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33348 PyObject
*swig_obj
[1] ;
33350 if (!args
) SWIG_fail
;
33351 swig_obj
[0] = args
;
33352 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33353 if (!SWIG_IsOK(res1
)) {
33354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33356 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33359 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
33360 wxPyEndAllowThreads(__tstate
);
33361 if (PyErr_Occurred()) SWIG_fail
;
33363 resultobj
= SWIG_From_int(static_cast< int >(result
));
33370 SWIGINTERN PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33371 PyObject
*resultobj
= 0;
33372 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33373 wxKeyEvent
*arg2
= 0 ;
33378 PyObject
* obj0
= 0 ;
33379 PyObject
* obj1
= 0 ;
33380 char * kwnames
[] = {
33381 (char *) "self",(char *) "evt", NULL
33384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33386 if (!SWIG_IsOK(res1
)) {
33387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33389 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33390 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
33391 if (!SWIG_IsOK(res2
)) {
33392 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33395 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33397 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
33399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33400 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
33401 wxPyEndAllowThreads(__tstate
);
33402 if (PyErr_Occurred()) SWIG_fail
;
33404 resultobj
= SWIG_Py_Void();
33411 SWIGINTERN PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33412 PyObject
*resultobj
= 0;
33413 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33414 wxString
*result
= 0 ;
33417 PyObject
*swig_obj
[1] ;
33419 if (!args
) SWIG_fail
;
33420 swig_obj
[0] = args
;
33421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33422 if (!SWIG_IsOK(res1
)) {
33423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33425 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33429 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
33430 result
= (wxString
*) &_result_ref
;
33432 wxPyEndAllowThreads(__tstate
);
33433 if (PyErr_Occurred()) SWIG_fail
;
33437 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33439 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33448 SWIGINTERN PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33449 PyObject
*resultobj
= 0;
33450 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33451 wxString
*arg2
= 0 ;
33454 bool temp2
= false ;
33455 PyObject
* obj0
= 0 ;
33456 PyObject
* obj1
= 0 ;
33457 char * kwnames
[] = {
33458 (char *) "self",(char *) "label", NULL
33461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33463 if (!SWIG_IsOK(res1
)) {
33464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33466 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33468 arg2
= wxString_in_helper(obj1
);
33469 if (arg2
== NULL
) SWIG_fail
;
33473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33474 (arg1
)->SetLabel((wxString
const &)*arg2
);
33475 wxPyEndAllowThreads(__tstate
);
33476 if (PyErr_Occurred()) SWIG_fail
;
33478 resultobj
= SWIG_Py_Void();
33493 SWIGINTERN PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33494 PyObject
*resultobj
= 0;
33495 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33499 PyObject
*swig_obj
[1] ;
33501 if (!args
) SWIG_fail
;
33502 swig_obj
[0] = args
;
33503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33504 if (!SWIG_IsOK(res1
)) {
33505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33507 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33510 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
33511 wxPyEndAllowThreads(__tstate
);
33512 if (PyErr_Occurred()) SWIG_fail
;
33515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33523 SWIGINTERN PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33524 PyObject
*resultobj
= 0;
33525 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33531 PyObject
* obj0
= 0 ;
33532 PyObject
* obj1
= 0 ;
33533 char * kwnames
[] = {
33534 (char *) "self",(char *) "editCancelled", NULL
33537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33539 if (!SWIG_IsOK(res1
)) {
33540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33542 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33543 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33544 if (!SWIG_IsOK(ecode2
)) {
33545 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
33547 arg2
= static_cast< bool >(val2
);
33549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33550 (arg1
)->SetEditCanceled(arg2
);
33551 wxPyEndAllowThreads(__tstate
);
33552 if (PyErr_Occurred()) SWIG_fail
;
33554 resultobj
= SWIG_Py_Void();
33561 SWIGINTERN PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33562 PyObject
*resultobj
= 0;
33563 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33564 wxString
*arg2
= 0 ;
33567 bool temp2
= false ;
33568 PyObject
* obj0
= 0 ;
33569 PyObject
* obj1
= 0 ;
33570 char * kwnames
[] = {
33571 (char *) "self",(char *) "toolTip", NULL
33574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33576 if (!SWIG_IsOK(res1
)) {
33577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33579 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33581 arg2
= wxString_in_helper(obj1
);
33582 if (arg2
== NULL
) SWIG_fail
;
33586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33587 (arg1
)->SetToolTip((wxString
const &)*arg2
);
33588 wxPyEndAllowThreads(__tstate
);
33589 if (PyErr_Occurred()) SWIG_fail
;
33591 resultobj
= SWIG_Py_Void();
33606 SWIGINTERN PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33607 PyObject
*resultobj
= 0;
33608 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33612 PyObject
*swig_obj
[1] ;
33614 if (!args
) SWIG_fail
;
33615 swig_obj
[0] = args
;
33616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33617 if (!SWIG_IsOK(res1
)) {
33618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33620 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33623 result
= (arg1
)->GetToolTip();
33624 wxPyEndAllowThreads(__tstate
);
33625 if (PyErr_Occurred()) SWIG_fail
;
33629 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33631 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33640 SWIGINTERN PyObject
*TreeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33642 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33643 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent
, SWIG_NewClientData(obj
));
33644 return SWIG_Py_Void();
33647 SWIGINTERN PyObject
*TreeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33648 return SWIG_Python_InitShadowInstance(args
);
33651 SWIGINTERN PyObject
*_wrap_new_TreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33652 PyObject
*resultobj
= 0;
33653 wxWindow
*arg1
= (wxWindow
*) 0 ;
33654 int arg2
= (int) -1 ;
33655 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33656 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33657 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33658 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33659 long arg5
= (long) wxTR_DEFAULT_STYLE
;
33660 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33661 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33662 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
33663 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33664 wxPyTreeCtrl
*result
= 0 ;
33675 bool temp7
= false ;
33676 PyObject
* obj0
= 0 ;
33677 PyObject
* obj1
= 0 ;
33678 PyObject
* obj2
= 0 ;
33679 PyObject
* obj3
= 0 ;
33680 PyObject
* obj4
= 0 ;
33681 PyObject
* obj5
= 0 ;
33682 PyObject
* obj6
= 0 ;
33683 char * kwnames
[] = {
33684 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33689 if (!SWIG_IsOK(res1
)) {
33690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
33692 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33694 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33695 if (!SWIG_IsOK(ecode2
)) {
33696 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
33698 arg2
= static_cast< int >(val2
);
33703 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33709 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33713 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
33714 if (!SWIG_IsOK(ecode5
)) {
33715 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
33717 arg5
= static_cast< long >(val5
);
33720 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
33721 if (!SWIG_IsOK(res6
)) {
33722 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33725 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33727 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
33731 arg7
= wxString_in_helper(obj6
);
33732 if (arg7
== NULL
) SWIG_fail
;
33737 if (!wxPyCheckForApp()) SWIG_fail
;
33738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33739 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33740 wxPyEndAllowThreads(__tstate
);
33741 if (PyErr_Occurred()) SWIG_fail
;
33743 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_NEW
| 0 );
33758 SWIGINTERN PyObject
*_wrap_new_PreTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33759 PyObject
*resultobj
= 0;
33760 wxPyTreeCtrl
*result
= 0 ;
33762 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreeCtrl",0,0,0)) SWIG_fail
;
33764 if (!wxPyCheckForApp()) SWIG_fail
;
33765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33766 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
33767 wxPyEndAllowThreads(__tstate
);
33768 if (PyErr_Occurred()) SWIG_fail
;
33770 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_OWN
| 0 );
33777 SWIGINTERN PyObject
*_wrap_TreeCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33778 PyObject
*resultobj
= 0;
33779 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33780 wxWindow
*arg2
= (wxWindow
*) 0 ;
33781 int arg3
= (int) -1 ;
33782 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33783 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33784 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33785 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33786 long arg6
= (long) wxTR_DEFAULT_STYLE
;
33787 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
33788 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
33789 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
33790 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
33804 bool temp8
= false ;
33805 PyObject
* obj0
= 0 ;
33806 PyObject
* obj1
= 0 ;
33807 PyObject
* obj2
= 0 ;
33808 PyObject
* obj3
= 0 ;
33809 PyObject
* obj4
= 0 ;
33810 PyObject
* obj5
= 0 ;
33811 PyObject
* obj6
= 0 ;
33812 PyObject
* obj7
= 0 ;
33813 char * kwnames
[] = {
33814 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
33818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33819 if (!SWIG_IsOK(res1
)) {
33820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33822 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33823 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33824 if (!SWIG_IsOK(res2
)) {
33825 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
33827 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33829 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33830 if (!SWIG_IsOK(ecode3
)) {
33831 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
33833 arg3
= static_cast< int >(val3
);
33838 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33844 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33848 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
33849 if (!SWIG_IsOK(ecode6
)) {
33850 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
33852 arg6
= static_cast< long >(val6
);
33855 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
33856 if (!SWIG_IsOK(res7
)) {
33857 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33860 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33862 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
33866 arg8
= wxString_in_helper(obj7
);
33867 if (arg8
== NULL
) SWIG_fail
;
33872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33873 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
33874 wxPyEndAllowThreads(__tstate
);
33875 if (PyErr_Occurred()) SWIG_fail
;
33878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33894 SWIGINTERN PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33895 PyObject
*resultobj
= 0;
33896 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33897 PyObject
*arg2
= (PyObject
*) 0 ;
33898 PyObject
*arg3
= (PyObject
*) 0 ;
33901 PyObject
* obj0
= 0 ;
33902 PyObject
* obj1
= 0 ;
33903 PyObject
* obj2
= 0 ;
33904 char * kwnames
[] = {
33905 (char *) "self",(char *) "self",(char *) "_class", NULL
33908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33910 if (!SWIG_IsOK(res1
)) {
33911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33913 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33918 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33919 wxPyEndAllowThreads(__tstate
);
33920 if (PyErr_Occurred()) SWIG_fail
;
33922 resultobj
= SWIG_Py_Void();
33929 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33930 PyObject
*resultobj
= 0;
33931 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33932 unsigned int result
;
33935 PyObject
*swig_obj
[1] ;
33937 if (!args
) SWIG_fail
;
33938 swig_obj
[0] = args
;
33939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33940 if (!SWIG_IsOK(res1
)) {
33941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33943 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33946 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetCount();
33947 wxPyEndAllowThreads(__tstate
);
33948 if (PyErr_Occurred()) SWIG_fail
;
33950 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33957 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33958 PyObject
*resultobj
= 0;
33959 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33960 unsigned int result
;
33963 PyObject
*swig_obj
[1] ;
33965 if (!args
) SWIG_fail
;
33966 swig_obj
[0] = args
;
33967 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33968 if (!SWIG_IsOK(res1
)) {
33969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33971 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33974 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
33975 wxPyEndAllowThreads(__tstate
);
33976 if (PyErr_Occurred()) SWIG_fail
;
33978 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33985 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33986 PyObject
*resultobj
= 0;
33987 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33988 unsigned int arg2
;
33991 unsigned int val2
;
33993 PyObject
* obj0
= 0 ;
33994 PyObject
* obj1
= 0 ;
33995 char * kwnames
[] = {
33996 (char *) "self",(char *) "indent", NULL
33999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34001 if (!SWIG_IsOK(res1
)) {
34002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34004 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34005 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
34006 if (!SWIG_IsOK(ecode2
)) {
34007 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
34009 arg2
= static_cast< unsigned int >(val2
);
34011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34012 (arg1
)->SetIndent(arg2
);
34013 wxPyEndAllowThreads(__tstate
);
34014 if (PyErr_Occurred()) SWIG_fail
;
34016 resultobj
= SWIG_Py_Void();
34023 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34024 PyObject
*resultobj
= 0;
34025 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34026 unsigned int result
;
34029 PyObject
*swig_obj
[1] ;
34031 if (!args
) SWIG_fail
;
34032 swig_obj
[0] = args
;
34033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34034 if (!SWIG_IsOK(res1
)) {
34035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34037 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34040 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
34041 wxPyEndAllowThreads(__tstate
);
34042 if (PyErr_Occurred()) SWIG_fail
;
34044 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34051 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34052 PyObject
*resultobj
= 0;
34053 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34054 unsigned int arg2
;
34057 unsigned int val2
;
34059 PyObject
* obj0
= 0 ;
34060 PyObject
* obj1
= 0 ;
34061 char * kwnames
[] = {
34062 (char *) "self",(char *) "spacing", NULL
34065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34067 if (!SWIG_IsOK(res1
)) {
34068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34070 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34071 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
34072 if (!SWIG_IsOK(ecode2
)) {
34073 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
34075 arg2
= static_cast< unsigned int >(val2
);
34077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34078 (arg1
)->SetSpacing(arg2
);
34079 wxPyEndAllowThreads(__tstate
);
34080 if (PyErr_Occurred()) SWIG_fail
;
34082 resultobj
= SWIG_Py_Void();
34089 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34090 PyObject
*resultobj
= 0;
34091 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34092 wxImageList
*result
= 0 ;
34095 PyObject
*swig_obj
[1] ;
34097 if (!args
) SWIG_fail
;
34098 swig_obj
[0] = args
;
34099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34100 if (!SWIG_IsOK(res1
)) {
34101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34103 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34106 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
34107 wxPyEndAllowThreads(__tstate
);
34108 if (PyErr_Occurred()) SWIG_fail
;
34111 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34119 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34120 PyObject
*resultobj
= 0;
34121 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34122 wxImageList
*result
= 0 ;
34125 PyObject
*swig_obj
[1] ;
34127 if (!args
) SWIG_fail
;
34128 swig_obj
[0] = args
;
34129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34130 if (!SWIG_IsOK(res1
)) {
34131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34133 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34136 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
34137 wxPyEndAllowThreads(__tstate
);
34138 if (PyErr_Occurred()) SWIG_fail
;
34141 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34149 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34150 PyObject
*resultobj
= 0;
34151 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34152 wxImageList
*arg2
= (wxImageList
*) 0 ;
34157 PyObject
* obj0
= 0 ;
34158 PyObject
* obj1
= 0 ;
34159 char * kwnames
[] = {
34160 (char *) "self",(char *) "imageList", NULL
34163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34165 if (!SWIG_IsOK(res1
)) {
34166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34168 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34169 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34170 if (!SWIG_IsOK(res2
)) {
34171 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34173 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34176 (arg1
)->SetImageList(arg2
);
34177 wxPyEndAllowThreads(__tstate
);
34178 if (PyErr_Occurred()) SWIG_fail
;
34180 resultobj
= SWIG_Py_Void();
34187 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34188 PyObject
*resultobj
= 0;
34189 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34190 wxImageList
*arg2
= (wxImageList
*) 0 ;
34195 PyObject
* obj0
= 0 ;
34196 PyObject
* obj1
= 0 ;
34197 char * kwnames
[] = {
34198 (char *) "self",(char *) "imageList", NULL
34201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34203 if (!SWIG_IsOK(res1
)) {
34204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34206 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34207 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34208 if (!SWIG_IsOK(res2
)) {
34209 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34211 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34214 (arg1
)->SetStateImageList(arg2
);
34215 wxPyEndAllowThreads(__tstate
);
34216 if (PyErr_Occurred()) SWIG_fail
;
34218 resultobj
= SWIG_Py_Void();
34225 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34226 PyObject
*resultobj
= 0;
34227 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34228 wxImageList
*arg2
= (wxImageList
*) 0 ;
34232 PyObject
* obj0
= 0 ;
34233 PyObject
* obj1
= 0 ;
34234 char * kwnames
[] = {
34235 (char *) "self",(char *) "imageList", NULL
34238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34240 if (!SWIG_IsOK(res1
)) {
34241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34243 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34244 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34245 if (!SWIG_IsOK(res2
)) {
34246 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34250 (arg1
)->AssignImageList(arg2
);
34251 wxPyEndAllowThreads(__tstate
);
34252 if (PyErr_Occurred()) SWIG_fail
;
34254 resultobj
= SWIG_Py_Void();
34261 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34262 PyObject
*resultobj
= 0;
34263 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34264 wxImageList
*arg2
= (wxImageList
*) 0 ;
34268 PyObject
* obj0
= 0 ;
34269 PyObject
* obj1
= 0 ;
34270 char * kwnames
[] = {
34271 (char *) "self",(char *) "imageList", NULL
34274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34276 if (!SWIG_IsOK(res1
)) {
34277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34279 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34280 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34281 if (!SWIG_IsOK(res2
)) {
34282 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34286 (arg1
)->AssignStateImageList(arg2
);
34287 wxPyEndAllowThreads(__tstate
);
34288 if (PyErr_Occurred()) SWIG_fail
;
34290 resultobj
= SWIG_Py_Void();
34297 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34298 PyObject
*resultobj
= 0;
34299 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34300 wxTreeItemId
*arg2
= 0 ;
34306 PyObject
* obj0
= 0 ;
34307 PyObject
* obj1
= 0 ;
34308 char * kwnames
[] = {
34309 (char *) "self",(char *) "item", NULL
34312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34313 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34314 if (!SWIG_IsOK(res1
)) {
34315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34317 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34318 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34319 if (!SWIG_IsOK(res2
)) {
34320 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34323 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34325 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34328 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
34329 wxPyEndAllowThreads(__tstate
);
34330 if (PyErr_Occurred()) SWIG_fail
;
34334 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34336 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34345 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34346 PyObject
*resultobj
= 0;
34347 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34348 wxTreeItemId
*arg2
= 0 ;
34349 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34357 PyObject
* obj0
= 0 ;
34358 PyObject
* obj1
= 0 ;
34359 PyObject
* obj2
= 0 ;
34360 char * kwnames
[] = {
34361 (char *) "self",(char *) "item",(char *) "which", NULL
34364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34366 if (!SWIG_IsOK(res1
)) {
34367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34369 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34370 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34371 if (!SWIG_IsOK(res2
)) {
34372 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34375 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34377 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34379 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34380 if (!SWIG_IsOK(ecode3
)) {
34381 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
34383 arg3
= static_cast< wxTreeItemIcon
>(val3
);
34386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34387 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,arg3
);
34388 wxPyEndAllowThreads(__tstate
);
34389 if (PyErr_Occurred()) SWIG_fail
;
34391 resultobj
= SWIG_From_int(static_cast< int >(result
));
34398 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34399 PyObject
*resultobj
= 0;
34400 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34401 wxTreeItemId
*arg2
= 0 ;
34402 wxPyTreeItemData
*result
= 0 ;
34407 PyObject
* obj0
= 0 ;
34408 PyObject
* obj1
= 0 ;
34409 char * kwnames
[] = {
34410 (char *) "self",(char *) "item", NULL
34413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34415 if (!SWIG_IsOK(res1
)) {
34416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34418 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34419 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34420 if (!SWIG_IsOK(res2
)) {
34421 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34424 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34426 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34429 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
34430 wxPyEndAllowThreads(__tstate
);
34431 if (PyErr_Occurred()) SWIG_fail
;
34433 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
34440 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34441 PyObject
*resultobj
= 0;
34442 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34443 wxTreeItemId
*arg2
= 0 ;
34444 PyObject
*result
= 0 ;
34449 PyObject
* obj0
= 0 ;
34450 PyObject
* obj1
= 0 ;
34451 char * kwnames
[] = {
34452 (char *) "self",(char *) "item", NULL
34455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34457 if (!SWIG_IsOK(res1
)) {
34458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34460 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34461 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34462 if (!SWIG_IsOK(res2
)) {
34463 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34466 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34468 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34471 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
34472 wxPyEndAllowThreads(__tstate
);
34473 if (PyErr_Occurred()) SWIG_fail
;
34475 resultobj
= result
;
34482 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34483 PyObject
*resultobj
= 0;
34484 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34485 wxTreeItemId
*arg2
= 0 ;
34491 PyObject
* obj0
= 0 ;
34492 PyObject
* obj1
= 0 ;
34493 char * kwnames
[] = {
34494 (char *) "self",(char *) "item", NULL
34497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34499 if (!SWIG_IsOK(res1
)) {
34500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34502 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34503 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34504 if (!SWIG_IsOK(res2
)) {
34505 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34508 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34510 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34513 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
34514 wxPyEndAllowThreads(__tstate
);
34515 if (PyErr_Occurred()) SWIG_fail
;
34517 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34524 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34525 PyObject
*resultobj
= 0;
34526 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34527 wxTreeItemId
*arg2
= 0 ;
34533 PyObject
* obj0
= 0 ;
34534 PyObject
* obj1
= 0 ;
34535 char * kwnames
[] = {
34536 (char *) "self",(char *) "item", NULL
34539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34541 if (!SWIG_IsOK(res1
)) {
34542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34544 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34545 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34546 if (!SWIG_IsOK(res2
)) {
34547 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34550 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34552 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34555 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
34556 wxPyEndAllowThreads(__tstate
);
34557 if (PyErr_Occurred()) SWIG_fail
;
34559 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34566 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34567 PyObject
*resultobj
= 0;
34568 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34569 wxTreeItemId
*arg2
= 0 ;
34575 PyObject
* obj0
= 0 ;
34576 PyObject
* obj1
= 0 ;
34577 char * kwnames
[] = {
34578 (char *) "self",(char *) "item", NULL
34581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34583 if (!SWIG_IsOK(res1
)) {
34584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34586 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34587 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34588 if (!SWIG_IsOK(res2
)) {
34589 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34592 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34594 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34597 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
34598 wxPyEndAllowThreads(__tstate
);
34599 if (PyErr_Occurred()) SWIG_fail
;
34601 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
34608 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34609 PyObject
*resultobj
= 0;
34610 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34611 wxTreeItemId
*arg2
= 0 ;
34612 wxString
*arg3
= 0 ;
34617 bool temp3
= false ;
34618 PyObject
* obj0
= 0 ;
34619 PyObject
* obj1
= 0 ;
34620 PyObject
* obj2
= 0 ;
34621 char * kwnames
[] = {
34622 (char *) "self",(char *) "item",(char *) "text", NULL
34625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34627 if (!SWIG_IsOK(res1
)) {
34628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34630 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34631 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34632 if (!SWIG_IsOK(res2
)) {
34633 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34636 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34638 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34640 arg3
= wxString_in_helper(obj2
);
34641 if (arg3
== NULL
) SWIG_fail
;
34645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34646 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
34647 wxPyEndAllowThreads(__tstate
);
34648 if (PyErr_Occurred()) SWIG_fail
;
34650 resultobj
= SWIG_Py_Void();
34665 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34666 PyObject
*resultobj
= 0;
34667 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34668 wxTreeItemId
*arg2
= 0 ;
34670 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34679 PyObject
* obj0
= 0 ;
34680 PyObject
* obj1
= 0 ;
34681 PyObject
* obj2
= 0 ;
34682 PyObject
* obj3
= 0 ;
34683 char * kwnames
[] = {
34684 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
34687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
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_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34698 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34700 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34701 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34702 if (!SWIG_IsOK(ecode3
)) {
34703 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
34705 arg3
= static_cast< int >(val3
);
34707 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34708 if (!SWIG_IsOK(ecode4
)) {
34709 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
34711 arg4
= static_cast< wxTreeItemIcon
>(val4
);
34714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34715 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,arg4
);
34716 wxPyEndAllowThreads(__tstate
);
34717 if (PyErr_Occurred()) SWIG_fail
;
34719 resultobj
= SWIG_Py_Void();
34726 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34727 PyObject
*resultobj
= 0;
34728 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34729 wxTreeItemId
*arg2
= 0 ;
34730 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
34736 PyObject
* obj0
= 0 ;
34737 PyObject
* obj1
= 0 ;
34738 PyObject
* obj2
= 0 ;
34739 char * kwnames
[] = {
34740 (char *) "self",(char *) "item",(char *) "data", NULL
34743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34744 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34745 if (!SWIG_IsOK(res1
)) {
34746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34748 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34749 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34750 if (!SWIG_IsOK(res2
)) {
34751 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34754 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34756 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34757 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
34758 if (!SWIG_IsOK(res3
)) {
34759 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
34762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34763 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34764 wxPyEndAllowThreads(__tstate
);
34765 if (PyErr_Occurred()) SWIG_fail
;
34767 resultobj
= SWIG_Py_Void();
34774 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34775 PyObject
*resultobj
= 0;
34776 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34777 wxTreeItemId
*arg2
= 0 ;
34778 PyObject
*arg3
= (PyObject
*) 0 ;
34783 PyObject
* obj0
= 0 ;
34784 PyObject
* obj1
= 0 ;
34785 PyObject
* obj2
= 0 ;
34786 char * kwnames
[] = {
34787 (char *) "self",(char *) "item",(char *) "obj", NULL
34790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34792 if (!SWIG_IsOK(res1
)) {
34793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34795 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34796 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34797 if (!SWIG_IsOK(res2
)) {
34798 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34801 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34803 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34807 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34808 wxPyEndAllowThreads(__tstate
);
34809 if (PyErr_Occurred()) SWIG_fail
;
34811 resultobj
= SWIG_Py_Void();
34818 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34819 PyObject
*resultobj
= 0;
34820 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34821 wxTreeItemId
*arg2
= 0 ;
34822 bool arg3
= (bool) true ;
34829 PyObject
* obj0
= 0 ;
34830 PyObject
* obj1
= 0 ;
34831 PyObject
* obj2
= 0 ;
34832 char * kwnames
[] = {
34833 (char *) "self",(char *) "item",(char *) "has", NULL
34836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34838 if (!SWIG_IsOK(res1
)) {
34839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34841 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34842 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34843 if (!SWIG_IsOK(res2
)) {
34844 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34847 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34849 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34851 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34852 if (!SWIG_IsOK(ecode3
)) {
34853 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
34855 arg3
= static_cast< bool >(val3
);
34858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34859 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
34860 wxPyEndAllowThreads(__tstate
);
34861 if (PyErr_Occurred()) SWIG_fail
;
34863 resultobj
= SWIG_Py_Void();
34870 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34871 PyObject
*resultobj
= 0;
34872 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34873 wxTreeItemId
*arg2
= 0 ;
34874 bool arg3
= (bool) true ;
34881 PyObject
* obj0
= 0 ;
34882 PyObject
* obj1
= 0 ;
34883 PyObject
* obj2
= 0 ;
34884 char * kwnames
[] = {
34885 (char *) "self",(char *) "item",(char *) "bold", NULL
34888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34890 if (!SWIG_IsOK(res1
)) {
34891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34893 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34894 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34895 if (!SWIG_IsOK(res2
)) {
34896 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34899 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34901 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34903 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34904 if (!SWIG_IsOK(ecode3
)) {
34905 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
34907 arg3
= static_cast< bool >(val3
);
34910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34911 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
34912 wxPyEndAllowThreads(__tstate
);
34913 if (PyErr_Occurred()) SWIG_fail
;
34915 resultobj
= SWIG_Py_Void();
34922 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34923 PyObject
*resultobj
= 0;
34924 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34925 wxTreeItemId
*arg2
= 0 ;
34926 bool arg3
= (bool) true ;
34933 PyObject
* obj0
= 0 ;
34934 PyObject
* obj1
= 0 ;
34935 PyObject
* obj2
= 0 ;
34936 char * kwnames
[] = {
34937 (char *) "self",(char *) "item",(char *) "highlight", NULL
34940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34942 if (!SWIG_IsOK(res1
)) {
34943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34945 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34946 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34947 if (!SWIG_IsOK(res2
)) {
34948 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34951 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34953 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34955 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34956 if (!SWIG_IsOK(ecode3
)) {
34957 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
34959 arg3
= static_cast< bool >(val3
);
34962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34963 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
34964 wxPyEndAllowThreads(__tstate
);
34965 if (PyErr_Occurred()) SWIG_fail
;
34967 resultobj
= SWIG_Py_Void();
34974 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34975 PyObject
*resultobj
= 0;
34976 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34977 wxTreeItemId
*arg2
= 0 ;
34978 wxColour
*arg3
= 0 ;
34984 PyObject
* obj0
= 0 ;
34985 PyObject
* obj1
= 0 ;
34986 PyObject
* obj2
= 0 ;
34987 char * kwnames
[] = {
34988 (char *) "self",(char *) "item",(char *) "col", NULL
34991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34993 if (!SWIG_IsOK(res1
)) {
34994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34996 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34997 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34998 if (!SWIG_IsOK(res2
)) {
34999 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35002 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35004 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35007 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35011 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
35012 wxPyEndAllowThreads(__tstate
);
35013 if (PyErr_Occurred()) SWIG_fail
;
35015 resultobj
= SWIG_Py_Void();
35022 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35023 PyObject
*resultobj
= 0;
35024 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35025 wxTreeItemId
*arg2
= 0 ;
35026 wxColour
*arg3
= 0 ;
35032 PyObject
* obj0
= 0 ;
35033 PyObject
* obj1
= 0 ;
35034 PyObject
* obj2
= 0 ;
35035 char * kwnames
[] = {
35036 (char *) "self",(char *) "item",(char *) "col", NULL
35039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35041 if (!SWIG_IsOK(res1
)) {
35042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35044 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35045 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35046 if (!SWIG_IsOK(res2
)) {
35047 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35050 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35052 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35055 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35059 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
35060 wxPyEndAllowThreads(__tstate
);
35061 if (PyErr_Occurred()) SWIG_fail
;
35063 resultobj
= SWIG_Py_Void();
35070 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35071 PyObject
*resultobj
= 0;
35072 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35073 wxTreeItemId
*arg2
= 0 ;
35081 PyObject
* obj0
= 0 ;
35082 PyObject
* obj1
= 0 ;
35083 PyObject
* obj2
= 0 ;
35084 char * kwnames
[] = {
35085 (char *) "self",(char *) "item",(char *) "font", NULL
35088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35090 if (!SWIG_IsOK(res1
)) {
35091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35093 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35094 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35095 if (!SWIG_IsOK(res2
)) {
35096 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35099 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35101 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35102 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
35103 if (!SWIG_IsOK(res3
)) {
35104 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35107 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35109 arg3
= reinterpret_cast< wxFont
* >(argp3
);
35111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35112 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
35113 wxPyEndAllowThreads(__tstate
);
35114 if (PyErr_Occurred()) SWIG_fail
;
35116 resultobj
= SWIG_Py_Void();
35123 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35124 PyObject
*resultobj
= 0;
35125 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35126 wxTreeItemId
*arg2
= 0 ;
35132 PyObject
* obj0
= 0 ;
35133 PyObject
* obj1
= 0 ;
35134 char * kwnames
[] = {
35135 (char *) "self",(char *) "item", NULL
35138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35140 if (!SWIG_IsOK(res1
)) {
35141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35143 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35144 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35145 if (!SWIG_IsOK(res2
)) {
35146 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35149 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35151 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35154 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
35155 wxPyEndAllowThreads(__tstate
);
35156 if (PyErr_Occurred()) SWIG_fail
;
35159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35167 SWIGINTERN PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35168 PyObject
*resultobj
= 0;
35169 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35170 wxTreeItemId
*arg2
= 0 ;
35176 PyObject
* obj0
= 0 ;
35177 PyObject
* obj1
= 0 ;
35178 char * kwnames
[] = {
35179 (char *) "self",(char *) "item", NULL
35182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35184 if (!SWIG_IsOK(res1
)) {
35185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35187 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35188 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35189 if (!SWIG_IsOK(res2
)) {
35190 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35193 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35195 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35198 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
35199 wxPyEndAllowThreads(__tstate
);
35200 if (PyErr_Occurred()) SWIG_fail
;
35203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35211 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35212 PyObject
*resultobj
= 0;
35213 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35214 wxTreeItemId
*arg2
= 0 ;
35220 PyObject
* obj0
= 0 ;
35221 PyObject
* obj1
= 0 ;
35222 char * kwnames
[] = {
35223 (char *) "self",(char *) "item", NULL
35226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35228 if (!SWIG_IsOK(res1
)) {
35229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35231 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35232 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35233 if (!SWIG_IsOK(res2
)) {
35234 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35237 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35239 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35242 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
35243 wxPyEndAllowThreads(__tstate
);
35244 if (PyErr_Occurred()) SWIG_fail
;
35247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35255 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35256 PyObject
*resultobj
= 0;
35257 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35258 wxTreeItemId
*arg2
= 0 ;
35264 PyObject
* obj0
= 0 ;
35265 PyObject
* obj1
= 0 ;
35266 char * kwnames
[] = {
35267 (char *) "self",(char *) "item", NULL
35270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35272 if (!SWIG_IsOK(res1
)) {
35273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35275 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35276 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35277 if (!SWIG_IsOK(res2
)) {
35278 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35281 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35283 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35286 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
35287 wxPyEndAllowThreads(__tstate
);
35288 if (PyErr_Occurred()) SWIG_fail
;
35291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35299 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35300 PyObject
*resultobj
= 0;
35301 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35302 wxTreeItemId
*arg2
= 0 ;
35308 PyObject
* obj0
= 0 ;
35309 PyObject
* obj1
= 0 ;
35310 char * kwnames
[] = {
35311 (char *) "self",(char *) "item", NULL
35314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35316 if (!SWIG_IsOK(res1
)) {
35317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35319 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35320 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35321 if (!SWIG_IsOK(res2
)) {
35322 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35325 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35327 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35330 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
35331 wxPyEndAllowThreads(__tstate
);
35332 if (PyErr_Occurred()) SWIG_fail
;
35335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35343 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35344 PyObject
*resultobj
= 0;
35345 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35346 wxTreeItemId
*arg2
= 0 ;
35347 bool arg3
= (bool) true ;
35355 PyObject
* obj0
= 0 ;
35356 PyObject
* obj1
= 0 ;
35357 PyObject
* obj2
= 0 ;
35358 char * kwnames
[] = {
35359 (char *) "self",(char *) "item",(char *) "recursively", NULL
35362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35364 if (!SWIG_IsOK(res1
)) {
35365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35367 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35368 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35369 if (!SWIG_IsOK(res2
)) {
35370 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35373 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35375 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35377 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35378 if (!SWIG_IsOK(ecode3
)) {
35379 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
35381 arg3
= static_cast< bool >(val3
);
35384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35385 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
35386 wxPyEndAllowThreads(__tstate
);
35387 if (PyErr_Occurred()) SWIG_fail
;
35389 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
35396 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35397 PyObject
*resultobj
= 0;
35398 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35399 wxTreeItemId result
;
35402 PyObject
*swig_obj
[1] ;
35404 if (!args
) SWIG_fail
;
35405 swig_obj
[0] = args
;
35406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35407 if (!SWIG_IsOK(res1
)) {
35408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35410 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35413 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
35414 wxPyEndAllowThreads(__tstate
);
35415 if (PyErr_Occurred()) SWIG_fail
;
35417 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35424 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35425 PyObject
*resultobj
= 0;
35426 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35427 wxTreeItemId result
;
35430 PyObject
*swig_obj
[1] ;
35432 if (!args
) SWIG_fail
;
35433 swig_obj
[0] = args
;
35434 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35435 if (!SWIG_IsOK(res1
)) {
35436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35438 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35441 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
35442 wxPyEndAllowThreads(__tstate
);
35443 if (PyErr_Occurred()) SWIG_fail
;
35445 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35452 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35453 PyObject
*resultobj
= 0;
35454 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35455 PyObject
*result
= 0 ;
35458 PyObject
*swig_obj
[1] ;
35460 if (!args
) SWIG_fail
;
35461 swig_obj
[0] = args
;
35462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35463 if (!SWIG_IsOK(res1
)) {
35464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35466 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35469 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
35470 wxPyEndAllowThreads(__tstate
);
35471 if (PyErr_Occurred()) SWIG_fail
;
35473 resultobj
= result
;
35480 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35481 PyObject
*resultobj
= 0;
35482 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35483 wxTreeItemId
*arg2
= 0 ;
35484 wxTreeItemId result
;
35489 PyObject
* obj0
= 0 ;
35490 PyObject
* obj1
= 0 ;
35491 char * kwnames
[] = {
35492 (char *) "self",(char *) "item", NULL
35495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35497 if (!SWIG_IsOK(res1
)) {
35498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35500 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35501 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35502 if (!SWIG_IsOK(res2
)) {
35503 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35506 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35508 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35511 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
35512 wxPyEndAllowThreads(__tstate
);
35513 if (PyErr_Occurred()) SWIG_fail
;
35515 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35522 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35523 PyObject
*resultobj
= 0;
35524 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35525 wxTreeItemId
*arg2
= 0 ;
35526 PyObject
*result
= 0 ;
35531 PyObject
* obj0
= 0 ;
35532 PyObject
* obj1
= 0 ;
35533 char * kwnames
[] = {
35534 (char *) "self",(char *) "item", NULL
35537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35539 if (!SWIG_IsOK(res1
)) {
35540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35542 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35543 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35544 if (!SWIG_IsOK(res2
)) {
35545 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35548 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35550 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35553 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
35554 wxPyEndAllowThreads(__tstate
);
35555 if (PyErr_Occurred()) SWIG_fail
;
35557 resultobj
= result
;
35564 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35565 PyObject
*resultobj
= 0;
35566 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35567 wxTreeItemId
*arg2
= 0 ;
35568 void *arg3
= (void *) 0 ;
35569 PyObject
*result
= 0 ;
35575 PyObject
* obj0
= 0 ;
35576 PyObject
* obj1
= 0 ;
35577 PyObject
* obj2
= 0 ;
35578 char * kwnames
[] = {
35579 (char *) "self",(char *) "item",(char *) "cookie", NULL
35582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35584 if (!SWIG_IsOK(res1
)) {
35585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35587 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35588 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35589 if (!SWIG_IsOK(res2
)) {
35590 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35593 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35595 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35596 res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
), 0, 0);
35597 if (!SWIG_IsOK(res3
)) {
35598 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
35601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35602 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35603 wxPyEndAllowThreads(__tstate
);
35604 if (PyErr_Occurred()) SWIG_fail
;
35606 resultobj
= result
;
35613 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35614 PyObject
*resultobj
= 0;
35615 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35616 wxTreeItemId
*arg2
= 0 ;
35617 wxTreeItemId result
;
35622 PyObject
* obj0
= 0 ;
35623 PyObject
* obj1
= 0 ;
35624 char * kwnames
[] = {
35625 (char *) "self",(char *) "item", NULL
35628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35630 if (!SWIG_IsOK(res1
)) {
35631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35633 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35634 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35635 if (!SWIG_IsOK(res2
)) {
35636 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35639 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35641 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35644 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
35645 wxPyEndAllowThreads(__tstate
);
35646 if (PyErr_Occurred()) SWIG_fail
;
35648 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35655 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35656 PyObject
*resultobj
= 0;
35657 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35658 wxTreeItemId
*arg2
= 0 ;
35659 wxTreeItemId result
;
35664 PyObject
* obj0
= 0 ;
35665 PyObject
* obj1
= 0 ;
35666 char * kwnames
[] = {
35667 (char *) "self",(char *) "item", NULL
35670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35672 if (!SWIG_IsOK(res1
)) {
35673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35675 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35676 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35677 if (!SWIG_IsOK(res2
)) {
35678 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35681 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35683 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35686 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
35687 wxPyEndAllowThreads(__tstate
);
35688 if (PyErr_Occurred()) SWIG_fail
;
35690 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35697 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35698 PyObject
*resultobj
= 0;
35699 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35700 wxTreeItemId
*arg2
= 0 ;
35701 wxTreeItemId result
;
35706 PyObject
* obj0
= 0 ;
35707 PyObject
* obj1
= 0 ;
35708 char * kwnames
[] = {
35709 (char *) "self",(char *) "item", NULL
35712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35714 if (!SWIG_IsOK(res1
)) {
35715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35717 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35718 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35719 if (!SWIG_IsOK(res2
)) {
35720 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35723 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35725 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35728 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
35729 wxPyEndAllowThreads(__tstate
);
35730 if (PyErr_Occurred()) SWIG_fail
;
35732 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35739 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35740 PyObject
*resultobj
= 0;
35741 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35742 wxTreeItemId result
;
35745 PyObject
*swig_obj
[1] ;
35747 if (!args
) SWIG_fail
;
35748 swig_obj
[0] = args
;
35749 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35750 if (!SWIG_IsOK(res1
)) {
35751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35753 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35756 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
35757 wxPyEndAllowThreads(__tstate
);
35758 if (PyErr_Occurred()) SWIG_fail
;
35760 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35767 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35768 PyObject
*resultobj
= 0;
35769 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35770 wxTreeItemId
*arg2
= 0 ;
35771 wxTreeItemId result
;
35776 PyObject
* obj0
= 0 ;
35777 PyObject
* obj1
= 0 ;
35778 char * kwnames
[] = {
35779 (char *) "self",(char *) "item", NULL
35782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35784 if (!SWIG_IsOK(res1
)) {
35785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35787 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35788 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35789 if (!SWIG_IsOK(res2
)) {
35790 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35793 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35795 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35798 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
35799 wxPyEndAllowThreads(__tstate
);
35800 if (PyErr_Occurred()) SWIG_fail
;
35802 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35809 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35810 PyObject
*resultobj
= 0;
35811 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35812 wxTreeItemId
*arg2
= 0 ;
35813 wxTreeItemId result
;
35818 PyObject
* obj0
= 0 ;
35819 PyObject
* obj1
= 0 ;
35820 char * kwnames
[] = {
35821 (char *) "self",(char *) "item", NULL
35824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35826 if (!SWIG_IsOK(res1
)) {
35827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35829 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35830 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35831 if (!SWIG_IsOK(res2
)) {
35832 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35835 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35837 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35840 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
35841 wxPyEndAllowThreads(__tstate
);
35842 if (PyErr_Occurred()) SWIG_fail
;
35844 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35851 SWIGINTERN PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35852 PyObject
*resultobj
= 0;
35853 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35854 wxString
*arg2
= 0 ;
35855 int arg3
= (int) -1 ;
35856 int arg4
= (int) -1 ;
35857 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
35858 wxTreeItemId result
;
35861 bool temp2
= false ;
35867 PyObject
* obj0
= 0 ;
35868 PyObject
* obj1
= 0 ;
35869 PyObject
* obj2
= 0 ;
35870 PyObject
* obj3
= 0 ;
35871 PyObject
* obj4
= 0 ;
35872 char * kwnames
[] = {
35873 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35878 if (!SWIG_IsOK(res1
)) {
35879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35881 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35883 arg2
= wxString_in_helper(obj1
);
35884 if (arg2
== NULL
) SWIG_fail
;
35888 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35889 if (!SWIG_IsOK(ecode3
)) {
35890 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
35892 arg3
= static_cast< int >(val3
);
35895 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35896 if (!SWIG_IsOK(ecode4
)) {
35897 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
35899 arg4
= static_cast< int >(val4
);
35902 res5
= SWIG_ConvertPtr(obj4
, SWIG_as_voidptrptr(&arg5
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35903 if (!SWIG_IsOK(res5
)) {
35904 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
35908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35909 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
35910 wxPyEndAllowThreads(__tstate
);
35911 if (PyErr_Occurred()) SWIG_fail
;
35913 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35928 SWIGINTERN PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35929 PyObject
*resultobj
= 0;
35930 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35931 wxTreeItemId
*arg2
= 0 ;
35932 wxString
*arg3
= 0 ;
35933 int arg4
= (int) -1 ;
35934 int arg5
= (int) -1 ;
35935 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
35936 wxTreeItemId result
;
35941 bool temp3
= false ;
35947 PyObject
* obj0
= 0 ;
35948 PyObject
* obj1
= 0 ;
35949 PyObject
* obj2
= 0 ;
35950 PyObject
* obj3
= 0 ;
35951 PyObject
* obj4
= 0 ;
35952 PyObject
* obj5
= 0 ;
35953 char * kwnames
[] = {
35954 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
35958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35959 if (!SWIG_IsOK(res1
)) {
35960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35962 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35963 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35964 if (!SWIG_IsOK(res2
)) {
35965 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35968 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35970 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35972 arg3
= wxString_in_helper(obj2
);
35973 if (arg3
== NULL
) SWIG_fail
;
35977 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35978 if (!SWIG_IsOK(ecode4
)) {
35979 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
35981 arg4
= static_cast< int >(val4
);
35984 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35985 if (!SWIG_IsOK(ecode5
)) {
35986 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
35988 arg5
= static_cast< int >(val5
);
35991 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35992 if (!SWIG_IsOK(res6
)) {
35993 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
35997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35998 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
35999 wxPyEndAllowThreads(__tstate
);
36000 if (PyErr_Occurred()) SWIG_fail
;
36002 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36017 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36018 PyObject
*resultobj
= 0;
36019 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36020 wxTreeItemId
*arg2
= 0 ;
36021 wxTreeItemId
*arg3
= 0 ;
36022 wxString
*arg4
= 0 ;
36023 int arg5
= (int) -1 ;
36024 int arg6
= (int) -1 ;
36025 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
36026 wxTreeItemId result
;
36033 bool temp4
= false ;
36039 PyObject
* obj0
= 0 ;
36040 PyObject
* obj1
= 0 ;
36041 PyObject
* obj2
= 0 ;
36042 PyObject
* obj3
= 0 ;
36043 PyObject
* obj4
= 0 ;
36044 PyObject
* obj5
= 0 ;
36045 PyObject
* obj6
= 0 ;
36046 char * kwnames
[] = {
36047 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36052 if (!SWIG_IsOK(res1
)) {
36053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36055 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36056 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36057 if (!SWIG_IsOK(res2
)) {
36058 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36061 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36063 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36064 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36065 if (!SWIG_IsOK(res3
)) {
36066 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36069 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36071 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
36073 arg4
= wxString_in_helper(obj3
);
36074 if (arg4
== NULL
) SWIG_fail
;
36078 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36079 if (!SWIG_IsOK(ecode5
)) {
36080 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
36082 arg5
= static_cast< int >(val5
);
36085 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36086 if (!SWIG_IsOK(ecode6
)) {
36087 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
36089 arg6
= static_cast< int >(val6
);
36092 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36093 if (!SWIG_IsOK(res7
)) {
36094 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36099 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36100 wxPyEndAllowThreads(__tstate
);
36101 if (PyErr_Occurred()) SWIG_fail
;
36103 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36118 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36119 PyObject
*resultobj
= 0;
36120 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36121 wxTreeItemId
*arg2
= 0 ;
36123 wxString
*arg4
= 0 ;
36124 int arg5
= (int) -1 ;
36125 int arg6
= (int) -1 ;
36126 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
36127 wxTreeItemId result
;
36134 bool temp4
= false ;
36140 PyObject
* obj0
= 0 ;
36141 PyObject
* obj1
= 0 ;
36142 PyObject
* obj2
= 0 ;
36143 PyObject
* obj3
= 0 ;
36144 PyObject
* obj4
= 0 ;
36145 PyObject
* obj5
= 0 ;
36146 PyObject
* obj6
= 0 ;
36147 char * kwnames
[] = {
36148 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36153 if (!SWIG_IsOK(res1
)) {
36154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36156 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36157 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36158 if (!SWIG_IsOK(res2
)) {
36159 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36162 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36164 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36165 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
36166 if (!SWIG_IsOK(ecode3
)) {
36167 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
36169 arg3
= static_cast< size_t >(val3
);
36171 arg4
= wxString_in_helper(obj3
);
36172 if (arg4
== NULL
) SWIG_fail
;
36176 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36177 if (!SWIG_IsOK(ecode5
)) {
36178 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
36180 arg5
= static_cast< int >(val5
);
36183 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36184 if (!SWIG_IsOK(ecode6
)) {
36185 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
36187 arg6
= static_cast< int >(val6
);
36190 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36191 if (!SWIG_IsOK(res7
)) {
36192 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36197 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36198 wxPyEndAllowThreads(__tstate
);
36199 if (PyErr_Occurred()) SWIG_fail
;
36201 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36216 SWIGINTERN PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36217 PyObject
*resultobj
= 0;
36218 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36219 wxTreeItemId
*arg2
= 0 ;
36220 wxString
*arg3
= 0 ;
36221 int arg4
= (int) -1 ;
36222 int arg5
= (int) -1 ;
36223 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
36224 wxTreeItemId result
;
36229 bool temp3
= false ;
36235 PyObject
* obj0
= 0 ;
36236 PyObject
* obj1
= 0 ;
36237 PyObject
* obj2
= 0 ;
36238 PyObject
* obj3
= 0 ;
36239 PyObject
* obj4
= 0 ;
36240 PyObject
* obj5
= 0 ;
36241 char * kwnames
[] = {
36242 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36247 if (!SWIG_IsOK(res1
)) {
36248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36250 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36251 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36252 if (!SWIG_IsOK(res2
)) {
36253 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36256 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36258 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36260 arg3
= wxString_in_helper(obj2
);
36261 if (arg3
== NULL
) SWIG_fail
;
36265 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36266 if (!SWIG_IsOK(ecode4
)) {
36267 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
36269 arg4
= static_cast< int >(val4
);
36272 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36273 if (!SWIG_IsOK(ecode5
)) {
36274 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
36276 arg5
= static_cast< int >(val5
);
36279 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36280 if (!SWIG_IsOK(res6
)) {
36281 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36286 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
36287 wxPyEndAllowThreads(__tstate
);
36288 if (PyErr_Occurred()) SWIG_fail
;
36290 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36305 SWIGINTERN PyObject
*_wrap_TreeCtrl_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36306 PyObject
*resultobj
= 0;
36307 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36308 wxTreeItemId
*arg2
= 0 ;
36313 PyObject
* obj0
= 0 ;
36314 PyObject
* obj1
= 0 ;
36315 char * kwnames
[] = {
36316 (char *) "self",(char *) "item", NULL
36319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36321 if (!SWIG_IsOK(res1
)) {
36322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36324 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36325 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36326 if (!SWIG_IsOK(res2
)) {
36327 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36330 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36332 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36335 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
36336 wxPyEndAllowThreads(__tstate
);
36337 if (PyErr_Occurred()) SWIG_fail
;
36339 resultobj
= SWIG_Py_Void();
36346 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36347 PyObject
*resultobj
= 0;
36348 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36349 wxTreeItemId
*arg2
= 0 ;
36354 PyObject
* obj0
= 0 ;
36355 PyObject
* obj1
= 0 ;
36356 char * kwnames
[] = {
36357 (char *) "self",(char *) "item", NULL
36360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36362 if (!SWIG_IsOK(res1
)) {
36363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36365 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36366 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36367 if (!SWIG_IsOK(res2
)) {
36368 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36371 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36373 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36376 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
36377 wxPyEndAllowThreads(__tstate
);
36378 if (PyErr_Occurred()) SWIG_fail
;
36380 resultobj
= SWIG_Py_Void();
36387 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36388 PyObject
*resultobj
= 0;
36389 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36392 PyObject
*swig_obj
[1] ;
36394 if (!args
) SWIG_fail
;
36395 swig_obj
[0] = args
;
36396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36397 if (!SWIG_IsOK(res1
)) {
36398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36400 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36403 (arg1
)->DeleteAllItems();
36404 wxPyEndAllowThreads(__tstate
);
36405 if (PyErr_Occurred()) SWIG_fail
;
36407 resultobj
= SWIG_Py_Void();
36414 SWIGINTERN PyObject
*_wrap_TreeCtrl_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36415 PyObject
*resultobj
= 0;
36416 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36417 wxTreeItemId
*arg2
= 0 ;
36422 PyObject
* obj0
= 0 ;
36423 PyObject
* obj1
= 0 ;
36424 char * kwnames
[] = {
36425 (char *) "self",(char *) "item", NULL
36428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36430 if (!SWIG_IsOK(res1
)) {
36431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36433 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36434 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36435 if (!SWIG_IsOK(res2
)) {
36436 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36439 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36441 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36444 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
36445 wxPyEndAllowThreads(__tstate
);
36446 if (PyErr_Occurred()) SWIG_fail
;
36448 resultobj
= SWIG_Py_Void();
36455 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAllChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36456 PyObject
*resultobj
= 0;
36457 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36458 wxTreeItemId
*arg2
= 0 ;
36463 PyObject
* obj0
= 0 ;
36464 PyObject
* obj1
= 0 ;
36465 char * kwnames
[] = {
36466 (char *) "self",(char *) "item", NULL
36469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ExpandAllChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36471 if (!SWIG_IsOK(res1
)) {
36472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36474 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36475 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36476 if (!SWIG_IsOK(res2
)) {
36477 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36480 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36482 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36485 (arg1
)->ExpandAllChildren((wxTreeItemId
const &)*arg2
);
36486 wxPyEndAllowThreads(__tstate
);
36487 if (PyErr_Occurred()) SWIG_fail
;
36489 resultobj
= SWIG_Py_Void();
36496 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36497 PyObject
*resultobj
= 0;
36498 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36501 PyObject
*swig_obj
[1] ;
36503 if (!args
) SWIG_fail
;
36504 swig_obj
[0] = args
;
36505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36506 if (!SWIG_IsOK(res1
)) {
36507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36509 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36512 (arg1
)->ExpandAll();
36513 wxPyEndAllowThreads(__tstate
);
36514 if (PyErr_Occurred()) SWIG_fail
;
36516 resultobj
= SWIG_Py_Void();
36523 SWIGINTERN PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36524 PyObject
*resultobj
= 0;
36525 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36526 wxTreeItemId
*arg2
= 0 ;
36531 PyObject
* obj0
= 0 ;
36532 PyObject
* obj1
= 0 ;
36533 char * kwnames
[] = {
36534 (char *) "self",(char *) "item", NULL
36537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36539 if (!SWIG_IsOK(res1
)) {
36540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36542 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36543 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36544 if (!SWIG_IsOK(res2
)) {
36545 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36548 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36550 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36553 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
36554 wxPyEndAllowThreads(__tstate
);
36555 if (PyErr_Occurred()) SWIG_fail
;
36557 resultobj
= SWIG_Py_Void();
36564 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36565 PyObject
*resultobj
= 0;
36566 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36567 wxTreeItemId
*arg2
= 0 ;
36572 PyObject
* obj0
= 0 ;
36573 PyObject
* obj1
= 0 ;
36574 char * kwnames
[] = {
36575 (char *) "self",(char *) "item", NULL
36578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36580 if (!SWIG_IsOK(res1
)) {
36581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36583 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36584 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36585 if (!SWIG_IsOK(res2
)) {
36586 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36589 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36591 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36594 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
36595 wxPyEndAllowThreads(__tstate
);
36596 if (PyErr_Occurred()) SWIG_fail
;
36598 resultobj
= SWIG_Py_Void();
36605 SWIGINTERN PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36606 PyObject
*resultobj
= 0;
36607 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36608 wxTreeItemId
*arg2
= 0 ;
36613 PyObject
* obj0
= 0 ;
36614 PyObject
* obj1
= 0 ;
36615 char * kwnames
[] = {
36616 (char *) "self",(char *) "item", NULL
36619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36621 if (!SWIG_IsOK(res1
)) {
36622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36624 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36625 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36626 if (!SWIG_IsOK(res2
)) {
36627 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36630 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36632 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36635 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
36636 wxPyEndAllowThreads(__tstate
);
36637 if (PyErr_Occurred()) SWIG_fail
;
36639 resultobj
= SWIG_Py_Void();
36646 SWIGINTERN PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36647 PyObject
*resultobj
= 0;
36648 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36651 PyObject
*swig_obj
[1] ;
36653 if (!args
) SWIG_fail
;
36654 swig_obj
[0] = args
;
36655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36656 if (!SWIG_IsOK(res1
)) {
36657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36659 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36662 (arg1
)->Unselect();
36663 wxPyEndAllowThreads(__tstate
);
36664 if (PyErr_Occurred()) SWIG_fail
;
36666 resultobj
= SWIG_Py_Void();
36673 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36674 PyObject
*resultobj
= 0;
36675 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36676 wxTreeItemId
*arg2
= 0 ;
36681 PyObject
* obj0
= 0 ;
36682 PyObject
* obj1
= 0 ;
36683 char * kwnames
[] = {
36684 (char *) "self",(char *) "item", NULL
36687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36689 if (!SWIG_IsOK(res1
)) {
36690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36692 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36693 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36694 if (!SWIG_IsOK(res2
)) {
36695 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36698 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36700 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36703 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
36704 wxPyEndAllowThreads(__tstate
);
36705 if (PyErr_Occurred()) SWIG_fail
;
36707 resultobj
= SWIG_Py_Void();
36714 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36715 PyObject
*resultobj
= 0;
36716 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36719 PyObject
*swig_obj
[1] ;
36721 if (!args
) SWIG_fail
;
36722 swig_obj
[0] = args
;
36723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36724 if (!SWIG_IsOK(res1
)) {
36725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36727 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36730 (arg1
)->UnselectAll();
36731 wxPyEndAllowThreads(__tstate
);
36732 if (PyErr_Occurred()) SWIG_fail
;
36734 resultobj
= SWIG_Py_Void();
36741 SWIGINTERN PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36742 PyObject
*resultobj
= 0;
36743 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36744 wxTreeItemId
*arg2
= 0 ;
36745 bool arg3
= (bool) true ;
36752 PyObject
* obj0
= 0 ;
36753 PyObject
* obj1
= 0 ;
36754 PyObject
* obj2
= 0 ;
36755 char * kwnames
[] = {
36756 (char *) "self",(char *) "item",(char *) "select", NULL
36759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36761 if (!SWIG_IsOK(res1
)) {
36762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36764 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36765 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36766 if (!SWIG_IsOK(res2
)) {
36767 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36770 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36772 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36774 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36775 if (!SWIG_IsOK(ecode3
)) {
36776 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
36778 arg3
= static_cast< bool >(val3
);
36781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36782 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
36783 wxPyEndAllowThreads(__tstate
);
36784 if (PyErr_Occurred()) SWIG_fail
;
36786 resultobj
= SWIG_Py_Void();
36793 SWIGINTERN PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36794 PyObject
*resultobj
= 0;
36795 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36796 wxTreeItemId
*arg2
= 0 ;
36801 PyObject
* obj0
= 0 ;
36802 PyObject
* obj1
= 0 ;
36803 char * kwnames
[] = {
36804 (char *) "self",(char *) "item", NULL
36807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36809 if (!SWIG_IsOK(res1
)) {
36810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36812 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36813 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36814 if (!SWIG_IsOK(res2
)) {
36815 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36818 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36820 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36823 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
36824 wxPyEndAllowThreads(__tstate
);
36825 if (PyErr_Occurred()) SWIG_fail
;
36827 resultobj
= SWIG_Py_Void();
36834 SWIGINTERN PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36835 PyObject
*resultobj
= 0;
36836 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36837 wxTreeItemId
*arg2
= 0 ;
36842 PyObject
* obj0
= 0 ;
36843 PyObject
* obj1
= 0 ;
36844 char * kwnames
[] = {
36845 (char *) "self",(char *) "item", NULL
36848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36850 if (!SWIG_IsOK(res1
)) {
36851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36853 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36854 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36855 if (!SWIG_IsOK(res2
)) {
36856 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36859 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36861 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36864 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
36865 wxPyEndAllowThreads(__tstate
);
36866 if (PyErr_Occurred()) SWIG_fail
;
36868 resultobj
= SWIG_Py_Void();
36875 SWIGINTERN PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36876 PyObject
*resultobj
= 0;
36877 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36878 wxTreeItemId
*arg2
= 0 ;
36883 PyObject
* obj0
= 0 ;
36884 PyObject
* obj1
= 0 ;
36885 char * kwnames
[] = {
36886 (char *) "self",(char *) "item", NULL
36889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36891 if (!SWIG_IsOK(res1
)) {
36892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36894 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36895 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36896 if (!SWIG_IsOK(res2
)) {
36897 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36900 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36902 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36905 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
36906 wxPyEndAllowThreads(__tstate
);
36907 if (PyErr_Occurred()) SWIG_fail
;
36909 resultobj
= SWIG_Py_Void();
36916 SWIGINTERN PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36917 PyObject
*resultobj
= 0;
36918 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36919 wxTreeItemId
*arg2
= 0 ;
36924 PyObject
* obj0
= 0 ;
36925 PyObject
* obj1
= 0 ;
36926 char * kwnames
[] = {
36927 (char *) "self",(char *) "item", NULL
36930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36932 if (!SWIG_IsOK(res1
)) {
36933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36935 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36936 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36937 if (!SWIG_IsOK(res2
)) {
36938 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36941 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36943 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36946 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
36947 wxPyEndAllowThreads(__tstate
);
36948 if (PyErr_Occurred()) SWIG_fail
;
36950 resultobj
= SWIG_Py_Void();
36957 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36958 PyObject
*resultobj
= 0;
36959 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36960 wxTextCtrl
*result
= 0 ;
36963 PyObject
*swig_obj
[1] ;
36965 if (!args
) SWIG_fail
;
36966 swig_obj
[0] = args
;
36967 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36968 if (!SWIG_IsOK(res1
)) {
36969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36971 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36974 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
36975 wxPyEndAllowThreads(__tstate
);
36976 if (PyErr_Occurred()) SWIG_fail
;
36979 resultobj
= wxPyMake_wxObject(result
, 0);
36987 SWIGINTERN PyObject
*_wrap_TreeCtrl_EndEditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36988 PyObject
*resultobj
= 0;
36989 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36990 wxTreeItemId
*arg2
= 0 ;
36991 bool arg3
= (bool) false ;
36998 PyObject
* obj0
= 0 ;
36999 PyObject
* obj1
= 0 ;
37000 PyObject
* obj2
= 0 ;
37001 char * kwnames
[] = {
37002 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
37005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37007 if (!SWIG_IsOK(res1
)) {
37008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37010 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37011 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37012 if (!SWIG_IsOK(res2
)) {
37013 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37016 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37018 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37020 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37021 if (!SWIG_IsOK(ecode3
)) {
37022 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "3"" of type '" "bool""'");
37024 arg3
= static_cast< bool >(val3
);
37027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37028 (arg1
)->EndEditLabel((wxTreeItemId
const &)*arg2
,arg3
);
37029 wxPyEndAllowThreads(__tstate
);
37030 if (PyErr_Occurred()) SWIG_fail
;
37032 resultobj
= SWIG_Py_Void();
37039 SWIGINTERN PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37040 PyObject
*resultobj
= 0;
37041 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37042 wxTreeItemId
*arg2
= 0 ;
37047 PyObject
* obj0
= 0 ;
37048 PyObject
* obj1
= 0 ;
37049 char * kwnames
[] = {
37050 (char *) "self",(char *) "item", NULL
37053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37055 if (!SWIG_IsOK(res1
)) {
37056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37058 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37059 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37060 if (!SWIG_IsOK(res2
)) {
37061 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37064 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37066 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37069 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
37070 wxPyEndAllowThreads(__tstate
);
37071 if (PyErr_Occurred()) SWIG_fail
;
37073 resultobj
= SWIG_Py_Void();
37080 SWIGINTERN PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37081 PyObject
*resultobj
= 0;
37082 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37083 wxPoint
*arg2
= 0 ;
37085 wxTreeItemId result
;
37090 int res3
= SWIG_TMPOBJ
;
37091 PyObject
* obj0
= 0 ;
37092 PyObject
* obj1
= 0 ;
37093 char * kwnames
[] = {
37094 (char *) "self",(char *) "point", NULL
37098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37100 if (!SWIG_IsOK(res1
)) {
37101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37103 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37106 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37110 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
37111 wxPyEndAllowThreads(__tstate
);
37112 if (PyErr_Occurred()) SWIG_fail
;
37114 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37115 if (SWIG_IsTmpObj(res3
)) {
37116 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
37118 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
37119 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
37127 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37128 PyObject
*resultobj
= 0;
37129 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37130 wxTreeItemId
*arg2
= 0 ;
37131 bool arg3
= (bool) false ;
37132 PyObject
*result
= 0 ;
37139 PyObject
* obj0
= 0 ;
37140 PyObject
* obj1
= 0 ;
37141 PyObject
* obj2
= 0 ;
37142 char * kwnames
[] = {
37143 (char *) "self",(char *) "item",(char *) "textOnly", NULL
37146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37148 if (!SWIG_IsOK(res1
)) {
37149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37151 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37152 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37153 if (!SWIG_IsOK(res2
)) {
37154 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37157 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37159 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37161 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37162 if (!SWIG_IsOK(ecode3
)) {
37163 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
37165 arg3
= static_cast< bool >(val3
);
37168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37169 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
37170 wxPyEndAllowThreads(__tstate
);
37171 if (PyErr_Occurred()) SWIG_fail
;
37173 resultobj
= result
;
37180 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37181 PyObject
*resultobj
= 0;
37182 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37183 wxTreeItemId
*arg2
= 0 ;
37191 PyObject
* obj0
= 0 ;
37192 PyObject
* obj1
= 0 ;
37193 PyObject
* obj2
= 0 ;
37194 char * kwnames
[] = {
37195 (char *) "self",(char *) "node",(char *) "state", NULL
37198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37200 if (!SWIG_IsOK(res1
)) {
37201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetState" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37203 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37204 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37205 if (!SWIG_IsOK(res2
)) {
37206 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37209 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37211 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37212 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37213 if (!SWIG_IsOK(ecode3
)) {
37214 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetState" "', expected argument " "3"" of type '" "int""'");
37216 arg3
= static_cast< int >(val3
);
37218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37219 (arg1
)->SetState((wxTreeItemId
const &)*arg2
,arg3
);
37220 wxPyEndAllowThreads(__tstate
);
37221 if (PyErr_Occurred()) SWIG_fail
;
37223 resultobj
= SWIG_Py_Void();
37230 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37231 PyObject
*resultobj
= 0;
37232 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37233 wxTreeItemId
*arg2
= 0 ;
37239 PyObject
* obj0
= 0 ;
37240 PyObject
* obj1
= 0 ;
37241 char * kwnames
[] = {
37242 (char *) "self",(char *) "node", NULL
37245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37247 if (!SWIG_IsOK(res1
)) {
37248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetState" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37250 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37251 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37252 if (!SWIG_IsOK(res2
)) {
37253 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37256 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37258 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37261 result
= (int)(arg1
)->GetState((wxTreeItemId
const &)*arg2
);
37262 wxPyEndAllowThreads(__tstate
);
37263 if (PyErr_Occurred()) SWIG_fail
;
37265 resultobj
= SWIG_From_int(static_cast< int >(result
));
37272 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37273 PyObject
*resultobj
= 0;
37274 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
37275 SwigValueWrapper
<wxVisualAttributes
> result
;
37278 PyObject
* obj0
= 0 ;
37279 char * kwnames
[] = {
37280 (char *) "variant", NULL
37283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
37285 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
37286 if (!SWIG_IsOK(ecode1
)) {
37287 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
37289 arg1
= static_cast< wxWindowVariant
>(val1
);
37292 if (!wxPyCheckForApp()) SWIG_fail
;
37293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37294 result
= wxPyTreeCtrl::GetClassDefaultAttributes(arg1
);
37295 wxPyEndAllowThreads(__tstate
);
37296 if (PyErr_Occurred()) SWIG_fail
;
37298 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
37305 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37306 PyObject
*resultobj
= 0;
37307 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37313 PyObject
* obj0
= 0 ;
37314 PyObject
* obj1
= 0 ;
37315 char * kwnames
[] = {
37316 (char *) "self",(char *) "q", NULL
37319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetQuickBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37321 if (!SWIG_IsOK(res1
)) {
37322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37324 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37325 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37326 if (!SWIG_IsOK(ecode2
)) {
37327 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "2"" of type '" "bool""'");
37329 arg2
= static_cast< bool >(val2
);
37331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37332 (arg1
)->SetQuickBestSize(arg2
);
37333 wxPyEndAllowThreads(__tstate
);
37334 if (PyErr_Occurred()) SWIG_fail
;
37336 resultobj
= SWIG_Py_Void();
37343 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37344 PyObject
*resultobj
= 0;
37345 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37349 PyObject
*swig_obj
[1] ;
37351 if (!args
) SWIG_fail
;
37352 swig_obj
[0] = args
;
37353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37354 if (!SWIG_IsOK(res1
)) {
37355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37357 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37360 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->GetQuickBestSize();
37361 wxPyEndAllowThreads(__tstate
);
37362 if (PyErr_Occurred()) SWIG_fail
;
37365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37373 SWIGINTERN PyObject
*TreeCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37375 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37376 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl
, SWIG_NewClientData(obj
));
37377 return SWIG_Py_Void();
37380 SWIGINTERN PyObject
*TreeCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37381 return SWIG_Python_InitShadowInstance(args
);
37384 SWIGINTERN
int DirDialogDefaultFolderStr_set(PyObject
*) {
37385 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogDefaultFolderStr is read-only.");
37390 SWIGINTERN PyObject
*DirDialogDefaultFolderStr_get(void) {
37391 PyObject
*pyobj
= 0;
37395 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37397 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37404 SWIGINTERN PyObject
*_wrap_new_GenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37405 PyObject
*resultobj
= 0;
37406 wxWindow
*arg1
= (wxWindow
*) 0 ;
37407 int arg2
= (int) (int)-1 ;
37408 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
37409 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
37410 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37411 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37412 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37413 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37414 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37415 wxString
const &arg7_defvalue
= wxPyEmptyString
;
37416 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
37417 int arg8
= (int) 0 ;
37418 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
37419 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
37420 wxGenericDirCtrl
*result
= 0 ;
37425 bool temp3
= false ;
37430 bool temp7
= false ;
37433 bool temp9
= false ;
37434 PyObject
* obj0
= 0 ;
37435 PyObject
* obj1
= 0 ;
37436 PyObject
* obj2
= 0 ;
37437 PyObject
* obj3
= 0 ;
37438 PyObject
* obj4
= 0 ;
37439 PyObject
* obj5
= 0 ;
37440 PyObject
* obj6
= 0 ;
37441 PyObject
* obj7
= 0 ;
37442 PyObject
* obj8
= 0 ;
37443 char * kwnames
[] = {
37444 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
37448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37449 if (!SWIG_IsOK(res1
)) {
37450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
37452 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37454 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37455 if (!SWIG_IsOK(ecode2
)) {
37456 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
37458 arg2
= static_cast< int >(val2
);
37462 arg3
= wxString_in_helper(obj2
);
37463 if (arg3
== NULL
) SWIG_fail
;
37470 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37476 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37480 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
37481 if (!SWIG_IsOK(ecode6
)) {
37482 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
37484 arg6
= static_cast< long >(val6
);
37488 arg7
= wxString_in_helper(obj6
);
37489 if (arg7
== NULL
) SWIG_fail
;
37494 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
37495 if (!SWIG_IsOK(ecode8
)) {
37496 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
37498 arg8
= static_cast< int >(val8
);
37502 arg9
= wxString_in_helper(obj8
);
37503 if (arg9
== NULL
) SWIG_fail
;
37508 if (!wxPyCheckForApp()) SWIG_fail
;
37509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37510 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
37511 wxPyEndAllowThreads(__tstate
);
37512 if (PyErr_Occurred()) SWIG_fail
;
37514 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_NEW
| 0 );
37545 SWIGINTERN PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37546 PyObject
*resultobj
= 0;
37547 wxGenericDirCtrl
*result
= 0 ;
37549 if (!SWIG_Python_UnpackTuple(args
,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail
;
37551 if (!wxPyCheckForApp()) SWIG_fail
;
37552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37553 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
37554 wxPyEndAllowThreads(__tstate
);
37555 if (PyErr_Occurred()) SWIG_fail
;
37557 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_OWN
| 0 );
37564 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37565 PyObject
*resultobj
= 0;
37566 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37567 wxWindow
*arg2
= (wxWindow
*) 0 ;
37568 int arg3
= (int) (int)-1 ;
37569 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
37570 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
37571 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
37572 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
37573 wxSize
const &arg6_defvalue
= wxDefaultSize
;
37574 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
37575 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37576 wxString
const &arg8_defvalue
= wxPyEmptyString
;
37577 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
37578 int arg9
= (int) 0 ;
37579 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
37580 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
37588 bool temp4
= false ;
37593 bool temp8
= false ;
37596 bool temp10
= false ;
37597 PyObject
* obj0
= 0 ;
37598 PyObject
* obj1
= 0 ;
37599 PyObject
* obj2
= 0 ;
37600 PyObject
* obj3
= 0 ;
37601 PyObject
* obj4
= 0 ;
37602 PyObject
* obj5
= 0 ;
37603 PyObject
* obj6
= 0 ;
37604 PyObject
* obj7
= 0 ;
37605 PyObject
* obj8
= 0 ;
37606 PyObject
* obj9
= 0 ;
37607 char * kwnames
[] = {
37608 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
37612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37613 if (!SWIG_IsOK(res1
)) {
37614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37616 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37617 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37618 if (!SWIG_IsOK(res2
)) {
37619 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
37621 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
37623 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37624 if (!SWIG_IsOK(ecode3
)) {
37625 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
37627 arg3
= static_cast< int >(val3
);
37631 arg4
= wxString_in_helper(obj3
);
37632 if (arg4
== NULL
) SWIG_fail
;
37639 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
37645 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
37649 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
37650 if (!SWIG_IsOK(ecode7
)) {
37651 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
37653 arg7
= static_cast< long >(val7
);
37657 arg8
= wxString_in_helper(obj7
);
37658 if (arg8
== NULL
) SWIG_fail
;
37663 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
37664 if (!SWIG_IsOK(ecode9
)) {
37665 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
37667 arg9
= static_cast< int >(val9
);
37671 arg10
= wxString_in_helper(obj9
);
37672 if (arg10
== NULL
) SWIG_fail
;
37677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37678 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
37679 wxPyEndAllowThreads(__tstate
);
37680 if (PyErr_Occurred()) SWIG_fail
;
37683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37715 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37716 PyObject
*resultobj
= 0;
37717 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37718 wxString
*arg2
= 0 ;
37722 bool temp2
= false ;
37723 PyObject
* obj0
= 0 ;
37724 PyObject
* obj1
= 0 ;
37725 char * kwnames
[] = {
37726 (char *) "self",(char *) "path", NULL
37729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37731 if (!SWIG_IsOK(res1
)) {
37732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37734 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37736 arg2
= wxString_in_helper(obj1
);
37737 if (arg2
== NULL
) SWIG_fail
;
37741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37742 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
37743 wxPyEndAllowThreads(__tstate
);
37744 if (PyErr_Occurred()) SWIG_fail
;
37747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37763 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_CollapsePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37764 PyObject
*resultobj
= 0;
37765 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37766 wxString
*arg2
= 0 ;
37770 bool temp2
= false ;
37771 PyObject
* obj0
= 0 ;
37772 PyObject
* obj1
= 0 ;
37773 char * kwnames
[] = {
37774 (char *) "self",(char *) "path", NULL
37777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_CollapsePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37779 if (!SWIG_IsOK(res1
)) {
37780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_CollapsePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37782 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37784 arg2
= wxString_in_helper(obj1
);
37785 if (arg2
== NULL
) SWIG_fail
;
37789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37790 result
= (bool)(arg1
)->CollapsePath((wxString
const &)*arg2
);
37791 wxPyEndAllowThreads(__tstate
);
37792 if (PyErr_Occurred()) SWIG_fail
;
37795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37811 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37812 PyObject
*resultobj
= 0;
37813 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37817 PyObject
*swig_obj
[1] ;
37819 if (!args
) SWIG_fail
;
37820 swig_obj
[0] = args
;
37821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37822 if (!SWIG_IsOK(res1
)) {
37823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37825 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37828 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
37829 wxPyEndAllowThreads(__tstate
);
37830 if (PyErr_Occurred()) SWIG_fail
;
37834 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37836 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37845 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37846 PyObject
*resultobj
= 0;
37847 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37848 wxString
*arg2
= 0 ;
37851 bool temp2
= false ;
37852 PyObject
* obj0
= 0 ;
37853 PyObject
* obj1
= 0 ;
37854 char * kwnames
[] = {
37855 (char *) "self",(char *) "path", NULL
37858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37860 if (!SWIG_IsOK(res1
)) {
37861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37863 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37865 arg2
= wxString_in_helper(obj1
);
37866 if (arg2
== NULL
) SWIG_fail
;
37870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37871 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
37872 wxPyEndAllowThreads(__tstate
);
37873 if (PyErr_Occurred()) SWIG_fail
;
37875 resultobj
= SWIG_Py_Void();
37890 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37891 PyObject
*resultobj
= 0;
37892 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37896 PyObject
*swig_obj
[1] ;
37898 if (!args
) SWIG_fail
;
37899 swig_obj
[0] = args
;
37900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37901 if (!SWIG_IsOK(res1
)) {
37902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37904 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37907 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
37908 wxPyEndAllowThreads(__tstate
);
37909 if (PyErr_Occurred()) SWIG_fail
;
37913 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37915 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37924 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37925 PyObject
*resultobj
= 0;
37926 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37930 PyObject
*swig_obj
[1] ;
37932 if (!args
) SWIG_fail
;
37933 swig_obj
[0] = args
;
37934 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37935 if (!SWIG_IsOK(res1
)) {
37936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37938 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37941 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
37942 wxPyEndAllowThreads(__tstate
);
37943 if (PyErr_Occurred()) SWIG_fail
;
37947 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37949 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37958 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37959 PyObject
*resultobj
= 0;
37960 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37961 wxString
*arg2
= 0 ;
37964 bool temp2
= false ;
37965 PyObject
* obj0
= 0 ;
37966 PyObject
* obj1
= 0 ;
37967 char * kwnames
[] = {
37968 (char *) "self",(char *) "path", NULL
37971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37973 if (!SWIG_IsOK(res1
)) {
37974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37976 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37978 arg2
= wxString_in_helper(obj1
);
37979 if (arg2
== NULL
) SWIG_fail
;
37983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37984 (arg1
)->SetPath((wxString
const &)*arg2
);
37985 wxPyEndAllowThreads(__tstate
);
37986 if (PyErr_Occurred()) SWIG_fail
;
37988 resultobj
= SWIG_Py_Void();
38003 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38004 PyObject
*resultobj
= 0;
38005 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38011 PyObject
* obj0
= 0 ;
38012 PyObject
* obj1
= 0 ;
38013 char * kwnames
[] = {
38014 (char *) "self",(char *) "show", NULL
38017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38019 if (!SWIG_IsOK(res1
)) {
38020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38022 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38023 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
38024 if (!SWIG_IsOK(ecode2
)) {
38025 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
38027 arg2
= static_cast< bool >(val2
);
38029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38030 (arg1
)->ShowHidden(arg2
);
38031 wxPyEndAllowThreads(__tstate
);
38032 if (PyErr_Occurred()) SWIG_fail
;
38034 resultobj
= SWIG_Py_Void();
38041 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38042 PyObject
*resultobj
= 0;
38043 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38047 PyObject
*swig_obj
[1] ;
38049 if (!args
) SWIG_fail
;
38050 swig_obj
[0] = args
;
38051 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38052 if (!SWIG_IsOK(res1
)) {
38053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38055 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38058 result
= (bool)(arg1
)->GetShowHidden();
38059 wxPyEndAllowThreads(__tstate
);
38060 if (PyErr_Occurred()) SWIG_fail
;
38063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38071 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38072 PyObject
*resultobj
= 0;
38073 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38077 PyObject
*swig_obj
[1] ;
38079 if (!args
) SWIG_fail
;
38080 swig_obj
[0] = args
;
38081 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38082 if (!SWIG_IsOK(res1
)) {
38083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38085 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38088 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
38089 wxPyEndAllowThreads(__tstate
);
38090 if (PyErr_Occurred()) SWIG_fail
;
38094 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38096 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38105 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38106 PyObject
*resultobj
= 0;
38107 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38108 wxString
*arg2
= 0 ;
38111 bool temp2
= false ;
38112 PyObject
* obj0
= 0 ;
38113 PyObject
* obj1
= 0 ;
38114 char * kwnames
[] = {
38115 (char *) "self",(char *) "filter", NULL
38118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38120 if (!SWIG_IsOK(res1
)) {
38121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38123 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38125 arg2
= wxString_in_helper(obj1
);
38126 if (arg2
== NULL
) SWIG_fail
;
38130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38131 (arg1
)->SetFilter((wxString
const &)*arg2
);
38132 wxPyEndAllowThreads(__tstate
);
38133 if (PyErr_Occurred()) SWIG_fail
;
38135 resultobj
= SWIG_Py_Void();
38150 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38151 PyObject
*resultobj
= 0;
38152 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38156 PyObject
*swig_obj
[1] ;
38158 if (!args
) SWIG_fail
;
38159 swig_obj
[0] = args
;
38160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38161 if (!SWIG_IsOK(res1
)) {
38162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38164 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38167 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
38168 wxPyEndAllowThreads(__tstate
);
38169 if (PyErr_Occurred()) SWIG_fail
;
38171 resultobj
= SWIG_From_int(static_cast< int >(result
));
38178 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38179 PyObject
*resultobj
= 0;
38180 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38186 PyObject
* obj0
= 0 ;
38187 PyObject
* obj1
= 0 ;
38188 char * kwnames
[] = {
38189 (char *) "self",(char *) "n", NULL
38192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38194 if (!SWIG_IsOK(res1
)) {
38195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38197 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38198 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38199 if (!SWIG_IsOK(ecode2
)) {
38200 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
38202 arg2
= static_cast< int >(val2
);
38204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38205 (arg1
)->SetFilterIndex(arg2
);
38206 wxPyEndAllowThreads(__tstate
);
38207 if (PyErr_Occurred()) SWIG_fail
;
38209 resultobj
= SWIG_Py_Void();
38216 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38217 PyObject
*resultobj
= 0;
38218 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38219 wxTreeItemId result
;
38222 PyObject
*swig_obj
[1] ;
38224 if (!args
) SWIG_fail
;
38225 swig_obj
[0] = args
;
38226 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38227 if (!SWIG_IsOK(res1
)) {
38228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38230 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38233 result
= (arg1
)->GetRootId();
38234 wxPyEndAllowThreads(__tstate
);
38235 if (PyErr_Occurred()) SWIG_fail
;
38237 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38244 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38245 PyObject
*resultobj
= 0;
38246 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38247 wxPyTreeCtrl
*result
= 0 ;
38250 PyObject
*swig_obj
[1] ;
38252 if (!args
) SWIG_fail
;
38253 swig_obj
[0] = args
;
38254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38255 if (!SWIG_IsOK(res1
)) {
38256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38258 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38261 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
38262 wxPyEndAllowThreads(__tstate
);
38263 if (PyErr_Occurred()) SWIG_fail
;
38266 resultobj
= wxPyMake_wxObject(result
, 0);
38274 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38275 PyObject
*resultobj
= 0;
38276 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38277 wxDirFilterListCtrl
*result
= 0 ;
38280 PyObject
*swig_obj
[1] ;
38282 if (!args
) SWIG_fail
;
38283 swig_obj
[0] = args
;
38284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38285 if (!SWIG_IsOK(res1
)) {
38286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38288 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38291 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
38292 wxPyEndAllowThreads(__tstate
);
38293 if (PyErr_Occurred()) SWIG_fail
;
38295 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38302 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38303 PyObject
*resultobj
= 0;
38304 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38305 wxTreeItemId arg2
;
38306 wxString
*arg3
= 0 ;
38308 wxTreeItemId result
;
38313 bool temp3
= false ;
38315 int res4
= SWIG_TMPOBJ
;
38316 PyObject
* obj0
= 0 ;
38317 PyObject
* obj1
= 0 ;
38318 PyObject
* obj2
= 0 ;
38319 char * kwnames
[] = {
38320 (char *) "self",(char *) "parentId",(char *) "path", NULL
38324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38326 if (!SWIG_IsOK(res1
)) {
38327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38329 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38331 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
38332 if (!SWIG_IsOK(res2
)) {
38333 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38336 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38338 wxTreeItemId
* temp
= reinterpret_cast< wxTreeItemId
* >(argp2
);
38340 if (SWIG_IsNewObj(res2
)) delete temp
;
38344 arg3
= wxString_in_helper(obj2
);
38345 if (arg3
== NULL
) SWIG_fail
;
38349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38350 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
38351 wxPyEndAllowThreads(__tstate
);
38352 if (PyErr_Occurred()) SWIG_fail
;
38354 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38355 if (SWIG_IsTmpObj(res4
)) {
38356 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
38358 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38359 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
38375 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38376 PyObject
*resultobj
= 0;
38377 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38380 PyObject
*swig_obj
[1] ;
38382 if (!args
) SWIG_fail
;
38383 swig_obj
[0] = args
;
38384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38385 if (!SWIG_IsOK(res1
)) {
38386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38388 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38391 (arg1
)->DoResize();
38392 wxPyEndAllowThreads(__tstate
);
38393 if (PyErr_Occurred()) SWIG_fail
;
38395 resultobj
= SWIG_Py_Void();
38402 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38403 PyObject
*resultobj
= 0;
38404 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38407 PyObject
*swig_obj
[1] ;
38409 if (!args
) SWIG_fail
;
38410 swig_obj
[0] = args
;
38411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38412 if (!SWIG_IsOK(res1
)) {
38413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38415 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38418 (arg1
)->ReCreateTree();
38419 wxPyEndAllowThreads(__tstate
);
38420 if (PyErr_Occurred()) SWIG_fail
;
38422 resultobj
= SWIG_Py_Void();
38429 SWIGINTERN PyObject
*GenericDirCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38431 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38432 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl
, SWIG_NewClientData(obj
));
38433 return SWIG_Py_Void();
38436 SWIGINTERN PyObject
*GenericDirCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38437 return SWIG_Python_InitShadowInstance(args
);
38440 SWIGINTERN PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38441 PyObject
*resultobj
= 0;
38442 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38443 int arg2
= (int) (int)-1 ;
38444 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38445 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38446 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38447 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38448 long arg5
= (long) 0 ;
38449 wxDirFilterListCtrl
*result
= 0 ;
38458 PyObject
* obj0
= 0 ;
38459 PyObject
* obj1
= 0 ;
38460 PyObject
* obj2
= 0 ;
38461 PyObject
* obj3
= 0 ;
38462 PyObject
* obj4
= 0 ;
38463 char * kwnames
[] = {
38464 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38469 if (!SWIG_IsOK(res1
)) {
38470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38472 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38474 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38475 if (!SWIG_IsOK(ecode2
)) {
38476 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
38478 arg2
= static_cast< int >(val2
);
38483 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38489 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38493 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38494 if (!SWIG_IsOK(ecode5
)) {
38495 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
38497 arg5
= static_cast< long >(val5
);
38500 if (!wxPyCheckForApp()) SWIG_fail
;
38501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38502 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
38503 wxPyEndAllowThreads(__tstate
);
38504 if (PyErr_Occurred()) SWIG_fail
;
38506 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_NEW
| 0 );
38513 SWIGINTERN PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38514 PyObject
*resultobj
= 0;
38515 wxDirFilterListCtrl
*result
= 0 ;
38517 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail
;
38519 if (!wxPyCheckForApp()) SWIG_fail
;
38520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38521 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
38522 wxPyEndAllowThreads(__tstate
);
38523 if (PyErr_Occurred()) SWIG_fail
;
38525 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_OWN
| 0 );
38532 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38533 PyObject
*resultobj
= 0;
38534 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38535 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
38536 int arg3
= (int) (int)-1 ;
38537 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
38538 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
38539 wxSize
const &arg5_defvalue
= wxDefaultSize
;
38540 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
38541 long arg6
= (long) 0 ;
38553 PyObject
* obj0
= 0 ;
38554 PyObject
* obj1
= 0 ;
38555 PyObject
* obj2
= 0 ;
38556 PyObject
* obj3
= 0 ;
38557 PyObject
* obj4
= 0 ;
38558 PyObject
* obj5
= 0 ;
38559 char * kwnames
[] = {
38560 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38565 if (!SWIG_IsOK(res1
)) {
38566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38568 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38569 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38570 if (!SWIG_IsOK(res2
)) {
38571 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
38573 arg2
= reinterpret_cast< wxGenericDirCtrl
* >(argp2
);
38575 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38576 if (!SWIG_IsOK(ecode3
)) {
38577 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
38579 arg3
= static_cast< int >(val3
);
38584 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
38590 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
38594 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
38595 if (!SWIG_IsOK(ecode6
)) {
38596 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
38598 arg6
= static_cast< long >(val6
);
38601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38602 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
38603 wxPyEndAllowThreads(__tstate
);
38604 if (PyErr_Occurred()) SWIG_fail
;
38607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38615 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38616 PyObject
*resultobj
= 0;
38617 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38618 wxString
*arg2
= 0 ;
38622 bool temp2
= false ;
38625 PyObject
* obj0
= 0 ;
38626 PyObject
* obj1
= 0 ;
38627 PyObject
* obj2
= 0 ;
38628 char * kwnames
[] = {
38629 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
38632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38634 if (!SWIG_IsOK(res1
)) {
38635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38637 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38639 arg2
= wxString_in_helper(obj1
);
38640 if (arg2
== NULL
) SWIG_fail
;
38643 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38644 if (!SWIG_IsOK(ecode3
)) {
38645 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
38647 arg3
= static_cast< int >(val3
);
38649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38650 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
38651 wxPyEndAllowThreads(__tstate
);
38652 if (PyErr_Occurred()) SWIG_fail
;
38654 resultobj
= SWIG_Py_Void();
38669 SWIGINTERN PyObject
*DirFilterListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38671 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38672 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_NewClientData(obj
));
38673 return SWIG_Py_Void();
38676 SWIGINTERN PyObject
*DirFilterListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38677 return SWIG_Python_InitShadowInstance(args
);
38680 SWIGINTERN PyObject
*_wrap_new_PyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38681 PyObject
*resultobj
= 0;
38682 wxWindow
*arg1
= (wxWindow
*) 0 ;
38683 int arg2
= (int) (int)-1 ;
38684 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38685 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38686 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38687 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38688 long arg5
= (long) 0 ;
38689 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
38690 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
38691 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
38692 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
38693 wxPyControl
*result
= 0 ;
38704 bool temp7
= false ;
38705 PyObject
* obj0
= 0 ;
38706 PyObject
* obj1
= 0 ;
38707 PyObject
* obj2
= 0 ;
38708 PyObject
* obj3
= 0 ;
38709 PyObject
* obj4
= 0 ;
38710 PyObject
* obj5
= 0 ;
38711 PyObject
* obj6
= 0 ;
38712 char * kwnames
[] = {
38713 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
38716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
38717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38718 if (!SWIG_IsOK(res1
)) {
38719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
38721 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38723 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38724 if (!SWIG_IsOK(ecode2
)) {
38725 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
38727 arg2
= static_cast< int >(val2
);
38732 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38738 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38742 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38743 if (!SWIG_IsOK(ecode5
)) {
38744 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
38746 arg5
= static_cast< long >(val5
);
38749 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
38750 if (!SWIG_IsOK(res6
)) {
38751 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38754 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38756 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
38760 arg7
= wxString_in_helper(obj6
);
38761 if (arg7
== NULL
) SWIG_fail
;
38766 if (!wxPyCheckForApp()) SWIG_fail
;
38767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38768 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
38769 wxPyEndAllowThreads(__tstate
);
38770 if (PyErr_Occurred()) SWIG_fail
;
38772 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_NEW
| 0 );
38787 SWIGINTERN PyObject
*_wrap_new_PrePyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38788 PyObject
*resultobj
= 0;
38789 wxPyControl
*result
= 0 ;
38791 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyControl",0,0,0)) SWIG_fail
;
38793 if (!wxPyCheckForApp()) SWIG_fail
;
38794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38795 result
= (wxPyControl
*)new wxPyControl();
38796 wxPyEndAllowThreads(__tstate
);
38797 if (PyErr_Occurred()) SWIG_fail
;
38799 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_OWN
| 0 );
38806 SWIGINTERN PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38807 PyObject
*resultobj
= 0;
38808 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38809 PyObject
*arg2
= (PyObject
*) 0 ;
38810 PyObject
*arg3
= (PyObject
*) 0 ;
38813 PyObject
* obj0
= 0 ;
38814 PyObject
* obj1
= 0 ;
38815 PyObject
* obj2
= 0 ;
38816 char * kwnames
[] = {
38817 (char *) "self",(char *) "self",(char *) "_class", NULL
38820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38822 if (!SWIG_IsOK(res1
)) {
38823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
38825 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38830 (arg1
)->_setCallbackInfo(arg2
,arg3
);
38831 wxPyEndAllowThreads(__tstate
);
38832 if (PyErr_Occurred()) SWIG_fail
;
38834 resultobj
= SWIG_Py_Void();
38841 SWIGINTERN PyObject
*_wrap_PyControl_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38842 PyObject
*resultobj
= 0;
38843 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38848 PyObject
* obj0
= 0 ;
38849 PyObject
* obj1
= 0 ;
38850 char * kwnames
[] = {
38851 (char *) "self",(char *) "size", NULL
38854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38856 if (!SWIG_IsOK(res1
)) {
38857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_SetBestSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38859 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38862 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38866 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
38867 wxPyEndAllowThreads(__tstate
);
38868 if (PyErr_Occurred()) SWIG_fail
;
38870 resultobj
= SWIG_Py_Void();
38877 SWIGINTERN PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38878 PyObject
*resultobj
= 0;
38879 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38880 wxDC
*arg2
= (wxDC
*) 0 ;
38886 PyObject
* obj0
= 0 ;
38887 PyObject
* obj1
= 0 ;
38888 char * kwnames
[] = {
38889 (char *) "self",(char *) "dc", NULL
38892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38894 if (!SWIG_IsOK(res1
)) {
38895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
38897 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38898 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
38899 if (!SWIG_IsOK(res2
)) {
38900 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
38902 arg2
= reinterpret_cast< wxDC
* >(argp2
);
38904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38905 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
38906 wxPyEndAllowThreads(__tstate
);
38907 if (PyErr_Occurred()) SWIG_fail
;
38910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38918 SWIGINTERN PyObject
*_wrap_PyControl_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38919 PyObject
*resultobj
= 0;
38920 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38935 PyObject
* obj0
= 0 ;
38936 PyObject
* obj1
= 0 ;
38937 PyObject
* obj2
= 0 ;
38938 PyObject
* obj3
= 0 ;
38939 PyObject
* obj4
= 0 ;
38940 char * kwnames
[] = {
38941 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
38944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38946 if (!SWIG_IsOK(res1
)) {
38947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
38949 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38950 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38951 if (!SWIG_IsOK(ecode2
)) {
38952 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
38954 arg2
= static_cast< int >(val2
);
38955 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38956 if (!SWIG_IsOK(ecode3
)) {
38957 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
38959 arg3
= static_cast< int >(val3
);
38960 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38961 if (!SWIG_IsOK(ecode4
)) {
38962 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
38964 arg4
= static_cast< int >(val4
);
38965 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38966 if (!SWIG_IsOK(ecode5
)) {
38967 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
38969 arg5
= static_cast< int >(val5
);
38971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38972 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
38973 wxPyEndAllowThreads(__tstate
);
38974 if (PyErr_Occurred()) SWIG_fail
;
38976 resultobj
= SWIG_Py_Void();
38983 SWIGINTERN PyObject
*_wrap_PyControl_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38984 PyObject
*resultobj
= 0;
38985 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38990 int arg6
= (int) wxSIZE_AUTO
;
39003 PyObject
* obj0
= 0 ;
39004 PyObject
* obj1
= 0 ;
39005 PyObject
* obj2
= 0 ;
39006 PyObject
* obj3
= 0 ;
39007 PyObject
* obj4
= 0 ;
39008 PyObject
* obj5
= 0 ;
39009 char * kwnames
[] = {
39010 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
39013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
39014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39015 if (!SWIG_IsOK(res1
)) {
39016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39018 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39019 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39020 if (!SWIG_IsOK(ecode2
)) {
39021 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
39023 arg2
= static_cast< int >(val2
);
39024 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39025 if (!SWIG_IsOK(ecode3
)) {
39026 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
39028 arg3
= static_cast< int >(val3
);
39029 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39030 if (!SWIG_IsOK(ecode4
)) {
39031 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
39033 arg4
= static_cast< int >(val4
);
39034 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
39035 if (!SWIG_IsOK(ecode5
)) {
39036 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
39038 arg5
= static_cast< int >(val5
);
39040 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
39041 if (!SWIG_IsOK(ecode6
)) {
39042 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
39044 arg6
= static_cast< int >(val6
);
39047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39048 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
39049 wxPyEndAllowThreads(__tstate
);
39050 if (PyErr_Occurred()) SWIG_fail
;
39052 resultobj
= SWIG_Py_Void();
39059 SWIGINTERN PyObject
*_wrap_PyControl_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39060 PyObject
*resultobj
= 0;
39061 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39070 PyObject
* obj0
= 0 ;
39071 PyObject
* obj1
= 0 ;
39072 PyObject
* obj2
= 0 ;
39073 char * kwnames
[] = {
39074 (char *) "self",(char *) "width",(char *) "height", NULL
39077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39079 if (!SWIG_IsOK(res1
)) {
39080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39082 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39083 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39084 if (!SWIG_IsOK(ecode2
)) {
39085 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
39087 arg2
= static_cast< int >(val2
);
39088 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39089 if (!SWIG_IsOK(ecode3
)) {
39090 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
39092 arg3
= static_cast< int >(val3
);
39094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39095 (arg1
)->DoSetClientSize(arg2
,arg3
);
39096 wxPyEndAllowThreads(__tstate
);
39097 if (PyErr_Occurred()) SWIG_fail
;
39099 resultobj
= SWIG_Py_Void();
39106 SWIGINTERN PyObject
*_wrap_PyControl_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39107 PyObject
*resultobj
= 0;
39108 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39117 PyObject
* obj0
= 0 ;
39118 PyObject
* obj1
= 0 ;
39119 PyObject
* obj2
= 0 ;
39120 char * kwnames
[] = {
39121 (char *) "self",(char *) "x",(char *) "y", NULL
39124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39126 if (!SWIG_IsOK(res1
)) {
39127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39129 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39130 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39131 if (!SWIG_IsOK(ecode2
)) {
39132 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
39134 arg2
= static_cast< int >(val2
);
39135 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39136 if (!SWIG_IsOK(ecode3
)) {
39137 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
39139 arg3
= static_cast< int >(val3
);
39141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39142 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
39143 wxPyEndAllowThreads(__tstate
);
39144 if (PyErr_Occurred()) SWIG_fail
;
39146 resultobj
= SWIG_Py_Void();
39153 SWIGINTERN PyObject
*_wrap_PyControl_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39154 PyObject
*resultobj
= 0;
39155 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39156 int *arg2
= (int *) 0 ;
39157 int *arg3
= (int *) 0 ;
39161 int res2
= SWIG_TMPOBJ
;
39163 int res3
= SWIG_TMPOBJ
;
39164 PyObject
*swig_obj
[1] ;
39168 if (!args
) SWIG_fail
;
39169 swig_obj
[0] = args
;
39170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39171 if (!SWIG_IsOK(res1
)) {
39172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39174 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39177 ((wxPyControl
const *)arg1
)->DoGetSize(arg2
,arg3
);
39178 wxPyEndAllowThreads(__tstate
);
39179 if (PyErr_Occurred()) SWIG_fail
;
39181 resultobj
= SWIG_Py_Void();
39182 if (SWIG_IsTmpObj(res2
)) {
39183 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39185 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39186 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39188 if (SWIG_IsTmpObj(res3
)) {
39189 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39191 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39192 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39200 SWIGINTERN PyObject
*_wrap_PyControl_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39201 PyObject
*resultobj
= 0;
39202 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39203 int *arg2
= (int *) 0 ;
39204 int *arg3
= (int *) 0 ;
39208 int res2
= SWIG_TMPOBJ
;
39210 int res3
= SWIG_TMPOBJ
;
39211 PyObject
*swig_obj
[1] ;
39215 if (!args
) SWIG_fail
;
39216 swig_obj
[0] = args
;
39217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39218 if (!SWIG_IsOK(res1
)) {
39219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39221 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39224 ((wxPyControl
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
39225 wxPyEndAllowThreads(__tstate
);
39226 if (PyErr_Occurred()) SWIG_fail
;
39228 resultobj
= SWIG_Py_Void();
39229 if (SWIG_IsTmpObj(res2
)) {
39230 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39232 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39233 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39235 if (SWIG_IsTmpObj(res3
)) {
39236 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39238 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39239 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39247 SWIGINTERN PyObject
*_wrap_PyControl_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39248 PyObject
*resultobj
= 0;
39249 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39250 int *arg2
= (int *) 0 ;
39251 int *arg3
= (int *) 0 ;
39255 int res2
= SWIG_TMPOBJ
;
39257 int res3
= SWIG_TMPOBJ
;
39258 PyObject
*swig_obj
[1] ;
39262 if (!args
) SWIG_fail
;
39263 swig_obj
[0] = args
;
39264 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39265 if (!SWIG_IsOK(res1
)) {
39266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39268 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39271 ((wxPyControl
const *)arg1
)->DoGetPosition(arg2
,arg3
);
39272 wxPyEndAllowThreads(__tstate
);
39273 if (PyErr_Occurred()) SWIG_fail
;
39275 resultobj
= SWIG_Py_Void();
39276 if (SWIG_IsTmpObj(res2
)) {
39277 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39279 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39280 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39282 if (SWIG_IsTmpObj(res3
)) {
39283 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39285 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39286 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39294 SWIGINTERN PyObject
*_wrap_PyControl_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39295 PyObject
*resultobj
= 0;
39296 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39300 PyObject
*swig_obj
[1] ;
39302 if (!args
) SWIG_fail
;
39303 swig_obj
[0] = args
;
39304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39305 if (!SWIG_IsOK(res1
)) {
39306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39308 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39311 result
= ((wxPyControl
const *)arg1
)->DoGetVirtualSize();
39312 wxPyEndAllowThreads(__tstate
);
39313 if (PyErr_Occurred()) SWIG_fail
;
39315 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39322 SWIGINTERN PyObject
*_wrap_PyControl_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39323 PyObject
*resultobj
= 0;
39324 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39328 PyObject
*swig_obj
[1] ;
39330 if (!args
) SWIG_fail
;
39331 swig_obj
[0] = args
;
39332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39333 if (!SWIG_IsOK(res1
)) {
39334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39336 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39339 result
= ((wxPyControl
const *)arg1
)->DoGetBestSize();
39340 wxPyEndAllowThreads(__tstate
);
39341 if (PyErr_Occurred()) SWIG_fail
;
39343 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39350 SWIGINTERN PyObject
*_wrap_PyControl_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39351 PyObject
*resultobj
= 0;
39352 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39353 SwigValueWrapper
<wxVisualAttributes
> result
;
39356 PyObject
*swig_obj
[1] ;
39358 if (!args
) SWIG_fail
;
39359 swig_obj
[0] = args
;
39360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39361 if (!SWIG_IsOK(res1
)) {
39362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
39364 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39367 result
= (arg1
)->GetDefaultAttributes();
39368 wxPyEndAllowThreads(__tstate
);
39369 if (PyErr_Occurred()) SWIG_fail
;
39371 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
39378 SWIGINTERN PyObject
*_wrap_PyControl_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39379 PyObject
*resultobj
= 0;
39380 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39383 PyObject
*swig_obj
[1] ;
39385 if (!args
) SWIG_fail
;
39386 swig_obj
[0] = args
;
39387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39388 if (!SWIG_IsOK(res1
)) {
39389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
39391 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39394 (arg1
)->OnInternalIdle();
39395 wxPyEndAllowThreads(__tstate
);
39396 if (PyErr_Occurred()) SWIG_fail
;
39398 resultobj
= SWIG_Py_Void();
39405 SWIGINTERN PyObject
*PyControl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39407 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39408 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl
, SWIG_NewClientData(obj
));
39409 return SWIG_Py_Void();
39412 SWIGINTERN PyObject
*PyControl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39413 return SWIG_Python_InitShadowInstance(args
);
39416 SWIGINTERN PyObject
*_wrap_new_HelpEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39417 PyObject
*resultobj
= 0;
39418 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
39419 int arg2
= (int) 0 ;
39420 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39421 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39422 wxHelpEvent::Origin arg4
= (wxHelpEvent::Origin
) wxHelpEvent::Origin_Unknown
;
39423 wxHelpEvent
*result
= 0 ;
39431 PyObject
* obj0
= 0 ;
39432 PyObject
* obj1
= 0 ;
39433 PyObject
* obj2
= 0 ;
39434 PyObject
* obj3
= 0 ;
39435 char * kwnames
[] = {
39436 (char *) "type",(char *) "winid",(char *) "pt",(char *) "origin", NULL
39439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39441 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
39442 if (!SWIG_IsOK(ecode1
)) {
39443 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
39445 arg1
= static_cast< wxEventType
>(val1
);
39448 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39449 if (!SWIG_IsOK(ecode2
)) {
39450 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
39452 arg2
= static_cast< int >(val2
);
39457 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39461 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39462 if (!SWIG_IsOK(ecode4
)) {
39463 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HelpEvent" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
39465 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
39468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39469 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
,arg4
);
39470 wxPyEndAllowThreads(__tstate
);
39471 if (PyErr_Occurred()) SWIG_fail
;
39473 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_NEW
| 0 );
39480 SWIGINTERN PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39481 PyObject
*resultobj
= 0;
39482 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39486 PyObject
*swig_obj
[1] ;
39488 if (!args
) SWIG_fail
;
39489 swig_obj
[0] = args
;
39490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39491 if (!SWIG_IsOK(res1
)) {
39492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39494 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39497 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
39498 wxPyEndAllowThreads(__tstate
);
39499 if (PyErr_Occurred()) SWIG_fail
;
39501 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
39508 SWIGINTERN PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39509 PyObject
*resultobj
= 0;
39510 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39511 wxPoint
*arg2
= 0 ;
39515 PyObject
* obj0
= 0 ;
39516 PyObject
* obj1
= 0 ;
39517 char * kwnames
[] = {
39518 (char *) "self",(char *) "pos", NULL
39521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39523 if (!SWIG_IsOK(res1
)) {
39524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39526 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39529 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39533 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
39534 wxPyEndAllowThreads(__tstate
);
39535 if (PyErr_Occurred()) SWIG_fail
;
39537 resultobj
= SWIG_Py_Void();
39544 SWIGINTERN PyObject
*_wrap_HelpEvent_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39545 PyObject
*resultobj
= 0;
39546 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39547 wxString
*result
= 0 ;
39550 PyObject
*swig_obj
[1] ;
39552 if (!args
) SWIG_fail
;
39553 swig_obj
[0] = args
;
39554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39555 if (!SWIG_IsOK(res1
)) {
39556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39558 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39562 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
39563 result
= (wxString
*) &_result_ref
;
39565 wxPyEndAllowThreads(__tstate
);
39566 if (PyErr_Occurred()) SWIG_fail
;
39570 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39572 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39581 SWIGINTERN PyObject
*_wrap_HelpEvent_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39582 PyObject
*resultobj
= 0;
39583 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39584 wxString
*arg2
= 0 ;
39587 bool temp2
= false ;
39588 PyObject
* obj0
= 0 ;
39589 PyObject
* obj1
= 0 ;
39590 char * kwnames
[] = {
39591 (char *) "self",(char *) "link", NULL
39594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39596 if (!SWIG_IsOK(res1
)) {
39597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39599 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39601 arg2
= wxString_in_helper(obj1
);
39602 if (arg2
== NULL
) SWIG_fail
;
39606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39607 (arg1
)->SetLink((wxString
const &)*arg2
);
39608 wxPyEndAllowThreads(__tstate
);
39609 if (PyErr_Occurred()) SWIG_fail
;
39611 resultobj
= SWIG_Py_Void();
39626 SWIGINTERN PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39627 PyObject
*resultobj
= 0;
39628 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39629 wxString
*result
= 0 ;
39632 PyObject
*swig_obj
[1] ;
39634 if (!args
) SWIG_fail
;
39635 swig_obj
[0] = args
;
39636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39637 if (!SWIG_IsOK(res1
)) {
39638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39640 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39644 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
39645 result
= (wxString
*) &_result_ref
;
39647 wxPyEndAllowThreads(__tstate
);
39648 if (PyErr_Occurred()) SWIG_fail
;
39652 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39654 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39663 SWIGINTERN PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39664 PyObject
*resultobj
= 0;
39665 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39666 wxString
*arg2
= 0 ;
39669 bool temp2
= false ;
39670 PyObject
* obj0
= 0 ;
39671 PyObject
* obj1
= 0 ;
39672 char * kwnames
[] = {
39673 (char *) "self",(char *) "target", NULL
39676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",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_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39681 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39683 arg2
= wxString_in_helper(obj1
);
39684 if (arg2
== NULL
) SWIG_fail
;
39688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39689 (arg1
)->SetTarget((wxString
const &)*arg2
);
39690 wxPyEndAllowThreads(__tstate
);
39691 if (PyErr_Occurred()) SWIG_fail
;
39693 resultobj
= SWIG_Py_Void();
39708 SWIGINTERN PyObject
*_wrap_HelpEvent_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39709 PyObject
*resultobj
= 0;
39710 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39711 wxHelpEvent::Origin result
;
39714 PyObject
*swig_obj
[1] ;
39716 if (!args
) SWIG_fail
;
39717 swig_obj
[0] = args
;
39718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39719 if (!SWIG_IsOK(res1
)) {
39720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39722 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39725 result
= (wxHelpEvent::Origin
)((wxHelpEvent
const *)arg1
)->GetOrigin();
39726 wxPyEndAllowThreads(__tstate
);
39727 if (PyErr_Occurred()) SWIG_fail
;
39729 resultobj
= SWIG_From_int(static_cast< int >(result
));
39736 SWIGINTERN PyObject
*_wrap_HelpEvent_SetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39737 PyObject
*resultobj
= 0;
39738 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39739 wxHelpEvent::Origin arg2
;
39744 PyObject
* obj0
= 0 ;
39745 PyObject
* obj1
= 0 ;
39746 char * kwnames
[] = {
39747 (char *) "self",(char *) "origin", NULL
39750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetOrigin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39752 if (!SWIG_IsOK(res1
)) {
39753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39755 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39756 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39757 if (!SWIG_IsOK(ecode2
)) {
39758 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "2"" of type '" "wxHelpEvent::Origin""'");
39760 arg2
= static_cast< wxHelpEvent::Origin
>(val2
);
39762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39763 (arg1
)->SetOrigin(arg2
);
39764 wxPyEndAllowThreads(__tstate
);
39765 if (PyErr_Occurred()) SWIG_fail
;
39767 resultobj
= SWIG_Py_Void();
39774 SWIGINTERN PyObject
*HelpEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39776 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39777 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent
, SWIG_NewClientData(obj
));
39778 return SWIG_Py_Void();
39781 SWIGINTERN PyObject
*HelpEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39782 return SWIG_Python_InitShadowInstance(args
);
39785 SWIGINTERN PyObject
*_wrap_new_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39786 PyObject
*resultobj
= 0;
39787 wxWindow
*arg1
= (wxWindow
*) NULL
;
39788 bool arg2
= (bool) true ;
39789 wxContextHelp
*result
= 0 ;
39794 PyObject
* obj0
= 0 ;
39795 PyObject
* obj1
= 0 ;
39796 char * kwnames
[] = {
39797 (char *) "window",(char *) "doNow", NULL
39800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39803 if (!SWIG_IsOK(res1
)) {
39804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
39806 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39809 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
39810 if (!SWIG_IsOK(ecode2
)) {
39811 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
39813 arg2
= static_cast< bool >(val2
);
39816 if (!wxPyCheckForApp()) SWIG_fail
;
39817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39818 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
39819 wxPyEndAllowThreads(__tstate
);
39820 if (PyErr_Occurred()) SWIG_fail
;
39822 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_NEW
| 0 );
39829 SWIGINTERN PyObject
*_wrap_delete_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39830 PyObject
*resultobj
= 0;
39831 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39834 PyObject
*swig_obj
[1] ;
39836 if (!args
) SWIG_fail
;
39837 swig_obj
[0] = args
;
39838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_DISOWN
| 0 );
39839 if (!SWIG_IsOK(res1
)) {
39840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39842 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39847 wxPyEndAllowThreads(__tstate
);
39848 if (PyErr_Occurred()) SWIG_fail
;
39850 resultobj
= SWIG_Py_Void();
39857 SWIGINTERN PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39858 PyObject
*resultobj
= 0;
39859 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39860 wxWindow
*arg2
= (wxWindow
*) NULL
;
39866 PyObject
* obj0
= 0 ;
39867 PyObject
* obj1
= 0 ;
39868 char * kwnames
[] = {
39869 (char *) "self",(char *) "window", NULL
39872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39874 if (!SWIG_IsOK(res1
)) {
39875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39877 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39879 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39880 if (!SWIG_IsOK(res2
)) {
39881 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39883 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39887 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
39888 wxPyEndAllowThreads(__tstate
);
39889 if (PyErr_Occurred()) SWIG_fail
;
39892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39900 SWIGINTERN PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39901 PyObject
*resultobj
= 0;
39902 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39906 PyObject
*swig_obj
[1] ;
39908 if (!args
) SWIG_fail
;
39909 swig_obj
[0] = args
;
39910 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39911 if (!SWIG_IsOK(res1
)) {
39912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39914 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39917 result
= (bool)(arg1
)->EndContextHelp();
39918 wxPyEndAllowThreads(__tstate
);
39919 if (PyErr_Occurred()) SWIG_fail
;
39922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39930 SWIGINTERN PyObject
*ContextHelp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39932 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39933 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp
, SWIG_NewClientData(obj
));
39934 return SWIG_Py_Void();
39937 SWIGINTERN PyObject
*ContextHelp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39938 return SWIG_Python_InitShadowInstance(args
);
39941 SWIGINTERN PyObject
*_wrap_new_ContextHelpButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39942 PyObject
*resultobj
= 0;
39943 wxWindow
*arg1
= (wxWindow
*) 0 ;
39944 int arg2
= (int) wxID_CONTEXT_HELP
;
39945 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39946 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39947 wxSize
const &arg4_defvalue
= wxDefaultSize
;
39948 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
39949 long arg5
= (long) wxBU_AUTODRAW
;
39950 wxContextHelpButton
*result
= 0 ;
39959 PyObject
* obj0
= 0 ;
39960 PyObject
* obj1
= 0 ;
39961 PyObject
* obj2
= 0 ;
39962 PyObject
* obj3
= 0 ;
39963 PyObject
* obj4
= 0 ;
39964 char * kwnames
[] = {
39965 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
39968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39970 if (!SWIG_IsOK(res1
)) {
39971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
39973 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39975 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39976 if (!SWIG_IsOK(ecode2
)) {
39977 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
39979 arg2
= static_cast< int >(val2
);
39984 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39990 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
39994 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
39995 if (!SWIG_IsOK(ecode5
)) {
39996 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
39998 arg5
= static_cast< long >(val5
);
40001 if (!wxPyCheckForApp()) SWIG_fail
;
40002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40003 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
40004 wxPyEndAllowThreads(__tstate
);
40005 if (PyErr_Occurred()) SWIG_fail
;
40007 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelpButton
, SWIG_POINTER_NEW
| 0 );
40014 SWIGINTERN PyObject
*ContextHelpButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40016 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40017 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton
, SWIG_NewClientData(obj
));
40018 return SWIG_Py_Void();
40021 SWIGINTERN PyObject
*ContextHelpButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40022 return SWIG_Python_InitShadowInstance(args
);
40025 SWIGINTERN PyObject
*_wrap_delete_HelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40026 PyObject
*resultobj
= 0;
40027 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40030 PyObject
*swig_obj
[1] ;
40032 if (!args
) SWIG_fail
;
40033 swig_obj
[0] = args
;
40034 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
40035 if (!SWIG_IsOK(res1
)) {
40036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40038 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40043 wxPyEndAllowThreads(__tstate
);
40044 if (PyErr_Occurred()) SWIG_fail
;
40046 resultobj
= SWIG_Py_Void();
40053 SWIGINTERN PyObject
*_wrap_HelpProvider_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40054 PyObject
*resultobj
= 0;
40055 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40056 wxHelpProvider
*result
= 0 ;
40058 PyObject
* obj0
= 0 ;
40059 char * kwnames
[] = {
40060 (char *) "helpProvider", NULL
40063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) SWIG_fail
;
40064 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
40065 if (!SWIG_IsOK(res1
)) {
40066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40070 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
40071 wxPyEndAllowThreads(__tstate
);
40072 if (PyErr_Occurred()) SWIG_fail
;
40074 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_OWN
| 0 );
40081 SWIGINTERN PyObject
*_wrap_HelpProvider_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40082 PyObject
*resultobj
= 0;
40083 wxHelpProvider
*result
= 0 ;
40085 if (!SWIG_Python_UnpackTuple(args
,"HelpProvider_Get",0,0,0)) SWIG_fail
;
40087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40088 result
= (wxHelpProvider
*)wxHelpProvider::Get();
40089 wxPyEndAllowThreads(__tstate
);
40090 if (PyErr_Occurred()) SWIG_fail
;
40092 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40099 SWIGINTERN PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40100 PyObject
*resultobj
= 0;
40101 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40102 wxWindow
*arg2
= (wxWindow
*) 0 ;
40108 PyObject
* obj0
= 0 ;
40109 PyObject
* obj1
= 0 ;
40110 char * kwnames
[] = {
40111 (char *) "self",(char *) "window", NULL
40114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40116 if (!SWIG_IsOK(res1
)) {
40117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40119 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40120 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40121 if (!SWIG_IsOK(res2
)) {
40122 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
40124 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40127 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
40128 wxPyEndAllowThreads(__tstate
);
40129 if (PyErr_Occurred()) SWIG_fail
;
40133 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
40135 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
40144 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40145 PyObject
*resultobj
= 0;
40146 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40147 wxWindow
*arg2
= (wxWindow
*) 0 ;
40153 PyObject
* obj0
= 0 ;
40154 PyObject
* obj1
= 0 ;
40155 char * kwnames
[] = {
40156 (char *) "self",(char *) "window", NULL
40159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40161 if (!SWIG_IsOK(res1
)) {
40162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40164 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40165 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40166 if (!SWIG_IsOK(res2
)) {
40167 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40169 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40172 result
= (bool)(arg1
)->ShowHelp(arg2
);
40173 wxPyEndAllowThreads(__tstate
);
40174 if (PyErr_Occurred()) SWIG_fail
;
40177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40185 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelpAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40186 PyObject
*resultobj
= 0;
40187 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40188 wxWindowBase
*arg2
= (wxWindowBase
*) 0 ;
40189 wxPoint
*arg3
= 0 ;
40190 wxHelpEvent::Origin arg4
;
40199 PyObject
* obj0
= 0 ;
40200 PyObject
* obj1
= 0 ;
40201 PyObject
* obj2
= 0 ;
40202 PyObject
* obj3
= 0 ;
40203 char * kwnames
[] = {
40204 (char *) "self",(char *) "window",(char *) "pt",(char *) "origin", NULL
40207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HelpProvider_ShowHelpAtPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40209 if (!SWIG_IsOK(res1
)) {
40210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40212 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40213 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindowBase
, 0 | 0 );
40214 if (!SWIG_IsOK(res2
)) {
40215 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "2"" of type '" "wxWindowBase *""'");
40217 arg2
= reinterpret_cast< wxWindowBase
* >(argp2
);
40220 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40222 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
40223 if (!SWIG_IsOK(ecode4
)) {
40224 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
40226 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
40228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40229 result
= (bool)(arg1
)->ShowHelpAtPoint(arg2
,(wxPoint
const &)*arg3
,arg4
);
40230 wxPyEndAllowThreads(__tstate
);
40231 if (PyErr_Occurred()) SWIG_fail
;
40234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40242 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40243 PyObject
*resultobj
= 0;
40244 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40245 wxWindow
*arg2
= (wxWindow
*) 0 ;
40246 wxString
*arg3
= 0 ;
40251 bool temp3
= false ;
40252 PyObject
* obj0
= 0 ;
40253 PyObject
* obj1
= 0 ;
40254 PyObject
* obj2
= 0 ;
40255 char * kwnames
[] = {
40256 (char *) "self",(char *) "window",(char *) "text", NULL
40259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40261 if (!SWIG_IsOK(res1
)) {
40262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40264 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40265 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40266 if (!SWIG_IsOK(res2
)) {
40267 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40269 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40271 arg3
= wxString_in_helper(obj2
);
40272 if (arg3
== NULL
) SWIG_fail
;
40276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40277 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40278 wxPyEndAllowThreads(__tstate
);
40279 if (PyErr_Occurred()) SWIG_fail
;
40281 resultobj
= SWIG_Py_Void();
40296 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40297 PyObject
*resultobj
= 0;
40298 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40300 wxString
*arg3
= 0 ;
40305 bool temp3
= false ;
40306 PyObject
* obj0
= 0 ;
40307 PyObject
* obj1
= 0 ;
40308 PyObject
* obj2
= 0 ;
40309 char * kwnames
[] = {
40310 (char *) "self",(char *) "id",(char *) "text", NULL
40313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40315 if (!SWIG_IsOK(res1
)) {
40316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40318 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40319 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40320 if (!SWIG_IsOK(ecode2
)) {
40321 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
40323 arg2
= static_cast< int >(val2
);
40325 arg3
= wxString_in_helper(obj2
);
40326 if (arg3
== NULL
) SWIG_fail
;
40330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40331 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40332 wxPyEndAllowThreads(__tstate
);
40333 if (PyErr_Occurred()) SWIG_fail
;
40335 resultobj
= SWIG_Py_Void();
40350 SWIGINTERN PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40351 PyObject
*resultobj
= 0;
40352 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40353 wxWindow
*arg2
= (wxWindow
*) 0 ;
40358 PyObject
* obj0
= 0 ;
40359 PyObject
* obj1
= 0 ;
40360 char * kwnames
[] = {
40361 (char *) "self",(char *) "window", NULL
40364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40366 if (!SWIG_IsOK(res1
)) {
40367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40369 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40370 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40371 if (!SWIG_IsOK(res2
)) {
40372 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40374 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40377 (arg1
)->RemoveHelp(arg2
);
40378 wxPyEndAllowThreads(__tstate
);
40379 if (PyErr_Occurred()) SWIG_fail
;
40381 resultobj
= SWIG_Py_Void();
40388 SWIGINTERN PyObject
*_wrap_HelpProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40389 PyObject
*resultobj
= 0;
40390 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40393 PyObject
*swig_obj
[1] ;
40395 if (!args
) SWIG_fail
;
40396 swig_obj
[0] = args
;
40397 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40398 if (!SWIG_IsOK(res1
)) {
40399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40401 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40404 wxHelpProvider_Destroy(arg1
);
40405 wxPyEndAllowThreads(__tstate
);
40406 if (PyErr_Occurred()) SWIG_fail
;
40408 resultobj
= SWIG_Py_Void();
40415 SWIGINTERN PyObject
*HelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40417 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40418 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider
, SWIG_NewClientData(obj
));
40419 return SWIG_Py_Void();
40422 SWIGINTERN PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40423 PyObject
*resultobj
= 0;
40424 wxSimpleHelpProvider
*result
= 0 ;
40426 if (!SWIG_Python_UnpackTuple(args
,"new_SimpleHelpProvider",0,0,0)) SWIG_fail
;
40428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40429 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
40430 wxPyEndAllowThreads(__tstate
);
40431 if (PyErr_Occurred()) SWIG_fail
;
40433 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_POINTER_NEW
| 0 );
40440 SWIGINTERN PyObject
*SimpleHelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40442 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40443 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_NewClientData(obj
));
40444 return SWIG_Py_Void();
40447 SWIGINTERN PyObject
*SimpleHelpProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40448 return SWIG_Python_InitShadowInstance(args
);
40451 SWIGINTERN PyObject
*_wrap_new_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40452 PyObject
*resultobj
= 0;
40453 wxBitmap
*arg1
= 0 ;
40454 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40455 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40456 wxGenericDragImage
*result
= 0 ;
40461 PyObject
* obj0
= 0 ;
40462 PyObject
* obj1
= 0 ;
40463 char * kwnames
[] = {
40464 (char *) "image",(char *) "cursor", NULL
40467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40468 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
40469 if (!SWIG_IsOK(res1
)) {
40470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40473 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40475 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
40477 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40478 if (!SWIG_IsOK(res2
)) {
40479 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40482 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40484 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40487 if (!wxPyCheckForApp()) SWIG_fail
;
40488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40489 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
40490 wxPyEndAllowThreads(__tstate
);
40491 if (PyErr_Occurred()) SWIG_fail
;
40493 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_NEW
| 0 );
40500 SWIGINTERN PyObject
*_wrap_new_DragIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40501 PyObject
*resultobj
= 0;
40503 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40504 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40505 wxGenericDragImage
*result
= 0 ;
40510 PyObject
* obj0
= 0 ;
40511 PyObject
* obj1
= 0 ;
40512 char * kwnames
[] = {
40513 (char *) "image",(char *) "cursor", NULL
40516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40517 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
40518 if (!SWIG_IsOK(res1
)) {
40519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40522 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40524 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
40526 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40527 if (!SWIG_IsOK(res2
)) {
40528 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40531 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40533 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40536 if (!wxPyCheckForApp()) SWIG_fail
;
40537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40538 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
40539 wxPyEndAllowThreads(__tstate
);
40540 if (PyErr_Occurred()) SWIG_fail
;
40542 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40549 SWIGINTERN PyObject
*_wrap_new_DragString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40550 PyObject
*resultobj
= 0;
40551 wxString
*arg1
= 0 ;
40552 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40553 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40554 wxGenericDragImage
*result
= 0 ;
40555 bool temp1
= false ;
40558 PyObject
* obj0
= 0 ;
40559 PyObject
* obj1
= 0 ;
40560 char * kwnames
[] = {
40561 (char *) "str",(char *) "cursor", NULL
40564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40566 arg1
= wxString_in_helper(obj0
);
40567 if (arg1
== NULL
) SWIG_fail
;
40571 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40572 if (!SWIG_IsOK(res2
)) {
40573 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40576 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40578 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40581 if (!wxPyCheckForApp()) SWIG_fail
;
40582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40583 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
40584 wxPyEndAllowThreads(__tstate
);
40585 if (PyErr_Occurred()) SWIG_fail
;
40587 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40602 SWIGINTERN PyObject
*_wrap_new_DragTreeItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40603 PyObject
*resultobj
= 0;
40604 wxPyTreeCtrl
*arg1
= 0 ;
40605 wxTreeItemId
*arg2
= 0 ;
40606 wxGenericDragImage
*result
= 0 ;
40611 PyObject
* obj0
= 0 ;
40612 PyObject
* obj1
= 0 ;
40613 char * kwnames
[] = {
40614 (char *) "treeCtrl",(char *) "id", NULL
40617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40618 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0);
40619 if (!SWIG_IsOK(res1
)) {
40620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40623 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40625 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
40626 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 );
40627 if (!SWIG_IsOK(res2
)) {
40628 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40631 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40633 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
40635 if (!wxPyCheckForApp()) SWIG_fail
;
40636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40637 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
40638 wxPyEndAllowThreads(__tstate
);
40639 if (PyErr_Occurred()) SWIG_fail
;
40641 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40648 SWIGINTERN PyObject
*_wrap_new_DragListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40649 PyObject
*resultobj
= 0;
40650 wxPyListCtrl
*arg1
= 0 ;
40652 wxGenericDragImage
*result
= 0 ;
40657 PyObject
* obj0
= 0 ;
40658 PyObject
* obj1
= 0 ;
40659 char * kwnames
[] = {
40660 (char *) "listCtrl",(char *) "id", NULL
40663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40664 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyListCtrl
, 0 | 0);
40665 if (!SWIG_IsOK(res1
)) {
40666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40669 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40671 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
40672 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
40673 if (!SWIG_IsOK(ecode2
)) {
40674 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
40676 arg2
= static_cast< long >(val2
);
40678 if (!wxPyCheckForApp()) SWIG_fail
;
40679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40680 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
40681 wxPyEndAllowThreads(__tstate
);
40682 if (PyErr_Occurred()) SWIG_fail
;
40684 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40691 SWIGINTERN PyObject
*_wrap_delete_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40692 PyObject
*resultobj
= 0;
40693 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40696 PyObject
*swig_obj
[1] ;
40698 if (!args
) SWIG_fail
;
40699 swig_obj
[0] = args
;
40700 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_DISOWN
| 0 );
40701 if (!SWIG_IsOK(res1
)) {
40702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40704 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40709 wxPyEndAllowThreads(__tstate
);
40710 if (PyErr_Occurred()) SWIG_fail
;
40712 resultobj
= SWIG_Py_Void();
40719 SWIGINTERN PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40720 PyObject
*resultobj
= 0;
40721 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40722 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
40727 PyObject
* obj0
= 0 ;
40728 PyObject
* obj1
= 0 ;
40729 char * kwnames
[] = {
40730 (char *) "self",(char *) "bitmap", NULL
40733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40735 if (!SWIG_IsOK(res1
)) {
40736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40738 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40739 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
40740 if (!SWIG_IsOK(res2
)) {
40741 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
40743 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
40745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40746 (arg1
)->SetBackingBitmap(arg2
);
40747 wxPyEndAllowThreads(__tstate
);
40748 if (PyErr_Occurred()) SWIG_fail
;
40750 resultobj
= SWIG_Py_Void();
40757 SWIGINTERN PyObject
*_wrap_DragImage_BeginDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40758 PyObject
*resultobj
= 0;
40759 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40760 wxPoint
*arg2
= 0 ;
40761 wxWindow
*arg3
= (wxWindow
*) 0 ;
40762 bool arg4
= (bool) false ;
40763 wxRect
*arg5
= (wxRect
*) NULL
;
40774 PyObject
* obj0
= 0 ;
40775 PyObject
* obj1
= 0 ;
40776 PyObject
* obj2
= 0 ;
40777 PyObject
* obj3
= 0 ;
40778 PyObject
* obj4
= 0 ;
40779 char * kwnames
[] = {
40780 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
40783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40785 if (!SWIG_IsOK(res1
)) {
40786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40788 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40791 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40793 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40794 if (!SWIG_IsOK(res3
)) {
40795 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
40797 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40799 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
40800 if (!SWIG_IsOK(ecode4
)) {
40801 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
40803 arg4
= static_cast< bool >(val4
);
40806 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxRect
, 0 | 0 );
40807 if (!SWIG_IsOK(res5
)) {
40808 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
40810 arg5
= reinterpret_cast< wxRect
* >(argp5
);
40813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40814 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
40815 wxPyEndAllowThreads(__tstate
);
40816 if (PyErr_Occurred()) SWIG_fail
;
40819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40827 SWIGINTERN PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40828 PyObject
*resultobj
= 0;
40829 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40830 wxPoint
*arg2
= 0 ;
40831 wxWindow
*arg3
= (wxWindow
*) 0 ;
40832 wxWindow
*arg4
= (wxWindow
*) 0 ;
40841 PyObject
* obj0
= 0 ;
40842 PyObject
* obj1
= 0 ;
40843 PyObject
* obj2
= 0 ;
40844 PyObject
* obj3
= 0 ;
40845 char * kwnames
[] = {
40846 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
40849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40851 if (!SWIG_IsOK(res1
)) {
40852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40854 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40857 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40859 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40860 if (!SWIG_IsOK(res3
)) {
40861 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
40863 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40864 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40865 if (!SWIG_IsOK(res4
)) {
40866 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
40868 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
40870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40871 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
40872 wxPyEndAllowThreads(__tstate
);
40873 if (PyErr_Occurred()) SWIG_fail
;
40876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40884 SWIGINTERN PyObject
*_wrap_DragImage_EndDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40885 PyObject
*resultobj
= 0;
40886 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40890 PyObject
*swig_obj
[1] ;
40892 if (!args
) SWIG_fail
;
40893 swig_obj
[0] = args
;
40894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40895 if (!SWIG_IsOK(res1
)) {
40896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40898 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40901 result
= (bool)(arg1
)->EndDrag();
40902 wxPyEndAllowThreads(__tstate
);
40903 if (PyErr_Occurred()) SWIG_fail
;
40906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40914 SWIGINTERN PyObject
*_wrap_DragImage_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40915 PyObject
*resultobj
= 0;
40916 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40917 wxPoint
*arg2
= 0 ;
40922 PyObject
* obj0
= 0 ;
40923 PyObject
* obj1
= 0 ;
40924 char * kwnames
[] = {
40925 (char *) "self",(char *) "pt", NULL
40928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40930 if (!SWIG_IsOK(res1
)) {
40931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40933 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40936 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40940 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
40941 wxPyEndAllowThreads(__tstate
);
40942 if (PyErr_Occurred()) SWIG_fail
;
40945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40953 SWIGINTERN PyObject
*_wrap_DragImage_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40954 PyObject
*resultobj
= 0;
40955 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40959 PyObject
*swig_obj
[1] ;
40961 if (!args
) SWIG_fail
;
40962 swig_obj
[0] = args
;
40963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40964 if (!SWIG_IsOK(res1
)) {
40965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40967 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40970 result
= (bool)(arg1
)->Show();
40971 wxPyEndAllowThreads(__tstate
);
40972 if (PyErr_Occurred()) SWIG_fail
;
40975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40983 SWIGINTERN PyObject
*_wrap_DragImage_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40984 PyObject
*resultobj
= 0;
40985 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40989 PyObject
*swig_obj
[1] ;
40991 if (!args
) SWIG_fail
;
40992 swig_obj
[0] = args
;
40993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40994 if (!SWIG_IsOK(res1
)) {
40995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40997 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41000 result
= (bool)(arg1
)->Hide();
41001 wxPyEndAllowThreads(__tstate
);
41002 if (PyErr_Occurred()) SWIG_fail
;
41005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41013 SWIGINTERN PyObject
*_wrap_DragImage_GetImageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41014 PyObject
*resultobj
= 0;
41015 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41016 wxPoint
*arg2
= 0 ;
41021 PyObject
* obj0
= 0 ;
41022 PyObject
* obj1
= 0 ;
41023 char * kwnames
[] = {
41024 (char *) "self",(char *) "pos", NULL
41027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41029 if (!SWIG_IsOK(res1
)) {
41030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41032 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41035 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41039 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
41040 wxPyEndAllowThreads(__tstate
);
41041 if (PyErr_Occurred()) SWIG_fail
;
41043 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
41050 SWIGINTERN PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41051 PyObject
*resultobj
= 0;
41052 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41054 wxPoint
*arg3
= 0 ;
41061 PyObject
* obj0
= 0 ;
41062 PyObject
* obj1
= 0 ;
41063 PyObject
* obj2
= 0 ;
41064 char * kwnames
[] = {
41065 (char *) "self",(char *) "dc",(char *) "pos", NULL
41068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41070 if (!SWIG_IsOK(res1
)) {
41071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41073 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41074 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
41075 if (!SWIG_IsOK(res2
)) {
41076 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41079 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41081 arg2
= reinterpret_cast< wxDC
* >(argp2
);
41084 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
41087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41088 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
41089 wxPyEndAllowThreads(__tstate
);
41090 if (PyErr_Occurred()) SWIG_fail
;
41093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41101 SWIGINTERN PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41102 PyObject
*resultobj
= 0;
41103 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41105 wxMemoryDC
*arg3
= 0 ;
41117 PyObject
* obj0
= 0 ;
41118 PyObject
* obj1
= 0 ;
41119 PyObject
* obj2
= 0 ;
41120 PyObject
* obj3
= 0 ;
41121 PyObject
* obj4
= 0 ;
41122 char * kwnames
[] = {
41123 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
41126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41128 if (!SWIG_IsOK(res1
)) {
41129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41131 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41132 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
41133 if (!SWIG_IsOK(res2
)) {
41134 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41137 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41139 arg2
= reinterpret_cast< wxDC
* >(argp2
);
41140 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxMemoryDC
, 0 );
41141 if (!SWIG_IsOK(res3
)) {
41142 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41145 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41147 arg3
= reinterpret_cast< wxMemoryDC
* >(argp3
);
41150 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
41154 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
41157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41158 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
41159 wxPyEndAllowThreads(__tstate
);
41160 if (PyErr_Occurred()) SWIG_fail
;
41163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41171 SWIGINTERN PyObject
*_wrap_DragImage_RedrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41172 PyObject
*resultobj
= 0;
41173 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41174 wxPoint
*arg2
= 0 ;
41175 wxPoint
*arg3
= 0 ;
41187 PyObject
* obj0
= 0 ;
41188 PyObject
* obj1
= 0 ;
41189 PyObject
* obj2
= 0 ;
41190 PyObject
* obj3
= 0 ;
41191 PyObject
* obj4
= 0 ;
41192 char * kwnames
[] = {
41193 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
41196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41198 if (!SWIG_IsOK(res1
)) {
41199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41201 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41204 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41208 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
41210 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
41211 if (!SWIG_IsOK(ecode4
)) {
41212 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
41214 arg4
= static_cast< bool >(val4
);
41215 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
41216 if (!SWIG_IsOK(ecode5
)) {
41217 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
41219 arg5
= static_cast< bool >(val5
);
41221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41222 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
41223 wxPyEndAllowThreads(__tstate
);
41224 if (PyErr_Occurred()) SWIG_fail
;
41227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41235 SWIGINTERN PyObject
*DragImage_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41237 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41238 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage
, SWIG_NewClientData(obj
));
41239 return SWIG_Py_Void();
41242 SWIGINTERN PyObject
*DragImage_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41243 return SWIG_Python_InitShadowInstance(args
);
41246 SWIGINTERN
int DatePickerCtrlNameStr_set(PyObject
*) {
41247 SWIG_Error(SWIG_AttributeError
,"Variable DatePickerCtrlNameStr is read-only.");
41252 SWIGINTERN PyObject
*DatePickerCtrlNameStr_get(void) {
41253 PyObject
*pyobj
= 0;
41257 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
41259 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
41266 SWIGINTERN PyObject
*_wrap_new_DatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41267 PyObject
*resultobj
= 0;
41268 wxWindow
*arg1
= (wxWindow
*) 0 ;
41269 int arg2
= (int) -1 ;
41270 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
41271 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
41272 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
41273 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
41274 wxSize
const &arg5_defvalue
= wxDefaultSize
;
41275 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
41276 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41277 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
41278 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
41279 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
41280 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41281 wxDatePickerCtrl
*result
= 0 ;
41294 bool temp8
= false ;
41295 PyObject
* obj0
= 0 ;
41296 PyObject
* obj1
= 0 ;
41297 PyObject
* obj2
= 0 ;
41298 PyObject
* obj3
= 0 ;
41299 PyObject
* obj4
= 0 ;
41300 PyObject
* obj5
= 0 ;
41301 PyObject
* obj6
= 0 ;
41302 PyObject
* obj7
= 0 ;
41303 char * kwnames
[] = {
41304 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41309 if (!SWIG_IsOK(res1
)) {
41310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41312 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41314 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41315 if (!SWIG_IsOK(ecode2
)) {
41316 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
41318 arg2
= static_cast< int >(val2
);
41321 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41322 if (!SWIG_IsOK(res3
)) {
41323 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41326 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41328 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41333 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
41339 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
41343 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
41344 if (!SWIG_IsOK(ecode6
)) {
41345 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
41347 arg6
= static_cast< long >(val6
);
41350 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
41351 if (!SWIG_IsOK(res7
)) {
41352 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41355 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41357 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
41361 arg8
= wxString_in_helper(obj7
);
41362 if (arg8
== NULL
) SWIG_fail
;
41367 if (!wxPyCheckForApp()) SWIG_fail
;
41368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41369 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
41370 wxPyEndAllowThreads(__tstate
);
41371 if (PyErr_Occurred()) SWIG_fail
;
41373 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_NEW
| 0 );
41388 SWIGINTERN PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41389 PyObject
*resultobj
= 0;
41390 wxDatePickerCtrl
*result
= 0 ;
41392 if (!SWIG_Python_UnpackTuple(args
,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail
;
41394 if (!wxPyCheckForApp()) SWIG_fail
;
41395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41396 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
41397 wxPyEndAllowThreads(__tstate
);
41398 if (PyErr_Occurred()) SWIG_fail
;
41400 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_OWN
| 0 );
41407 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41408 PyObject
*resultobj
= 0;
41409 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41410 wxWindow
*arg2
= (wxWindow
*) 0 ;
41411 int arg3
= (int) -1 ;
41412 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
41413 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
41414 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41415 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41416 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41417 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41418 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41419 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
41420 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
41421 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
41422 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41438 bool temp9
= false ;
41439 PyObject
* obj0
= 0 ;
41440 PyObject
* obj1
= 0 ;
41441 PyObject
* obj2
= 0 ;
41442 PyObject
* obj3
= 0 ;
41443 PyObject
* obj4
= 0 ;
41444 PyObject
* obj5
= 0 ;
41445 PyObject
* obj6
= 0 ;
41446 PyObject
* obj7
= 0 ;
41447 PyObject
* obj8
= 0 ;
41448 char * kwnames
[] = {
41449 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41454 if (!SWIG_IsOK(res1
)) {
41455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41457 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41458 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41459 if (!SWIG_IsOK(res2
)) {
41460 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41462 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41464 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41465 if (!SWIG_IsOK(ecode3
)) {
41466 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41468 arg3
= static_cast< int >(val3
);
41471 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41472 if (!SWIG_IsOK(res4
)) {
41473 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41476 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41478 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
41483 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41489 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41493 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41494 if (!SWIG_IsOK(ecode7
)) {
41495 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
41497 arg7
= static_cast< long >(val7
);
41500 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
41501 if (!SWIG_IsOK(res8
)) {
41502 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41505 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41507 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
41511 arg9
= wxString_in_helper(obj8
);
41512 if (arg9
== NULL
) SWIG_fail
;
41517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41518 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
41519 wxPyEndAllowThreads(__tstate
);
41520 if (PyErr_Occurred()) SWIG_fail
;
41523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41539 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41540 PyObject
*resultobj
= 0;
41541 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41542 wxDateTime
*arg2
= 0 ;
41547 PyObject
* obj0
= 0 ;
41548 PyObject
* obj1
= 0 ;
41549 char * kwnames
[] = {
41550 (char *) "self",(char *) "dt", NULL
41553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41554 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41555 if (!SWIG_IsOK(res1
)) {
41556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41558 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41559 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41560 if (!SWIG_IsOK(res2
)) {
41561 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41564 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41566 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41569 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
41570 wxPyEndAllowThreads(__tstate
);
41571 if (PyErr_Occurred()) SWIG_fail
;
41573 resultobj
= SWIG_Py_Void();
41580 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41581 PyObject
*resultobj
= 0;
41582 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41586 PyObject
*swig_obj
[1] ;
41588 if (!args
) SWIG_fail
;
41589 swig_obj
[0] = args
;
41590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41591 if (!SWIG_IsOK(res1
)) {
41592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
41594 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41597 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
41598 wxPyEndAllowThreads(__tstate
);
41599 if (PyErr_Occurred()) SWIG_fail
;
41601 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41608 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41609 PyObject
*resultobj
= 0;
41610 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41611 wxDateTime
*arg2
= 0 ;
41612 wxDateTime
*arg3
= 0 ;
41619 PyObject
* obj0
= 0 ;
41620 PyObject
* obj1
= 0 ;
41621 PyObject
* obj2
= 0 ;
41622 char * kwnames
[] = {
41623 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
41626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41627 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41628 if (!SWIG_IsOK(res1
)) {
41629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41631 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41632 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41633 if (!SWIG_IsOK(res2
)) {
41634 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41637 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41639 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41640 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41641 if (!SWIG_IsOK(res3
)) {
41642 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41645 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41647 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41650 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
41651 wxPyEndAllowThreads(__tstate
);
41652 if (PyErr_Occurred()) SWIG_fail
;
41654 resultobj
= SWIG_Py_Void();
41661 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41662 PyObject
*resultobj
= 0;
41663 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41667 PyObject
*swig_obj
[1] ;
41669 if (!args
) SWIG_fail
;
41670 swig_obj
[0] = args
;
41671 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41672 if (!SWIG_IsOK(res1
)) {
41673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41675 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41678 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
41679 wxPyEndAllowThreads(__tstate
);
41680 if (PyErr_Occurred()) SWIG_fail
;
41682 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41689 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41690 PyObject
*resultobj
= 0;
41691 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41695 PyObject
*swig_obj
[1] ;
41697 if (!args
) SWIG_fail
;
41698 swig_obj
[0] = args
;
41699 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41700 if (!SWIG_IsOK(res1
)) {
41701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41703 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41706 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
41707 wxPyEndAllowThreads(__tstate
);
41708 if (PyErr_Occurred()) SWIG_fail
;
41710 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41717 SWIGINTERN PyObject
*DatePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41719 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41720 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl
, SWIG_NewClientData(obj
));
41721 return SWIG_Py_Void();
41724 SWIGINTERN PyObject
*DatePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41725 return SWIG_Python_InitShadowInstance(args
);
41728 SWIGINTERN
int HyperlinkCtrlNameStr_set(PyObject
*) {
41729 SWIG_Error(SWIG_AttributeError
,"Variable HyperlinkCtrlNameStr is read-only.");
41734 SWIGINTERN PyObject
*HyperlinkCtrlNameStr_get(void) {
41735 PyObject
*pyobj
= 0;
41739 pyobj
= PyUnicode_FromWideChar((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41741 pyobj
= PyString_FromStringAndSize((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41748 SWIGINTERN PyObject
*_wrap_new_HyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41749 PyObject
*resultobj
= 0;
41750 wxWindow
*arg1
= (wxWindow
*) 0 ;
41752 wxString
*arg3
= 0 ;
41753 wxString
*arg4
= 0 ;
41754 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41755 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41756 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41757 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41758 long arg7
= (long) wxHL_DEFAULT_STYLE
;
41759 wxString
const &arg8_defvalue
= wxPyHyperlinkCtrlNameStr
;
41760 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41761 wxHyperlinkCtrl
*result
= 0 ;
41766 bool temp3
= false ;
41767 bool temp4
= false ;
41772 bool temp8
= false ;
41773 PyObject
* obj0
= 0 ;
41774 PyObject
* obj1
= 0 ;
41775 PyObject
* obj2
= 0 ;
41776 PyObject
* obj3
= 0 ;
41777 PyObject
* obj4
= 0 ;
41778 PyObject
* obj5
= 0 ;
41779 PyObject
* obj6
= 0 ;
41780 PyObject
* obj7
= 0 ;
41781 char * kwnames
[] = {
41782 (char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_HyperlinkCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41787 if (!SWIG_IsOK(res1
)) {
41788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41790 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41791 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41792 if (!SWIG_IsOK(ecode2
)) {
41793 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkCtrl" "', expected argument " "2"" of type '" "int""'");
41795 arg2
= static_cast< int >(val2
);
41797 arg3
= wxString_in_helper(obj2
);
41798 if (arg3
== NULL
) SWIG_fail
;
41802 arg4
= wxString_in_helper(obj3
);
41803 if (arg4
== NULL
) SWIG_fail
;
41809 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41815 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41819 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41820 if (!SWIG_IsOK(ecode7
)) {
41821 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_HyperlinkCtrl" "', expected argument " "7"" of type '" "long""'");
41823 arg7
= static_cast< long >(val7
);
41827 arg8
= wxString_in_helper(obj7
);
41828 if (arg8
== NULL
) SWIG_fail
;
41833 if (!wxPyCheckForApp()) SWIG_fail
;
41834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41835 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
41836 wxPyEndAllowThreads(__tstate
);
41837 if (PyErr_Occurred()) SWIG_fail
;
41839 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_NEW
| 0 );
41870 SWIGINTERN PyObject
*_wrap_new_PreHyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41871 PyObject
*resultobj
= 0;
41872 wxHyperlinkCtrl
*result
= 0 ;
41874 if (!SWIG_Python_UnpackTuple(args
,"new_PreHyperlinkCtrl",0,0,0)) SWIG_fail
;
41876 if (!wxPyCheckForApp()) SWIG_fail
;
41877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41878 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl();
41879 wxPyEndAllowThreads(__tstate
);
41880 if (PyErr_Occurred()) SWIG_fail
;
41882 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_OWN
| 0 );
41889 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41890 PyObject
*resultobj
= 0;
41891 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41892 wxWindow
*arg2
= (wxWindow
*) 0 ;
41894 wxString
*arg4
= 0 ;
41895 wxString
*arg5
= 0 ;
41896 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
41897 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
41898 wxSize
const &arg7_defvalue
= wxDefaultSize
;
41899 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
41900 long arg8
= (long) wxHL_DEFAULT_STYLE
;
41901 wxString
const &arg9_defvalue
= wxPyHyperlinkCtrlNameStr
;
41902 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41910 bool temp4
= false ;
41911 bool temp5
= false ;
41916 bool temp9
= false ;
41917 PyObject
* obj0
= 0 ;
41918 PyObject
* obj1
= 0 ;
41919 PyObject
* obj2
= 0 ;
41920 PyObject
* obj3
= 0 ;
41921 PyObject
* obj4
= 0 ;
41922 PyObject
* obj5
= 0 ;
41923 PyObject
* obj6
= 0 ;
41924 PyObject
* obj7
= 0 ;
41925 PyObject
* obj8
= 0 ;
41926 char * kwnames
[] = {
41927 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOO:HyperlinkCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41932 if (!SWIG_IsOK(res1
)) {
41933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41935 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41936 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41937 if (!SWIG_IsOK(res2
)) {
41938 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41940 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41941 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41942 if (!SWIG_IsOK(ecode3
)) {
41943 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41945 arg3
= static_cast< int >(val3
);
41947 arg4
= wxString_in_helper(obj3
);
41948 if (arg4
== NULL
) SWIG_fail
;
41952 arg5
= wxString_in_helper(obj4
);
41953 if (arg5
== NULL
) SWIG_fail
;
41959 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
41965 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
41969 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
41970 if (!SWIG_IsOK(ecode8
)) {
41971 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "8"" of type '" "long""'");
41973 arg8
= static_cast< long >(val8
);
41977 arg9
= wxString_in_helper(obj8
);
41978 if (arg9
== NULL
) SWIG_fail
;
41983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41984 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
41985 wxPyEndAllowThreads(__tstate
);
41986 if (PyErr_Occurred()) SWIG_fail
;
41989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42021 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42022 PyObject
*resultobj
= 0;
42023 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42027 PyObject
*swig_obj
[1] ;
42029 if (!args
) SWIG_fail
;
42030 swig_obj
[0] = args
;
42031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42032 if (!SWIG_IsOK(res1
)) {
42033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42035 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42038 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetHoverColour();
42039 wxPyEndAllowThreads(__tstate
);
42040 if (PyErr_Occurred()) SWIG_fail
;
42042 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42049 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42050 PyObject
*resultobj
= 0;
42051 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42052 wxColour
*arg2
= 0 ;
42056 PyObject
* obj0
= 0 ;
42057 PyObject
* obj1
= 0 ;
42058 char * kwnames
[] = {
42059 (char *) "self",(char *) "colour", NULL
42062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetHoverColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42064 if (!SWIG_IsOK(res1
)) {
42065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42067 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42070 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42074 (arg1
)->SetHoverColour((wxColour
const &)*arg2
);
42075 wxPyEndAllowThreads(__tstate
);
42076 if (PyErr_Occurred()) SWIG_fail
;
42078 resultobj
= SWIG_Py_Void();
42085 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42086 PyObject
*resultobj
= 0;
42087 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42091 PyObject
*swig_obj
[1] ;
42093 if (!args
) SWIG_fail
;
42094 swig_obj
[0] = args
;
42095 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42096 if (!SWIG_IsOK(res1
)) {
42097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42099 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42102 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetNormalColour();
42103 wxPyEndAllowThreads(__tstate
);
42104 if (PyErr_Occurred()) SWIG_fail
;
42106 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42113 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42114 PyObject
*resultobj
= 0;
42115 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42116 wxColour
*arg2
= 0 ;
42120 PyObject
* obj0
= 0 ;
42121 PyObject
* obj1
= 0 ;
42122 char * kwnames
[] = {
42123 (char *) "self",(char *) "colour", NULL
42126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetNormalColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42128 if (!SWIG_IsOK(res1
)) {
42129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42131 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42134 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42138 (arg1
)->SetNormalColour((wxColour
const &)*arg2
);
42139 wxPyEndAllowThreads(__tstate
);
42140 if (PyErr_Occurred()) SWIG_fail
;
42142 resultobj
= SWIG_Py_Void();
42149 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42150 PyObject
*resultobj
= 0;
42151 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42155 PyObject
*swig_obj
[1] ;
42157 if (!args
) SWIG_fail
;
42158 swig_obj
[0] = args
;
42159 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42160 if (!SWIG_IsOK(res1
)) {
42161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42163 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42166 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetVisitedColour();
42167 wxPyEndAllowThreads(__tstate
);
42168 if (PyErr_Occurred()) SWIG_fail
;
42170 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42177 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42178 PyObject
*resultobj
= 0;
42179 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42180 wxColour
*arg2
= 0 ;
42184 PyObject
* obj0
= 0 ;
42185 PyObject
* obj1
= 0 ;
42186 char * kwnames
[] = {
42187 (char *) "self",(char *) "colour", NULL
42190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetVisitedColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42191 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42192 if (!SWIG_IsOK(res1
)) {
42193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42195 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42198 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42202 (arg1
)->SetVisitedColour((wxColour
const &)*arg2
);
42203 wxPyEndAllowThreads(__tstate
);
42204 if (PyErr_Occurred()) SWIG_fail
;
42206 resultobj
= SWIG_Py_Void();
42213 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42214 PyObject
*resultobj
= 0;
42215 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42219 PyObject
*swig_obj
[1] ;
42221 if (!args
) SWIG_fail
;
42222 swig_obj
[0] = args
;
42223 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42224 if (!SWIG_IsOK(res1
)) {
42225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42227 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42230 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetURL();
42231 wxPyEndAllowThreads(__tstate
);
42232 if (PyErr_Occurred()) SWIG_fail
;
42236 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42238 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42247 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42248 PyObject
*resultobj
= 0;
42249 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42250 wxString
*arg2
= 0 ;
42253 bool temp2
= false ;
42254 PyObject
* obj0
= 0 ;
42255 PyObject
* obj1
= 0 ;
42256 char * kwnames
[] = {
42257 (char *) "self",(char *) "url", NULL
42260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42262 if (!SWIG_IsOK(res1
)) {
42263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42265 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42267 arg2
= wxString_in_helper(obj1
);
42268 if (arg2
== NULL
) SWIG_fail
;
42272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42273 (arg1
)->SetURL((wxString
const &)*arg2
);
42274 wxPyEndAllowThreads(__tstate
);
42275 if (PyErr_Occurred()) SWIG_fail
;
42277 resultobj
= SWIG_Py_Void();
42292 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42293 PyObject
*resultobj
= 0;
42294 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42295 bool arg2
= (bool) true ;
42300 PyObject
* obj0
= 0 ;
42301 PyObject
* obj1
= 0 ;
42302 char * kwnames
[] = {
42303 (char *) "self",(char *) "visited", NULL
42306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HyperlinkCtrl_SetVisited",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42308 if (!SWIG_IsOK(res1
)) {
42309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42311 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42313 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42314 if (!SWIG_IsOK(ecode2
)) {
42315 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "2"" of type '" "bool""'");
42317 arg2
= static_cast< bool >(val2
);
42320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42321 (arg1
)->SetVisited(arg2
);
42322 wxPyEndAllowThreads(__tstate
);
42323 if (PyErr_Occurred()) SWIG_fail
;
42325 resultobj
= SWIG_Py_Void();
42332 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42333 PyObject
*resultobj
= 0;
42334 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42338 PyObject
*swig_obj
[1] ;
42340 if (!args
) SWIG_fail
;
42341 swig_obj
[0] = args
;
42342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42343 if (!SWIG_IsOK(res1
)) {
42344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42346 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42349 result
= (bool)((wxHyperlinkCtrl
const *)arg1
)->GetVisited();
42350 wxPyEndAllowThreads(__tstate
);
42351 if (PyErr_Occurred()) SWIG_fail
;
42354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42362 SWIGINTERN PyObject
*HyperlinkCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42364 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42365 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_NewClientData(obj
));
42366 return SWIG_Py_Void();
42369 SWIGINTERN PyObject
*HyperlinkCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42370 return SWIG_Python_InitShadowInstance(args
);
42373 SWIGINTERN PyObject
*_wrap_new_HyperlinkEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42374 PyObject
*resultobj
= 0;
42375 wxObject
*arg1
= (wxObject
*) 0 ;
42377 wxString
*arg3
= 0 ;
42378 wxHyperlinkEvent
*result
= 0 ;
42383 bool temp3
= false ;
42384 PyObject
* obj0
= 0 ;
42385 PyObject
* obj1
= 0 ;
42386 PyObject
* obj2
= 0 ;
42387 char * kwnames
[] = {
42388 (char *) "generator",(char *) "id",(char *) "url", NULL
42391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_HyperlinkEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
42392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
42393 if (!SWIG_IsOK(res1
)) {
42394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkEvent" "', expected argument " "1"" of type '" "wxObject *""'");
42396 arg1
= reinterpret_cast< wxObject
* >(argp1
);
42397 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42398 if (!SWIG_IsOK(ecode2
)) {
42399 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkEvent" "', expected argument " "2"" of type '" "int""'");
42401 arg2
= static_cast< int >(val2
);
42403 arg3
= wxString_in_helper(obj2
);
42404 if (arg3
== NULL
) SWIG_fail
;
42408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42409 result
= (wxHyperlinkEvent
*)new wxHyperlinkEvent(arg1
,arg2
,(wxString
const &)*arg3
);
42410 wxPyEndAllowThreads(__tstate
);
42411 if (PyErr_Occurred()) SWIG_fail
;
42413 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkEvent
, SWIG_POINTER_NEW
| 0 );
42428 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42429 PyObject
*resultobj
= 0;
42430 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42434 PyObject
*swig_obj
[1] ;
42436 if (!args
) SWIG_fail
;
42437 swig_obj
[0] = args
;
42438 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42439 if (!SWIG_IsOK(res1
)) {
42440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent const *""'");
42442 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42445 result
= ((wxHyperlinkEvent
const *)arg1
)->GetURL();
42446 wxPyEndAllowThreads(__tstate
);
42447 if (PyErr_Occurred()) SWIG_fail
;
42451 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42453 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42462 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42463 PyObject
*resultobj
= 0;
42464 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42465 wxString
*arg2
= 0 ;
42468 bool temp2
= false ;
42469 PyObject
* obj0
= 0 ;
42470 PyObject
* obj1
= 0 ;
42471 char * kwnames
[] = {
42472 (char *) "self",(char *) "url", NULL
42475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkEvent_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42477 if (!SWIG_IsOK(res1
)) {
42478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent *""'");
42480 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42482 arg2
= wxString_in_helper(obj1
);
42483 if (arg2
== NULL
) SWIG_fail
;
42487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42488 (arg1
)->SetURL((wxString
const &)*arg2
);
42489 wxPyEndAllowThreads(__tstate
);
42490 if (PyErr_Occurred()) SWIG_fail
;
42492 resultobj
= SWIG_Py_Void();
42507 SWIGINTERN PyObject
*HyperlinkEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42509 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42510 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkEvent
, SWIG_NewClientData(obj
));
42511 return SWIG_Py_Void();
42514 SWIGINTERN PyObject
*HyperlinkEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42515 return SWIG_Python_InitShadowInstance(args
);
42518 SWIGINTERN PyObject
*_wrap_PickerBase_CreateBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42519 PyObject
*resultobj
= 0;
42520 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42521 wxWindow
*arg2
= (wxWindow
*) 0 ;
42523 wxString
const &arg4_defvalue
= wxEmptyString
;
42524 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
42525 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
42526 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
42527 wxSize
const &arg6_defvalue
= wxDefaultSize
;
42528 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
42529 long arg7
= (long) 0 ;
42530 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
42531 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
42532 wxString
const &arg9_defvalue
= wxButtonNameStr
;
42533 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
42541 bool temp4
= false ;
42548 bool temp9
= false ;
42549 PyObject
* obj0
= 0 ;
42550 PyObject
* obj1
= 0 ;
42551 PyObject
* obj2
= 0 ;
42552 PyObject
* obj3
= 0 ;
42553 PyObject
* obj4
= 0 ;
42554 PyObject
* obj5
= 0 ;
42555 PyObject
* obj6
= 0 ;
42556 PyObject
* obj7
= 0 ;
42557 PyObject
* obj8
= 0 ;
42558 char * kwnames
[] = {
42559 (char *) "self",(char *) "parent",(char *) "id",(char *) "text",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:PickerBase_CreateBase",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
42563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42564 if (!SWIG_IsOK(res1
)) {
42565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_CreateBase" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42567 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42568 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42569 if (!SWIG_IsOK(res2
)) {
42570 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PickerBase_CreateBase" "', expected argument " "2"" of type '" "wxWindow *""'");
42572 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
42573 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42574 if (!SWIG_IsOK(ecode3
)) {
42575 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PickerBase_CreateBase" "', expected argument " "3"" of type '" "int""'");
42577 arg3
= static_cast< int >(val3
);
42580 arg4
= wxString_in_helper(obj3
);
42581 if (arg4
== NULL
) SWIG_fail
;
42588 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
42594 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
42598 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
42599 if (!SWIG_IsOK(ecode7
)) {
42600 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PickerBase_CreateBase" "', expected argument " "7"" of type '" "long""'");
42602 arg7
= static_cast< long >(val7
);
42605 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
42606 if (!SWIG_IsOK(res8
)) {
42607 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42610 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42612 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
42616 arg9
= wxString_in_helper(obj8
);
42617 if (arg9
== NULL
) SWIG_fail
;
42622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42623 result
= (bool)(arg1
)->CreateBase(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
42624 wxPyEndAllowThreads(__tstate
);
42625 if (PyErr_Occurred()) SWIG_fail
;
42628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42652 SWIGINTERN PyObject
*_wrap_PickerBase_SetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42653 PyObject
*resultobj
= 0;
42654 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42660 PyObject
* obj0
= 0 ;
42661 PyObject
* obj1
= 0 ;
42662 char * kwnames
[] = {
42663 (char *) "self",(char *) "newmargin", NULL
42666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetInternalMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42668 if (!SWIG_IsOK(res1
)) {
42669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42671 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42672 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42673 if (!SWIG_IsOK(ecode2
)) {
42674 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "2"" of type '" "int""'");
42676 arg2
= static_cast< int >(val2
);
42678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42679 (arg1
)->SetInternalMargin(arg2
);
42680 wxPyEndAllowThreads(__tstate
);
42681 if (PyErr_Occurred()) SWIG_fail
;
42683 resultobj
= SWIG_Py_Void();
42690 SWIGINTERN PyObject
*_wrap_PickerBase_GetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42691 PyObject
*resultobj
= 0;
42692 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42696 PyObject
*swig_obj
[1] ;
42698 if (!args
) SWIG_fail
;
42699 swig_obj
[0] = args
;
42700 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42701 if (!SWIG_IsOK(res1
)) {
42702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42704 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42707 result
= (int)((wxPickerBase
const *)arg1
)->GetInternalMargin();
42708 wxPyEndAllowThreads(__tstate
);
42709 if (PyErr_Occurred()) SWIG_fail
;
42711 resultobj
= SWIG_From_int(static_cast< int >(result
));
42718 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42719 PyObject
*resultobj
= 0;
42720 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42726 PyObject
* obj0
= 0 ;
42727 PyObject
* obj1
= 0 ;
42728 char * kwnames
[] = {
42729 (char *) "self",(char *) "prop", NULL
42732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetTextCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42734 if (!SWIG_IsOK(res1
)) {
42735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42737 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42738 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42739 if (!SWIG_IsOK(ecode2
)) {
42740 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42742 arg2
= static_cast< int >(val2
);
42744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42745 (arg1
)->SetTextCtrlProportion(arg2
);
42746 wxPyEndAllowThreads(__tstate
);
42747 if (PyErr_Occurred()) SWIG_fail
;
42749 resultobj
= SWIG_Py_Void();
42756 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42757 PyObject
*resultobj
= 0;
42758 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42762 PyObject
*swig_obj
[1] ;
42764 if (!args
) SWIG_fail
;
42765 swig_obj
[0] = args
;
42766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42767 if (!SWIG_IsOK(res1
)) {
42768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42770 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42773 result
= (int)((wxPickerBase
const *)arg1
)->GetTextCtrlProportion();
42774 wxPyEndAllowThreads(__tstate
);
42775 if (PyErr_Occurred()) SWIG_fail
;
42777 resultobj
= SWIG_From_int(static_cast< int >(result
));
42784 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42785 PyObject
*resultobj
= 0;
42786 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42792 PyObject
* obj0
= 0 ;
42793 PyObject
* obj1
= 0 ;
42794 char * kwnames
[] = {
42795 (char *) "self",(char *) "prop", NULL
42798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetPickerCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42800 if (!SWIG_IsOK(res1
)) {
42801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42803 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42804 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42805 if (!SWIG_IsOK(ecode2
)) {
42806 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42808 arg2
= static_cast< int >(val2
);
42810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42811 (arg1
)->SetPickerCtrlProportion(arg2
);
42812 wxPyEndAllowThreads(__tstate
);
42813 if (PyErr_Occurred()) SWIG_fail
;
42815 resultobj
= SWIG_Py_Void();
42822 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42823 PyObject
*resultobj
= 0;
42824 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42828 PyObject
*swig_obj
[1] ;
42830 if (!args
) SWIG_fail
;
42831 swig_obj
[0] = args
;
42832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42833 if (!SWIG_IsOK(res1
)) {
42834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42836 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42839 result
= (int)((wxPickerBase
const *)arg1
)->GetPickerCtrlProportion();
42840 wxPyEndAllowThreads(__tstate
);
42841 if (PyErr_Occurred()) SWIG_fail
;
42843 resultobj
= SWIG_From_int(static_cast< int >(result
));
42850 SWIGINTERN PyObject
*_wrap_PickerBase_IsTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42851 PyObject
*resultobj
= 0;
42852 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42856 PyObject
*swig_obj
[1] ;
42858 if (!args
) SWIG_fail
;
42859 swig_obj
[0] = args
;
42860 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42861 if (!SWIG_IsOK(res1
)) {
42862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42864 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42867 result
= (bool)((wxPickerBase
const *)arg1
)->IsTextCtrlGrowable();
42868 wxPyEndAllowThreads(__tstate
);
42869 if (PyErr_Occurred()) SWIG_fail
;
42872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42880 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42881 PyObject
*resultobj
= 0;
42882 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42883 bool arg2
= (bool) true ;
42888 PyObject
* obj0
= 0 ;
42889 PyObject
* obj1
= 0 ;
42890 char * kwnames
[] = {
42891 (char *) "self",(char *) "grow", NULL
42894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetTextCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42896 if (!SWIG_IsOK(res1
)) {
42897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42899 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42901 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42902 if (!SWIG_IsOK(ecode2
)) {
42903 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
42905 arg2
= static_cast< bool >(val2
);
42908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42909 (arg1
)->SetTextCtrlGrowable(arg2
);
42910 wxPyEndAllowThreads(__tstate
);
42911 if (PyErr_Occurred()) SWIG_fail
;
42913 resultobj
= SWIG_Py_Void();
42920 SWIGINTERN PyObject
*_wrap_PickerBase_IsPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42921 PyObject
*resultobj
= 0;
42922 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42926 PyObject
*swig_obj
[1] ;
42928 if (!args
) SWIG_fail
;
42929 swig_obj
[0] = args
;
42930 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42931 if (!SWIG_IsOK(res1
)) {
42932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42934 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42937 result
= (bool)((wxPickerBase
const *)arg1
)->IsPickerCtrlGrowable();
42938 wxPyEndAllowThreads(__tstate
);
42939 if (PyErr_Occurred()) SWIG_fail
;
42942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42950 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42951 PyObject
*resultobj
= 0;
42952 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42953 bool arg2
= (bool) true ;
42958 PyObject
* obj0
= 0 ;
42959 PyObject
* obj1
= 0 ;
42960 char * kwnames
[] = {
42961 (char *) "self",(char *) "grow", NULL
42964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetPickerCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42966 if (!SWIG_IsOK(res1
)) {
42967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42969 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42971 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42972 if (!SWIG_IsOK(ecode2
)) {
42973 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
42975 arg2
= static_cast< bool >(val2
);
42978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42979 (arg1
)->SetPickerCtrlGrowable(arg2
);
42980 wxPyEndAllowThreads(__tstate
);
42981 if (PyErr_Occurred()) SWIG_fail
;
42983 resultobj
= SWIG_Py_Void();
42990 SWIGINTERN PyObject
*_wrap_PickerBase_HasTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42991 PyObject
*resultobj
= 0;
42992 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42996 PyObject
*swig_obj
[1] ;
42998 if (!args
) SWIG_fail
;
42999 swig_obj
[0] = args
;
43000 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43001 if (!SWIG_IsOK(res1
)) {
43002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_HasTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43004 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43007 result
= (bool)((wxPickerBase
const *)arg1
)->HasTextCtrl();
43008 wxPyEndAllowThreads(__tstate
);
43009 if (PyErr_Occurred()) SWIG_fail
;
43012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43020 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43021 PyObject
*resultobj
= 0;
43022 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43023 wxTextCtrl
*result
= 0 ;
43026 PyObject
*swig_obj
[1] ;
43028 if (!args
) SWIG_fail
;
43029 swig_obj
[0] = args
;
43030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43031 if (!SWIG_IsOK(res1
)) {
43032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43034 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43037 result
= (wxTextCtrl
*)(arg1
)->GetTextCtrl();
43038 wxPyEndAllowThreads(__tstate
);
43039 if (PyErr_Occurred()) SWIG_fail
;
43042 resultobj
= wxPyMake_wxObject(result
, 0);
43050 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43051 PyObject
*resultobj
= 0;
43052 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43053 wxControl
*result
= 0 ;
43056 PyObject
*swig_obj
[1] ;
43058 if (!args
) SWIG_fail
;
43059 swig_obj
[0] = args
;
43060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43061 if (!SWIG_IsOK(res1
)) {
43062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43064 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43067 result
= (wxControl
*)(arg1
)->GetPickerCtrl();
43068 wxPyEndAllowThreads(__tstate
);
43069 if (PyErr_Occurred()) SWIG_fail
;
43072 resultobj
= wxPyMake_wxObject(result
, 0);
43080 SWIGINTERN PyObject
*PickerBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43082 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43083 SWIG_TypeNewClientData(SWIGTYPE_p_wxPickerBase
, SWIG_NewClientData(obj
));
43084 return SWIG_Py_Void();
43087 SWIGINTERN
int ColourPickerCtrlNameStr_set(PyObject
*) {
43088 SWIG_Error(SWIG_AttributeError
,"Variable ColourPickerCtrlNameStr is read-only.");
43093 SWIGINTERN PyObject
*ColourPickerCtrlNameStr_get(void) {
43094 PyObject
*pyobj
= 0;
43098 pyobj
= PyUnicode_FromWideChar((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
43100 pyobj
= PyString_FromStringAndSize((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
43107 SWIGINTERN PyObject
*_wrap_new_ColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43108 PyObject
*resultobj
= 0;
43109 wxWindow
*arg1
= (wxWindow
*) 0 ;
43110 int arg2
= (int) -1 ;
43111 wxColour
const &arg3_defvalue
= *wxBLACK
;
43112 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
43113 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
43114 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
43115 wxSize
const &arg5_defvalue
= wxDefaultSize
;
43116 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
43117 long arg6
= (long) wxCLRP_DEFAULT_STYLE
;
43118 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
43119 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
43120 wxString
const &arg8_defvalue
= wxPyColourPickerCtrlNameStr
;
43121 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
43122 wxColourPickerCtrl
*result
= 0 ;
43134 bool temp8
= false ;
43135 PyObject
* obj0
= 0 ;
43136 PyObject
* obj1
= 0 ;
43137 PyObject
* obj2
= 0 ;
43138 PyObject
* obj3
= 0 ;
43139 PyObject
* obj4
= 0 ;
43140 PyObject
* obj5
= 0 ;
43141 PyObject
* obj6
= 0 ;
43142 PyObject
* obj7
= 0 ;
43143 char * kwnames
[] = {
43144 (char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ColourPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
43148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43149 if (!SWIG_IsOK(res1
)) {
43150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43152 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43154 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43155 if (!SWIG_IsOK(ecode2
)) {
43156 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerCtrl" "', expected argument " "2"" of type '" "int""'");
43158 arg2
= static_cast< int >(val2
);
43163 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43169 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
43175 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
43179 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
43180 if (!SWIG_IsOK(ecode6
)) {
43181 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ColourPickerCtrl" "', expected argument " "6"" of type '" "long""'");
43183 arg6
= static_cast< long >(val6
);
43186 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
43187 if (!SWIG_IsOK(res7
)) {
43188 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43191 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43193 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
43197 arg8
= wxString_in_helper(obj7
);
43198 if (arg8
== NULL
) SWIG_fail
;
43203 if (!wxPyCheckForApp()) SWIG_fail
;
43204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43205 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl(arg1
,arg2
,(wxColour
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
43206 wxPyEndAllowThreads(__tstate
);
43207 if (PyErr_Occurred()) SWIG_fail
;
43209 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_NEW
| 0 );
43224 SWIGINTERN PyObject
*_wrap_new_PreColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43225 PyObject
*resultobj
= 0;
43226 wxColourPickerCtrl
*result
= 0 ;
43228 if (!SWIG_Python_UnpackTuple(args
,"new_PreColourPickerCtrl",0,0,0)) SWIG_fail
;
43230 if (!wxPyCheckForApp()) SWIG_fail
;
43231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43232 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl();
43233 wxPyEndAllowThreads(__tstate
);
43234 if (PyErr_Occurred()) SWIG_fail
;
43236 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_OWN
| 0 );
43243 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43244 PyObject
*resultobj
= 0;
43245 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43246 wxWindow
*arg2
= (wxWindow
*) 0 ;
43248 wxColour
const &arg4_defvalue
= *wxBLACK
;
43249 wxColour
*arg4
= (wxColour
*) &arg4_defvalue
;
43250 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
43251 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
43252 wxSize
const &arg6_defvalue
= wxDefaultSize
;
43253 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
43254 long arg7
= (long) wxCLRP_DEFAULT_STYLE
;
43255 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
43256 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
43257 wxString
const &arg9_defvalue
= wxPyColourPickerCtrlNameStr
;
43258 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
43273 bool temp9
= false ;
43274 PyObject
* obj0
= 0 ;
43275 PyObject
* obj1
= 0 ;
43276 PyObject
* obj2
= 0 ;
43277 PyObject
* obj3
= 0 ;
43278 PyObject
* obj4
= 0 ;
43279 PyObject
* obj5
= 0 ;
43280 PyObject
* obj6
= 0 ;
43281 PyObject
* obj7
= 0 ;
43282 PyObject
* obj8
= 0 ;
43283 char * kwnames
[] = {
43284 (char *) "self",(char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ColourPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
43288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43289 if (!SWIG_IsOK(res1
)) {
43290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43292 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43293 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43294 if (!SWIG_IsOK(res2
)) {
43295 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43297 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43298 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43299 if (!SWIG_IsOK(ecode3
)) {
43300 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43302 arg3
= static_cast< int >(val3
);
43306 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
43312 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
43318 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
43322 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
43323 if (!SWIG_IsOK(ecode7
)) {
43324 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
43326 arg7
= static_cast< long >(val7
);
43329 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
43330 if (!SWIG_IsOK(res8
)) {
43331 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43334 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43336 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
43340 arg9
= wxString_in_helper(obj8
);
43341 if (arg9
== NULL
) SWIG_fail
;
43346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43347 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
43348 wxPyEndAllowThreads(__tstate
);
43349 if (PyErr_Occurred()) SWIG_fail
;
43352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43368 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43369 PyObject
*resultobj
= 0;
43370 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43374 PyObject
*swig_obj
[1] ;
43376 if (!args
) SWIG_fail
;
43377 swig_obj
[0] = args
;
43378 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43379 if (!SWIG_IsOK(res1
)) {
43380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_GetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl const *""'");
43382 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43385 result
= ((wxColourPickerCtrl
const *)arg1
)->GetColour();
43386 wxPyEndAllowThreads(__tstate
);
43387 if (PyErr_Occurred()) SWIG_fail
;
43389 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43396 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43397 PyObject
*resultobj
= 0;
43398 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43399 wxColour
*arg2
= 0 ;
43403 PyObject
* obj0
= 0 ;
43404 PyObject
* obj1
= 0 ;
43405 char * kwnames
[] = {
43406 (char *) "self",(char *) "col", NULL
43409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerCtrl_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43411 if (!SWIG_IsOK(res1
)) {
43412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_SetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43414 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43417 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43421 (arg1
)->SetColour((wxColour
const &)*arg2
);
43422 wxPyEndAllowThreads(__tstate
);
43423 if (PyErr_Occurred()) SWIG_fail
;
43425 resultobj
= SWIG_Py_Void();
43432 SWIGINTERN PyObject
*ColourPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43434 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43435 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerCtrl
, SWIG_NewClientData(obj
));
43436 return SWIG_Py_Void();
43439 SWIGINTERN PyObject
*ColourPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43440 return SWIG_Python_InitShadowInstance(args
);
43443 SWIGINTERN PyObject
*_wrap_new_ColourPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43444 PyObject
*resultobj
= 0;
43445 wxObject
*arg1
= (wxObject
*) 0 ;
43447 wxColour
*arg3
= 0 ;
43448 wxColourPickerEvent
*result
= 0 ;
43454 PyObject
* obj0
= 0 ;
43455 PyObject
* obj1
= 0 ;
43456 PyObject
* obj2
= 0 ;
43457 char * kwnames
[] = {
43458 (char *) "generator",(char *) "id",(char *) "col", NULL
43461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ColourPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
43462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
43463 if (!SWIG_IsOK(res1
)) {
43464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
43466 arg1
= reinterpret_cast< wxObject
* >(argp1
);
43467 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43468 if (!SWIG_IsOK(ecode2
)) {
43469 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerEvent" "', expected argument " "2"" of type '" "int""'");
43471 arg2
= static_cast< int >(val2
);
43474 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43478 result
= (wxColourPickerEvent
*)new wxColourPickerEvent(arg1
,arg2
,(wxColour
const &)*arg3
);
43479 wxPyEndAllowThreads(__tstate
);
43480 if (PyErr_Occurred()) SWIG_fail
;
43482 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerEvent
, SWIG_POINTER_NEW
| 0 );
43489 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43490 PyObject
*resultobj
= 0;
43491 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43495 PyObject
*swig_obj
[1] ;
43497 if (!args
) SWIG_fail
;
43498 swig_obj
[0] = args
;
43499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43500 if (!SWIG_IsOK(res1
)) {
43501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_GetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent const *""'");
43503 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43506 result
= ((wxColourPickerEvent
const *)arg1
)->GetColour();
43507 wxPyEndAllowThreads(__tstate
);
43508 if (PyErr_Occurred()) SWIG_fail
;
43510 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43517 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43518 PyObject
*resultobj
= 0;
43519 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43520 wxColour
*arg2
= 0 ;
43524 PyObject
* obj0
= 0 ;
43525 PyObject
* obj1
= 0 ;
43526 char * kwnames
[] = {
43527 (char *) "self",(char *) "c", NULL
43530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerEvent_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43532 if (!SWIG_IsOK(res1
)) {
43533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_SetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent *""'");
43535 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43538 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43542 (arg1
)->SetColour((wxColour
const &)*arg2
);
43543 wxPyEndAllowThreads(__tstate
);
43544 if (PyErr_Occurred()) SWIG_fail
;
43546 resultobj
= SWIG_Py_Void();
43553 SWIGINTERN PyObject
*ColourPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43555 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43556 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerEvent
, SWIG_NewClientData(obj
));
43557 return SWIG_Py_Void();
43560 SWIGINTERN PyObject
*ColourPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43561 return SWIG_Python_InitShadowInstance(args
);
43564 SWIGINTERN
int FilePickerCtrlNameStr_set(PyObject
*) {
43565 SWIG_Error(SWIG_AttributeError
,"Variable FilePickerCtrlNameStr is read-only.");
43570 SWIGINTERN PyObject
*FilePickerCtrlNameStr_get(void) {
43571 PyObject
*pyobj
= 0;
43575 pyobj
= PyUnicode_FromWideChar((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43577 pyobj
= PyString_FromStringAndSize((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43584 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
43585 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
43590 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
43591 PyObject
*pyobj
= 0;
43595 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43597 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43604 SWIGINTERN
int DirPickerCtrlNameStr_set(PyObject
*) {
43605 SWIG_Error(SWIG_AttributeError
,"Variable DirPickerCtrlNameStr is read-only.");
43610 SWIGINTERN PyObject
*DirPickerCtrlNameStr_get(void) {
43611 PyObject
*pyobj
= 0;
43615 pyobj
= PyUnicode_FromWideChar((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43617 pyobj
= PyString_FromStringAndSize((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43624 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
43625 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
43630 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
43631 PyObject
*pyobj
= 0;
43635 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43637 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43644 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
43645 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
43650 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
43651 PyObject
*pyobj
= 0;
43655 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43657 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43664 SWIGINTERN PyObject
*_wrap_new_FilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43665 PyObject
*resultobj
= 0;
43666 wxWindow
*arg1
= (wxWindow
*) 0 ;
43667 int arg2
= (int) -1 ;
43668 wxString
const &arg3_defvalue
= wxPyEmptyString
;
43669 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
43670 wxString
const &arg4_defvalue
= wxPyFileSelectorPromptStr
;
43671 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43672 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
43673 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43674 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
43675 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
43676 wxSize
const &arg7_defvalue
= wxDefaultSize
;
43677 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
43678 long arg8
= (long) wxFLP_DEFAULT_STYLE
;
43679 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
43680 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
43681 wxString
const &arg10_defvalue
= wxPyFilePickerCtrlNameStr
;
43682 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
43683 wxFilePickerCtrl
*result
= 0 ;
43688 bool temp3
= false ;
43689 bool temp4
= false ;
43690 bool temp5
= false ;
43697 bool temp10
= false ;
43698 PyObject
* obj0
= 0 ;
43699 PyObject
* obj1
= 0 ;
43700 PyObject
* obj2
= 0 ;
43701 PyObject
* obj3
= 0 ;
43702 PyObject
* obj4
= 0 ;
43703 PyObject
* obj5
= 0 ;
43704 PyObject
* obj6
= 0 ;
43705 PyObject
* obj7
= 0 ;
43706 PyObject
* obj8
= 0 ;
43707 PyObject
* obj9
= 0 ;
43708 char * kwnames
[] = {
43709 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_FilePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
43713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43714 if (!SWIG_IsOK(res1
)) {
43715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FilePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43717 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43719 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43720 if (!SWIG_IsOK(ecode2
)) {
43721 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FilePickerCtrl" "', expected argument " "2"" of type '" "int""'");
43723 arg2
= static_cast< int >(val2
);
43727 arg3
= wxString_in_helper(obj2
);
43728 if (arg3
== NULL
) SWIG_fail
;
43734 arg4
= wxString_in_helper(obj3
);
43735 if (arg4
== NULL
) SWIG_fail
;
43741 arg5
= wxString_in_helper(obj4
);
43742 if (arg5
== NULL
) SWIG_fail
;
43749 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
43755 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
43759 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
43760 if (!SWIG_IsOK(ecode8
)) {
43761 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_FilePickerCtrl" "', expected argument " "8"" of type '" "long""'");
43763 arg8
= static_cast< long >(val8
);
43766 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
43767 if (!SWIG_IsOK(res9
)) {
43768 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43771 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43773 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
43777 arg10
= wxString_in_helper(obj9
);
43778 if (arg10
== NULL
) SWIG_fail
;
43783 if (!wxPyCheckForApp()) SWIG_fail
;
43784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43785 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
);
43786 wxPyEndAllowThreads(__tstate
);
43787 if (PyErr_Occurred()) SWIG_fail
;
43789 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_NEW
| 0 );
43828 SWIGINTERN PyObject
*_wrap_new_PreFilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43829 PyObject
*resultobj
= 0;
43830 wxFilePickerCtrl
*result
= 0 ;
43832 if (!SWIG_Python_UnpackTuple(args
,"new_PreFilePickerCtrl",0,0,0)) SWIG_fail
;
43834 if (!wxPyCheckForApp()) SWIG_fail
;
43835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43836 result
= (wxFilePickerCtrl
*)new wxFilePickerCtrl();
43837 wxPyEndAllowThreads(__tstate
);
43838 if (PyErr_Occurred()) SWIG_fail
;
43840 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_OWN
| 0 );
43847 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43848 PyObject
*resultobj
= 0;
43849 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43850 wxWindow
*arg2
= (wxWindow
*) 0 ;
43851 int arg3
= (int) -1 ;
43852 wxString
const &arg4_defvalue
= wxPyEmptyString
;
43853 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43854 wxString
const &arg5_defvalue
= wxPyFileSelectorPromptStr
;
43855 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43856 wxString
const &arg6_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
43857 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
43858 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
43859 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
43860 wxSize
const &arg8_defvalue
= wxDefaultSize
;
43861 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
43862 long arg9
= (long) wxFLP_DEFAULT_STYLE
;
43863 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
43864 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
43865 wxString
const &arg11_defvalue
= wxPyFilePickerCtrlNameStr
;
43866 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
43874 bool temp4
= false ;
43875 bool temp5
= false ;
43876 bool temp6
= false ;
43883 bool temp11
= false ;
43884 PyObject
* obj0
= 0 ;
43885 PyObject
* obj1
= 0 ;
43886 PyObject
* obj2
= 0 ;
43887 PyObject
* obj3
= 0 ;
43888 PyObject
* obj4
= 0 ;
43889 PyObject
* obj5
= 0 ;
43890 PyObject
* obj6
= 0 ;
43891 PyObject
* obj7
= 0 ;
43892 PyObject
* obj8
= 0 ;
43893 PyObject
* obj9
= 0 ;
43894 PyObject
* obj10
= 0 ;
43895 char * kwnames
[] = {
43896 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:FilePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
43900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43901 if (!SWIG_IsOK(res1
)) {
43902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_Create" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
43904 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43905 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43906 if (!SWIG_IsOK(res2
)) {
43907 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FilePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43909 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43911 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43912 if (!SWIG_IsOK(ecode3
)) {
43913 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FilePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43915 arg3
= static_cast< int >(val3
);
43919 arg4
= wxString_in_helper(obj3
);
43920 if (arg4
== NULL
) SWIG_fail
;
43926 arg5
= wxString_in_helper(obj4
);
43927 if (arg5
== NULL
) SWIG_fail
;
43933 arg6
= wxString_in_helper(obj5
);
43934 if (arg6
== NULL
) SWIG_fail
;
43941 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
43947 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
43951 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
43952 if (!SWIG_IsOK(ecode9
)) {
43953 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "FilePickerCtrl_Create" "', expected argument " "9"" of type '" "long""'");
43955 arg9
= static_cast< long >(val9
);
43958 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
43959 if (!SWIG_IsOK(res10
)) {
43960 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
43963 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
43965 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
43969 arg11
= wxString_in_helper(obj10
);
43970 if (arg11
== NULL
) SWIG_fail
;
43975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43976 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
);
43977 wxPyEndAllowThreads(__tstate
);
43978 if (PyErr_Occurred()) SWIG_fail
;
43981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44021 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44022 PyObject
*resultobj
= 0;
44023 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44027 PyObject
*swig_obj
[1] ;
44029 if (!args
) SWIG_fail
;
44030 swig_obj
[0] = args
;
44031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44032 if (!SWIG_IsOK(res1
)) {
44033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44035 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44038 result
= ((wxFilePickerCtrl
const *)arg1
)->GetPath();
44039 wxPyEndAllowThreads(__tstate
);
44040 if (PyErr_Occurred()) SWIG_fail
;
44044 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44046 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44055 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44056 PyObject
*resultobj
= 0;
44057 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44058 wxString
*arg2
= 0 ;
44061 bool temp2
= false ;
44062 PyObject
* obj0
= 0 ;
44063 PyObject
* obj1
= 0 ;
44064 char * kwnames
[] = {
44065 (char *) "self",(char *) "str", NULL
44068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44070 if (!SWIG_IsOK(res1
)) {
44071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
44073 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44075 arg2
= wxString_in_helper(obj1
);
44076 if (arg2
== NULL
) SWIG_fail
;
44080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44081 (arg1
)->SetPath((wxString
const &)*arg2
);
44082 wxPyEndAllowThreads(__tstate
);
44083 if (PyErr_Occurred()) SWIG_fail
;
44085 resultobj
= SWIG_Py_Void();
44100 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44101 PyObject
*resultobj
= 0;
44102 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44103 wxString
*arg2
= 0 ;
44107 bool temp2
= false ;
44108 PyObject
* obj0
= 0 ;
44109 PyObject
* obj1
= 0 ;
44110 char * kwnames
[] = {
44111 (char *) "self",(char *) "path", NULL
44114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44116 if (!SWIG_IsOK(res1
)) {
44117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44119 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44121 arg2
= wxString_in_helper(obj1
);
44122 if (arg2
== NULL
) SWIG_fail
;
44126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44127 result
= (bool)((wxFilePickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
44128 wxPyEndAllowThreads(__tstate
);
44129 if (PyErr_Occurred()) SWIG_fail
;
44132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44148 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44149 PyObject
*resultobj
= 0;
44150 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44154 PyObject
*swig_obj
[1] ;
44156 if (!args
) SWIG_fail
;
44157 swig_obj
[0] = args
;
44158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44159 if (!SWIG_IsOK(res1
)) {
44160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44162 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44165 result
= ((wxFilePickerCtrl
const *)arg1
)->GetTextCtrlValue();
44166 wxPyEndAllowThreads(__tstate
);
44167 if (PyErr_Occurred()) SWIG_fail
;
44171 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44173 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44182 SWIGINTERN PyObject
*FilePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44184 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44185 SWIG_TypeNewClientData(SWIGTYPE_p_wxFilePickerCtrl
, SWIG_NewClientData(obj
));
44186 return SWIG_Py_Void();
44189 SWIGINTERN PyObject
*FilePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44190 return SWIG_Python_InitShadowInstance(args
);
44193 SWIGINTERN PyObject
*_wrap_new_DirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44194 PyObject
*resultobj
= 0;
44195 wxWindow
*arg1
= (wxWindow
*) 0 ;
44196 int arg2
= (int) -1 ;
44197 wxString
const &arg3_defvalue
= wxPyEmptyString
;
44198 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
44199 wxString
const &arg4_defvalue
= wxPyDirSelectorPromptStr
;
44200 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44201 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
44202 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
44203 wxSize
const &arg6_defvalue
= wxDefaultSize
;
44204 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
44205 long arg7
= (long) wxDIRP_DEFAULT_STYLE
;
44206 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
44207 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
44208 wxString
const &arg9_defvalue
= wxPyDirPickerCtrlNameStr
;
44209 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
44210 wxDirPickerCtrl
*result
= 0 ;
44215 bool temp3
= false ;
44216 bool temp4
= false ;
44223 bool temp9
= false ;
44224 PyObject
* obj0
= 0 ;
44225 PyObject
* obj1
= 0 ;
44226 PyObject
* obj2
= 0 ;
44227 PyObject
* obj3
= 0 ;
44228 PyObject
* obj4
= 0 ;
44229 PyObject
* obj5
= 0 ;
44230 PyObject
* obj6
= 0 ;
44231 PyObject
* obj7
= 0 ;
44232 PyObject
* obj8
= 0 ;
44233 char * kwnames
[] = {
44234 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_DirPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
44238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44239 if (!SWIG_IsOK(res1
)) {
44240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44242 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44244 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44245 if (!SWIG_IsOK(ecode2
)) {
44246 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44248 arg2
= static_cast< int >(val2
);
44252 arg3
= wxString_in_helper(obj2
);
44253 if (arg3
== NULL
) SWIG_fail
;
44259 arg4
= wxString_in_helper(obj3
);
44260 if (arg4
== NULL
) SWIG_fail
;
44267 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
44273 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
44277 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
44278 if (!SWIG_IsOK(ecode7
)) {
44279 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_DirPickerCtrl" "', expected argument " "7"" of type '" "long""'");
44281 arg7
= static_cast< long >(val7
);
44284 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
44285 if (!SWIG_IsOK(res8
)) {
44286 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44289 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44291 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
44295 arg9
= wxString_in_helper(obj8
);
44296 if (arg9
== NULL
) SWIG_fail
;
44301 if (!wxPyCheckForApp()) SWIG_fail
;
44302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44303 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
);
44304 wxPyEndAllowThreads(__tstate
);
44305 if (PyErr_Occurred()) SWIG_fail
;
44307 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_NEW
| 0 );
44338 SWIGINTERN PyObject
*_wrap_new_PreDirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44339 PyObject
*resultobj
= 0;
44340 wxDirPickerCtrl
*result
= 0 ;
44342 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirPickerCtrl",0,0,0)) SWIG_fail
;
44344 if (!wxPyCheckForApp()) SWIG_fail
;
44345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44346 result
= (wxDirPickerCtrl
*)new wxDirPickerCtrl();
44347 wxPyEndAllowThreads(__tstate
);
44348 if (PyErr_Occurred()) SWIG_fail
;
44350 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_OWN
| 0 );
44357 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44358 PyObject
*resultobj
= 0;
44359 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44360 wxWindow
*arg2
= (wxWindow
*) 0 ;
44361 int arg3
= (int) -1 ;
44362 wxString
const &arg4_defvalue
= wxPyEmptyString
;
44363 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44364 wxString
const &arg5_defvalue
= wxPyDirSelectorPromptStr
;
44365 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
44366 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
44367 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
44368 wxSize
const &arg7_defvalue
= wxDefaultSize
;
44369 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
44370 long arg8
= (long) wxDIRP_DEFAULT_STYLE
;
44371 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
44372 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
44373 wxString
const &arg10_defvalue
= wxPyDirPickerCtrlNameStr
;
44374 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
44382 bool temp4
= false ;
44383 bool temp5
= false ;
44390 bool temp10
= false ;
44391 PyObject
* obj0
= 0 ;
44392 PyObject
* obj1
= 0 ;
44393 PyObject
* obj2
= 0 ;
44394 PyObject
* obj3
= 0 ;
44395 PyObject
* obj4
= 0 ;
44396 PyObject
* obj5
= 0 ;
44397 PyObject
* obj6
= 0 ;
44398 PyObject
* obj7
= 0 ;
44399 PyObject
* obj8
= 0 ;
44400 PyObject
* obj9
= 0 ;
44401 char * kwnames
[] = {
44402 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:DirPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
44406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44407 if (!SWIG_IsOK(res1
)) {
44408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_Create" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44410 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44411 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44412 if (!SWIG_IsOK(res2
)) {
44413 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44415 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44417 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44418 if (!SWIG_IsOK(ecode3
)) {
44419 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44421 arg3
= static_cast< int >(val3
);
44425 arg4
= wxString_in_helper(obj3
);
44426 if (arg4
== NULL
) SWIG_fail
;
44432 arg5
= wxString_in_helper(obj4
);
44433 if (arg5
== NULL
) SWIG_fail
;
44440 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
44446 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
44450 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
44451 if (!SWIG_IsOK(ecode8
)) {
44452 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DirPickerCtrl_Create" "', expected argument " "8"" of type '" "long""'");
44454 arg8
= static_cast< long >(val8
);
44457 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
44458 if (!SWIG_IsOK(res9
)) {
44459 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44462 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44464 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
44468 arg10
= wxString_in_helper(obj9
);
44469 if (arg10
== NULL
) SWIG_fail
;
44474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44475 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
);
44476 wxPyEndAllowThreads(__tstate
);
44477 if (PyErr_Occurred()) SWIG_fail
;
44480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44512 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44513 PyObject
*resultobj
= 0;
44514 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44518 PyObject
*swig_obj
[1] ;
44520 if (!args
) SWIG_fail
;
44521 swig_obj
[0] = args
;
44522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44523 if (!SWIG_IsOK(res1
)) {
44524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44526 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44529 result
= ((wxDirPickerCtrl
const *)arg1
)->GetPath();
44530 wxPyEndAllowThreads(__tstate
);
44531 if (PyErr_Occurred()) SWIG_fail
;
44535 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44537 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44546 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44547 PyObject
*resultobj
= 0;
44548 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44549 wxString
*arg2
= 0 ;
44552 bool temp2
= false ;
44553 PyObject
* obj0
= 0 ;
44554 PyObject
* obj1
= 0 ;
44555 char * kwnames
[] = {
44556 (char *) "self",(char *) "str", NULL
44559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44561 if (!SWIG_IsOK(res1
)) {
44562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44564 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44566 arg2
= wxString_in_helper(obj1
);
44567 if (arg2
== NULL
) SWIG_fail
;
44571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44572 (arg1
)->SetPath((wxString
const &)*arg2
);
44573 wxPyEndAllowThreads(__tstate
);
44574 if (PyErr_Occurred()) SWIG_fail
;
44576 resultobj
= SWIG_Py_Void();
44591 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44592 PyObject
*resultobj
= 0;
44593 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44594 wxString
*arg2
= 0 ;
44598 bool temp2
= false ;
44599 PyObject
* obj0
= 0 ;
44600 PyObject
* obj1
= 0 ;
44601 char * kwnames
[] = {
44602 (char *) "self",(char *) "path", NULL
44605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44607 if (!SWIG_IsOK(res1
)) {
44608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44610 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44612 arg2
= wxString_in_helper(obj1
);
44613 if (arg2
== NULL
) SWIG_fail
;
44617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44618 result
= (bool)((wxDirPickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
44619 wxPyEndAllowThreads(__tstate
);
44620 if (PyErr_Occurred()) SWIG_fail
;
44623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44639 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44640 PyObject
*resultobj
= 0;
44641 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44645 PyObject
*swig_obj
[1] ;
44647 if (!args
) SWIG_fail
;
44648 swig_obj
[0] = args
;
44649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44650 if (!SWIG_IsOK(res1
)) {
44651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44653 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44656 result
= ((wxDirPickerCtrl
const *)arg1
)->GetTextCtrlValue();
44657 wxPyEndAllowThreads(__tstate
);
44658 if (PyErr_Occurred()) SWIG_fail
;
44662 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44664 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44673 SWIGINTERN PyObject
*DirPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44675 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44676 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirPickerCtrl
, SWIG_NewClientData(obj
));
44677 return SWIG_Py_Void();
44680 SWIGINTERN PyObject
*DirPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44681 return SWIG_Python_InitShadowInstance(args
);
44684 SWIGINTERN PyObject
*_wrap_new_FileDirPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44685 PyObject
*resultobj
= 0;
44687 wxObject
*arg2
= (wxObject
*) 0 ;
44689 wxString
*arg4
= 0 ;
44690 wxFileDirPickerEvent
*result
= 0 ;
44697 bool temp4
= false ;
44698 PyObject
* obj0
= 0 ;
44699 PyObject
* obj1
= 0 ;
44700 PyObject
* obj2
= 0 ;
44701 PyObject
* obj3
= 0 ;
44702 char * kwnames
[] = {
44703 (char *) "type",(char *) "generator",(char *) "id",(char *) "path", NULL
44706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileDirPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
44707 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
44708 if (!SWIG_IsOK(ecode1
)) {
44709 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FileDirPickerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
44711 arg1
= static_cast< wxEventType
>(val1
);
44712 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxObject
, 0 | 0 );
44713 if (!SWIG_IsOK(res2
)) {
44714 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FileDirPickerEvent" "', expected argument " "2"" of type '" "wxObject *""'");
44716 arg2
= reinterpret_cast< wxObject
* >(argp2
);
44717 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44718 if (!SWIG_IsOK(ecode3
)) {
44719 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FileDirPickerEvent" "', expected argument " "3"" of type '" "int""'");
44721 arg3
= static_cast< int >(val3
);
44723 arg4
= wxString_in_helper(obj3
);
44724 if (arg4
== NULL
) SWIG_fail
;
44728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44729 result
= (wxFileDirPickerEvent
*)new wxFileDirPickerEvent(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
44730 wxPyEndAllowThreads(__tstate
);
44731 if (PyErr_Occurred()) SWIG_fail
;
44733 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_POINTER_NEW
| 0 );
44748 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44749 PyObject
*resultobj
= 0;
44750 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
44754 PyObject
*swig_obj
[1] ;
44756 if (!args
) SWIG_fail
;
44757 swig_obj
[0] = args
;
44758 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
44759 if (!SWIG_IsOK(res1
)) {
44760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_GetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent const *""'");
44762 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
44764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44765 result
= ((wxFileDirPickerEvent
const *)arg1
)->GetPath();
44766 wxPyEndAllowThreads(__tstate
);
44767 if (PyErr_Occurred()) SWIG_fail
;
44771 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44773 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44782 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44783 PyObject
*resultobj
= 0;
44784 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
44785 wxString
*arg2
= 0 ;
44788 bool temp2
= false ;
44789 PyObject
* obj0
= 0 ;
44790 PyObject
* obj1
= 0 ;
44791 char * kwnames
[] = {
44792 (char *) "self",(char *) "p", NULL
44795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDirPickerEvent_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
44797 if (!SWIG_IsOK(res1
)) {
44798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_SetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent *""'");
44800 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
44802 arg2
= wxString_in_helper(obj1
);
44803 if (arg2
== NULL
) SWIG_fail
;
44807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44808 (arg1
)->SetPath((wxString
const &)*arg2
);
44809 wxPyEndAllowThreads(__tstate
);
44810 if (PyErr_Occurred()) SWIG_fail
;
44812 resultobj
= SWIG_Py_Void();
44827 SWIGINTERN PyObject
*FileDirPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44829 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44830 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_NewClientData(obj
));
44831 return SWIG_Py_Void();
44834 SWIGINTERN PyObject
*FileDirPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44835 return SWIG_Python_InitShadowInstance(args
);
44838 SWIGINTERN
int FontPickerCtrlNameStr_set(PyObject
*) {
44839 SWIG_Error(SWIG_AttributeError
,"Variable FontPickerCtrlNameStr is read-only.");
44844 SWIGINTERN PyObject
*FontPickerCtrlNameStr_get(void) {
44845 PyObject
*pyobj
= 0;
44849 pyobj
= PyUnicode_FromWideChar((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
44851 pyobj
= PyString_FromStringAndSize((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
44858 SWIGINTERN PyObject
*_wrap_new_FontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44859 PyObject
*resultobj
= 0;
44860 wxWindow
*arg1
= (wxWindow
*) 0 ;
44861 int arg2
= (int) -1 ;
44862 wxFont
const &arg3_defvalue
= *wxNORMAL_FONT
;
44863 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
44864 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
44865 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
44866 wxSize
const &arg5_defvalue
= wxDefaultSize
;
44867 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
44868 long arg6
= (long) wxFNTP_DEFAULT_STYLE
;
44869 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
44870 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
44871 wxString
const &arg8_defvalue
= wxPyFontPickerCtrlNameStr
;
44872 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
44873 wxFontPickerCtrl
*result
= 0 ;
44886 bool temp8
= false ;
44887 PyObject
* obj0
= 0 ;
44888 PyObject
* obj1
= 0 ;
44889 PyObject
* obj2
= 0 ;
44890 PyObject
* obj3
= 0 ;
44891 PyObject
* obj4
= 0 ;
44892 PyObject
* obj5
= 0 ;
44893 PyObject
* obj6
= 0 ;
44894 PyObject
* obj7
= 0 ;
44895 char * kwnames
[] = {
44896 (char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_FontPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
44900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44901 if (!SWIG_IsOK(res1
)) {
44902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44904 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44906 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44907 if (!SWIG_IsOK(ecode2
)) {
44908 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44910 arg2
= static_cast< int >(val2
);
44913 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
44914 if (!SWIG_IsOK(res3
)) {
44915 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
44918 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
44920 arg3
= reinterpret_cast< wxFont
* >(argp3
);
44925 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
44931 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
44935 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
44936 if (!SWIG_IsOK(ecode6
)) {
44937 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FontPickerCtrl" "', expected argument " "6"" of type '" "long""'");
44939 arg6
= static_cast< long >(val6
);
44942 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
44943 if (!SWIG_IsOK(res7
)) {
44944 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
44947 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
44949 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
44953 arg8
= wxString_in_helper(obj7
);
44954 if (arg8
== NULL
) SWIG_fail
;
44959 if (!wxPyCheckForApp()) SWIG_fail
;
44960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44961 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl(arg1
,arg2
,(wxFont
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
44962 wxPyEndAllowThreads(__tstate
);
44963 if (PyErr_Occurred()) SWIG_fail
;
44965 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_NEW
| 0 );
44980 SWIGINTERN PyObject
*_wrap_new_PreFontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44981 PyObject
*resultobj
= 0;
44982 wxFontPickerCtrl
*result
= 0 ;
44984 if (!SWIG_Python_UnpackTuple(args
,"new_PreFontPickerCtrl",0,0,0)) SWIG_fail
;
44986 if (!wxPyCheckForApp()) SWIG_fail
;
44987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44988 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl();
44989 wxPyEndAllowThreads(__tstate
);
44990 if (PyErr_Occurred()) SWIG_fail
;
44992 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_OWN
| 0 );
44999 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45000 PyObject
*resultobj
= 0;
45001 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45002 wxWindow
*arg2
= (wxWindow
*) 0 ;
45003 int arg3
= (int) -1 ;
45004 wxFont
const &arg4_defvalue
= *wxNORMAL_FONT
;
45005 wxFont
*arg4
= (wxFont
*) &arg4_defvalue
;
45006 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
45007 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
45008 wxSize
const &arg6_defvalue
= wxDefaultSize
;
45009 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
45010 long arg7
= (long) wxFNTP_DEFAULT_STYLE
;
45011 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
45012 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
45013 wxString
const &arg9_defvalue
= wxPyFontPickerCtrlNameStr
;
45014 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
45030 bool temp9
= false ;
45031 PyObject
* obj0
= 0 ;
45032 PyObject
* obj1
= 0 ;
45033 PyObject
* obj2
= 0 ;
45034 PyObject
* obj3
= 0 ;
45035 PyObject
* obj4
= 0 ;
45036 PyObject
* obj5
= 0 ;
45037 PyObject
* obj6
= 0 ;
45038 PyObject
* obj7
= 0 ;
45039 PyObject
* obj8
= 0 ;
45040 char * kwnames
[] = {
45041 (char *) "self",(char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
45044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:FontPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
45045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45046 if (!SWIG_IsOK(res1
)) {
45047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_Create" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45049 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45050 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45051 if (!SWIG_IsOK(res2
)) {
45052 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
45054 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
45056 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45057 if (!SWIG_IsOK(ecode3
)) {
45058 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
45060 arg3
= static_cast< int >(val3
);
45063 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxFont
, 0 | 0);
45064 if (!SWIG_IsOK(res4
)) {
45065 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45068 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45070 arg4
= reinterpret_cast< wxFont
* >(argp4
);
45075 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
45081 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
45085 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
45086 if (!SWIG_IsOK(ecode7
)) {
45087 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "FontPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
45089 arg7
= static_cast< long >(val7
);
45092 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
45093 if (!SWIG_IsOK(res8
)) {
45094 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45097 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45099 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
45103 arg9
= wxString_in_helper(obj8
);
45104 if (arg9
== NULL
) SWIG_fail
;
45109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45110 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxFont
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
45111 wxPyEndAllowThreads(__tstate
);
45112 if (PyErr_Occurred()) SWIG_fail
;
45115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45131 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45132 PyObject
*resultobj
= 0;
45133 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45137 PyObject
*swig_obj
[1] ;
45139 if (!args
) SWIG_fail
;
45140 swig_obj
[0] = args
;
45141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45142 if (!SWIG_IsOK(res1
)) {
45143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45145 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45148 result
= ((wxFontPickerCtrl
const *)arg1
)->GetSelectedFont();
45149 wxPyEndAllowThreads(__tstate
);
45150 if (PyErr_Occurred()) SWIG_fail
;
45152 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
45159 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45160 PyObject
*resultobj
= 0;
45161 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45167 PyObject
* obj0
= 0 ;
45168 PyObject
* obj1
= 0 ;
45169 char * kwnames
[] = {
45170 (char *) "self",(char *) "f", NULL
45173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetSelectedFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45175 if (!SWIG_IsOK(res1
)) {
45176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45178 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45179 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
45180 if (!SWIG_IsOK(res2
)) {
45181 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45184 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45186 arg2
= reinterpret_cast< wxFont
* >(argp2
);
45188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45189 (arg1
)->SetSelectedFont((wxFont
const &)*arg2
);
45190 wxPyEndAllowThreads(__tstate
);
45191 if (PyErr_Occurred()) SWIG_fail
;
45193 resultobj
= SWIG_Py_Void();
45200 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45201 PyObject
*resultobj
= 0;
45202 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45203 unsigned int arg2
;
45206 unsigned int val2
;
45208 PyObject
* obj0
= 0 ;
45209 PyObject
* obj1
= 0 ;
45210 char * kwnames
[] = {
45211 (char *) "self",(char *) "max", NULL
45214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetMaxPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45216 if (!SWIG_IsOK(res1
)) {
45217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45219 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45220 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
45221 if (!SWIG_IsOK(ecode2
)) {
45222 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "2"" of type '" "unsigned int""'");
45224 arg2
= static_cast< unsigned int >(val2
);
45226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45227 (arg1
)->SetMaxPointSize(arg2
);
45228 wxPyEndAllowThreads(__tstate
);
45229 if (PyErr_Occurred()) SWIG_fail
;
45231 resultobj
= SWIG_Py_Void();
45238 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45239 PyObject
*resultobj
= 0;
45240 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45241 unsigned int result
;
45244 PyObject
*swig_obj
[1] ;
45246 if (!args
) SWIG_fail
;
45247 swig_obj
[0] = args
;
45248 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45249 if (!SWIG_IsOK(res1
)) {
45250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45252 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45255 result
= (unsigned int)((wxFontPickerCtrl
const *)arg1
)->GetMaxPointSize();
45256 wxPyEndAllowThreads(__tstate
);
45257 if (PyErr_Occurred()) SWIG_fail
;
45259 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
45266 SWIGINTERN PyObject
*FontPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45268 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45269 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerCtrl
, SWIG_NewClientData(obj
));
45270 return SWIG_Py_Void();
45273 SWIGINTERN PyObject
*FontPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45274 return SWIG_Python_InitShadowInstance(args
);
45277 SWIGINTERN PyObject
*_wrap_new_FontPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45278 PyObject
*resultobj
= 0;
45279 wxObject
*arg1
= (wxObject
*) 0 ;
45282 wxFontPickerEvent
*result
= 0 ;
45289 PyObject
* obj0
= 0 ;
45290 PyObject
* obj1
= 0 ;
45291 PyObject
* obj2
= 0 ;
45292 char * kwnames
[] = {
45293 (char *) "generator",(char *) "id",(char *) "f", NULL
45296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_FontPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
45298 if (!SWIG_IsOK(res1
)) {
45299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
45301 arg1
= reinterpret_cast< wxObject
* >(argp1
);
45302 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45303 if (!SWIG_IsOK(ecode2
)) {
45304 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerEvent" "', expected argument " "2"" of type '" "int""'");
45306 arg2
= static_cast< int >(val2
);
45307 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
45308 if (!SWIG_IsOK(res3
)) {
45309 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45312 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45314 arg3
= reinterpret_cast< wxFont
* >(argp3
);
45316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45317 result
= (wxFontPickerEvent
*)new wxFontPickerEvent(arg1
,arg2
,(wxFont
const &)*arg3
);
45318 wxPyEndAllowThreads(__tstate
);
45319 if (PyErr_Occurred()) SWIG_fail
;
45321 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerEvent
, SWIG_POINTER_NEW
| 0 );
45328 SWIGINTERN PyObject
*_wrap_FontPickerEvent_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45329 PyObject
*resultobj
= 0;
45330 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45334 PyObject
*swig_obj
[1] ;
45336 if (!args
) SWIG_fail
;
45337 swig_obj
[0] = args
;
45338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45339 if (!SWIG_IsOK(res1
)) {
45340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_GetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent const *""'");
45342 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45345 result
= ((wxFontPickerEvent
const *)arg1
)->GetFont();
45346 wxPyEndAllowThreads(__tstate
);
45347 if (PyErr_Occurred()) SWIG_fail
;
45349 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
45356 SWIGINTERN PyObject
*_wrap_FontPickerEvent_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45357 PyObject
*resultobj
= 0;
45358 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45364 PyObject
* obj0
= 0 ;
45365 PyObject
* obj1
= 0 ;
45366 char * kwnames
[] = {
45367 (char *) "self",(char *) "c", NULL
45370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerEvent_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45372 if (!SWIG_IsOK(res1
)) {
45373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent *""'");
45375 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45376 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
45377 if (!SWIG_IsOK(res2
)) {
45378 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45381 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45383 arg2
= reinterpret_cast< wxFont
* >(argp2
);
45385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45386 (arg1
)->SetFont((wxFont
const &)*arg2
);
45387 wxPyEndAllowThreads(__tstate
);
45388 if (PyErr_Occurred()) SWIG_fail
;
45390 resultobj
= SWIG_Py_Void();
45397 SWIGINTERN PyObject
*FontPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45399 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45400 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerEvent
, SWIG_NewClientData(obj
));
45401 return SWIG_Py_Void();
45404 SWIGINTERN PyObject
*FontPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45405 return SWIG_Python_InitShadowInstance(args
);
45408 static PyMethodDef SwigMethods
[] = {
45409 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45410 { (char *)"new_PreButton", (PyCFunction
)_wrap_new_PreButton
, METH_NOARGS
, NULL
},
45411 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45412 { (char *)"Button_SetDefault", (PyCFunction
)_wrap_Button_SetDefault
, METH_O
, NULL
},
45413 { (char *)"Button_GetDefaultSize", (PyCFunction
)_wrap_Button_GetDefaultSize
, METH_NOARGS
, NULL
},
45414 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45415 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
45416 { (char *)"Button_swiginit", Button_swiginit
, METH_VARARGS
, NULL
},
45417 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45418 { (char *)"new_PreBitmapButton", (PyCFunction
)_wrap_new_PreBitmapButton
, METH_NOARGS
, NULL
},
45419 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45420 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
)_wrap_BitmapButton_GetBitmapLabel
, METH_O
, NULL
},
45421 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
)_wrap_BitmapButton_GetBitmapDisabled
, METH_O
, NULL
},
45422 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
)_wrap_BitmapButton_GetBitmapFocus
, METH_O
, NULL
},
45423 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
)_wrap_BitmapButton_GetBitmapSelected
, METH_O
, NULL
},
45424 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction
)_wrap_BitmapButton_GetBitmapHover
, METH_O
, NULL
},
45425 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45426 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45427 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45428 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45429 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction
) _wrap_BitmapButton_SetBitmapHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45430 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45431 { (char *)"BitmapButton_GetMarginX", (PyCFunction
)_wrap_BitmapButton_GetMarginX
, METH_O
, NULL
},
45432 { (char *)"BitmapButton_GetMarginY", (PyCFunction
)_wrap_BitmapButton_GetMarginY
, METH_O
, NULL
},
45433 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
45434 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit
, METH_VARARGS
, NULL
},
45435 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45436 { (char *)"new_PreCheckBox", (PyCFunction
)_wrap_new_PreCheckBox
, METH_NOARGS
, NULL
},
45437 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45438 { (char *)"CheckBox_GetValue", (PyCFunction
)_wrap_CheckBox_GetValue
, METH_O
, NULL
},
45439 { (char *)"CheckBox_IsChecked", (PyCFunction
)_wrap_CheckBox_IsChecked
, METH_O
, NULL
},
45440 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45441 { (char *)"CheckBox_Get3StateValue", (PyCFunction
)_wrap_CheckBox_Get3StateValue
, METH_O
, NULL
},
45442 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45443 { (char *)"CheckBox_Is3State", (PyCFunction
)_wrap_CheckBox_Is3State
, METH_O
, NULL
},
45444 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
)_wrap_CheckBox_Is3rdStateAllowedForUser
, METH_O
, NULL
},
45445 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45446 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
45447 { (char *)"CheckBox_swiginit", CheckBox_swiginit
, METH_VARARGS
, NULL
},
45448 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45449 { (char *)"new_PreChoice", (PyCFunction
)_wrap_new_PreChoice
, METH_NOARGS
, NULL
},
45450 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45451 { (char *)"Choice_GetCurrentSelection", (PyCFunction
)_wrap_Choice_GetCurrentSelection
, METH_O
, NULL
},
45452 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45453 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
45454 { (char *)"Choice_swiginit", Choice_swiginit
, METH_VARARGS
, NULL
},
45455 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45456 { (char *)"new_PreComboBox", (PyCFunction
)_wrap_new_PreComboBox
, METH_NOARGS
, NULL
},
45457 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45458 { (char *)"ComboBox_GetValue", (PyCFunction
)_wrap_ComboBox_GetValue
, METH_O
, NULL
},
45459 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45460 { (char *)"ComboBox_Copy", (PyCFunction
)_wrap_ComboBox_Copy
, METH_O
, NULL
},
45461 { (char *)"ComboBox_Cut", (PyCFunction
)_wrap_ComboBox_Cut
, METH_O
, NULL
},
45462 { (char *)"ComboBox_Paste", (PyCFunction
)_wrap_ComboBox_Paste
, METH_O
, NULL
},
45463 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45464 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
)_wrap_ComboBox_GetInsertionPoint
, METH_O
, NULL
},
45465 { (char *)"ComboBox_GetLastPosition", (PyCFunction
)_wrap_ComboBox_GetLastPosition
, METH_O
, NULL
},
45466 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45467 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45468 { (char *)"ComboBox_GetMark", (PyCFunction
)_wrap_ComboBox_GetMark
, METH_O
, NULL
},
45469 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction
)_wrap_ComboBox_GetCurrentSelection
, METH_O
, NULL
},
45470 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45471 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45472 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45473 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
)_wrap_ComboBox_SetInsertionPointEnd
, METH_O
, NULL
},
45474 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45475 { (char *)"ComboBox_IsEditable", (PyCFunction
)_wrap_ComboBox_IsEditable
, METH_O
, NULL
},
45476 { (char *)"ComboBox_Undo", (PyCFunction
)_wrap_ComboBox_Undo
, METH_O
, NULL
},
45477 { (char *)"ComboBox_Redo", (PyCFunction
)_wrap_ComboBox_Redo
, METH_O
, NULL
},
45478 { (char *)"ComboBox_SelectAll", (PyCFunction
)_wrap_ComboBox_SelectAll
, METH_O
, NULL
},
45479 { (char *)"ComboBox_CanCopy", (PyCFunction
)_wrap_ComboBox_CanCopy
, METH_O
, NULL
},
45480 { (char *)"ComboBox_CanCut", (PyCFunction
)_wrap_ComboBox_CanCut
, METH_O
, NULL
},
45481 { (char *)"ComboBox_CanPaste", (PyCFunction
)_wrap_ComboBox_CanPaste
, METH_O
, NULL
},
45482 { (char *)"ComboBox_CanUndo", (PyCFunction
)_wrap_ComboBox_CanUndo
, METH_O
, NULL
},
45483 { (char *)"ComboBox_CanRedo", (PyCFunction
)_wrap_ComboBox_CanRedo
, METH_O
, NULL
},
45484 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45485 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
45486 { (char *)"ComboBox_swiginit", ComboBox_swiginit
, METH_VARARGS
, NULL
},
45487 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45488 { (char *)"new_PreGauge", (PyCFunction
)_wrap_new_PreGauge
, METH_NOARGS
, NULL
},
45489 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45490 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45491 { (char *)"Gauge_GetRange", (PyCFunction
)_wrap_Gauge_GetRange
, METH_O
, NULL
},
45492 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45493 { (char *)"Gauge_GetValue", (PyCFunction
)_wrap_Gauge_GetValue
, METH_O
, NULL
},
45494 { (char *)"Gauge_Pulse", (PyCFunction
)_wrap_Gauge_Pulse
, METH_O
, NULL
},
45495 { (char *)"Gauge_IsVertical", (PyCFunction
)_wrap_Gauge_IsVertical
, METH_O
, NULL
},
45496 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45497 { (char *)"Gauge_GetShadowWidth", (PyCFunction
)_wrap_Gauge_GetShadowWidth
, METH_O
, NULL
},
45498 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45499 { (char *)"Gauge_GetBezelFace", (PyCFunction
)_wrap_Gauge_GetBezelFace
, METH_O
, NULL
},
45500 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45501 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
45502 { (char *)"Gauge_swiginit", Gauge_swiginit
, METH_VARARGS
, NULL
},
45503 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45504 { (char *)"new_PreStaticBox", (PyCFunction
)_wrap_new_PreStaticBox
, METH_NOARGS
, NULL
},
45505 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45506 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45507 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
45508 { (char *)"StaticBox_swiginit", StaticBox_swiginit
, METH_VARARGS
, NULL
},
45509 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45510 { (char *)"new_PreStaticLine", (PyCFunction
)_wrap_new_PreStaticLine
, METH_NOARGS
, NULL
},
45511 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45512 { (char *)"StaticLine_IsVertical", (PyCFunction
)_wrap_StaticLine_IsVertical
, METH_O
, NULL
},
45513 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
)_wrap_StaticLine_GetDefaultSize
, METH_NOARGS
, NULL
},
45514 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45515 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
45516 { (char *)"StaticLine_swiginit", StaticLine_swiginit
, METH_VARARGS
, NULL
},
45517 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45518 { (char *)"new_PreStaticText", (PyCFunction
)_wrap_new_PreStaticText
, METH_NOARGS
, NULL
},
45519 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45520 { (char *)"StaticText_Wrap", (PyCFunction
) _wrap_StaticText_Wrap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45521 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45522 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
45523 { (char *)"StaticText_swiginit", StaticText_swiginit
, METH_VARARGS
, NULL
},
45524 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45525 { (char *)"new_PreStaticBitmap", (PyCFunction
)_wrap_new_PreStaticBitmap
, METH_NOARGS
, NULL
},
45526 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45527 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
)_wrap_StaticBitmap_GetBitmap
, METH_O
, NULL
},
45528 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45529 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45530 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45531 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
45532 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit
, METH_VARARGS
, NULL
},
45533 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45534 { (char *)"new_PreListBox", (PyCFunction
)_wrap_new_PreListBox
, METH_NOARGS
, NULL
},
45535 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45536 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45537 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45538 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45539 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45540 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45541 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45542 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45543 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45544 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45545 { (char *)"ListBox_GetSelections", (PyCFunction
)_wrap_ListBox_GetSelections
, METH_O
, NULL
},
45546 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45547 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45548 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45549 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45550 { (char *)"ListBox_IsSorted", (PyCFunction
)_wrap_ListBox_IsSorted
, METH_O
, NULL
},
45551 { (char *)"ListBox_HitTest", (PyCFunction
) _wrap_ListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45552 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45553 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45554 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45555 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45556 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
45557 { (char *)"ListBox_swiginit", ListBox_swiginit
, METH_VARARGS
, NULL
},
45558 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45559 { (char *)"new_PreCheckListBox", (PyCFunction
)_wrap_new_PreCheckListBox
, METH_NOARGS
, NULL
},
45560 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45561 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45562 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45563 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
)_wrap_CheckListBox_GetItemHeight
, METH_O
, NULL
},
45564 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
45565 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit
, METH_VARARGS
, NULL
},
45566 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45567 { (char *)"delete_TextAttr", (PyCFunction
)_wrap_delete_TextAttr
, METH_O
, NULL
},
45568 { (char *)"TextAttr_Init", (PyCFunction
)_wrap_TextAttr_Init
, METH_O
, NULL
},
45569 { (char *)"TextAttr_Merge", (PyCFunction
) _wrap_TextAttr_Merge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45570 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45571 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45572 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45573 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45574 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45575 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45576 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45577 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45578 { (char *)"TextAttr_HasTextColour", (PyCFunction
)_wrap_TextAttr_HasTextColour
, METH_O
, NULL
},
45579 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
)_wrap_TextAttr_HasBackgroundColour
, METH_O
, NULL
},
45580 { (char *)"TextAttr_HasFont", (PyCFunction
)_wrap_TextAttr_HasFont
, METH_O
, NULL
},
45581 { (char *)"TextAttr_HasAlignment", (PyCFunction
)_wrap_TextAttr_HasAlignment
, METH_O
, NULL
},
45582 { (char *)"TextAttr_HasTabs", (PyCFunction
)_wrap_TextAttr_HasTabs
, METH_O
, NULL
},
45583 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
)_wrap_TextAttr_HasLeftIndent
, METH_O
, NULL
},
45584 { (char *)"TextAttr_HasRightIndent", (PyCFunction
)_wrap_TextAttr_HasRightIndent
, METH_O
, NULL
},
45585 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45586 { (char *)"TextAttr_GetTextColour", (PyCFunction
)_wrap_TextAttr_GetTextColour
, METH_O
, NULL
},
45587 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
)_wrap_TextAttr_GetBackgroundColour
, METH_O
, NULL
},
45588 { (char *)"TextAttr_GetFont", (PyCFunction
)_wrap_TextAttr_GetFont
, METH_O
, NULL
},
45589 { (char *)"TextAttr_GetAlignment", (PyCFunction
)_wrap_TextAttr_GetAlignment
, METH_O
, NULL
},
45590 { (char *)"TextAttr_GetTabs", (PyCFunction
)_wrap_TextAttr_GetTabs
, METH_O
, NULL
},
45591 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
)_wrap_TextAttr_GetLeftIndent
, METH_O
, NULL
},
45592 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
)_wrap_TextAttr_GetLeftSubIndent
, METH_O
, NULL
},
45593 { (char *)"TextAttr_GetRightIndent", (PyCFunction
)_wrap_TextAttr_GetRightIndent
, METH_O
, NULL
},
45594 { (char *)"TextAttr_GetFlags", (PyCFunction
)_wrap_TextAttr_GetFlags
, METH_O
, NULL
},
45595 { (char *)"TextAttr_IsDefault", (PyCFunction
)_wrap_TextAttr_IsDefault
, METH_O
, NULL
},
45596 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45597 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
45598 { (char *)"TextAttr_swiginit", TextAttr_swiginit
, METH_VARARGS
, NULL
},
45599 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45600 { (char *)"new_PreTextCtrl", (PyCFunction
)_wrap_new_PreTextCtrl
, METH_NOARGS
, NULL
},
45601 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45602 { (char *)"TextCtrl_GetValue", (PyCFunction
)_wrap_TextCtrl_GetValue
, METH_O
, NULL
},
45603 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45604 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45605 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45606 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45607 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
)_wrap_TextCtrl_GetNumberOfLines
, METH_O
, NULL
},
45608 { (char *)"TextCtrl_IsModified", (PyCFunction
)_wrap_TextCtrl_IsModified
, METH_O
, NULL
},
45609 { (char *)"TextCtrl_IsEditable", (PyCFunction
)_wrap_TextCtrl_IsEditable
, METH_O
, NULL
},
45610 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
)_wrap_TextCtrl_IsSingleLine
, METH_O
, NULL
},
45611 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
)_wrap_TextCtrl_IsMultiLine
, METH_O
, NULL
},
45612 { (char *)"TextCtrl_GetSelection", (PyCFunction
)_wrap_TextCtrl_GetSelection
, METH_O
, NULL
},
45613 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
)_wrap_TextCtrl_GetStringSelection
, METH_O
, NULL
},
45614 { (char *)"TextCtrl_Clear", (PyCFunction
)_wrap_TextCtrl_Clear
, METH_O
, NULL
},
45615 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45616 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45617 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45618 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45619 { (char *)"TextCtrl_MarkDirty", (PyCFunction
)_wrap_TextCtrl_MarkDirty
, METH_O
, NULL
},
45620 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
)_wrap_TextCtrl_DiscardEdits
, METH_O
, NULL
},
45621 { (char *)"TextCtrl_SetModified", (PyCFunction
) _wrap_TextCtrl_SetModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45622 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45623 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45624 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45625 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45626 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45627 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45628 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45629 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
)_wrap_TextCtrl_GetDefaultStyle
, METH_O
, NULL
},
45630 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45631 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45632 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45633 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45634 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45635 { (char *)"TextCtrl_Copy", (PyCFunction
)_wrap_TextCtrl_Copy
, METH_O
, NULL
},
45636 { (char *)"TextCtrl_Cut", (PyCFunction
)_wrap_TextCtrl_Cut
, METH_O
, NULL
},
45637 { (char *)"TextCtrl_Paste", (PyCFunction
)_wrap_TextCtrl_Paste
, METH_O
, NULL
},
45638 { (char *)"TextCtrl_CanCopy", (PyCFunction
)_wrap_TextCtrl_CanCopy
, METH_O
, NULL
},
45639 { (char *)"TextCtrl_CanCut", (PyCFunction
)_wrap_TextCtrl_CanCut
, METH_O
, NULL
},
45640 { (char *)"TextCtrl_CanPaste", (PyCFunction
)_wrap_TextCtrl_CanPaste
, METH_O
, NULL
},
45641 { (char *)"TextCtrl_Undo", (PyCFunction
)_wrap_TextCtrl_Undo
, METH_O
, NULL
},
45642 { (char *)"TextCtrl_Redo", (PyCFunction
)_wrap_TextCtrl_Redo
, METH_O
, NULL
},
45643 { (char *)"TextCtrl_CanUndo", (PyCFunction
)_wrap_TextCtrl_CanUndo
, METH_O
, NULL
},
45644 { (char *)"TextCtrl_CanRedo", (PyCFunction
)_wrap_TextCtrl_CanRedo
, METH_O
, NULL
},
45645 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45646 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
)_wrap_TextCtrl_SetInsertionPointEnd
, METH_O
, NULL
},
45647 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
)_wrap_TextCtrl_GetInsertionPoint
, METH_O
, NULL
},
45648 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
)_wrap_TextCtrl_GetLastPosition
, METH_O
, NULL
},
45649 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45650 { (char *)"TextCtrl_SelectAll", (PyCFunction
)_wrap_TextCtrl_SelectAll
, METH_O
, NULL
},
45651 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45652 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction
) _wrap_TextCtrl_ShowNativeCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45653 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction
)_wrap_TextCtrl_HideNativeCaret
, METH_O
, NULL
},
45654 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45655 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45656 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45657 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
45658 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit
, METH_VARARGS
, NULL
},
45659 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45660 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
)_wrap_TextUrlEvent_GetMouseEvent
, METH_O
, NULL
},
45661 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
)_wrap_TextUrlEvent_GetURLStart
, METH_O
, NULL
},
45662 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
)_wrap_TextUrlEvent_GetURLEnd
, METH_O
, NULL
},
45663 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
45664 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit
, METH_VARARGS
, NULL
},
45665 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45666 { (char *)"new_PreScrollBar", (PyCFunction
)_wrap_new_PreScrollBar
, METH_NOARGS
, NULL
},
45667 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45668 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
)_wrap_ScrollBar_GetThumbPosition
, METH_O
, NULL
},
45669 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
)_wrap_ScrollBar_GetThumbSize
, METH_O
, NULL
},
45670 { (char *)"ScrollBar_GetPageSize", (PyCFunction
)_wrap_ScrollBar_GetPageSize
, METH_O
, NULL
},
45671 { (char *)"ScrollBar_GetRange", (PyCFunction
)_wrap_ScrollBar_GetRange
, METH_O
, NULL
},
45672 { (char *)"ScrollBar_IsVertical", (PyCFunction
)_wrap_ScrollBar_IsVertical
, METH_O
, NULL
},
45673 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45674 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45675 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
45676 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit
, METH_VARARGS
, NULL
},
45677 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45678 { (char *)"new_PreSpinButton", (PyCFunction
)_wrap_new_PreSpinButton
, METH_NOARGS
, NULL
},
45679 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45680 { (char *)"SpinButton_GetValue", (PyCFunction
)_wrap_SpinButton_GetValue
, METH_O
, NULL
},
45681 { (char *)"SpinButton_GetMin", (PyCFunction
)_wrap_SpinButton_GetMin
, METH_O
, NULL
},
45682 { (char *)"SpinButton_GetMax", (PyCFunction
)_wrap_SpinButton_GetMax
, METH_O
, NULL
},
45683 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45684 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45685 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45686 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45687 { (char *)"SpinButton_IsVertical", (PyCFunction
)_wrap_SpinButton_IsVertical
, METH_O
, NULL
},
45688 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45689 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
45690 { (char *)"SpinButton_swiginit", SpinButton_swiginit
, METH_VARARGS
, NULL
},
45691 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45692 { (char *)"new_PreSpinCtrl", (PyCFunction
)_wrap_new_PreSpinCtrl
, METH_NOARGS
, NULL
},
45693 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45694 { (char *)"SpinCtrl_GetValue", (PyCFunction
)_wrap_SpinCtrl_GetValue
, METH_O
, NULL
},
45695 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45696 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45697 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45698 { (char *)"SpinCtrl_GetMin", (PyCFunction
)_wrap_SpinCtrl_GetMin
, METH_O
, NULL
},
45699 { (char *)"SpinCtrl_GetMax", (PyCFunction
)_wrap_SpinCtrl_GetMax
, METH_O
, NULL
},
45700 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45701 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45702 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
45703 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit
, METH_VARARGS
, NULL
},
45704 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45705 { (char *)"SpinEvent_GetPosition", (PyCFunction
)_wrap_SpinEvent_GetPosition
, METH_O
, NULL
},
45706 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45707 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
45708 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit
, METH_VARARGS
, NULL
},
45709 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45710 { (char *)"new_PreRadioBox", (PyCFunction
)_wrap_new_PreRadioBox
, METH_NOARGS
, NULL
},
45711 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45712 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45713 { (char *)"RadioBox_GetSelection", (PyCFunction
)_wrap_RadioBox_GetSelection
, METH_O
, NULL
},
45714 { (char *)"RadioBox_GetStringSelection", (PyCFunction
)_wrap_RadioBox_GetStringSelection
, METH_O
, NULL
},
45715 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45716 { (char *)"RadioBox_GetCount", (PyCFunction
)_wrap_RadioBox_GetCount
, METH_O
, NULL
},
45717 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45718 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45719 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45720 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45721 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45722 { (char *)"RadioBox_IsItemEnabled", (PyCFunction
) _wrap_RadioBox_IsItemEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45723 { (char *)"RadioBox_IsItemShown", (PyCFunction
) _wrap_RadioBox_IsItemShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45724 { (char *)"RadioBox_GetColumnCount", (PyCFunction
)_wrap_RadioBox_GetColumnCount
, METH_O
, NULL
},
45725 { (char *)"RadioBox_GetRowCount", (PyCFunction
)_wrap_RadioBox_GetRowCount
, METH_O
, NULL
},
45726 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45727 { (char *)"RadioBox_SetItemToolTip", (PyCFunction
) _wrap_RadioBox_SetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45728 { (char *)"RadioBox_GetItemToolTip", (PyCFunction
) _wrap_RadioBox_GetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45729 { (char *)"RadioBox_SetItemHelpText", (PyCFunction
) _wrap_RadioBox_SetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45730 { (char *)"RadioBox_GetItemHelpText", (PyCFunction
) _wrap_RadioBox_GetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45731 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45732 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
45733 { (char *)"RadioBox_swiginit", RadioBox_swiginit
, METH_VARARGS
, NULL
},
45734 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45735 { (char *)"new_PreRadioButton", (PyCFunction
)_wrap_new_PreRadioButton
, METH_NOARGS
, NULL
},
45736 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45737 { (char *)"RadioButton_GetValue", (PyCFunction
)_wrap_RadioButton_GetValue
, METH_O
, NULL
},
45738 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45739 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45740 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
45741 { (char *)"RadioButton_swiginit", RadioButton_swiginit
, METH_VARARGS
, NULL
},
45742 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45743 { (char *)"new_PreSlider", (PyCFunction
)_wrap_new_PreSlider
, METH_NOARGS
, NULL
},
45744 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45745 { (char *)"Slider_GetValue", (PyCFunction
)_wrap_Slider_GetValue
, METH_O
, NULL
},
45746 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45747 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45748 { (char *)"Slider_GetMin", (PyCFunction
)_wrap_Slider_GetMin
, METH_O
, NULL
},
45749 { (char *)"Slider_GetMax", (PyCFunction
)_wrap_Slider_GetMax
, METH_O
, NULL
},
45750 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45751 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45752 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45753 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45754 { (char *)"Slider_GetLineSize", (PyCFunction
)_wrap_Slider_GetLineSize
, METH_O
, NULL
},
45755 { (char *)"Slider_GetPageSize", (PyCFunction
)_wrap_Slider_GetPageSize
, METH_O
, NULL
},
45756 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45757 { (char *)"Slider_GetThumbLength", (PyCFunction
)_wrap_Slider_GetThumbLength
, METH_O
, NULL
},
45758 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45759 { (char *)"Slider_GetTickFreq", (PyCFunction
)_wrap_Slider_GetTickFreq
, METH_O
, NULL
},
45760 { (char *)"Slider_ClearTicks", (PyCFunction
)_wrap_Slider_ClearTicks
, METH_O
, NULL
},
45761 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45762 { (char *)"Slider_ClearSel", (PyCFunction
)_wrap_Slider_ClearSel
, METH_O
, NULL
},
45763 { (char *)"Slider_GetSelEnd", (PyCFunction
)_wrap_Slider_GetSelEnd
, METH_O
, NULL
},
45764 { (char *)"Slider_GetSelStart", (PyCFunction
)_wrap_Slider_GetSelStart
, METH_O
, NULL
},
45765 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45766 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45767 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
45768 { (char *)"Slider_swiginit", Slider_swiginit
, METH_VARARGS
, NULL
},
45769 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45770 { (char *)"new_PreToggleButton", (PyCFunction
)_wrap_new_PreToggleButton
, METH_NOARGS
, NULL
},
45771 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45772 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45773 { (char *)"ToggleButton_GetValue", (PyCFunction
)_wrap_ToggleButton_GetValue
, METH_O
, NULL
},
45774 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45775 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
45776 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit
, METH_VARARGS
, NULL
},
45777 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
)_wrap_BookCtrlBase_GetPageCount
, METH_O
, NULL
},
45778 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45779 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetCurrentPage
, METH_O
, NULL
},
45780 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
)_wrap_BookCtrlBase_GetSelection
, METH_O
, NULL
},
45781 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45782 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45783 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45784 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45785 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
)_wrap_BookCtrlBase_GetImageList
, METH_O
, NULL
},
45786 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45787 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45788 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45789 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45790 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction
)_wrap_BookCtrlBase_GetInternalBorder
, METH_O
, NULL
},
45791 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction
) _wrap_BookCtrlBase_SetInternalBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45792 { (char *)"BookCtrlBase_IsVertical", (PyCFunction
)_wrap_BookCtrlBase_IsVertical
, METH_O
, NULL
},
45793 { (char *)"BookCtrlBase_SetControlMargin", (PyCFunction
) _wrap_BookCtrlBase_SetControlMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45794 { (char *)"BookCtrlBase_GetControlMargin", (PyCFunction
)_wrap_BookCtrlBase_GetControlMargin
, METH_O
, NULL
},
45795 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_SetFitToCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45796 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetFitToCurrentPage
, METH_O
, NULL
},
45797 { (char *)"BookCtrlBase_GetControlSizer", (PyCFunction
)_wrap_BookCtrlBase_GetControlSizer
, METH_O
, NULL
},
45798 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45799 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45800 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
)_wrap_BookCtrlBase_DeleteAllPages
, METH_O
, NULL
},
45801 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45802 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45803 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45804 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45805 { (char *)"BookCtrlBase_HitTest", (PyCFunction
) _wrap_BookCtrlBase_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45806 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45807 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
45808 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45809 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetSelection
, METH_O
, NULL
},
45810 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45811 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetOldSelection
, METH_O
, NULL
},
45812 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45813 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
45814 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit
, METH_VARARGS
, NULL
},
45815 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45816 { (char *)"new_PreNotebook", (PyCFunction
)_wrap_new_PreNotebook
, METH_NOARGS
, NULL
},
45817 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45818 { (char *)"Notebook_GetRowCount", (PyCFunction
)_wrap_Notebook_GetRowCount
, METH_O
, NULL
},
45819 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45820 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45821 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
)_wrap_Notebook_GetThemeBackgroundColour
, METH_O
, NULL
},
45822 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45823 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
45824 { (char *)"Notebook_swiginit", Notebook_swiginit
, METH_VARARGS
, NULL
},
45825 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45826 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
45827 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit
, METH_VARARGS
, NULL
},
45828 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45829 { (char *)"new_PreListbook", (PyCFunction
)_wrap_new_PreListbook
, METH_NOARGS
, NULL
},
45830 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45831 { (char *)"Listbook_GetListView", (PyCFunction
)_wrap_Listbook_GetListView
, METH_O
, NULL
},
45832 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
45833 { (char *)"Listbook_swiginit", Listbook_swiginit
, METH_VARARGS
, NULL
},
45834 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45835 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
45836 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit
, METH_VARARGS
, NULL
},
45837 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45838 { (char *)"new_PreChoicebook", (PyCFunction
)_wrap_new_PreChoicebook
, METH_NOARGS
, NULL
},
45839 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45840 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
)_wrap_Choicebook_GetChoiceCtrl
, METH_O
, NULL
},
45841 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
45842 { (char *)"Choicebook_swiginit", Choicebook_swiginit
, METH_VARARGS
, NULL
},
45843 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45844 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
45845 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit
, METH_VARARGS
, NULL
},
45846 { (char *)"new_Treebook", (PyCFunction
) _wrap_new_Treebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45847 { (char *)"new_PreTreebook", (PyCFunction
)_wrap_new_PreTreebook
, METH_NOARGS
, NULL
},
45848 { (char *)"Treebook_Create", (PyCFunction
) _wrap_Treebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45849 { (char *)"Treebook_InsertSubPage", (PyCFunction
) _wrap_Treebook_InsertSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45850 { (char *)"Treebook_AddSubPage", (PyCFunction
) _wrap_Treebook_AddSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45851 { (char *)"Treebook_IsNodeExpanded", (PyCFunction
) _wrap_Treebook_IsNodeExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45852 { (char *)"Treebook_ExpandNode", (PyCFunction
) _wrap_Treebook_ExpandNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45853 { (char *)"Treebook_CollapseNode", (PyCFunction
) _wrap_Treebook_CollapseNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45854 { (char *)"Treebook_GetPageParent", (PyCFunction
) _wrap_Treebook_GetPageParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45855 { (char *)"Treebook_GetTreeCtrl", (PyCFunction
)_wrap_Treebook_GetTreeCtrl
, METH_O
, NULL
},
45856 { (char *)"Treebook_swigregister", Treebook_swigregister
, METH_VARARGS
, NULL
},
45857 { (char *)"Treebook_swiginit", Treebook_swiginit
, METH_VARARGS
, NULL
},
45858 { (char *)"new_TreebookEvent", (PyCFunction
) _wrap_new_TreebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45859 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister
, METH_VARARGS
, NULL
},
45860 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit
, METH_VARARGS
, NULL
},
45861 { (char *)"new_Toolbook", (PyCFunction
) _wrap_new_Toolbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45862 { (char *)"new_PreToolbook", (PyCFunction
)_wrap_new_PreToolbook
, METH_NOARGS
, NULL
},
45863 { (char *)"Toolbook_Create", (PyCFunction
) _wrap_Toolbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45864 { (char *)"Toolbook_GetToolBar", (PyCFunction
)_wrap_Toolbook_GetToolBar
, METH_O
, NULL
},
45865 { (char *)"Toolbook_Realize", (PyCFunction
)_wrap_Toolbook_Realize
, METH_O
, NULL
},
45866 { (char *)"Toolbook_swigregister", Toolbook_swigregister
, METH_VARARGS
, NULL
},
45867 { (char *)"Toolbook_swiginit", Toolbook_swiginit
, METH_VARARGS
, NULL
},
45868 { (char *)"new_ToolbookEvent", (PyCFunction
) _wrap_new_ToolbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45869 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister
, METH_VARARGS
, NULL
},
45870 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit
, METH_VARARGS
, NULL
},
45871 { (char *)"ToolBarToolBase_GetId", (PyCFunction
)_wrap_ToolBarToolBase_GetId
, METH_O
, NULL
},
45872 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
)_wrap_ToolBarToolBase_GetControl
, METH_O
, NULL
},
45873 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
)_wrap_ToolBarToolBase_GetToolBar
, METH_O
, NULL
},
45874 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
)_wrap_ToolBarToolBase_IsButton
, METH_O
, NULL
},
45875 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
)_wrap_ToolBarToolBase_IsControl
, METH_O
, NULL
},
45876 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
)_wrap_ToolBarToolBase_IsSeparator
, METH_O
, NULL
},
45877 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
)_wrap_ToolBarToolBase_GetStyle
, METH_O
, NULL
},
45878 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
)_wrap_ToolBarToolBase_GetKind
, METH_O
, NULL
},
45879 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
)_wrap_ToolBarToolBase_IsEnabled
, METH_O
, NULL
},
45880 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
)_wrap_ToolBarToolBase_IsToggled
, METH_O
, NULL
},
45881 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
)_wrap_ToolBarToolBase_CanBeToggled
, METH_O
, NULL
},
45882 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetNormalBitmap
, METH_O
, NULL
},
45883 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetDisabledBitmap
, METH_O
, NULL
},
45884 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetBitmap
, METH_O
, NULL
},
45885 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
)_wrap_ToolBarToolBase_GetLabel
, METH_O
, NULL
},
45886 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetShortHelp
, METH_O
, NULL
},
45887 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetLongHelp
, METH_O
, NULL
},
45888 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45889 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
)_wrap_ToolBarToolBase_Toggle
, METH_O
, NULL
},
45890 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45891 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45892 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45893 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45894 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45895 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45896 { (char *)"ToolBarToolBase_Detach", (PyCFunction
)_wrap_ToolBarToolBase_Detach
, METH_O
, NULL
},
45897 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45898 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
)_wrap_ToolBarToolBase_GetClientData
, METH_O
, NULL
},
45899 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45900 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
45901 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45902 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45903 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45904 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45905 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45906 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45907 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45908 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
)_wrap_ToolBarBase_AddSeparator
, METH_O
, NULL
},
45909 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45910 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45911 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45912 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45913 { (char *)"ToolBarBase_ClearTools", (PyCFunction
)_wrap_ToolBarBase_ClearTools
, METH_O
, NULL
},
45914 { (char *)"ToolBarBase_Realize", (PyCFunction
)_wrap_ToolBarBase_Realize
, METH_O
, NULL
},
45915 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45916 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45917 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45918 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45919 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45920 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45921 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45922 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45923 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45924 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45925 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45926 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45927 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45928 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45929 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45930 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45931 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
)_wrap_ToolBarBase_GetToolMargins
, METH_O
, NULL
},
45932 { (char *)"ToolBarBase_GetMargins", (PyCFunction
)_wrap_ToolBarBase_GetMargins
, METH_O
, NULL
},
45933 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
)_wrap_ToolBarBase_GetToolPacking
, METH_O
, NULL
},
45934 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
)_wrap_ToolBarBase_GetToolSeparation
, METH_O
, NULL
},
45935 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45936 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45937 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
)_wrap_ToolBarBase_GetMaxRows
, METH_O
, NULL
},
45938 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
)_wrap_ToolBarBase_GetMaxCols
, METH_O
, NULL
},
45939 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45940 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
)_wrap_ToolBarBase_GetToolBitmapSize
, METH_O
, NULL
},
45941 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
)_wrap_ToolBarBase_GetToolSize
, METH_O
, NULL
},
45942 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45943 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45944 { (char *)"ToolBarBase_IsVertical", (PyCFunction
)_wrap_ToolBarBase_IsVertical
, METH_O
, NULL
},
45945 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction
)_wrap_ToolBarBase_GetToolsCount
, METH_O
, NULL
},
45946 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
45947 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45948 { (char *)"new_PreToolBar", (PyCFunction
)_wrap_new_PreToolBar
, METH_NOARGS
, NULL
},
45949 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45950 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45951 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
45952 { (char *)"ToolBar_swiginit", ToolBar_swiginit
, METH_VARARGS
, NULL
},
45953 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45954 { (char *)"delete_ListItemAttr", (PyCFunction
)_wrap_delete_ListItemAttr
, METH_O
, NULL
},
45955 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45956 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45957 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45958 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
)_wrap_ListItemAttr_HasTextColour
, METH_O
, NULL
},
45959 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_HasBackgroundColour
, METH_O
, NULL
},
45960 { (char *)"ListItemAttr_HasFont", (PyCFunction
)_wrap_ListItemAttr_HasFont
, METH_O
, NULL
},
45961 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
)_wrap_ListItemAttr_GetTextColour
, METH_O
, NULL
},
45962 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_GetBackgroundColour
, METH_O
, NULL
},
45963 { (char *)"ListItemAttr_GetFont", (PyCFunction
)_wrap_ListItemAttr_GetFont
, METH_O
, NULL
},
45964 { (char *)"ListItemAttr_AssignFrom", (PyCFunction
) _wrap_ListItemAttr_AssignFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45965 { (char *)"ListItemAttr_Destroy", (PyCFunction
)_wrap_ListItemAttr_Destroy
, METH_O
, NULL
},
45966 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
45967 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit
, METH_VARARGS
, NULL
},
45968 { (char *)"new_ListItem", (PyCFunction
)_wrap_new_ListItem
, METH_NOARGS
, NULL
},
45969 { (char *)"delete_ListItem", (PyCFunction
)_wrap_delete_ListItem
, METH_O
, NULL
},
45970 { (char *)"ListItem_Clear", (PyCFunction
)_wrap_ListItem_Clear
, METH_O
, NULL
},
45971 { (char *)"ListItem_ClearAttributes", (PyCFunction
)_wrap_ListItem_ClearAttributes
, METH_O
, NULL
},
45972 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45973 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45974 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45975 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45976 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45977 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45978 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45979 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45980 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45981 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45982 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45983 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45984 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45985 { (char *)"ListItem_GetMask", (PyCFunction
)_wrap_ListItem_GetMask
, METH_O
, NULL
},
45986 { (char *)"ListItem_GetId", (PyCFunction
)_wrap_ListItem_GetId
, METH_O
, NULL
},
45987 { (char *)"ListItem_GetColumn", (PyCFunction
)_wrap_ListItem_GetColumn
, METH_O
, NULL
},
45988 { (char *)"ListItem_GetState", (PyCFunction
)_wrap_ListItem_GetState
, METH_O
, NULL
},
45989 { (char *)"ListItem_GetText", (PyCFunction
)_wrap_ListItem_GetText
, METH_O
, NULL
},
45990 { (char *)"ListItem_GetImage", (PyCFunction
)_wrap_ListItem_GetImage
, METH_O
, NULL
},
45991 { (char *)"ListItem_GetData", (PyCFunction
)_wrap_ListItem_GetData
, METH_O
, NULL
},
45992 { (char *)"ListItem_GetWidth", (PyCFunction
)_wrap_ListItem_GetWidth
, METH_O
, NULL
},
45993 { (char *)"ListItem_GetAlign", (PyCFunction
)_wrap_ListItem_GetAlign
, METH_O
, NULL
},
45994 { (char *)"ListItem_GetAttributes", (PyCFunction
)_wrap_ListItem_GetAttributes
, METH_O
, NULL
},
45995 { (char *)"ListItem_HasAttributes", (PyCFunction
)_wrap_ListItem_HasAttributes
, METH_O
, NULL
},
45996 { (char *)"ListItem_GetTextColour", (PyCFunction
)_wrap_ListItem_GetTextColour
, METH_O
, NULL
},
45997 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
)_wrap_ListItem_GetBackgroundColour
, METH_O
, NULL
},
45998 { (char *)"ListItem_GetFont", (PyCFunction
)_wrap_ListItem_GetFont
, METH_O
, NULL
},
45999 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set
, METH_VARARGS
, NULL
},
46000 { (char *)"ListItem_m_mask_get", (PyCFunction
)_wrap_ListItem_m_mask_get
, METH_O
, NULL
},
46001 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set
, METH_VARARGS
, NULL
},
46002 { (char *)"ListItem_m_itemId_get", (PyCFunction
)_wrap_ListItem_m_itemId_get
, METH_O
, NULL
},
46003 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set
, METH_VARARGS
, NULL
},
46004 { (char *)"ListItem_m_col_get", (PyCFunction
)_wrap_ListItem_m_col_get
, METH_O
, NULL
},
46005 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set
, METH_VARARGS
, NULL
},
46006 { (char *)"ListItem_m_state_get", (PyCFunction
)_wrap_ListItem_m_state_get
, METH_O
, NULL
},
46007 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set
, METH_VARARGS
, NULL
},
46008 { (char *)"ListItem_m_stateMask_get", (PyCFunction
)_wrap_ListItem_m_stateMask_get
, METH_O
, NULL
},
46009 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set
, METH_VARARGS
, NULL
},
46010 { (char *)"ListItem_m_text_get", (PyCFunction
)_wrap_ListItem_m_text_get
, METH_O
, NULL
},
46011 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set
, METH_VARARGS
, NULL
},
46012 { (char *)"ListItem_m_image_get", (PyCFunction
)_wrap_ListItem_m_image_get
, METH_O
, NULL
},
46013 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set
, METH_VARARGS
, NULL
},
46014 { (char *)"ListItem_m_data_get", (PyCFunction
)_wrap_ListItem_m_data_get
, METH_O
, NULL
},
46015 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set
, METH_VARARGS
, NULL
},
46016 { (char *)"ListItem_m_format_get", (PyCFunction
)_wrap_ListItem_m_format_get
, METH_O
, NULL
},
46017 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set
, METH_VARARGS
, NULL
},
46018 { (char *)"ListItem_m_width_get", (PyCFunction
)_wrap_ListItem_m_width_get
, METH_O
, NULL
},
46019 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
46020 { (char *)"ListItem_swiginit", ListItem_swiginit
, METH_VARARGS
, NULL
},
46021 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46022 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set
, METH_VARARGS
, NULL
},
46023 { (char *)"ListEvent_m_code_get", (PyCFunction
)_wrap_ListEvent_m_code_get
, METH_O
, NULL
},
46024 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
, NULL
},
46025 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
)_wrap_ListEvent_m_oldItemIndex_get
, METH_O
, NULL
},
46026 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
, NULL
},
46027 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
)_wrap_ListEvent_m_itemIndex_get
, METH_O
, NULL
},
46028 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set
, METH_VARARGS
, NULL
},
46029 { (char *)"ListEvent_m_col_get", (PyCFunction
)_wrap_ListEvent_m_col_get
, METH_O
, NULL
},
46030 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
, NULL
},
46031 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
)_wrap_ListEvent_m_pointDrag_get
, METH_O
, NULL
},
46032 { (char *)"ListEvent_m_item_get", (PyCFunction
)_wrap_ListEvent_m_item_get
, METH_O
, NULL
},
46033 { (char *)"ListEvent_GetKeyCode", (PyCFunction
)_wrap_ListEvent_GetKeyCode
, METH_O
, NULL
},
46034 { (char *)"ListEvent_GetIndex", (PyCFunction
)_wrap_ListEvent_GetIndex
, METH_O
, NULL
},
46035 { (char *)"ListEvent_GetColumn", (PyCFunction
)_wrap_ListEvent_GetColumn
, METH_O
, NULL
},
46036 { (char *)"ListEvent_GetPoint", (PyCFunction
)_wrap_ListEvent_GetPoint
, METH_O
, NULL
},
46037 { (char *)"ListEvent_GetLabel", (PyCFunction
)_wrap_ListEvent_GetLabel
, METH_O
, NULL
},
46038 { (char *)"ListEvent_GetText", (PyCFunction
)_wrap_ListEvent_GetText
, METH_O
, NULL
},
46039 { (char *)"ListEvent_GetImage", (PyCFunction
)_wrap_ListEvent_GetImage
, METH_O
, NULL
},
46040 { (char *)"ListEvent_GetData", (PyCFunction
)_wrap_ListEvent_GetData
, METH_O
, NULL
},
46041 { (char *)"ListEvent_GetMask", (PyCFunction
)_wrap_ListEvent_GetMask
, METH_O
, NULL
},
46042 { (char *)"ListEvent_GetItem", (PyCFunction
)_wrap_ListEvent_GetItem
, METH_O
, NULL
},
46043 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
)_wrap_ListEvent_GetCacheFrom
, METH_O
, NULL
},
46044 { (char *)"ListEvent_GetCacheTo", (PyCFunction
)_wrap_ListEvent_GetCacheTo
, METH_O
, NULL
},
46045 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
)_wrap_ListEvent_IsEditCancelled
, METH_O
, NULL
},
46046 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46047 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
46048 { (char *)"ListEvent_swiginit", ListEvent_swiginit
, METH_VARARGS
, NULL
},
46049 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46050 { (char *)"new_PreListCtrl", (PyCFunction
)_wrap_new_PreListCtrl
, METH_NOARGS
, NULL
},
46051 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46052 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46053 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46054 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46055 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46056 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46057 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
)_wrap_ListCtrl_GetCountPerPage
, METH_O
, NULL
},
46058 { (char *)"ListCtrl_GetViewRect", (PyCFunction
)_wrap_ListCtrl_GetViewRect
, METH_O
, NULL
},
46059 { (char *)"ListCtrl_GetEditControl", (PyCFunction
)_wrap_ListCtrl_GetEditControl
, METH_O
, NULL
},
46060 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46061 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46062 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46063 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46064 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46065 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46066 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction
) _wrap_ListCtrl_SetItemColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46067 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46068 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46069 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46070 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46071 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46072 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46073 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46074 { (char *)"ListCtrl_GetItemCount", (PyCFunction
)_wrap_ListCtrl_GetItemCount
, METH_O
, NULL
},
46075 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
)_wrap_ListCtrl_GetColumnCount
, METH_O
, NULL
},
46076 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
)_wrap_ListCtrl_GetItemSpacing
, METH_O
, NULL
},
46077 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
)_wrap_ListCtrl_GetSelectedItemCount
, METH_O
, NULL
},
46078 { (char *)"ListCtrl_GetTextColour", (PyCFunction
)_wrap_ListCtrl_GetTextColour
, METH_O
, NULL
},
46079 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46080 { (char *)"ListCtrl_GetTopItem", (PyCFunction
)_wrap_ListCtrl_GetTopItem
, METH_O
, NULL
},
46081 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46082 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46083 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46084 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46085 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46086 { (char *)"ListCtrl_InReportView", (PyCFunction
)_wrap_ListCtrl_InReportView
, METH_O
, NULL
},
46087 { (char *)"ListCtrl_IsVirtual", (PyCFunction
)_wrap_ListCtrl_IsVirtual
, METH_O
, NULL
},
46088 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46089 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46090 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46091 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46092 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
)_wrap_ListCtrl_DeleteAllItems
, METH_O
, NULL
},
46093 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46094 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
)_wrap_ListCtrl_DeleteAllColumns
, METH_O
, NULL
},
46095 { (char *)"ListCtrl_ClearAll", (PyCFunction
)_wrap_ListCtrl_ClearAll
, METH_O
, NULL
},
46096 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46097 { (char *)"ListCtrl_EndEditLabel", (PyCFunction
) _wrap_ListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46098 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46099 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46100 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46101 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46102 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46103 { (char *)"ListCtrl_HitTestSubItem", (PyCFunction
) _wrap_ListCtrl_HitTestSubItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46104 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46105 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46106 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46107 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46108 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46109 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46110 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46111 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46112 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46113 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46114 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46115 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46116 { (char *)"ListCtrl_SetItemFont", (PyCFunction
) _wrap_ListCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46117 { (char *)"ListCtrl_GetItemFont", (PyCFunction
) _wrap_ListCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46118 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46119 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
)_wrap_ListCtrl_GetMainWindow
, METH_O
, NULL
},
46120 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46121 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
46122 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit
, METH_VARARGS
, NULL
},
46123 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46124 { (char *)"new_PreListView", (PyCFunction
)_wrap_new_PreListView
, METH_NOARGS
, NULL
},
46125 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46126 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46127 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46128 { (char *)"ListView_GetFocusedItem", (PyCFunction
)_wrap_ListView_GetFocusedItem
, METH_O
, NULL
},
46129 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46130 { (char *)"ListView_GetFirstSelected", (PyCFunction
)_wrap_ListView_GetFirstSelected
, METH_O
, NULL
},
46131 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46132 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46133 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46134 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
46135 { (char *)"ListView_swiginit", ListView_swiginit
, METH_VARARGS
, NULL
},
46136 { (char *)"new_TreeItemId", (PyCFunction
)_wrap_new_TreeItemId
, METH_NOARGS
, NULL
},
46137 { (char *)"delete_TreeItemId", (PyCFunction
)_wrap_delete_TreeItemId
, METH_O
, NULL
},
46138 { (char *)"TreeItemId_IsOk", (PyCFunction
)_wrap_TreeItemId_IsOk
, METH_O
, NULL
},
46139 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46140 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46141 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
, NULL
},
46142 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
)_wrap_TreeItemId_m_pItem_get
, METH_O
, NULL
},
46143 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
46144 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit
, METH_VARARGS
, NULL
},
46145 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46146 { (char *)"delete_TreeItemData", (PyCFunction
)_wrap_delete_TreeItemData
, METH_O
, NULL
},
46147 { (char *)"TreeItemData_GetData", (PyCFunction
)_wrap_TreeItemData_GetData
, METH_O
, NULL
},
46148 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46149 { (char *)"TreeItemData_GetId", (PyCFunction
)_wrap_TreeItemData_GetId
, METH_O
, NULL
},
46150 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46151 { (char *)"TreeItemData_Destroy", (PyCFunction
)_wrap_TreeItemData_Destroy
, METH_O
, NULL
},
46152 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
46153 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit
, METH_VARARGS
, NULL
},
46154 { (char *)"new_TreeEvent", _wrap_new_TreeEvent
, METH_VARARGS
, NULL
},
46155 { (char *)"TreeEvent_GetItem", (PyCFunction
)_wrap_TreeEvent_GetItem
, METH_O
, NULL
},
46156 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46157 { (char *)"TreeEvent_GetOldItem", (PyCFunction
)_wrap_TreeEvent_GetOldItem
, METH_O
, NULL
},
46158 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46159 { (char *)"TreeEvent_GetPoint", (PyCFunction
)_wrap_TreeEvent_GetPoint
, METH_O
, NULL
},
46160 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46161 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
)_wrap_TreeEvent_GetKeyEvent
, METH_O
, NULL
},
46162 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
)_wrap_TreeEvent_GetKeyCode
, METH_O
, NULL
},
46163 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46164 { (char *)"TreeEvent_GetLabel", (PyCFunction
)_wrap_TreeEvent_GetLabel
, METH_O
, NULL
},
46165 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46166 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
)_wrap_TreeEvent_IsEditCancelled
, METH_O
, NULL
},
46167 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46168 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46169 { (char *)"TreeEvent_GetToolTip", (PyCFunction
)_wrap_TreeEvent_GetToolTip
, METH_O
, NULL
},
46170 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
46171 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit
, METH_VARARGS
, NULL
},
46172 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46173 { (char *)"new_PreTreeCtrl", (PyCFunction
)_wrap_new_PreTreeCtrl
, METH_NOARGS
, NULL
},
46174 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46175 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46176 { (char *)"TreeCtrl_GetCount", (PyCFunction
)_wrap_TreeCtrl_GetCount
, METH_O
, NULL
},
46177 { (char *)"TreeCtrl_GetIndent", (PyCFunction
)_wrap_TreeCtrl_GetIndent
, METH_O
, NULL
},
46178 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46179 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
)_wrap_TreeCtrl_GetSpacing
, METH_O
, NULL
},
46180 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46181 { (char *)"TreeCtrl_GetImageList", (PyCFunction
)_wrap_TreeCtrl_GetImageList
, METH_O
, NULL
},
46182 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
)_wrap_TreeCtrl_GetStateImageList
, METH_O
, NULL
},
46183 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46184 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46185 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46186 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46187 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46188 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46189 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46190 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46191 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46192 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46193 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46194 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46195 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46196 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46197 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46198 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46199 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46200 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46201 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46202 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46203 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46204 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46205 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46206 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46207 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46208 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46209 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46210 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
)_wrap_TreeCtrl_GetRootItem
, METH_O
, NULL
},
46211 { (char *)"TreeCtrl_GetSelection", (PyCFunction
)_wrap_TreeCtrl_GetSelection
, METH_O
, NULL
},
46212 { (char *)"TreeCtrl_GetSelections", (PyCFunction
)_wrap_TreeCtrl_GetSelections
, METH_O
, NULL
},
46213 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46214 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46215 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46216 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46217 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46218 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46219 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
)_wrap_TreeCtrl_GetFirstVisibleItem
, METH_O
, NULL
},
46220 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46221 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46222 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46223 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46224 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46225 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46226 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46227 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46228 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46229 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
)_wrap_TreeCtrl_DeleteAllItems
, METH_O
, NULL
},
46230 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46231 { (char *)"TreeCtrl_ExpandAllChildren", (PyCFunction
) _wrap_TreeCtrl_ExpandAllChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46232 { (char *)"TreeCtrl_ExpandAll", (PyCFunction
)_wrap_TreeCtrl_ExpandAll
, METH_O
, NULL
},
46233 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46234 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46235 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46236 { (char *)"TreeCtrl_Unselect", (PyCFunction
)_wrap_TreeCtrl_Unselect
, METH_O
, NULL
},
46237 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46238 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
)_wrap_TreeCtrl_UnselectAll
, METH_O
, NULL
},
46239 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46240 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46241 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46242 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46243 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46244 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
)_wrap_TreeCtrl_GetEditControl
, METH_O
, NULL
},
46245 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction
) _wrap_TreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46246 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46247 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46248 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46249 { (char *)"TreeCtrl_SetState", (PyCFunction
) _wrap_TreeCtrl_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46250 { (char *)"TreeCtrl_GetState", (PyCFunction
) _wrap_TreeCtrl_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46251 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46252 { (char *)"TreeCtrl_SetQuickBestSize", (PyCFunction
) _wrap_TreeCtrl_SetQuickBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46253 { (char *)"TreeCtrl_GetQuickBestSize", (PyCFunction
)_wrap_TreeCtrl_GetQuickBestSize
, METH_O
, NULL
},
46254 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
46255 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit
, METH_VARARGS
, NULL
},
46256 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46257 { (char *)"new_PreGenericDirCtrl", (PyCFunction
)_wrap_new_PreGenericDirCtrl
, METH_NOARGS
, NULL
},
46258 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46259 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46260 { (char *)"GenericDirCtrl_CollapsePath", (PyCFunction
) _wrap_GenericDirCtrl_CollapsePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46261 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
)_wrap_GenericDirCtrl_GetDefaultPath
, METH_O
, NULL
},
46262 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46263 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
)_wrap_GenericDirCtrl_GetPath
, METH_O
, NULL
},
46264 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
)_wrap_GenericDirCtrl_GetFilePath
, METH_O
, NULL
},
46265 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46266 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46267 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
)_wrap_GenericDirCtrl_GetShowHidden
, METH_O
, NULL
},
46268 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
)_wrap_GenericDirCtrl_GetFilter
, METH_O
, NULL
},
46269 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46270 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterIndex
, METH_O
, NULL
},
46271 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46272 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
)_wrap_GenericDirCtrl_GetRootId
, METH_O
, NULL
},
46273 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetTreeCtrl
, METH_O
, NULL
},
46274 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterListCtrl
, METH_O
, NULL
},
46275 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46276 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
)_wrap_GenericDirCtrl_DoResize
, METH_O
, NULL
},
46277 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
)_wrap_GenericDirCtrl_ReCreateTree
, METH_O
, NULL
},
46278 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
46279 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit
, METH_VARARGS
, NULL
},
46280 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46281 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
)_wrap_new_PreDirFilterListCtrl
, METH_NOARGS
, NULL
},
46282 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46283 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46284 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
46285 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit
, METH_VARARGS
, NULL
},
46286 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46287 { (char *)"new_PrePyControl", (PyCFunction
)_wrap_new_PrePyControl
, METH_NOARGS
, NULL
},
46288 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46289 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46290 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46291 { (char *)"PyControl_DoMoveWindow", (PyCFunction
) _wrap_PyControl_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46292 { (char *)"PyControl_DoSetSize", (PyCFunction
) _wrap_PyControl_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46293 { (char *)"PyControl_DoSetClientSize", (PyCFunction
) _wrap_PyControl_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46294 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46295 { (char *)"PyControl_DoGetSize", (PyCFunction
)_wrap_PyControl_DoGetSize
, METH_O
, NULL
},
46296 { (char *)"PyControl_DoGetClientSize", (PyCFunction
)_wrap_PyControl_DoGetClientSize
, METH_O
, NULL
},
46297 { (char *)"PyControl_DoGetPosition", (PyCFunction
)_wrap_PyControl_DoGetPosition
, METH_O
, NULL
},
46298 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction
)_wrap_PyControl_DoGetVirtualSize
, METH_O
, NULL
},
46299 { (char *)"PyControl_DoGetBestSize", (PyCFunction
)_wrap_PyControl_DoGetBestSize
, METH_O
, NULL
},
46300 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction
)_wrap_PyControl_GetDefaultAttributes
, METH_O
, NULL
},
46301 { (char *)"PyControl_OnInternalIdle", (PyCFunction
)_wrap_PyControl_OnInternalIdle
, METH_O
, NULL
},
46302 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
46303 { (char *)"PyControl_swiginit", PyControl_swiginit
, METH_VARARGS
, NULL
},
46304 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46305 { (char *)"HelpEvent_GetPosition", (PyCFunction
)_wrap_HelpEvent_GetPosition
, METH_O
, NULL
},
46306 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46307 { (char *)"HelpEvent_GetLink", (PyCFunction
)_wrap_HelpEvent_GetLink
, METH_O
, NULL
},
46308 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46309 { (char *)"HelpEvent_GetTarget", (PyCFunction
)_wrap_HelpEvent_GetTarget
, METH_O
, NULL
},
46310 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46311 { (char *)"HelpEvent_GetOrigin", (PyCFunction
)_wrap_HelpEvent_GetOrigin
, METH_O
, NULL
},
46312 { (char *)"HelpEvent_SetOrigin", (PyCFunction
) _wrap_HelpEvent_SetOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46313 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
46314 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit
, METH_VARARGS
, NULL
},
46315 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46316 { (char *)"delete_ContextHelp", (PyCFunction
)_wrap_delete_ContextHelp
, METH_O
, NULL
},
46317 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46318 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
)_wrap_ContextHelp_EndContextHelp
, METH_O
, NULL
},
46319 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
46320 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit
, METH_VARARGS
, NULL
},
46321 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46322 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
46323 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit
, METH_VARARGS
, NULL
},
46324 { (char *)"delete_HelpProvider", (PyCFunction
)_wrap_delete_HelpProvider
, METH_O
, NULL
},
46325 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46326 { (char *)"HelpProvider_Get", (PyCFunction
)_wrap_HelpProvider_Get
, METH_NOARGS
, NULL
},
46327 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46328 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46329 { (char *)"HelpProvider_ShowHelpAtPoint", (PyCFunction
) _wrap_HelpProvider_ShowHelpAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46330 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46331 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46332 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46333 { (char *)"HelpProvider_Destroy", (PyCFunction
)_wrap_HelpProvider_Destroy
, METH_O
, NULL
},
46334 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
46335 { (char *)"new_SimpleHelpProvider", (PyCFunction
)_wrap_new_SimpleHelpProvider
, METH_NOARGS
, NULL
},
46336 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
46337 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit
, METH_VARARGS
, NULL
},
46338 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46339 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46340 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46341 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46342 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46343 { (char *)"delete_DragImage", (PyCFunction
)_wrap_delete_DragImage
, METH_O
, NULL
},
46344 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46345 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46346 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46347 { (char *)"DragImage_EndDrag", (PyCFunction
)_wrap_DragImage_EndDrag
, METH_O
, NULL
},
46348 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46349 { (char *)"DragImage_Show", (PyCFunction
)_wrap_DragImage_Show
, METH_O
, NULL
},
46350 { (char *)"DragImage_Hide", (PyCFunction
)_wrap_DragImage_Hide
, METH_O
, NULL
},
46351 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46352 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46353 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46354 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46355 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
46356 { (char *)"DragImage_swiginit", DragImage_swiginit
, METH_VARARGS
, NULL
},
46357 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46358 { (char *)"new_PreDatePickerCtrl", (PyCFunction
)_wrap_new_PreDatePickerCtrl
, METH_NOARGS
, NULL
},
46359 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46360 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46361 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
)_wrap_DatePickerCtrl_GetValue
, METH_O
, NULL
},
46362 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46363 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetLowerLimit
, METH_O
, NULL
},
46364 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetUpperLimit
, METH_O
, NULL
},
46365 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46366 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46367 { (char *)"new_HyperlinkCtrl", (PyCFunction
) _wrap_new_HyperlinkCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46368 { (char *)"new_PreHyperlinkCtrl", (PyCFunction
)_wrap_new_PreHyperlinkCtrl
, METH_NOARGS
, NULL
},
46369 { (char *)"HyperlinkCtrl_Create", (PyCFunction
) _wrap_HyperlinkCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46370 { (char *)"HyperlinkCtrl_GetHoverColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetHoverColour
, METH_O
, NULL
},
46371 { (char *)"HyperlinkCtrl_SetHoverColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetHoverColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46372 { (char *)"HyperlinkCtrl_GetNormalColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetNormalColour
, METH_O
, NULL
},
46373 { (char *)"HyperlinkCtrl_SetNormalColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetNormalColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46374 { (char *)"HyperlinkCtrl_GetVisitedColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisitedColour
, METH_O
, NULL
},
46375 { (char *)"HyperlinkCtrl_SetVisitedColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisitedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46376 { (char *)"HyperlinkCtrl_GetURL", (PyCFunction
)_wrap_HyperlinkCtrl_GetURL
, METH_O
, NULL
},
46377 { (char *)"HyperlinkCtrl_SetURL", (PyCFunction
) _wrap_HyperlinkCtrl_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46378 { (char *)"HyperlinkCtrl_SetVisited", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisited
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46379 { (char *)"HyperlinkCtrl_GetVisited", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisited
, METH_O
, NULL
},
46380 { (char *)"HyperlinkCtrl_swigregister", HyperlinkCtrl_swigregister
, METH_VARARGS
, NULL
},
46381 { (char *)"HyperlinkCtrl_swiginit", HyperlinkCtrl_swiginit
, METH_VARARGS
, NULL
},
46382 { (char *)"new_HyperlinkEvent", (PyCFunction
) _wrap_new_HyperlinkEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46383 { (char *)"HyperlinkEvent_GetURL", (PyCFunction
)_wrap_HyperlinkEvent_GetURL
, METH_O
, NULL
},
46384 { (char *)"HyperlinkEvent_SetURL", (PyCFunction
) _wrap_HyperlinkEvent_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46385 { (char *)"HyperlinkEvent_swigregister", HyperlinkEvent_swigregister
, METH_VARARGS
, NULL
},
46386 { (char *)"HyperlinkEvent_swiginit", HyperlinkEvent_swiginit
, METH_VARARGS
, NULL
},
46387 { (char *)"PickerBase_CreateBase", (PyCFunction
) _wrap_PickerBase_CreateBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46388 { (char *)"PickerBase_SetInternalMargin", (PyCFunction
) _wrap_PickerBase_SetInternalMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46389 { (char *)"PickerBase_GetInternalMargin", (PyCFunction
)_wrap_PickerBase_GetInternalMargin
, METH_O
, NULL
},
46390 { (char *)"PickerBase_SetTextCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetTextCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46391 { (char *)"PickerBase_GetTextCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetTextCtrlProportion
, METH_O
, NULL
},
46392 { (char *)"PickerBase_SetPickerCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46393 { (char *)"PickerBase_GetPickerCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetPickerCtrlProportion
, METH_O
, NULL
},
46394 { (char *)"PickerBase_IsTextCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsTextCtrlGrowable
, METH_O
, NULL
},
46395 { (char *)"PickerBase_SetTextCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetTextCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46396 { (char *)"PickerBase_IsPickerCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsPickerCtrlGrowable
, METH_O
, NULL
},
46397 { (char *)"PickerBase_SetPickerCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46398 { (char *)"PickerBase_HasTextCtrl", (PyCFunction
)_wrap_PickerBase_HasTextCtrl
, METH_O
, NULL
},
46399 { (char *)"PickerBase_GetTextCtrl", (PyCFunction
)_wrap_PickerBase_GetTextCtrl
, METH_O
, NULL
},
46400 { (char *)"PickerBase_GetPickerCtrl", (PyCFunction
)_wrap_PickerBase_GetPickerCtrl
, METH_O
, NULL
},
46401 { (char *)"PickerBase_swigregister", PickerBase_swigregister
, METH_VARARGS
, NULL
},
46402 { (char *)"new_ColourPickerCtrl", (PyCFunction
) _wrap_new_ColourPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46403 { (char *)"new_PreColourPickerCtrl", (PyCFunction
)_wrap_new_PreColourPickerCtrl
, METH_NOARGS
, NULL
},
46404 { (char *)"ColourPickerCtrl_Create", (PyCFunction
) _wrap_ColourPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46405 { (char *)"ColourPickerCtrl_GetColour", (PyCFunction
)_wrap_ColourPickerCtrl_GetColour
, METH_O
, NULL
},
46406 { (char *)"ColourPickerCtrl_SetColour", (PyCFunction
) _wrap_ColourPickerCtrl_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46407 { (char *)"ColourPickerCtrl_swigregister", ColourPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46408 { (char *)"ColourPickerCtrl_swiginit", ColourPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46409 { (char *)"new_ColourPickerEvent", (PyCFunction
) _wrap_new_ColourPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46410 { (char *)"ColourPickerEvent_GetColour", (PyCFunction
)_wrap_ColourPickerEvent_GetColour
, METH_O
, NULL
},
46411 { (char *)"ColourPickerEvent_SetColour", (PyCFunction
) _wrap_ColourPickerEvent_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46412 { (char *)"ColourPickerEvent_swigregister", ColourPickerEvent_swigregister
, METH_VARARGS
, NULL
},
46413 { (char *)"ColourPickerEvent_swiginit", ColourPickerEvent_swiginit
, METH_VARARGS
, NULL
},
46414 { (char *)"new_FilePickerCtrl", (PyCFunction
) _wrap_new_FilePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46415 { (char *)"new_PreFilePickerCtrl", (PyCFunction
)_wrap_new_PreFilePickerCtrl
, METH_NOARGS
, NULL
},
46416 { (char *)"FilePickerCtrl_Create", (PyCFunction
) _wrap_FilePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46417 { (char *)"FilePickerCtrl_GetPath", (PyCFunction
)_wrap_FilePickerCtrl_GetPath
, METH_O
, NULL
},
46418 { (char *)"FilePickerCtrl_SetPath", (PyCFunction
) _wrap_FilePickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46419 { (char *)"FilePickerCtrl_CheckPath", (PyCFunction
) _wrap_FilePickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46420 { (char *)"FilePickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_FilePickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
46421 { (char *)"FilePickerCtrl_swigregister", FilePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46422 { (char *)"FilePickerCtrl_swiginit", FilePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46423 { (char *)"new_DirPickerCtrl", (PyCFunction
) _wrap_new_DirPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46424 { (char *)"new_PreDirPickerCtrl", (PyCFunction
)_wrap_new_PreDirPickerCtrl
, METH_NOARGS
, NULL
},
46425 { (char *)"DirPickerCtrl_Create", (PyCFunction
) _wrap_DirPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46426 { (char *)"DirPickerCtrl_GetPath", (PyCFunction
)_wrap_DirPickerCtrl_GetPath
, METH_O
, NULL
},
46427 { (char *)"DirPickerCtrl_SetPath", (PyCFunction
) _wrap_DirPickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46428 { (char *)"DirPickerCtrl_CheckPath", (PyCFunction
) _wrap_DirPickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46429 { (char *)"DirPickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_DirPickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
46430 { (char *)"DirPickerCtrl_swigregister", DirPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46431 { (char *)"DirPickerCtrl_swiginit", DirPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46432 { (char *)"new_FileDirPickerEvent", (PyCFunction
) _wrap_new_FileDirPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46433 { (char *)"FileDirPickerEvent_GetPath", (PyCFunction
)_wrap_FileDirPickerEvent_GetPath
, METH_O
, NULL
},
46434 { (char *)"FileDirPickerEvent_SetPath", (PyCFunction
) _wrap_FileDirPickerEvent_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46435 { (char *)"FileDirPickerEvent_swigregister", FileDirPickerEvent_swigregister
, METH_VARARGS
, NULL
},
46436 { (char *)"FileDirPickerEvent_swiginit", FileDirPickerEvent_swiginit
, METH_VARARGS
, NULL
},
46437 { (char *)"new_FontPickerCtrl", (PyCFunction
) _wrap_new_FontPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46438 { (char *)"new_PreFontPickerCtrl", (PyCFunction
)_wrap_new_PreFontPickerCtrl
, METH_NOARGS
, NULL
},
46439 { (char *)"FontPickerCtrl_Create", (PyCFunction
) _wrap_FontPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46440 { (char *)"FontPickerCtrl_GetSelectedFont", (PyCFunction
)_wrap_FontPickerCtrl_GetSelectedFont
, METH_O
, NULL
},
46441 { (char *)"FontPickerCtrl_SetSelectedFont", (PyCFunction
) _wrap_FontPickerCtrl_SetSelectedFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46442 { (char *)"FontPickerCtrl_SetMaxPointSize", (PyCFunction
) _wrap_FontPickerCtrl_SetMaxPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46443 { (char *)"FontPickerCtrl_GetMaxPointSize", (PyCFunction
)_wrap_FontPickerCtrl_GetMaxPointSize
, METH_O
, NULL
},
46444 { (char *)"FontPickerCtrl_swigregister", FontPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46445 { (char *)"FontPickerCtrl_swiginit", FontPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46446 { (char *)"new_FontPickerEvent", (PyCFunction
) _wrap_new_FontPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46447 { (char *)"FontPickerEvent_GetFont", (PyCFunction
)_wrap_FontPickerEvent_GetFont
, METH_O
, NULL
},
46448 { (char *)"FontPickerEvent_SetFont", (PyCFunction
) _wrap_FontPickerEvent_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46449 { (char *)"FontPickerEvent_swigregister", FontPickerEvent_swigregister
, METH_VARARGS
, NULL
},
46450 { (char *)"FontPickerEvent_swiginit", FontPickerEvent_swiginit
, METH_VARARGS
, NULL
},
46451 { NULL
, NULL
, 0, NULL
}
46455 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
46457 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
46458 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46460 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
46461 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
46463 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
46464 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
46466 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
46467 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
46469 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
46470 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
46472 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
46473 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
46475 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
46476 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
46478 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
46479 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
46481 static void *_p_wxColourPickerEventTo_p_wxEvent(void *x
) {
46482 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
46484 static void *_p_wxFileDirPickerEventTo_p_wxEvent(void *x
) {
46485 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
46487 static void *_p_wxFontPickerEventTo_p_wxEvent(void *x
) {
46488 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
46490 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
46491 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
46493 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
46494 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
46496 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
46497 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
46499 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
46500 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46502 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
46503 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
46505 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
46506 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
46508 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
46509 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
46511 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
46512 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
46514 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
46515 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
46517 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
46518 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
46520 static void *_p_wxTreebookEventTo_p_wxEvent(void *x
) {
46521 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
46523 static void *_p_wxToolbookEventTo_p_wxEvent(void *x
) {
46524 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
46526 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
46527 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
46529 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
46530 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
46532 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
46533 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46535 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
46536 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46538 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
46539 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
46541 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
46542 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
46544 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
46545 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
46547 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
46548 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
46550 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
46551 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
46553 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
46554 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
46556 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
46557 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
46559 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
46560 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
46562 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
46563 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
46565 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
46566 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46568 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
46569 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46571 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
46572 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46574 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
46575 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46577 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
46578 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46580 static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x
) {
46581 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
46583 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
46584 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
46586 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
46587 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
46589 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
46590 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46592 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
46593 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
46595 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
46596 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
46598 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
46599 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46601 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
46602 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46604 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
46605 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
46607 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
46608 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
46610 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
46611 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
46613 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
46614 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
46616 static void *_p_wxColourPickerCtrlTo_p_wxPickerBase(void *x
) {
46617 return (void *)((wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
46619 static void *_p_wxFilePickerCtrlTo_p_wxPickerBase(void *x
) {
46620 return (void *)((wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
46622 static void *_p_wxDirPickerCtrlTo_p_wxPickerBase(void *x
) {
46623 return (void *)((wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
46625 static void *_p_wxFontPickerCtrlTo_p_wxPickerBase(void *x
) {
46626 return (void *)((wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
46628 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
46629 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
46631 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
46632 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46634 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
46635 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
46637 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
46638 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
46640 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
46641 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
46643 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
46644 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
46646 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
46647 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
46649 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
46650 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
46652 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
46653 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
46655 static void *_p_wxPickerBaseTo_p_wxControl(void *x
) {
46656 return (void *)((wxControl
*) ((wxPickerBase
*) x
));
46658 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
46659 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
46661 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
46662 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
46664 static void *_p_wxToolbookTo_p_wxControl(void *x
) {
46665 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxToolbook
*) x
));
46667 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
46668 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
46670 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
46671 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46673 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
46674 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
46676 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
46677 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
46679 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
46680 return (void *)((wxControl
*) ((wxPyControl
*) x
));
46682 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
46683 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
46685 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
46686 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
46688 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
46689 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
46691 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
46692 return (void *)((wxControl
*) ((wxGauge
*) x
));
46694 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
46695 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
46697 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
46698 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
46700 static void *_p_wxListbookTo_p_wxControl(void *x
) {
46701 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
46703 static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x
) {
46704 return (void *)((wxControl
*) ((wxHyperlinkCtrl
*) x
));
46706 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
46707 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
46709 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
46710 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
46712 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
46713 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
46715 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
46716 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
46718 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
46719 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
46721 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
46722 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
46724 static void *_p_wxListViewTo_p_wxControl(void *x
) {
46725 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
46727 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
46728 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
46730 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
46731 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
46733 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
46734 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
46736 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
46737 return (void *)((wxControl
*) ((wxStaticText
*) x
));
46739 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
46740 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
46742 static void *_p_wxSliderTo_p_wxControl(void *x
) {
46743 return (void *)((wxControl
*) ((wxSlider
*) x
));
46745 static void *_p_wxTreebookTo_p_wxControl(void *x
) {
46746 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxTreebook
*) x
));
46748 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
46749 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
46751 static void *_p_wxButtonTo_p_wxControl(void *x
) {
46752 return (void *)((wxControl
*) ((wxButton
*) x
));
46754 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
46755 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
46757 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
46758 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46760 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
46761 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
46763 static void *_p_wxColourPickerCtrlTo_p_wxControl(void *x
) {
46764 return (void *)((wxControl
*) (wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
46766 static void *_p_wxFilePickerCtrlTo_p_wxControl(void *x
) {
46767 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
46769 static void *_p_wxDirPickerCtrlTo_p_wxControl(void *x
) {
46770 return (void *)((wxControl
*) (wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
46772 static void *_p_wxFontPickerCtrlTo_p_wxControl(void *x
) {
46773 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
46775 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
46776 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
46778 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
46779 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
46781 static void *_p_wxComboBoxTo_p_wxChoice(void *x
) {
46782 return (void *)((wxChoice
*) ((wxComboBox
*) x
));
46784 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
46785 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46787 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
46788 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
46790 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
46791 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
46793 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
46794 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
46796 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
46797 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
46799 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
46800 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
46802 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
46803 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
46805 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
46806 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
46808 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x
) {
46809 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
46811 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x
) {
46812 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
46814 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
46815 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
46817 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
46818 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
46820 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x
) {
46821 return (void *)((wxBookCtrlBase
*) ((wxToolbook
*) x
));
46823 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x
) {
46824 return (void *)((wxBookCtrlBase
*) ((wxTreebook
*) x
));
46826 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
46827 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
46829 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
46830 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
46832 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
46833 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
46835 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
46836 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
46838 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
46839 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
46841 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
46842 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
46844 static void *_p_wxPickerBaseTo_p_wxEvtHandler(void *x
) {
46845 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
46847 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
46848 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
46850 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
46851 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
46853 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
46854 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
46856 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x
) {
46857 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
46859 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
46860 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
46862 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
46863 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
46865 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
46866 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
46868 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
46869 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
46871 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
46872 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
46874 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
46875 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46877 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
46878 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
46880 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
46881 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
46883 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
46884 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
46886 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
46887 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
46889 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
46890 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
46892 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
46893 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
46895 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
46896 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
46898 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
46899 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
46901 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
46902 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
46904 static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x
) {
46905 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
46907 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
46908 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
46910 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
46911 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
46913 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
46914 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
46916 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
46917 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
46919 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
46920 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
46922 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
46923 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
46925 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
46926 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
46928 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
46929 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
46931 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
46932 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
46934 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
46935 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
46937 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
46938 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
46940 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
46941 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
46943 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
46944 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
46946 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x
) {
46947 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
46949 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
46950 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
46952 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
46953 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
46955 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
46956 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
46958 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
46959 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46961 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
46962 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
46964 static void *_p_wxColourPickerCtrlTo_p_wxEvtHandler(void *x
) {
46965 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
46967 static void *_p_wxFilePickerCtrlTo_p_wxEvtHandler(void *x
) {
46968 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
46970 static void *_p_wxDirPickerCtrlTo_p_wxEvtHandler(void *x
) {
46971 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
46973 static void *_p_wxFontPickerCtrlTo_p_wxEvtHandler(void *x
) {
46974 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
46976 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
46977 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
46979 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
46980 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
46982 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
46983 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
46985 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
46986 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46988 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
46989 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46991 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
46992 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
46994 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
46995 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
46997 static void *_p_wxToolbookTo_p_wxObject(void *x
) {
46998 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
47000 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
47001 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
47003 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
47004 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
47006 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
47007 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
47009 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
47010 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
47012 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
47013 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
47015 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
47016 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
47018 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
47019 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
47021 static void *_p_wxSizerTo_p_wxObject(void *x
) {
47022 return (void *)((wxObject
*) ((wxSizer
*) x
));
47024 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
47025 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
47027 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
47028 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
47030 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
47031 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
47033 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
47034 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
47036 static void *_p_wxEventTo_p_wxObject(void *x
) {
47037 return (void *)((wxObject
*) ((wxEvent
*) x
));
47039 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
47040 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
47042 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
47043 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
47045 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
47046 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
47048 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
47049 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
47051 static void *_p_wxPickerBaseTo_p_wxObject(void *x
) {
47052 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
47054 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
47055 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
47057 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
47058 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47060 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
47061 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
47063 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
47064 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
47066 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
47067 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
47069 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
47070 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
47072 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
47073 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
47075 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
47076 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
47078 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
47079 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
47081 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
47082 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
47084 static void *_p_wxControlTo_p_wxObject(void *x
) {
47085 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
47087 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
47088 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
47090 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
47091 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
47093 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
47094 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
47096 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
47097 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
47099 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
47100 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
47102 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
47103 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
47105 static void *_p_wxColourPickerEventTo_p_wxObject(void *x
) {
47106 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
47108 static void *_p_wxFileDirPickerEventTo_p_wxObject(void *x
) {
47109 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
47111 static void *_p_wxFontPickerEventTo_p_wxObject(void *x
) {
47112 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
47114 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
47115 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
47117 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
47118 return (void *)((wxObject
*) ((wxFSFile
*) x
));
47120 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
47121 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
47123 static void *_p_wxTreebookTo_p_wxObject(void *x
) {
47124 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
47126 static void *_p_wxListViewTo_p_wxObject(void *x
) {
47127 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
47129 static void *_p_wxHyperlinkEventTo_p_wxObject(void *x
) {
47130 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
47132 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
47133 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
47135 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
47136 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
47138 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
47139 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
47141 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
47142 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47144 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
47145 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
47147 static void *_p_wxListbookTo_p_wxObject(void *x
) {
47148 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
47150 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
47151 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
47153 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
47154 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
47156 static void *_p_wxSliderTo_p_wxObject(void *x
) {
47157 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
47159 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
47160 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
47162 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
47163 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
47165 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
47166 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
47168 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
47169 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47171 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
47172 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
47174 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
47175 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
47177 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
47178 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
47180 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
47181 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
47183 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
47184 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
47186 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
47187 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
47189 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
47190 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
47192 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
47193 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
47195 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
47196 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
47198 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
47199 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
47201 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
47202 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
47204 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
47205 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
47207 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
47208 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
47210 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
47211 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
47213 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
47214 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
47216 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
47217 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
47219 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
47220 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
47222 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
47223 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
47225 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
47226 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
47228 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
47229 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
47231 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
47232 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
47234 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
47235 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
47237 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
47238 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
47240 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
47241 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
47243 static void *_p_wxListEventTo_p_wxObject(void *x
) {
47244 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
47246 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
47247 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
47249 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
47250 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
47252 static void *_p_wxButtonTo_p_wxObject(void *x
) {
47253 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
47255 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
47256 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
47258 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
47259 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
47261 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
47262 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
47264 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
47265 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
47267 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
47268 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
47270 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
47271 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
47273 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
47274 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
47276 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
47277 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
47279 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
47280 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
47282 static void *_p_wxListItemTo_p_wxObject(void *x
) {
47283 return (void *)((wxObject
*) ((wxListItem
*) x
));
47285 static void *_p_wxImageTo_p_wxObject(void *x
) {
47286 return (void *)((wxObject
*) ((wxImage
*) x
));
47288 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
47289 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
47291 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
47292 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
47294 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
47295 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
47297 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
47298 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
47300 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
47301 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
47303 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
47304 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
47306 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
47307 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
47309 static void *_p_wxTreebookEventTo_p_wxObject(void *x
) {
47310 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
47312 static void *_p_wxToolbookEventTo_p_wxObject(void *x
) {
47313 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
47315 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
47316 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47318 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
47319 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
47321 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
47322 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
47324 static void *_p_wxWindowTo_p_wxObject(void *x
) {
47325 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
47327 static void *_p_wxMenuTo_p_wxObject(void *x
) {
47328 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
47330 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
47331 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
47333 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
47334 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
47336 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
47337 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47339 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
47340 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
47342 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
47343 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
47345 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
47346 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
47348 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
47349 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
47351 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
47352 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
47354 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
47355 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
47357 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
47358 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
47360 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
47361 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47363 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
47364 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
47366 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
47367 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
47369 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
47370 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
47372 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
47373 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
47375 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
47376 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47378 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
47379 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
47381 static void *_p_wxColourPickerCtrlTo_p_wxObject(void *x
) {
47382 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
47384 static void *_p_wxFilePickerCtrlTo_p_wxObject(void *x
) {
47385 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
47387 static void *_p_wxDirPickerCtrlTo_p_wxObject(void *x
) {
47388 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
47390 static void *_p_wxFontPickerCtrlTo_p_wxObject(void *x
) {
47391 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
47393 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
47394 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
47396 static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x
) {
47397 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
47399 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
47400 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
47402 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
47403 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
47405 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
47406 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
47408 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
47409 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
47411 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
47412 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
47414 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
47415 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
47417 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
47418 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
47420 static void *_p_wxPickerBaseTo_p_wxWindow(void *x
) {
47421 return (void *)((wxWindow
*) (wxControl
*) ((wxPickerBase
*) x
));
47423 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
47424 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
47426 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
47427 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
47429 static void *_p_wxToolbookTo_p_wxWindow(void *x
) {
47430 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
47432 static void *_p_wxControlTo_p_wxWindow(void *x
) {
47433 return (void *)((wxWindow
*) ((wxControl
*) x
));
47435 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
47436 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
47438 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
47439 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
47441 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
47442 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
47444 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
47445 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47447 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
47448 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
47450 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
47451 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
47453 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
47454 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
47456 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
47457 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
47459 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
47460 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
47462 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
47463 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
47465 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
47466 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
47468 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
47469 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
47471 static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x
) {
47472 return (void *)((wxWindow
*) (wxControl
*) ((wxHyperlinkCtrl
*) x
));
47474 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
47475 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
47477 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
47478 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
47480 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
47481 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
47483 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
47484 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
47486 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
47487 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
47489 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
47490 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
47492 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
47493 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
47495 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
47496 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
47498 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
47499 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
47501 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
47502 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
47504 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
47505 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
47507 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
47508 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
47510 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
47511 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
47513 static void *_p_wxTreebookTo_p_wxWindow(void *x
) {
47514 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
47516 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
47517 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
47519 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
47520 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
47522 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
47523 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
47525 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
47526 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
47528 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
47529 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
47531 static void *_p_wxColourPickerCtrlTo_p_wxWindow(void *x
) {
47532 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
47534 static void *_p_wxFilePickerCtrlTo_p_wxWindow(void *x
) {
47535 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
47537 static void *_p_wxDirPickerCtrlTo_p_wxWindow(void *x
) {
47538 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
47540 static void *_p_wxFontPickerCtrlTo_p_wxWindow(void *x
) {
47541 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
47543 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
47544 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
47546 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47547 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
47549 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47550 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
47552 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47553 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
47555 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47556 return (void *)((wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
47558 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47559 return (void *)((wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
47561 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
47562 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47564 static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x
) {
47565 return (void *)((wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
47567 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
47568 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
47570 static void *_p_wxColourPickerEventTo_p_wxCommandEvent(void *x
) {
47571 return (void *)((wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
47573 static void *_p_wxFileDirPickerEventTo_p_wxCommandEvent(void *x
) {
47574 return (void *)((wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
47576 static void *_p_wxFontPickerEventTo_p_wxCommandEvent(void *x
) {
47577 return (void *)((wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
47579 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
47580 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
47582 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
47583 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
47585 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
47586 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47588 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
47589 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47591 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
47592 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47594 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
47595 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
47597 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
47598 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
47600 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
47601 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
47603 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x
) {
47604 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
47606 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x
) {
47607 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
47609 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
47610 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
47612 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
47613 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47615 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
47616 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
47618 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
47619 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
47621 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
47622 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
47624 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
47625 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
47627 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
47628 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
47630 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
47631 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47633 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
47634 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
47636 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x
) {
47637 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxComboBox
*) x
));
47639 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
47640 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47642 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
47643 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
47645 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
47646 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
47648 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
47649 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
47651 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
47652 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
47654 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
47655 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
47656 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};
47657 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
47658 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
47659 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
47660 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
47661 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
47662 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
47663 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
47664 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
47665 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
47666 static swig_type_info _swigt__p_wxBitmapButton
= {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
47667 static swig_type_info _swigt__p_wxBookCtrlBase
= {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
47668 static swig_type_info _swigt__p_wxBookCtrlBaseEvent
= {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
47669 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
47670 static swig_type_info _swigt__p_wxCheckBox
= {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
47671 static swig_type_info _swigt__p_wxCheckListBox
= {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
47672 static swig_type_info _swigt__p_wxChoice
= {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
47673 static swig_type_info _swigt__p_wxChoicebook
= {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
47674 static swig_type_info _swigt__p_wxChoicebookEvent
= {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
47675 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
47676 static swig_type_info _swigt__p_wxColourPickerCtrl
= {"_p_wxColourPickerCtrl", "wxColourPickerCtrl *", 0, 0, (void*)0, 0};
47677 static swig_type_info _swigt__p_wxColourPickerEvent
= {"_p_wxColourPickerEvent", "wxColourPickerEvent *", 0, 0, (void*)0, 0};
47678 static swig_type_info _swigt__p_wxComboBox
= {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
47679 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
47680 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
47681 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
47682 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
47683 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
47684 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
47685 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
47686 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
47687 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
47688 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
47689 static swig_type_info _swigt__p_wxContextHelp
= {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
47690 static swig_type_info _swigt__p_wxContextHelpButton
= {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
47691 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
47692 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
47693 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
47694 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
47695 static swig_type_info _swigt__p_wxDatePickerCtrl
= {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
47696 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
47697 static swig_type_info _swigt__p_wxDirFilterListCtrl
= {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
47698 static swig_type_info _swigt__p_wxDirPickerCtrl
= {"_p_wxDirPickerCtrl", "wxDirPickerCtrl *", 0, 0, (void*)0, 0};
47699 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
47700 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
47701 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
47702 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
47703 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
47704 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
47705 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
47706 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
47707 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
47708 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
47709 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
47710 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
47711 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
47712 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
47713 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
47714 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
47715 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
47716 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
47717 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
47718 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
47719 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
47720 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
47721 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
47722 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
47723 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
47724 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
47725 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
47726 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
47727 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
47728 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
47729 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
47730 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
47731 static swig_type_info _swigt__p_wxFileDirPickerEvent
= {"_p_wxFileDirPickerEvent", "wxFileDirPickerEvent *", 0, 0, (void*)0, 0};
47732 static swig_type_info _swigt__p_wxFilePickerCtrl
= {"_p_wxFilePickerCtrl", "wxFilePickerCtrl *", 0, 0, (void*)0, 0};
47733 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
47734 static swig_type_info _swigt__p_wxFontPickerCtrl
= {"_p_wxFontPickerCtrl", "wxFontPickerCtrl *", 0, 0, (void*)0, 0};
47735 static swig_type_info _swigt__p_wxFontPickerEvent
= {"_p_wxFontPickerEvent", "wxFontPickerEvent *", 0, 0, (void*)0, 0};
47736 static swig_type_info _swigt__p_wxGauge
= {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
47737 static swig_type_info _swigt__p_wxGenericDirCtrl
= {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
47738 static swig_type_info _swigt__p_wxGenericDragImage
= {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
47739 static swig_type_info _swigt__p_wxHelpEvent
= {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
47740 static swig_type_info _swigt__p_wxHelpProvider
= {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
47741 static swig_type_info _swigt__p_wxHyperlinkCtrl
= {"_p_wxHyperlinkCtrl", "wxHyperlinkCtrl *", 0, 0, (void*)0, 0};
47742 static swig_type_info _swigt__p_wxHyperlinkEvent
= {"_p_wxHyperlinkEvent", "wxHyperlinkEvent *", 0, 0, (void*)0, 0};
47743 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
47744 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
47745 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
47746 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
47747 static swig_type_info _swigt__p_wxListBox
= {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
47748 static swig_type_info _swigt__p_wxListEvent
= {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
47749 static swig_type_info _swigt__p_wxListItem
= {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
47750 static swig_type_info _swigt__p_wxListItemAttr
= {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
47751 static swig_type_info _swigt__p_wxListView
= {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
47752 static swig_type_info _swigt__p_wxListbook
= {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
47753 static swig_type_info _swigt__p_wxListbookEvent
= {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
47754 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
47755 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
47756 static swig_type_info _swigt__p_wxNotebook
= {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
47757 static swig_type_info _swigt__p_wxNotebookEvent
= {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
47758 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
47759 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
47760 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
47761 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
47762 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
47763 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
47764 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
47765 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
47766 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
47767 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
47768 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
47769 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
47770 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
47771 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
47772 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
47773 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
47774 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
47775 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
47776 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
47777 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
47778 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
47779 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
47780 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
47781 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
47782 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
47783 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
47784 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
47785 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
47786 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
47787 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
47788 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
47789 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
47790 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
47791 static swig_type_info _swigt__p_wxPickerBase
= {"_p_wxPickerBase", "wxPickerBase *", 0, 0, (void*)0, 0};
47792 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
47793 static swig_type_info _swigt__p_wxPyControl
= {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
47794 static swig_type_info _swigt__p_wxPyListCtrl
= {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
47795 static swig_type_info _swigt__p_wxPyTreeCtrl
= {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
47796 static swig_type_info _swigt__p_wxPyTreeItemData
= {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
47797 static swig_type_info _swigt__p_wxRadioBox
= {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
47798 static swig_type_info _swigt__p_wxRadioButton
= {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
47799 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
47800 static swig_type_info _swigt__p_wxScrollBar
= {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
47801 static swig_type_info _swigt__p_wxSimpleHelpProvider
= {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
47802 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
47803 static swig_type_info _swigt__p_wxSlider
= {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
47804 static swig_type_info _swigt__p_wxSpinButton
= {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
47805 static swig_type_info _swigt__p_wxSpinCtrl
= {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
47806 static swig_type_info _swigt__p_wxSpinEvent
= {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
47807 static swig_type_info _swigt__p_wxStaticBitmap
= {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
47808 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
47809 static swig_type_info _swigt__p_wxStaticLine
= {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
47810 static swig_type_info _swigt__p_wxStaticText
= {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
47811 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
47812 static swig_type_info _swigt__p_wxTextAttr
= {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
47813 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
47814 static swig_type_info _swigt__p_wxTextUrlEvent
= {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
47815 static swig_type_info _swigt__p_wxToggleButton
= {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
47816 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
47817 static swig_type_info _swigt__p_wxToolBarBase
= {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
47818 static swig_type_info _swigt__p_wxToolBarToolBase
= {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
47819 static swig_type_info _swigt__p_wxToolbook
= {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
47820 static swig_type_info _swigt__p_wxToolbookEvent
= {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
47821 static swig_type_info _swigt__p_wxTreeEvent
= {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
47822 static swig_type_info _swigt__p_wxTreeItemId
= {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
47823 static swig_type_info _swigt__p_wxTreebook
= {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
47824 static swig_type_info _swigt__p_wxTreebookEvent
= {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
47825 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
47826 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
47827 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
47828 static swig_type_info _swigt__p_wxWindowBase
= {"_p_wxWindowBase", "wxWindowBase *", 0, 0, (void*)0, 0};
47830 static swig_type_info
*swig_type_initial
[] = {
47833 &_swigt__p_form_ops_t
,
47836 &_swigt__p_unsigned_char
,
47837 &_swigt__p_unsigned_int
,
47838 &_swigt__p_unsigned_long
,
47840 &_swigt__p_wxANIHandler
,
47841 &_swigt__p_wxAcceleratorTable
,
47842 &_swigt__p_wxActivateEvent
,
47843 &_swigt__p_wxArrayInt
,
47844 &_swigt__p_wxArrayString
,
47845 &_swigt__p_wxBMPHandler
,
47846 &_swigt__p_wxBitmap
,
47847 &_swigt__p_wxBitmapButton
,
47848 &_swigt__p_wxBookCtrlBase
,
47849 &_swigt__p_wxBookCtrlBaseEvent
,
47850 &_swigt__p_wxBoxSizer
,
47851 &_swigt__p_wxButton
,
47852 &_swigt__p_wxCURHandler
,
47853 &_swigt__p_wxCheckBox
,
47854 &_swigt__p_wxCheckListBox
,
47855 &_swigt__p_wxChildFocusEvent
,
47856 &_swigt__p_wxChoice
,
47857 &_swigt__p_wxChoicebook
,
47858 &_swigt__p_wxChoicebookEvent
,
47859 &_swigt__p_wxClipboardTextEvent
,
47860 &_swigt__p_wxCloseEvent
,
47861 &_swigt__p_wxColour
,
47862 &_swigt__p_wxColourPickerCtrl
,
47863 &_swigt__p_wxColourPickerEvent
,
47864 &_swigt__p_wxComboBox
,
47865 &_swigt__p_wxCommandEvent
,
47866 &_swigt__p_wxContextHelp
,
47867 &_swigt__p_wxContextHelpButton
,
47868 &_swigt__p_wxContextMenuEvent
,
47869 &_swigt__p_wxControl
,
47870 &_swigt__p_wxControlWithItems
,
47871 &_swigt__p_wxCursor
,
47873 &_swigt__p_wxDateEvent
,
47874 &_swigt__p_wxDatePickerCtrl
,
47875 &_swigt__p_wxDateTime
,
47876 &_swigt__p_wxDirFilterListCtrl
,
47877 &_swigt__p_wxDirPickerCtrl
,
47878 &_swigt__p_wxDisplayChangedEvent
,
47879 &_swigt__p_wxDropFilesEvent
,
47880 &_swigt__p_wxDuplexMode
,
47881 &_swigt__p_wxEraseEvent
,
47882 &_swigt__p_wxEvent
,
47883 &_swigt__p_wxEvtHandler
,
47884 &_swigt__p_wxFSFile
,
47885 &_swigt__p_wxFileDirPickerEvent
,
47886 &_swigt__p_wxFilePickerCtrl
,
47887 &_swigt__p_wxFileSystem
,
47888 &_swigt__p_wxFlexGridSizer
,
47889 &_swigt__p_wxFocusEvent
,
47891 &_swigt__p_wxFontPickerCtrl
,
47892 &_swigt__p_wxFontPickerEvent
,
47893 &_swigt__p_wxGBSizerItem
,
47894 &_swigt__p_wxGIFHandler
,
47895 &_swigt__p_wxGauge
,
47896 &_swigt__p_wxGenericDirCtrl
,
47897 &_swigt__p_wxGenericDragImage
,
47898 &_swigt__p_wxGridBagSizer
,
47899 &_swigt__p_wxGridSizer
,
47900 &_swigt__p_wxHelpEvent
,
47901 &_swigt__p_wxHelpProvider
,
47902 &_swigt__p_wxHyperlinkCtrl
,
47903 &_swigt__p_wxHyperlinkEvent
,
47904 &_swigt__p_wxICOHandler
,
47906 &_swigt__p_wxIconizeEvent
,
47907 &_swigt__p_wxIdleEvent
,
47908 &_swigt__p_wxImage
,
47909 &_swigt__p_wxImageHandler
,
47910 &_swigt__p_wxImageList
,
47911 &_swigt__p_wxIndividualLayoutConstraint
,
47912 &_swigt__p_wxInitDialogEvent
,
47913 &_swigt__p_wxItemContainer
,
47914 &_swigt__p_wxJPEGHandler
,
47915 &_swigt__p_wxKeyEvent
,
47916 &_swigt__p_wxLayoutConstraints
,
47917 &_swigt__p_wxListBox
,
47918 &_swigt__p_wxListEvent
,
47919 &_swigt__p_wxListItem
,
47920 &_swigt__p_wxListItemAttr
,
47921 &_swigt__p_wxListView
,
47922 &_swigt__p_wxListbook
,
47923 &_swigt__p_wxListbookEvent
,
47924 &_swigt__p_wxMaximizeEvent
,
47925 &_swigt__p_wxMemoryDC
,
47927 &_swigt__p_wxMenuBar
,
47928 &_swigt__p_wxMenuEvent
,
47929 &_swigt__p_wxMenuItem
,
47930 &_swigt__p_wxMouseCaptureChangedEvent
,
47931 &_swigt__p_wxMouseCaptureLostEvent
,
47932 &_swigt__p_wxMouseEvent
,
47933 &_swigt__p_wxMoveEvent
,
47934 &_swigt__p_wxNavigationKeyEvent
,
47935 &_swigt__p_wxNcPaintEvent
,
47936 &_swigt__p_wxNotebook
,
47937 &_swigt__p_wxNotebookEvent
,
47938 &_swigt__p_wxNotifyEvent
,
47939 &_swigt__p_wxObject
,
47940 &_swigt__p_wxPCXHandler
,
47941 &_swigt__p_wxPNGHandler
,
47942 &_swigt__p_wxPNMHandler
,
47943 &_swigt__p_wxPaintEvent
,
47944 &_swigt__p_wxPaletteChangedEvent
,
47945 &_swigt__p_wxPaperSize
,
47946 &_swigt__p_wxPickerBase
,
47947 &_swigt__p_wxPoint
,
47948 &_swigt__p_wxPyApp
,
47949 &_swigt__p_wxPyCommandEvent
,
47950 &_swigt__p_wxPyControl
,
47951 &_swigt__p_wxPyEvent
,
47952 &_swigt__p_wxPyImageHandler
,
47953 &_swigt__p_wxPyListCtrl
,
47954 &_swigt__p_wxPySizer
,
47955 &_swigt__p_wxPyTreeCtrl
,
47956 &_swigt__p_wxPyTreeItemData
,
47957 &_swigt__p_wxPyValidator
,
47958 &_swigt__p_wxQueryNewPaletteEvent
,
47959 &_swigt__p_wxRadioBox
,
47960 &_swigt__p_wxRadioButton
,
47962 &_swigt__p_wxScrollBar
,
47963 &_swigt__p_wxScrollEvent
,
47964 &_swigt__p_wxScrollWinEvent
,
47965 &_swigt__p_wxSetCursorEvent
,
47966 &_swigt__p_wxShowEvent
,
47967 &_swigt__p_wxSimpleHelpProvider
,
47969 &_swigt__p_wxSizeEvent
,
47970 &_swigt__p_wxSizer
,
47971 &_swigt__p_wxSizerItem
,
47972 &_swigt__p_wxSlider
,
47973 &_swigt__p_wxSpinButton
,
47974 &_swigt__p_wxSpinCtrl
,
47975 &_swigt__p_wxSpinEvent
,
47976 &_swigt__p_wxStaticBitmap
,
47977 &_swigt__p_wxStaticBox
,
47978 &_swigt__p_wxStaticBoxSizer
,
47979 &_swigt__p_wxStaticLine
,
47980 &_swigt__p_wxStaticText
,
47981 &_swigt__p_wxStdDialogButtonSizer
,
47982 &_swigt__p_wxString
,
47983 &_swigt__p_wxSysColourChangedEvent
,
47984 &_swigt__p_wxTIFFHandler
,
47985 &_swigt__p_wxTextAttr
,
47986 &_swigt__p_wxTextCtrl
,
47987 &_swigt__p_wxTextUrlEvent
,
47988 &_swigt__p_wxToggleButton
,
47989 &_swigt__p_wxToolBar
,
47990 &_swigt__p_wxToolBarBase
,
47991 &_swigt__p_wxToolBarToolBase
,
47992 &_swigt__p_wxToolbook
,
47993 &_swigt__p_wxToolbookEvent
,
47994 &_swigt__p_wxTreeEvent
,
47995 &_swigt__p_wxTreeItemId
,
47996 &_swigt__p_wxTreebook
,
47997 &_swigt__p_wxTreebookEvent
,
47998 &_swigt__p_wxUpdateUIEvent
,
47999 &_swigt__p_wxValidator
,
48000 &_swigt__p_wxVisualAttributes
,
48001 &_swigt__p_wxWindow
,
48002 &_swigt__p_wxWindowBase
,
48003 &_swigt__p_wxWindowCreateEvent
,
48004 &_swigt__p_wxWindowDestroyEvent
,
48005 &_swigt__p_wxXPMHandler
,
48008 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
48009 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
48010 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
48011 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
48012 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
48013 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
48014 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
48015 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
48016 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
48017 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
48018 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
48019 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
48020 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}};
48021 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}};
48022 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}};
48023 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}};
48024 static swig_cast_info _swigc__p_wxCheckBox
[] = { {&_swigt__p_wxCheckBox
, 0, 0, 0},{0, 0, 0, 0}};
48025 static swig_cast_info _swigc__p_wxCheckListBox
[] = { {&_swigt__p_wxCheckListBox
, 0, 0, 0},{0, 0, 0, 0}};
48026 static swig_cast_info _swigc__p_wxChoice
[] = { {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxChoice
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxChoice
, 0, 0}, {&_swigt__p_wxChoice
, 0, 0, 0},{0, 0, 0, 0}};
48027 static swig_cast_info _swigc__p_wxChoicebook
[] = { {&_swigt__p_wxChoicebook
, 0, 0, 0},{0, 0, 0, 0}};
48028 static swig_cast_info _swigc__p_wxChoicebookEvent
[] = { {&_swigt__p_wxChoicebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
48029 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
48030 static swig_cast_info _swigc__p_wxColourPickerCtrl
[] = { {&_swigt__p_wxColourPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48031 static swig_cast_info _swigc__p_wxColourPickerEvent
[] = { {&_swigt__p_wxColourPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
48032 static swig_cast_info _swigc__p_wxComboBox
[] = { {&_swigt__p_wxComboBox
, 0, 0, 0},{0, 0, 0, 0}};
48033 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
48034 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
48035 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
48036 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
48037 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
48038 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
48039 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
48040 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
48041 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
48042 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}};
48043 static swig_cast_info _swigc__p_wxContextHelp
[] = { {&_swigt__p_wxContextHelp
, 0, 0, 0},{0, 0, 0, 0}};
48044 static swig_cast_info _swigc__p_wxContextHelpButton
[] = { {&_swigt__p_wxContextHelpButton
, 0, 0, 0},{0, 0, 0, 0}};
48045 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}};
48046 static swig_cast_info _swigc__p_wxControlWithItems
[] = { {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxControlWithItems
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxControlWithItems
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxControlWithItems
, 0, 0}, {&_swigt__p_wxControlWithItems
, 0, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxControlWithItems
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxControlWithItems
, 0, 0},{0, 0, 0, 0}};
48047 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
48048 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
48049 static swig_cast_info _swigc__p_wxDatePickerCtrl
[] = { {&_swigt__p_wxDatePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48050 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
48051 static swig_cast_info _swigc__p_wxDirFilterListCtrl
[] = { {&_swigt__p_wxDirFilterListCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48052 static swig_cast_info _swigc__p_wxDirPickerCtrl
[] = { {&_swigt__p_wxDirPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48053 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
48054 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
48055 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
48056 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
48057 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
48058 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
48059 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
48060 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
48061 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
48062 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
48063 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
48064 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
48065 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
48066 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
48067 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
48068 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
48069 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
48070 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
48071 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
48072 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
48073 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
48074 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
48075 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
48076 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
48077 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
48078 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
48079 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}};
48080 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
48081 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
48082 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
48083 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
48084 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}};
48085 static swig_cast_info _swigc__p_wxFileDirPickerEvent
[] = { {&_swigt__p_wxFileDirPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
48086 static swig_cast_info _swigc__p_wxFilePickerCtrl
[] = { {&_swigt__p_wxFilePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48087 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
48088 static swig_cast_info _swigc__p_wxFontPickerCtrl
[] = { {&_swigt__p_wxFontPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48089 static swig_cast_info _swigc__p_wxFontPickerEvent
[] = { {&_swigt__p_wxFontPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
48090 static swig_cast_info _swigc__p_wxGauge
[] = { {&_swigt__p_wxGauge
, 0, 0, 0},{0, 0, 0, 0}};
48091 static swig_cast_info _swigc__p_wxGenericDirCtrl
[] = { {&_swigt__p_wxGenericDirCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48092 static swig_cast_info _swigc__p_wxGenericDragImage
[] = { {&_swigt__p_wxGenericDragImage
, 0, 0, 0},{0, 0, 0, 0}};
48093 static swig_cast_info _swigc__p_wxHelpEvent
[] = { {&_swigt__p_wxHelpEvent
, 0, 0, 0},{0, 0, 0, 0}};
48094 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}};
48095 static swig_cast_info _swigc__p_wxHyperlinkCtrl
[] = { {&_swigt__p_wxHyperlinkCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48096 static swig_cast_info _swigc__p_wxHyperlinkEvent
[] = { {&_swigt__p_wxHyperlinkEvent
, 0, 0, 0},{0, 0, 0, 0}};
48097 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
48098 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
48099 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}};
48100 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
48101 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}};
48102 static swig_cast_info _swigc__p_wxListEvent
[] = { {&_swigt__p_wxListEvent
, 0, 0, 0},{0, 0, 0, 0}};
48103 static swig_cast_info _swigc__p_wxListItem
[] = { {&_swigt__p_wxListItem
, 0, 0, 0},{0, 0, 0, 0}};
48104 static swig_cast_info _swigc__p_wxListItemAttr
[] = { {&_swigt__p_wxListItemAttr
, 0, 0, 0},{0, 0, 0, 0}};
48105 static swig_cast_info _swigc__p_wxListView
[] = { {&_swigt__p_wxListView
, 0, 0, 0},{0, 0, 0, 0}};
48106 static swig_cast_info _swigc__p_wxListbook
[] = { {&_swigt__p_wxListbook
, 0, 0, 0},{0, 0, 0, 0}};
48107 static swig_cast_info _swigc__p_wxListbookEvent
[] = { {&_swigt__p_wxListbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
48108 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxMemoryDC
, 0, 0, 0},{0, 0, 0, 0}};
48109 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
48110 static swig_cast_info _swigc__p_wxNotebook
[] = { {&_swigt__p_wxNotebook
, 0, 0, 0},{0, 0, 0, 0}};
48111 static swig_cast_info _swigc__p_wxNotebookEvent
[] = { {&_swigt__p_wxNotebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
48112 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}};
48113 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
48114 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
48115 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
48116 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
48117 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
48118 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
48119 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
48120 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
48121 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
48122 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
48123 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
48124 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
48125 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
48126 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
48127 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
48128 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
48129 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
48130 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
48131 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
48132 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
48133 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
48134 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
48135 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
48136 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
48137 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
48138 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
48139 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
48140 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
48141 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
48142 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
48143 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_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListItem
, _p_wxListItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGenericDragImage
, _p_wxGenericDragImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_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}};
48144 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
48145 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}};
48146 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
48147 static swig_cast_info _swigc__p_wxPyControl
[] = { {&_swigt__p_wxPyControl
, 0, 0, 0},{0, 0, 0, 0}};
48148 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}};
48149 static swig_cast_info _swigc__p_wxPyTreeCtrl
[] = { {&_swigt__p_wxPyTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48150 static swig_cast_info _swigc__p_wxPyTreeItemData
[] = { {&_swigt__p_wxPyTreeItemData
, 0, 0, 0},{0, 0, 0, 0}};
48151 static swig_cast_info _swigc__p_wxRadioBox
[] = { {&_swigt__p_wxRadioBox
, 0, 0, 0},{0, 0, 0, 0}};
48152 static swig_cast_info _swigc__p_wxRadioButton
[] = { {&_swigt__p_wxRadioButton
, 0, 0, 0},{0, 0, 0, 0}};
48153 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
48154 static swig_cast_info _swigc__p_wxScrollBar
[] = { {&_swigt__p_wxScrollBar
, 0, 0, 0},{0, 0, 0, 0}};
48155 static swig_cast_info _swigc__p_wxSimpleHelpProvider
[] = { {&_swigt__p_wxSimpleHelpProvider
, 0, 0, 0},{0, 0, 0, 0}};
48156 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
48157 static swig_cast_info _swigc__p_wxSlider
[] = { {&_swigt__p_wxSlider
, 0, 0, 0},{0, 0, 0, 0}};
48158 static swig_cast_info _swigc__p_wxSpinButton
[] = { {&_swigt__p_wxSpinButton
, 0, 0, 0},{0, 0, 0, 0}};
48159 static swig_cast_info _swigc__p_wxSpinCtrl
[] = { {&_swigt__p_wxSpinCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48160 static swig_cast_info _swigc__p_wxSpinEvent
[] = { {&_swigt__p_wxSpinEvent
, 0, 0, 0},{0, 0, 0, 0}};
48161 static swig_cast_info _swigc__p_wxStaticBitmap
[] = { {&_swigt__p_wxStaticBitmap
, 0, 0, 0},{0, 0, 0, 0}};
48162 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
48163 static swig_cast_info _swigc__p_wxStaticLine
[] = { {&_swigt__p_wxStaticLine
, 0, 0, 0},{0, 0, 0, 0}};
48164 static swig_cast_info _swigc__p_wxStaticText
[] = { {&_swigt__p_wxStaticText
, 0, 0, 0},{0, 0, 0, 0}};
48165 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
48166 static swig_cast_info _swigc__p_wxTextAttr
[] = { {&_swigt__p_wxTextAttr
, 0, 0, 0},{0, 0, 0, 0}};
48167 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48168 static swig_cast_info _swigc__p_wxTextUrlEvent
[] = { {&_swigt__p_wxTextUrlEvent
, 0, 0, 0},{0, 0, 0, 0}};
48169 static swig_cast_info _swigc__p_wxToggleButton
[] = { {&_swigt__p_wxToggleButton
, 0, 0, 0},{0, 0, 0, 0}};
48170 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
48171 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}};
48172 static swig_cast_info _swigc__p_wxToolBarToolBase
[] = { {&_swigt__p_wxToolBarToolBase
, 0, 0, 0},{0, 0, 0, 0}};
48173 static swig_cast_info _swigc__p_wxToolbook
[] = { {&_swigt__p_wxToolbook
, 0, 0, 0},{0, 0, 0, 0}};
48174 static swig_cast_info _swigc__p_wxToolbookEvent
[] = { {&_swigt__p_wxToolbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
48175 static swig_cast_info _swigc__p_wxTreeEvent
[] = { {&_swigt__p_wxTreeEvent
, 0, 0, 0},{0, 0, 0, 0}};
48176 static swig_cast_info _swigc__p_wxTreeItemId
[] = { {&_swigt__p_wxTreeItemId
, 0, 0, 0},{0, 0, 0, 0}};
48177 static swig_cast_info _swigc__p_wxTreebook
[] = { {&_swigt__p_wxTreebook
, 0, 0, 0},{0, 0, 0, 0}};
48178 static swig_cast_info _swigc__p_wxTreebookEvent
[] = { {&_swigt__p_wxTreebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
48179 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}};
48180 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
48181 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}};
48182 static swig_cast_info _swigc__p_wxWindowBase
[] = { {&_swigt__p_wxWindowBase
, 0, 0, 0},{0, 0, 0, 0}};
48184 static swig_cast_info
*swig_cast_initial
[] = {
48187 _swigc__p_form_ops_t
,
48190 _swigc__p_unsigned_char
,
48191 _swigc__p_unsigned_int
,
48192 _swigc__p_unsigned_long
,
48194 _swigc__p_wxANIHandler
,
48195 _swigc__p_wxAcceleratorTable
,
48196 _swigc__p_wxActivateEvent
,
48197 _swigc__p_wxArrayInt
,
48198 _swigc__p_wxArrayString
,
48199 _swigc__p_wxBMPHandler
,
48200 _swigc__p_wxBitmap
,
48201 _swigc__p_wxBitmapButton
,
48202 _swigc__p_wxBookCtrlBase
,
48203 _swigc__p_wxBookCtrlBaseEvent
,
48204 _swigc__p_wxBoxSizer
,
48205 _swigc__p_wxButton
,
48206 _swigc__p_wxCURHandler
,
48207 _swigc__p_wxCheckBox
,
48208 _swigc__p_wxCheckListBox
,
48209 _swigc__p_wxChildFocusEvent
,
48210 _swigc__p_wxChoice
,
48211 _swigc__p_wxChoicebook
,
48212 _swigc__p_wxChoicebookEvent
,
48213 _swigc__p_wxClipboardTextEvent
,
48214 _swigc__p_wxCloseEvent
,
48215 _swigc__p_wxColour
,
48216 _swigc__p_wxColourPickerCtrl
,
48217 _swigc__p_wxColourPickerEvent
,
48218 _swigc__p_wxComboBox
,
48219 _swigc__p_wxCommandEvent
,
48220 _swigc__p_wxContextHelp
,
48221 _swigc__p_wxContextHelpButton
,
48222 _swigc__p_wxContextMenuEvent
,
48223 _swigc__p_wxControl
,
48224 _swigc__p_wxControlWithItems
,
48225 _swigc__p_wxCursor
,
48227 _swigc__p_wxDateEvent
,
48228 _swigc__p_wxDatePickerCtrl
,
48229 _swigc__p_wxDateTime
,
48230 _swigc__p_wxDirFilterListCtrl
,
48231 _swigc__p_wxDirPickerCtrl
,
48232 _swigc__p_wxDisplayChangedEvent
,
48233 _swigc__p_wxDropFilesEvent
,
48234 _swigc__p_wxDuplexMode
,
48235 _swigc__p_wxEraseEvent
,
48237 _swigc__p_wxEvtHandler
,
48238 _swigc__p_wxFSFile
,
48239 _swigc__p_wxFileDirPickerEvent
,
48240 _swigc__p_wxFilePickerCtrl
,
48241 _swigc__p_wxFileSystem
,
48242 _swigc__p_wxFlexGridSizer
,
48243 _swigc__p_wxFocusEvent
,
48245 _swigc__p_wxFontPickerCtrl
,
48246 _swigc__p_wxFontPickerEvent
,
48247 _swigc__p_wxGBSizerItem
,
48248 _swigc__p_wxGIFHandler
,
48250 _swigc__p_wxGenericDirCtrl
,
48251 _swigc__p_wxGenericDragImage
,
48252 _swigc__p_wxGridBagSizer
,
48253 _swigc__p_wxGridSizer
,
48254 _swigc__p_wxHelpEvent
,
48255 _swigc__p_wxHelpProvider
,
48256 _swigc__p_wxHyperlinkCtrl
,
48257 _swigc__p_wxHyperlinkEvent
,
48258 _swigc__p_wxICOHandler
,
48260 _swigc__p_wxIconizeEvent
,
48261 _swigc__p_wxIdleEvent
,
48263 _swigc__p_wxImageHandler
,
48264 _swigc__p_wxImageList
,
48265 _swigc__p_wxIndividualLayoutConstraint
,
48266 _swigc__p_wxInitDialogEvent
,
48267 _swigc__p_wxItemContainer
,
48268 _swigc__p_wxJPEGHandler
,
48269 _swigc__p_wxKeyEvent
,
48270 _swigc__p_wxLayoutConstraints
,
48271 _swigc__p_wxListBox
,
48272 _swigc__p_wxListEvent
,
48273 _swigc__p_wxListItem
,
48274 _swigc__p_wxListItemAttr
,
48275 _swigc__p_wxListView
,
48276 _swigc__p_wxListbook
,
48277 _swigc__p_wxListbookEvent
,
48278 _swigc__p_wxMaximizeEvent
,
48279 _swigc__p_wxMemoryDC
,
48281 _swigc__p_wxMenuBar
,
48282 _swigc__p_wxMenuEvent
,
48283 _swigc__p_wxMenuItem
,
48284 _swigc__p_wxMouseCaptureChangedEvent
,
48285 _swigc__p_wxMouseCaptureLostEvent
,
48286 _swigc__p_wxMouseEvent
,
48287 _swigc__p_wxMoveEvent
,
48288 _swigc__p_wxNavigationKeyEvent
,
48289 _swigc__p_wxNcPaintEvent
,
48290 _swigc__p_wxNotebook
,
48291 _swigc__p_wxNotebookEvent
,
48292 _swigc__p_wxNotifyEvent
,
48293 _swigc__p_wxObject
,
48294 _swigc__p_wxPCXHandler
,
48295 _swigc__p_wxPNGHandler
,
48296 _swigc__p_wxPNMHandler
,
48297 _swigc__p_wxPaintEvent
,
48298 _swigc__p_wxPaletteChangedEvent
,
48299 _swigc__p_wxPaperSize
,
48300 _swigc__p_wxPickerBase
,
48303 _swigc__p_wxPyCommandEvent
,
48304 _swigc__p_wxPyControl
,
48305 _swigc__p_wxPyEvent
,
48306 _swigc__p_wxPyImageHandler
,
48307 _swigc__p_wxPyListCtrl
,
48308 _swigc__p_wxPySizer
,
48309 _swigc__p_wxPyTreeCtrl
,
48310 _swigc__p_wxPyTreeItemData
,
48311 _swigc__p_wxPyValidator
,
48312 _swigc__p_wxQueryNewPaletteEvent
,
48313 _swigc__p_wxRadioBox
,
48314 _swigc__p_wxRadioButton
,
48316 _swigc__p_wxScrollBar
,
48317 _swigc__p_wxScrollEvent
,
48318 _swigc__p_wxScrollWinEvent
,
48319 _swigc__p_wxSetCursorEvent
,
48320 _swigc__p_wxShowEvent
,
48321 _swigc__p_wxSimpleHelpProvider
,
48323 _swigc__p_wxSizeEvent
,
48325 _swigc__p_wxSizerItem
,
48326 _swigc__p_wxSlider
,
48327 _swigc__p_wxSpinButton
,
48328 _swigc__p_wxSpinCtrl
,
48329 _swigc__p_wxSpinEvent
,
48330 _swigc__p_wxStaticBitmap
,
48331 _swigc__p_wxStaticBox
,
48332 _swigc__p_wxStaticBoxSizer
,
48333 _swigc__p_wxStaticLine
,
48334 _swigc__p_wxStaticText
,
48335 _swigc__p_wxStdDialogButtonSizer
,
48336 _swigc__p_wxString
,
48337 _swigc__p_wxSysColourChangedEvent
,
48338 _swigc__p_wxTIFFHandler
,
48339 _swigc__p_wxTextAttr
,
48340 _swigc__p_wxTextCtrl
,
48341 _swigc__p_wxTextUrlEvent
,
48342 _swigc__p_wxToggleButton
,
48343 _swigc__p_wxToolBar
,
48344 _swigc__p_wxToolBarBase
,
48345 _swigc__p_wxToolBarToolBase
,
48346 _swigc__p_wxToolbook
,
48347 _swigc__p_wxToolbookEvent
,
48348 _swigc__p_wxTreeEvent
,
48349 _swigc__p_wxTreeItemId
,
48350 _swigc__p_wxTreebook
,
48351 _swigc__p_wxTreebookEvent
,
48352 _swigc__p_wxUpdateUIEvent
,
48353 _swigc__p_wxValidator
,
48354 _swigc__p_wxVisualAttributes
,
48355 _swigc__p_wxWindow
,
48356 _swigc__p_wxWindowBase
,
48357 _swigc__p_wxWindowCreateEvent
,
48358 _swigc__p_wxWindowDestroyEvent
,
48359 _swigc__p_wxXPMHandler
,
48363 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
48365 static swig_const_info swig_const_table
[] = {
48366 {0, 0, 0, 0.0, 0, 0}};
48371 /* -----------------------------------------------------------------------------
48372 * Type initialization:
48373 * This problem is tough by the requirement that no dynamic
48374 * memory is used. Also, since swig_type_info structures store pointers to
48375 * swig_cast_info structures and swig_cast_info structures store pointers back
48376 * to swig_type_info structures, we need some lookup code at initialization.
48377 * The idea is that swig generates all the structures that are needed.
48378 * The runtime then collects these partially filled structures.
48379 * The SWIG_InitializeModule function takes these initial arrays out of
48380 * swig_module, and does all the lookup, filling in the swig_module.types
48381 * array with the correct data and linking the correct swig_cast_info
48382 * structures together.
48384 * The generated swig_type_info structures are assigned staticly to an initial
48385 * array. We just loop though that array, and handle each type individually.
48386 * First we lookup if this type has been already loaded, and if so, use the
48387 * loaded structure instead of the generated one. Then we have to fill in the
48388 * cast linked list. The cast data is initially stored in something like a
48389 * two-dimensional array. Each row corresponds to a type (there are the same
48390 * number of rows as there are in the swig_type_initial array). Each entry in
48391 * a column is one of the swig_cast_info structures for that type.
48392 * The cast_initial array is actually an array of arrays, because each row has
48393 * a variable number of columns. So to actually build the cast linked list,
48394 * we find the array of casts associated with the type, and loop through it
48395 * adding the casts to the list. The one last trick we need to do is making
48396 * sure the type pointer in the swig_cast_info struct is correct.
48398 * First off, we lookup the cast->type name to see if it is already loaded.
48399 * There are three cases to handle:
48400 * 1) If the cast->type has already been loaded AND the type we are adding
48401 * casting info to has not been loaded (it is in this module), THEN we
48402 * replace the cast->type pointer with the type pointer that has already
48404 * 2) If BOTH types (the one we are adding casting info to, and the
48405 * cast->type) are loaded, THEN the cast info has already been loaded by
48406 * the previous module so we just ignore it.
48407 * 3) Finally, if cast->type has not already been loaded, then we add that
48408 * swig_cast_info to the linked list (because the cast->type) pointer will
48410 * ----------------------------------------------------------------------------- */
48420 #define SWIGRUNTIME_DEBUG
48424 SWIG_InitializeModule(void *clientdata
) {
48426 swig_module_info
*module_head
;
48427 static int init_run
= 0;
48429 clientdata
= clientdata
;
48431 if (init_run
) return;
48434 /* Initialize the swig_module */
48435 swig_module
.type_initial
= swig_type_initial
;
48436 swig_module
.cast_initial
= swig_cast_initial
;
48438 /* Try and load any already created modules */
48439 module_head
= SWIG_GetModule(clientdata
);
48441 swig_module
.next
= module_head
->next
;
48442 module_head
->next
= &swig_module
;
48444 /* This is the first module loaded */
48445 swig_module
.next
= &swig_module
;
48446 SWIG_SetModule(clientdata
, &swig_module
);
48449 /* Now work on filling in swig_module.types */
48450 #ifdef SWIGRUNTIME_DEBUG
48451 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
48453 for (i
= 0; i
< swig_module
.size
; ++i
) {
48454 swig_type_info
*type
= 0;
48455 swig_type_info
*ret
;
48456 swig_cast_info
*cast
;
48458 #ifdef SWIGRUNTIME_DEBUG
48459 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
48462 /* if there is another module already loaded */
48463 if (swig_module
.next
!= &swig_module
) {
48464 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
48467 /* Overwrite clientdata field */
48468 #ifdef SWIGRUNTIME_DEBUG
48469 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
48471 if (swig_module
.type_initial
[i
]->clientdata
) {
48472 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
48473 #ifdef SWIGRUNTIME_DEBUG
48474 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
48478 type
= swig_module
.type_initial
[i
];
48481 /* Insert casting types */
48482 cast
= swig_module
.cast_initial
[i
];
48483 while (cast
->type
) {
48484 /* Don't need to add information already in the list */
48486 #ifdef SWIGRUNTIME_DEBUG
48487 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
48489 if (swig_module
.next
!= &swig_module
) {
48490 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
48491 #ifdef SWIGRUNTIME_DEBUG
48492 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
48496 if (type
== swig_module
.type_initial
[i
]) {
48497 #ifdef SWIGRUNTIME_DEBUG
48498 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
48503 /* Check for casting already in the list */
48504 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
48505 #ifdef SWIGRUNTIME_DEBUG
48506 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
48508 if (!ocast
) ret
= 0;
48513 #ifdef SWIGRUNTIME_DEBUG
48514 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
48517 type
->cast
->prev
= cast
;
48518 cast
->next
= type
->cast
;
48524 /* Set entry in modules->types array equal to the type */
48525 swig_module
.types
[i
] = type
;
48527 swig_module
.types
[i
] = 0;
48529 #ifdef SWIGRUNTIME_DEBUG
48530 printf("**** SWIG_InitializeModule: Cast List ******\n");
48531 for (i
= 0; i
< swig_module
.size
; ++i
) {
48533 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
48534 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
48535 while (cast
->type
) {
48536 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
48540 printf("---- Total casts: %d\n",j
);
48542 printf("**** SWIG_InitializeModule: Cast List ******\n");
48546 /* This function will propagate the clientdata field of type to
48547 * any new swig_type_info structures that have been added into the list
48548 * of equivalent types. It is like calling
48549 * SWIG_TypeClientData(type, clientdata) a second time.
48552 SWIG_PropagateClientData(void) {
48554 swig_cast_info
*equiv
;
48555 static int init_run
= 0;
48557 if (init_run
) return;
48560 for (i
= 0; i
< swig_module
.size
; i
++) {
48561 if (swig_module
.types
[i
]->clientdata
) {
48562 equiv
= swig_module
.types
[i
]->cast
;
48564 if (!equiv
->converter
) {
48565 if (equiv
->type
&& !equiv
->type
->clientdata
)
48566 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
48568 equiv
= equiv
->next
;
48588 /* Python-specific SWIG API */
48589 #define SWIG_newvarlink() SWIG_Python_newvarlink()
48590 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
48591 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
48593 /* -----------------------------------------------------------------------------
48594 * global variable support code.
48595 * ----------------------------------------------------------------------------- */
48597 typedef struct swig_globalvar
{
48598 char *name
; /* Name of global variable */
48599 PyObject
*(*get_attr
)(void); /* Return the current value */
48600 int (*set_attr
)(PyObject
*); /* Set the value */
48601 struct swig_globalvar
*next
;
48604 typedef struct swig_varlinkobject
{
48606 swig_globalvar
*vars
;
48607 } swig_varlinkobject
;
48609 SWIGINTERN PyObject
*
48610 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
48611 return PyString_FromString("<Swig global variables>");
48614 SWIGINTERN PyObject
*
48615 swig_varlink_str(swig_varlinkobject
*v
) {
48616 PyObject
*str
= PyString_FromString("(");
48617 swig_globalvar
*var
;
48618 for (var
= v
->vars
; var
; var
=var
->next
) {
48619 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
48620 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
48622 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
48627 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
48628 PyObject
*str
= swig_varlink_str(v
);
48629 fprintf(fp
,"Swig global variables ");
48630 fprintf(fp
,"%s\n", PyString_AsString(str
));
48636 swig_varlink_dealloc(swig_varlinkobject
*v
) {
48637 swig_globalvar
*var
= v
->vars
;
48639 swig_globalvar
*n
= var
->next
;
48646 SWIGINTERN PyObject
*
48647 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
48648 PyObject
*res
= NULL
;
48649 swig_globalvar
*var
= v
->vars
;
48651 if (strcmp(var
->name
,n
) == 0) {
48652 res
= (*var
->get_attr
)();
48657 if (res
== NULL
&& !PyErr_Occurred()) {
48658 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
48664 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
48666 swig_globalvar
*var
= v
->vars
;
48668 if (strcmp(var
->name
,n
) == 0) {
48669 res
= (*var
->set_attr
)(p
);
48674 if (res
== 1 && !PyErr_Occurred()) {
48675 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
48680 SWIGINTERN PyTypeObject
*
48681 swig_varlink_type(void) {
48682 static char varlink__doc__
[] = "Swig var link object";
48683 static PyTypeObject varlink_type
;
48684 static int type_init
= 0;
48686 const PyTypeObject tmp
48688 PyObject_HEAD_INIT(NULL
)
48689 0, /* Number of items in variable part (ob_size) */
48690 (char *)"swigvarlink", /* Type name (tp_name) */
48691 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
48692 0, /* Itemsize (tp_itemsize) */
48693 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
48694 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
48695 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
48696 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
48697 0, /* tp_compare */
48698 (reprfunc
) swig_varlink_repr
, /* tp_repr */
48699 0, /* tp_as_number */
48700 0, /* tp_as_sequence */
48701 0, /* tp_as_mapping */
48704 (reprfunc
)swig_varlink_str
, /* tp_str */
48705 0, /* tp_getattro */
48706 0, /* tp_setattro */
48707 0, /* tp_as_buffer */
48709 varlink__doc__
, /* tp_doc */
48710 0, /* tp_traverse */
48712 0, /* tp_richcompare */
48713 0, /* tp_weaklistoffset */
48714 #if PY_VERSION_HEX >= 0x02020000
48715 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
48717 #if PY_VERSION_HEX >= 0x02030000
48720 #ifdef COUNT_ALLOCS
48721 0,0,0,0 /* tp_alloc -> tp_next */
48724 varlink_type
= tmp
;
48725 varlink_type
.ob_type
= &PyType_Type
;
48728 return &varlink_type
;
48731 /* Create a variable linking object for use later */
48732 SWIGINTERN PyObject
*
48733 SWIG_Python_newvarlink(void) {
48734 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
48738 return ((PyObject
*) result
);
48742 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
48743 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
48744 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
48746 size_t size
= strlen(name
)+1;
48747 gv
->name
= (char *)malloc(size
);
48749 strncpy(gv
->name
,name
,size
);
48750 gv
->get_attr
= get_attr
;
48751 gv
->set_attr
= set_attr
;
48752 gv
->next
= v
->vars
;
48758 SWIGINTERN PyObject
*
48760 static PyObject
*_SWIG_globals
= 0;
48761 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
48762 return _SWIG_globals
;
48765 /* -----------------------------------------------------------------------------
48766 * constants/methods manipulation
48767 * ----------------------------------------------------------------------------- */
48769 /* Install Constants */
48771 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
48774 for (i
= 0; constants
[i
].type
; ++i
) {
48775 switch(constants
[i
].type
) {
48776 case SWIG_PY_POINTER
:
48777 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
48779 case SWIG_PY_BINARY
:
48780 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
48787 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
48793 /* -----------------------------------------------------------------------------*/
48794 /* Fix SwigMethods to carry the callback ptrs when needed */
48795 /* -----------------------------------------------------------------------------*/
48798 SWIG_Python_FixMethods(PyMethodDef
*methods
,
48799 swig_const_info
*const_table
,
48800 swig_type_info
**types
,
48801 swig_type_info
**types_initial
) {
48803 for (i
= 0; methods
[i
].ml_name
; ++i
) {
48804 const char *c
= methods
[i
].ml_doc
;
48805 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
48807 swig_const_info
*ci
= 0;
48808 const char *name
= c
+ 10;
48809 for (j
= 0; const_table
[j
].type
; ++j
) {
48810 if (strncmp(const_table
[j
].name
, name
,
48811 strlen(const_table
[j
].name
)) == 0) {
48812 ci
= &(const_table
[j
]);
48817 size_t shift
= (ci
->ptype
) - types
;
48818 swig_type_info
*ty
= types_initial
[shift
];
48819 size_t ldoc
= (c
- methods
[i
].ml_doc
);
48820 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
48821 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
48824 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
48826 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
48828 strncpy(buff
, "swig_ptr: ", 10);
48830 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
48831 methods
[i
].ml_doc
= ndoc
;
48843 /* -----------------------------------------------------------------------------*
48844 * Partial Init method
48845 * -----------------------------------------------------------------------------*/
48850 SWIGEXPORT
void SWIG_init(void) {
48853 /* Fix SwigMethods to carry the callback ptrs when needed */
48854 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
48856 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
48857 d
= PyModule_GetDict(m
);
48859 SWIG_InitializeModule(0);
48860 SWIG_InstallConstants(d
,swig_const_table
);
48863 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
48864 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get
, ButtonNameStr_set
);
48865 SWIG_Python_SetConstant(d
, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT
)));
48866 SWIG_Python_SetConstant(d
, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP
)));
48867 SWIG_Python_SetConstant(d
, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT
)));
48868 SWIG_Python_SetConstant(d
, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM
)));
48869 SWIG_Python_SetConstant(d
, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK
)));
48870 SWIG_Python_SetConstant(d
, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT
)));
48871 SWIG_Python_SetConstant(d
, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW
)));
48872 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get
, CheckBoxNameStr_set
);
48873 SWIG_Python_SetConstant(d
, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE
)));
48874 SWIG_Python_SetConstant(d
, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE
)));
48875 SWIG_Python_SetConstant(d
, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
48876 SWIG_Python_SetConstant(d
, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED
)));
48877 SWIG_Python_SetConstant(d
, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED
)));
48878 SWIG_Python_SetConstant(d
, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED
)));
48879 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get
, ChoiceNameStr_set
);
48880 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get
, ComboBoxNameStr_set
);
48881 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get
, GaugeNameStr_set
);
48882 SWIG_Python_SetConstant(d
, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL
)));
48883 SWIG_Python_SetConstant(d
, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL
)));
48884 SWIG_Python_SetConstant(d
, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH
)));
48885 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get
, StaticBitmapNameStr_set
);
48886 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get
, StaticBoxNameStr_set
);
48887 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get
, StaticTextNameStr_set
);
48888 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get
, ListBoxNameStr_set
);
48889 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get
, TextCtrlNameStr_set
);
48890 SWIG_Python_SetConstant(d
, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL
)));
48891 SWIG_Python_SetConstant(d
, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL
)));
48892 SWIG_Python_SetConstant(d
, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY
)));
48893 SWIG_Python_SetConstant(d
, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE
)));
48894 SWIG_Python_SetConstant(d
, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB
)));
48895 SWIG_Python_SetConstant(d
, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT
)));
48896 SWIG_Python_SetConstant(d
, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER
)));
48897 SWIG_Python_SetConstant(d
, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT
)));
48898 SWIG_Python_SetConstant(d
, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE
)));
48899 SWIG_Python_SetConstant(d
, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH
)));
48900 SWIG_Python_SetConstant(d
, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER
)));
48901 SWIG_Python_SetConstant(d
, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD
)));
48902 SWIG_Python_SetConstant(d
, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL
)));
48903 SWIG_Python_SetConstant(d
, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL
)));
48904 SWIG_Python_SetConstant(d
, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP
)));
48905 SWIG_Python_SetConstant(d
, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP
)));
48906 SWIG_Python_SetConstant(d
, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP
)));
48907 SWIG_Python_SetConstant(d
, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP
)));
48908 SWIG_Python_SetConstant(d
, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2
)));
48909 SWIG_Python_SetConstant(d
, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE
)));
48910 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT
)));
48911 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT
)));
48912 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE
)));
48913 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER
)));
48914 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT
)));
48915 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED
)));
48916 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR
)));
48917 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
48918 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE
)));
48919 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE
)));
48920 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT
)));
48921 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC
)));
48922 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE
)));
48923 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT
)));
48924 SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT
)));
48925 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT
)));
48926 SWIG_Python_SetConstant(d
, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT
)));
48927 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS
)));
48928 SWIG_Python_SetConstant(d
, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN
)));
48929 SWIG_Python_SetConstant(d
, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE
)));
48930 SWIG_Python_SetConstant(d
, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT
)));
48931 SWIG_Python_SetConstant(d
, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW
)));
48932 SWIG_Python_SetConstant(d
, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND
)));
48933 SWIG_Python_SetConstant(d
, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord
)));
48934 SWIG_Python_SetConstant(d
, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord
)));
48935 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
48936 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
48937 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
48938 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
48939 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get
, ScrollBarNameStr_set
);
48940 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get
, SPIN_BUTTON_NAME_set
);
48941 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get
, SpinCtrlNameStr_set
);
48942 SWIG_Python_SetConstant(d
, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL
)));
48943 SWIG_Python_SetConstant(d
, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL
)));
48944 SWIG_Python_SetConstant(d
, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS
)));
48945 SWIG_Python_SetConstant(d
, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP
)));
48946 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
48947 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get
, RadioBoxNameStr_set
);
48948 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get
, RadioButtonNameStr_set
);
48949 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get
, SliderNameStr_set
);
48950 SWIG_Python_SetConstant(d
, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL
)));
48951 SWIG_Python_SetConstant(d
, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL
)));
48952 SWIG_Python_SetConstant(d
, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS
)));
48953 SWIG_Python_SetConstant(d
, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS
)));
48954 SWIG_Python_SetConstant(d
, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS
)));
48955 SWIG_Python_SetConstant(d
, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT
)));
48956 SWIG_Python_SetConstant(d
, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP
)));
48957 SWIG_Python_SetConstant(d
, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT
)));
48958 SWIG_Python_SetConstant(d
, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM
)));
48959 SWIG_Python_SetConstant(d
, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH
)));
48960 SWIG_Python_SetConstant(d
, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE
)));
48961 SWIG_Python_SetConstant(d
, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE
)));
48962 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get
, ToggleButtonNameStr_set
);
48963 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
48964 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get
, NotebookNameStr_set
);
48965 SWIG_Python_SetConstant(d
, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT
)));
48966 SWIG_Python_SetConstant(d
, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP
)));
48967 SWIG_Python_SetConstant(d
, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM
)));
48968 SWIG_Python_SetConstant(d
, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT
)));
48969 SWIG_Python_SetConstant(d
, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT
)));
48970 SWIG_Python_SetConstant(d
, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK
)));
48971 SWIG_Python_SetConstant(d
, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR
)));
48972 SWIG_Python_SetConstant(d
, "BK_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_NOWHERE
)));
48973 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONICON
)));
48974 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONLABEL
)));
48975 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONITEM
)));
48976 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONPAGE
)));
48977 SWIG_Python_SetConstant(d
, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH
)));
48978 SWIG_Python_SetConstant(d
, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP
)));
48979 SWIG_Python_SetConstant(d
, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT
)));
48980 SWIG_Python_SetConstant(d
, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT
)));
48981 SWIG_Python_SetConstant(d
, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM
)));
48982 SWIG_Python_SetConstant(d
, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE
)));
48983 SWIG_Python_SetConstant(d
, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME
)));
48984 SWIG_Python_SetConstant(d
, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE
)));
48985 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON
)));
48986 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL
)));
48987 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM
)));
48988 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONPAGE
)));
48989 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
48990 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
48991 SWIG_Python_SetConstant(d
, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT
)));
48992 SWIG_Python_SetConstant(d
, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP
)));
48993 SWIG_Python_SetConstant(d
, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM
)));
48994 SWIG_Python_SetConstant(d
, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT
)));
48995 SWIG_Python_SetConstant(d
, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT
)));
48996 SWIG_Python_SetConstant(d
, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK
)));
48997 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
48998 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
48999 SWIG_Python_SetConstant(d
, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT
)));
49000 SWIG_Python_SetConstant(d
, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP
)));
49001 SWIG_Python_SetConstant(d
, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM
)));
49002 SWIG_Python_SetConstant(d
, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT
)));
49003 SWIG_Python_SetConstant(d
, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT
)));
49004 SWIG_Python_SetConstant(d
, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK
)));
49005 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
49006 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
49007 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED
));
49008 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING
));
49009 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED
));
49010 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED
));
49011 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED
));
49012 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING
));
49013 SWIG_Python_SetConstant(d
, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON
)));
49014 SWIG_Python_SetConstant(d
, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR
)));
49015 SWIG_Python_SetConstant(d
, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL
)));
49016 SWIG_Python_SetConstant(d
, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL
)));
49017 SWIG_Python_SetConstant(d
, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL
)));
49018 SWIG_Python_SetConstant(d
, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS
)));
49019 SWIG_Python_SetConstant(d
, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT
)));
49020 SWIG_Python_SetConstant(d
, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE
)));
49021 SWIG_Python_SetConstant(d
, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS
)));
49022 SWIG_Python_SetConstant(d
, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT
)));
49023 SWIG_Python_SetConstant(d
, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER
)));
49024 SWIG_Python_SetConstant(d
, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN
)));
49025 SWIG_Python_SetConstant(d
, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT
)));
49026 SWIG_Python_SetConstant(d
, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT
)));
49027 SWIG_Python_SetConstant(d
, "TB_NO_TOOLTIPS",SWIG_From_int(static_cast< int >(wxTB_NO_TOOLTIPS
)));
49028 SWIG_Python_SetConstant(d
, "TB_BOTTOM",SWIG_From_int(static_cast< int >(wxTB_BOTTOM
)));
49029 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get
, ListCtrlNameStr_set
);
49030 SWIG_Python_SetConstant(d
, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES
)));
49031 SWIG_Python_SetConstant(d
, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES
)));
49032 SWIG_Python_SetConstant(d
, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON
)));
49033 SWIG_Python_SetConstant(d
, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON
)));
49034 SWIG_Python_SetConstant(d
, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST
)));
49035 SWIG_Python_SetConstant(d
, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT
)));
49036 SWIG_Python_SetConstant(d
, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP
)));
49037 SWIG_Python_SetConstant(d
, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT
)));
49038 SWIG_Python_SetConstant(d
, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE
)));
49039 SWIG_Python_SetConstant(d
, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL
)));
49040 SWIG_Python_SetConstant(d
, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS
)));
49041 SWIG_Python_SetConstant(d
, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER
)));
49042 SWIG_Python_SetConstant(d
, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER
)));
49043 SWIG_Python_SetConstant(d
, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL
)));
49044 SWIG_Python_SetConstant(d
, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING
)));
49045 SWIG_Python_SetConstant(d
, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING
)));
49046 SWIG_Python_SetConstant(d
, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE
)));
49047 SWIG_Python_SetConstant(d
, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN
)));
49048 SWIG_Python_SetConstant(d
, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT
)));
49049 SWIG_Python_SetConstant(d
, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE
)));
49050 SWIG_Python_SetConstant(d
, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT
)));
49051 SWIG_Python_SetConstant(d
, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE
)));
49052 SWIG_Python_SetConstant(d
, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA
)));
49053 SWIG_Python_SetConstant(d
, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM
)));
49054 SWIG_Python_SetConstant(d
, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH
)));
49055 SWIG_Python_SetConstant(d
, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT
)));
49056 SWIG_Python_SetConstant(d
, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE
)));
49057 SWIG_Python_SetConstant(d
, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED
)));
49058 SWIG_Python_SetConstant(d
, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED
)));
49059 SWIG_Python_SetConstant(d
, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED
)));
49060 SWIG_Python_SetConstant(d
, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT
)));
49061 SWIG_Python_SetConstant(d
, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED
)));
49062 SWIG_Python_SetConstant(d
, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED
)));
49063 SWIG_Python_SetConstant(d
, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE
)));
49064 SWIG_Python_SetConstant(d
, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED
)));
49065 SWIG_Python_SetConstant(d
, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE
)));
49066 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE
)));
49067 SWIG_Python_SetConstant(d
, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW
)));
49068 SWIG_Python_SetConstant(d
, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE
)));
49069 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON
)));
49070 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL
)));
49071 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT
)));
49072 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON
)));
49073 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT
)));
49074 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT
)));
49075 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM
)));
49076 SWIG_Python_SetConstant(d
, "LIST_GETSUBITEMRECT_WHOLEITEM",SWIG_From_int(static_cast< int >(wxLIST_GETSUBITEMRECT_WHOLEITEM
)));
49077 SWIG_Python_SetConstant(d
, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE
)));
49078 SWIG_Python_SetConstant(d
, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL
)));
49079 SWIG_Python_SetConstant(d
, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW
)));
49080 SWIG_Python_SetConstant(d
, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT
)));
49081 SWIG_Python_SetConstant(d
, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT
)));
49082 SWIG_Python_SetConstant(d
, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT
)));
49083 SWIG_Python_SetConstant(d
, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT
)));
49084 SWIG_Python_SetConstant(d
, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP
)));
49085 SWIG_Python_SetConstant(d
, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID
)));
49086 SWIG_Python_SetConstant(d
, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT
)));
49087 SWIG_Python_SetConstant(d
, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT
)));
49088 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE
)));
49089 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER
)));
49090 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE
)));
49091 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER
)));
49092 SWIG_Python_SetConstant(d
, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS
)));
49093 SWIG_Python_SetConstant(d
, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON
)));
49094 SWIG_Python_SetConstant(d
, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL
)));
49095 SWIG_Python_SetConstant(d
, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP
)));
49096 SWIG_Python_SetConstant(d
, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN
)));
49097 SWIG_Python_SetConstant(d
, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT
)));
49098 SWIG_Python_SetConstant(d
, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT
)));
49099 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
49100 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
49101 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
49102 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
49103 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
49104 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
49105 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
49106 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
49107 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
49108 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
49109 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
49110 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
49111 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
49112 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
49113 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
49114 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
49115 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
49116 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
49117 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
49118 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
49120 // Map renamed classes back to their common name for OOR
49121 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
49123 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get
, TreeCtrlNameStr_set
);
49124 SWIG_Python_SetConstant(d
, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS
)));
49125 SWIG_Python_SetConstant(d
, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS
)));
49126 SWIG_Python_SetConstant(d
, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES
)));
49127 SWIG_Python_SetConstant(d
, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT
)));
49128 SWIG_Python_SetConstant(d
, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE
)));
49129 SWIG_Python_SetConstant(d
, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE
)));
49130 SWIG_Python_SetConstant(d
, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED
)));
49131 SWIG_Python_SetConstant(d
, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
49132 SWIG_Python_SetConstant(d
, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS
)));
49133 SWIG_Python_SetConstant(d
, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT
)));
49134 SWIG_Python_SetConstant(d
, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES
)));
49135 SWIG_Python_SetConstant(d
, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT
)));
49136 SWIG_Python_SetConstant(d
, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE
)));
49137 SWIG_Python_SetConstant(d
, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS
)));
49138 SWIG_Python_SetConstant(d
, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal
)));
49139 SWIG_Python_SetConstant(d
, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected
)));
49140 SWIG_Python_SetConstant(d
, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded
)));
49141 SWIG_Python_SetConstant(d
, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded
)));
49142 SWIG_Python_SetConstant(d
, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max
)));
49143 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE
)));
49144 SWIG_Python_SetConstant(d
, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW
)));
49145 SWIG_Python_SetConstant(d
, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE
)));
49146 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON
)));
49147 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON
)));
49148 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT
)));
49149 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL
)));
49150 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT
)));
49151 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON
)));
49152 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT
)));
49153 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT
)));
49154 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART
)));
49155 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART
)));
49156 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM
)));
49157 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
49158 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
49159 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
49160 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
49161 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
49162 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
49163 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
49164 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
49165 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
49166 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
49167 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
49168 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
49169 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
49170 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
49171 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
49172 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
49173 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
49174 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
49175 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
49176 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
49177 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
49178 SWIG_addvarlink(SWIG_globals(),(char*)"NullTreeItemId",NullTreeItemId_get
, NullTreeItemId_set
);
49180 // Map renamed classes back to their common name for OOR
49181 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
49182 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
49184 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get
, DirDialogDefaultFolderStr_set
);
49185 SWIG_Python_SetConstant(d
, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY
)));
49186 SWIG_Python_SetConstant(d
, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST
)));
49187 SWIG_Python_SetConstant(d
, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS
)));
49188 SWIG_Python_SetConstant(d
, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL
)));
49189 SWIG_Python_SetConstant(d
, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS
)));
49190 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
49191 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
49192 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Unknown",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Unknown
)));
49193 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Keyboard",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Keyboard
)));
49194 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_HelpButton",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_HelpButton
)));
49196 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
49198 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get
, DatePickerCtrlNameStr_set
);
49199 SWIG_Python_SetConstant(d
, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT
)));
49200 SWIG_Python_SetConstant(d
, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN
)));
49201 SWIG_Python_SetConstant(d
, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN
)));
49202 SWIG_Python_SetConstant(d
, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY
)));
49203 SWIG_Python_SetConstant(d
, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE
)));
49204 SWIG_addvarlink(SWIG_globals(),(char*)"HyperlinkCtrlNameStr",HyperlinkCtrlNameStr_get
, HyperlinkCtrlNameStr_set
);
49205 SWIG_Python_SetConstant(d
, "HL_CONTEXTMENU",SWIG_From_int(static_cast< int >(wxHL_CONTEXTMENU
)));
49206 SWIG_Python_SetConstant(d
, "HL_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_LEFT
)));
49207 SWIG_Python_SetConstant(d
, "HL_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_RIGHT
)));
49208 SWIG_Python_SetConstant(d
, "HL_ALIGN_CENTRE",SWIG_From_int(static_cast< int >(wxHL_ALIGN_CENTRE
)));
49209 SWIG_Python_SetConstant(d
, "HL_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHL_DEFAULT_STYLE
)));
49210 PyDict_SetItemString(d
, "wxEVT_COMMAND_HYPERLINK", PyInt_FromLong(wxEVT_COMMAND_HYPERLINK
));
49211 SWIG_Python_SetConstant(d
, "PB_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxPB_USE_TEXTCTRL
)));
49212 SWIG_addvarlink(SWIG_globals(),(char*)"ColourPickerCtrlNameStr",ColourPickerCtrlNameStr_get
, ColourPickerCtrlNameStr_set
);
49213 SWIG_Python_SetConstant(d
, "CLRP_SHOW_LABEL",SWIG_From_int(static_cast< int >(wxCLRP_SHOW_LABEL
)));
49214 SWIG_Python_SetConstant(d
, "CLRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxCLRP_USE_TEXTCTRL
)));
49215 SWIG_Python_SetConstant(d
, "CLRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCLRP_DEFAULT_STYLE
)));
49216 PyDict_SetItemString(d
, "wxEVT_COMMAND_COLOURPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLOURPICKER_CHANGED
));
49217 SWIG_addvarlink(SWIG_globals(),(char*)"FilePickerCtrlNameStr",FilePickerCtrlNameStr_get
, FilePickerCtrlNameStr_set
);
49218 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
49219 SWIG_addvarlink(SWIG_globals(),(char*)"DirPickerCtrlNameStr",DirPickerCtrlNameStr_get
, DirPickerCtrlNameStr_set
);
49220 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
49221 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
49222 SWIG_Python_SetConstant(d
, "FLP_OPEN",SWIG_From_int(static_cast< int >(wxFLP_OPEN
)));
49223 SWIG_Python_SetConstant(d
, "FLP_SAVE",SWIG_From_int(static_cast< int >(wxFLP_SAVE
)));
49224 SWIG_Python_SetConstant(d
, "FLP_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFLP_OVERWRITE_PROMPT
)));
49225 SWIG_Python_SetConstant(d
, "FLP_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFLP_FILE_MUST_EXIST
)));
49226 SWIG_Python_SetConstant(d
, "FLP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFLP_CHANGE_DIR
)));
49227 SWIG_Python_SetConstant(d
, "DIRP_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDIRP_DIR_MUST_EXIST
)));
49228 SWIG_Python_SetConstant(d
, "DIRP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDIRP_CHANGE_DIR
)));
49229 SWIG_Python_SetConstant(d
, "FLP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFLP_USE_TEXTCTRL
)));
49230 SWIG_Python_SetConstant(d
, "FLP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFLP_DEFAULT_STYLE
)));
49231 SWIG_Python_SetConstant(d
, "DIRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxDIRP_USE_TEXTCTRL
)));
49232 SWIG_Python_SetConstant(d
, "DIRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDIRP_DEFAULT_STYLE
)));
49233 PyDict_SetItemString(d
, "wxEVT_COMMAND_FILEPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FILEPICKER_CHANGED
));
49234 PyDict_SetItemString(d
, "wxEVT_COMMAND_DIRPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_DIRPICKER_CHANGED
));
49235 SWIG_addvarlink(SWIG_globals(),(char*)"FontPickerCtrlNameStr",FontPickerCtrlNameStr_get
, FontPickerCtrlNameStr_set
);
49236 SWIG_Python_SetConstant(d
, "FNTP_FONTDESC_AS_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_FONTDESC_AS_LABEL
)));
49237 SWIG_Python_SetConstant(d
, "FNTP_USEFONT_FOR_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_USEFONT_FOR_LABEL
)));
49238 SWIG_Python_SetConstant(d
, "FNTP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFNTP_USE_TEXTCTRL
)));
49239 SWIG_Python_SetConstant(d
, "FNTP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFNTP_DEFAULT_STYLE
)));
49240 PyDict_SetItemString(d
, "wxEVT_COMMAND_FONTPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FONTPICKER_CHANGED
));