1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_long swig_types[4]
2471 #define SWIGTYPE_p_unsigned_char swig_types[5]
2472 #define SWIGTYPE_p_unsigned_int swig_types[6]
2473 #define SWIGTYPE_p_unsigned_long swig_types[7]
2474 #define SWIGTYPE_p_void swig_types[8]
2475 #define SWIGTYPE_p_wxANIHandler swig_types[9]
2476 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2477 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2478 #define SWIGTYPE_p_wxArrayInt swig_types[12]
2479 #define SWIGTYPE_p_wxArrayString swig_types[13]
2480 #define SWIGTYPE_p_wxBMPHandler swig_types[14]
2481 #define SWIGTYPE_p_wxBitmap swig_types[15]
2482 #define SWIGTYPE_p_wxBitmapButton swig_types[16]
2483 #define SWIGTYPE_p_wxBookCtrlBase swig_types[17]
2484 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[18]
2485 #define SWIGTYPE_p_wxBoxSizer swig_types[19]
2486 #define SWIGTYPE_p_wxButton swig_types[20]
2487 #define SWIGTYPE_p_wxCURHandler swig_types[21]
2488 #define SWIGTYPE_p_wxCheckBox swig_types[22]
2489 #define SWIGTYPE_p_wxCheckListBox swig_types[23]
2490 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2491 #define SWIGTYPE_p_wxChoice swig_types[25]
2492 #define SWIGTYPE_p_wxChoicebook swig_types[26]
2493 #define SWIGTYPE_p_wxChoicebookEvent swig_types[27]
2494 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[28]
2495 #define SWIGTYPE_p_wxCloseEvent swig_types[29]
2496 #define SWIGTYPE_p_wxColour swig_types[30]
2497 #define SWIGTYPE_p_wxColourPickerCtrl swig_types[31]
2498 #define SWIGTYPE_p_wxColourPickerEvent swig_types[32]
2499 #define SWIGTYPE_p_wxComboBox swig_types[33]
2500 #define SWIGTYPE_p_wxCommandEvent swig_types[34]
2501 #define SWIGTYPE_p_wxContextHelp swig_types[35]
2502 #define SWIGTYPE_p_wxContextHelpButton swig_types[36]
2503 #define SWIGTYPE_p_wxContextMenuEvent swig_types[37]
2504 #define SWIGTYPE_p_wxControl swig_types[38]
2505 #define SWIGTYPE_p_wxControlWithItems swig_types[39]
2506 #define SWIGTYPE_p_wxCursor swig_types[40]
2507 #define SWIGTYPE_p_wxDC swig_types[41]
2508 #define SWIGTYPE_p_wxDateEvent swig_types[42]
2509 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[43]
2510 #define SWIGTYPE_p_wxDateTime swig_types[44]
2511 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[45]
2512 #define SWIGTYPE_p_wxDirPickerCtrl swig_types[46]
2513 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[47]
2514 #define SWIGTYPE_p_wxDropFilesEvent swig_types[48]
2515 #define SWIGTYPE_p_wxDuplexMode swig_types[49]
2516 #define SWIGTYPE_p_wxEraseEvent swig_types[50]
2517 #define SWIGTYPE_p_wxEvent swig_types[51]
2518 #define SWIGTYPE_p_wxEvtHandler swig_types[52]
2519 #define SWIGTYPE_p_wxFSFile swig_types[53]
2520 #define SWIGTYPE_p_wxFileDirPickerEvent swig_types[54]
2521 #define SWIGTYPE_p_wxFilePickerCtrl swig_types[55]
2522 #define SWIGTYPE_p_wxFileSystem swig_types[56]
2523 #define SWIGTYPE_p_wxFlexGridSizer swig_types[57]
2524 #define SWIGTYPE_p_wxFocusEvent swig_types[58]
2525 #define SWIGTYPE_p_wxFont swig_types[59]
2526 #define SWIGTYPE_p_wxFontPickerCtrl swig_types[60]
2527 #define SWIGTYPE_p_wxFontPickerEvent swig_types[61]
2528 #define SWIGTYPE_p_wxGBSizerItem swig_types[62]
2529 #define SWIGTYPE_p_wxGIFHandler swig_types[63]
2530 #define SWIGTYPE_p_wxGauge swig_types[64]
2531 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[65]
2532 #define SWIGTYPE_p_wxGenericDragImage swig_types[66]
2533 #define SWIGTYPE_p_wxGridBagSizer swig_types[67]
2534 #define SWIGTYPE_p_wxGridSizer swig_types[68]
2535 #define SWIGTYPE_p_wxHelpEvent swig_types[69]
2536 #define SWIGTYPE_p_wxHelpProvider swig_types[70]
2537 #define SWIGTYPE_p_wxHyperlinkCtrl swig_types[71]
2538 #define SWIGTYPE_p_wxHyperlinkEvent swig_types[72]
2539 #define SWIGTYPE_p_wxICOHandler swig_types[73]
2540 #define SWIGTYPE_p_wxIcon swig_types[74]
2541 #define SWIGTYPE_p_wxIconizeEvent swig_types[75]
2542 #define SWIGTYPE_p_wxIdleEvent swig_types[76]
2543 #define SWIGTYPE_p_wxImage swig_types[77]
2544 #define SWIGTYPE_p_wxImageHandler swig_types[78]
2545 #define SWIGTYPE_p_wxImageList swig_types[79]
2546 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[80]
2547 #define SWIGTYPE_p_wxInitDialogEvent swig_types[81]
2548 #define SWIGTYPE_p_wxItemContainer swig_types[82]
2549 #define SWIGTYPE_p_wxJPEGHandler swig_types[83]
2550 #define SWIGTYPE_p_wxKeyEvent swig_types[84]
2551 #define SWIGTYPE_p_wxLayoutConstraints swig_types[85]
2552 #define SWIGTYPE_p_wxListBox swig_types[86]
2553 #define SWIGTYPE_p_wxListEvent swig_types[87]
2554 #define SWIGTYPE_p_wxListItem swig_types[88]
2555 #define SWIGTYPE_p_wxListItemAttr swig_types[89]
2556 #define SWIGTYPE_p_wxListView swig_types[90]
2557 #define SWIGTYPE_p_wxListbook swig_types[91]
2558 #define SWIGTYPE_p_wxListbookEvent swig_types[92]
2559 #define SWIGTYPE_p_wxMaximizeEvent swig_types[93]
2560 #define SWIGTYPE_p_wxMemoryDC swig_types[94]
2561 #define SWIGTYPE_p_wxMenu swig_types[95]
2562 #define SWIGTYPE_p_wxMenuBar swig_types[96]
2563 #define SWIGTYPE_p_wxMenuEvent swig_types[97]
2564 #define SWIGTYPE_p_wxMenuItem swig_types[98]
2565 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[99]
2566 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[100]
2567 #define SWIGTYPE_p_wxMouseEvent swig_types[101]
2568 #define SWIGTYPE_p_wxMoveEvent swig_types[102]
2569 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[103]
2570 #define SWIGTYPE_p_wxNcPaintEvent swig_types[104]
2571 #define SWIGTYPE_p_wxNotebook swig_types[105]
2572 #define SWIGTYPE_p_wxNotebookEvent swig_types[106]
2573 #define SWIGTYPE_p_wxNotifyEvent swig_types[107]
2574 #define SWIGTYPE_p_wxObject swig_types[108]
2575 #define SWIGTYPE_p_wxPCXHandler swig_types[109]
2576 #define SWIGTYPE_p_wxPNGHandler swig_types[110]
2577 #define SWIGTYPE_p_wxPNMHandler swig_types[111]
2578 #define SWIGTYPE_p_wxPaintEvent swig_types[112]
2579 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[113]
2580 #define SWIGTYPE_p_wxPaperSize swig_types[114]
2581 #define SWIGTYPE_p_wxPickerBase swig_types[115]
2582 #define SWIGTYPE_p_wxPoint swig_types[116]
2583 #define SWIGTYPE_p_wxPyApp swig_types[117]
2584 #define SWIGTYPE_p_wxPyCommandEvent swig_types[118]
2585 #define SWIGTYPE_p_wxPyControl swig_types[119]
2586 #define SWIGTYPE_p_wxPyEvent swig_types[120]
2587 #define SWIGTYPE_p_wxPyImageHandler swig_types[121]
2588 #define SWIGTYPE_p_wxPyListCtrl swig_types[122]
2589 #define SWIGTYPE_p_wxPySizer swig_types[123]
2590 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[124]
2591 #define SWIGTYPE_p_wxPyTreeItemData swig_types[125]
2592 #define SWIGTYPE_p_wxPyValidator swig_types[126]
2593 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[127]
2594 #define SWIGTYPE_p_wxRadioBox swig_types[128]
2595 #define SWIGTYPE_p_wxRadioButton swig_types[129]
2596 #define SWIGTYPE_p_wxRect swig_types[130]
2597 #define SWIGTYPE_p_wxScrollBar swig_types[131]
2598 #define SWIGTYPE_p_wxScrollEvent swig_types[132]
2599 #define SWIGTYPE_p_wxScrollWinEvent swig_types[133]
2600 #define SWIGTYPE_p_wxSetCursorEvent swig_types[134]
2601 #define SWIGTYPE_p_wxShowEvent swig_types[135]
2602 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[136]
2603 #define SWIGTYPE_p_wxSize swig_types[137]
2604 #define SWIGTYPE_p_wxSizeEvent swig_types[138]
2605 #define SWIGTYPE_p_wxSizer swig_types[139]
2606 #define SWIGTYPE_p_wxSizerItem swig_types[140]
2607 #define SWIGTYPE_p_wxSlider swig_types[141]
2608 #define SWIGTYPE_p_wxSpinButton swig_types[142]
2609 #define SWIGTYPE_p_wxSpinCtrl swig_types[143]
2610 #define SWIGTYPE_p_wxSpinEvent swig_types[144]
2611 #define SWIGTYPE_p_wxStaticBitmap swig_types[145]
2612 #define SWIGTYPE_p_wxStaticBox swig_types[146]
2613 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[147]
2614 #define SWIGTYPE_p_wxStaticLine swig_types[148]
2615 #define SWIGTYPE_p_wxStaticText swig_types[149]
2616 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[150]
2617 #define SWIGTYPE_p_wxString swig_types[151]
2618 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[152]
2619 #define SWIGTYPE_p_wxTGAHandler swig_types[153]
2620 #define SWIGTYPE_p_wxTIFFHandler swig_types[154]
2621 #define SWIGTYPE_p_wxTextAttr swig_types[155]
2622 #define SWIGTYPE_p_wxTextCtrl swig_types[156]
2623 #define SWIGTYPE_p_wxTextUrlEvent swig_types[157]
2624 #define SWIGTYPE_p_wxToggleButton swig_types[158]
2625 #define SWIGTYPE_p_wxToolBar swig_types[159]
2626 #define SWIGTYPE_p_wxToolBarBase swig_types[160]
2627 #define SWIGTYPE_p_wxToolBarToolBase swig_types[161]
2628 #define SWIGTYPE_p_wxToolbook swig_types[162]
2629 #define SWIGTYPE_p_wxToolbookEvent swig_types[163]
2630 #define SWIGTYPE_p_wxTreeEvent swig_types[164]
2631 #define SWIGTYPE_p_wxTreeItemId swig_types[165]
2632 #define SWIGTYPE_p_wxTreebook swig_types[166]
2633 #define SWIGTYPE_p_wxTreebookEvent swig_types[167]
2634 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[168]
2635 #define SWIGTYPE_p_wxValidator swig_types[169]
2636 #define SWIGTYPE_p_wxVisualAttributes swig_types[170]
2637 #define SWIGTYPE_p_wxWindow swig_types[171]
2638 #define SWIGTYPE_p_wxWindowBase swig_types[172]
2639 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[173]
2640 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[174]
2641 #define SWIGTYPE_p_wxXPMHandler swig_types[175]
2642 static swig_type_info
*swig_types
[177];
2643 static swig_module_info swig_module
= {swig_types
, 176, 0, 0, 0, 0};
2644 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2645 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2647 /* -------- TYPES TABLE (END) -------- */
2649 #if (PY_VERSION_HEX <= 0x02000000)
2650 # if !defined(SWIG_PYTHON_CLASSIC)
2651 # error "This python version requires to use swig with the '-classic' option"
2654 #if (PY_VERSION_HEX <= 0x02020000)
2655 # error "This python version requires to use swig with the '-nomodern' option"
2657 #if (PY_VERSION_HEX <= 0x02020000)
2658 # error "This python version requires to use swig with the '-nomodernargs' option"
2661 # error "This python version requires to use swig with the '-nofastunpack' option"
2664 /*-----------------------------------------------
2665 @(target):= _controls_.so
2666 ------------------------------------------------*/
2667 #define SWIG_init init_controls_
2669 #define SWIG_name "_controls_"
2671 #define SWIGVERSION 0x010329
2674 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2675 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2678 #include <stdexcept>
2682 class PyObject_ptr
{
2687 PyObject_ptr() :_obj(0)
2691 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2696 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2698 if (initial_ref
) Py_XINCREF(_obj
);
2701 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2703 Py_XINCREF(item
._obj
);
2714 operator PyObject
*() const
2719 PyObject
*operator->() const
2728 struct PyObject_var
: PyObject_ptr
{
2729 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2731 PyObject_var
& operator = (PyObject
* obj
)
2741 #include "wx/wxPython/wxPython.h"
2742 #include "wx/wxPython/pyclasses.h"
2744 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2745 static const wxString
wxPyEmptyString(wxEmptyString
);
2746 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2748 const wxArrayString wxPyEmptyStringArray
;
2750 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
2752 #define SWIG_From_long PyInt_FromLong
2755 SWIGINTERNINLINE PyObject
*
2756 SWIG_From_int (int value
)
2758 return SWIG_From_long (value
);
2764 # define LLONG_MIN LONG_LONG_MIN
2767 # define LLONG_MAX LONG_LONG_MAX
2770 # define ULLONG_MAX ULONG_LONG_MAX
2775 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2777 if (PyNumber_Check(obj
)) {
2778 if (val
) *val
= PyInt_AsLong(obj
);
2781 return SWIG_TypeError
;
2786 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2789 int res
= SWIG_AsVal_long (obj
, &v
);
2790 if (SWIG_IsOK(res
)) {
2791 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2792 return SWIG_OverflowError
;
2794 if (val
) *val
= static_cast< int >(v
);
2800 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
2803 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2805 if (obj
== Py_True
) {
2806 if (val
) *val
= true;
2808 } else if (obj
== Py_False
) {
2809 if (val
) *val
= false;
2813 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2814 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2819 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
2820 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
2821 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
2822 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
2823 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
2824 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
2826 #include <wx/checklst.h>
2828 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
2829 SWIGINTERN
void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2832 wxPyClientData
* data
= new wxPyClientData(clientData
);
2833 self
->Insert(item
, pos
, data
);
2836 self
->Insert(item
, pos
);
2840 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2843 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2844 return SWIG_TypeError
;
2847 *val
= (unsigned long)v
;
2853 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
2856 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2857 if (SWIG_IsOK(res
)) {
2858 if ((v
> UINT_MAX
)) {
2859 return SWIG_OverflowError
;
2861 if (val
) *val
= static_cast< unsigned int >(v
);
2867 SWIGINTERN PyObject
*wxListBox_GetSelections(wxListBox
*self
){
2868 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2870 self
->GetSelections(lst
);
2871 PyObject
*tup
= PyTuple_New(lst
.GetCount());
2872 for (size_t i
=0; i
<lst
.GetCount(); i
++)
2874 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
2876 wxPyEndBlockThreads(blocked
);
2879 SWIGINTERN
void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2881 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2882 self
->GetItem(item
)->SetTextColour(c
);
2885 SWIGINTERN
void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2887 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2888 self
->GetItem(item
)->SetBackgroundColour(c
);
2891 SWIGINTERN
void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
2893 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2894 self
->GetItem(item
)->SetFont(f
);
2897 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
2898 SWIGINTERN
void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
2899 self
->AppendText(text
);
2901 SWIGINTERN wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
2902 return self
->GetValue().Mid(from
, to
- from
);
2904 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
2905 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
2906 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
2907 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
2908 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
2910 SWIGINTERNINLINE PyObject
*
2911 SWIG_From_unsigned_SS_long (unsigned long value
)
2913 return (value
> LONG_MAX
) ?
2914 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2918 SWIGINTERNINLINE PyObject
*
2919 SWIG_From_size_t (size_t value
)
2921 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2925 SWIGINTERNINLINE PyObject
*
2926 SWIG_From_unsigned_SS_int (unsigned int value
)
2928 return SWIG_From_unsigned_SS_long (value
);
2932 #include <wx/slider.h>
2935 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
2936 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
2938 #if !wxUSE_TOGGLEBTN
2939 // implement dummy items for platforms that don't have this class
2941 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
2943 class wxToggleButton
: public wxControl
2946 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
2947 const wxPoint
&, const wxSize
&, long,
2948 const wxValidator
&, const wxString
&)
2949 { wxPyRaiseNotImplemented(); }
2952 { wxPyRaiseNotImplemented(); }
2956 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
2958 SWIGINTERNINLINE
int
2959 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2962 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2963 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2967 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2968 SWIGINTERN PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
2969 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
2971 Py_INCREF(udata
->m_obj
);
2972 return udata
->m_obj
;
2978 SWIGINTERN
void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
2979 self
->SetClientData(new wxPyUserData(clientData
));
2981 SWIGINTERN wxToolBarToolBase
*wxToolBarBase_DoAddTool(wxToolBarBase
*self
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
=wxNullBitmap
,wxItemKind kind
=wxITEM_NORMAL
,wxString
const &shortHelp
=wxPyEmptyString
,wxString
const &longHelp
=wxPyEmptyString
,PyObject
*clientData
=NULL
){
2982 wxPyUserData
* udata
= NULL
;
2983 if (clientData
&& clientData
!= Py_None
)
2984 udata
= new wxPyUserData(clientData
);
2985 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
2986 shortHelp
, longHelp
, udata
);
2988 SWIGINTERN wxToolBarToolBase
*wxToolBarBase_DoInsertTool(wxToolBarBase
*self
,size_t pos
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
=wxNullBitmap
,wxItemKind kind
=wxITEM_NORMAL
,wxString
const &shortHelp
=wxPyEmptyString
,wxString
const &longHelp
=wxPyEmptyString
,PyObject
*clientData
=NULL
){
2989 wxPyUserData
* udata
= NULL
;
2990 if (clientData
&& clientData
!= Py_None
)
2991 udata
= new wxPyUserData(clientData
);
2992 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
2993 shortHelp
, longHelp
, udata
);
2995 SWIGINTERN PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
2996 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
2998 Py_INCREF(udata
->m_obj
);
2999 return udata
->m_obj
;
3005 SWIGINTERN
void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
3006 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
3009 #include <wx/listctrl.h>
3011 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
3012 SWIGINTERN
void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
3013 // Python aware sorting function for wxPyListCtrl
3014 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
3016 PyObject
* func
= (PyObject
*)funcPtr
;
3017 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3019 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
3020 PyObject
* result
= PyEval_CallObject(func
, args
);
3023 retval
= PyInt_AsLong(result
);
3027 wxPyEndBlockThreads(blocked
);
3031 // C++ Version of a Python aware class
3032 class wxPyListCtrl
: public wxListCtrl
{
3033 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
)
3035 wxPyListCtrl() : wxListCtrl() {}
3036 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
3040 const wxValidator
& validator
,
3041 const wxString
& name
) :
3042 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3044 bool Create(wxWindow
* parent
, wxWindowID id
,
3048 const wxValidator
& validator
,
3049 const wxString
& name
) {
3050 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3053 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
3054 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
3056 // use the virtual version to avoid a confusing assert in the base class
3057 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
3058 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage
);
3063 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
3065 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
3066 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
3067 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
3068 IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemColumnImage
);
3071 SWIGINTERN wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
3073 item
.SetMask( wxLIST_MASK_STATE
|
3081 if (self
->GetColumn(col
, item
))
3082 return new wxListItem(item
);
3086 SWIGINTERN wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
3087 wxListItem
* info
= new wxListItem
;
3088 info
->m_itemId
= itemId
;
3090 info
->m_mask
= 0xFFFF;
3091 self
->GetItem(*info
);
3094 SWIGINTERN wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
3096 self
->GetItemPosition(item
, pos
);
3099 SWIGINTERN wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
3101 self
->GetItemRect(item
, rect
, code
);
3104 SWIGINTERN
bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
3105 if (!PyCallable_Check(func
))
3107 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
3109 SWIGINTERN wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
3117 #include <wx/treectrl.h>
3118 #include "wx/wxPython/pytree.h"
3120 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
3121 SWIGINTERN
bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
3122 SWIGINTERN
bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
3123 SWIGINTERN
void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
3125 static wxTreeItemId wxNullTreeItemId
;
3127 // C++ version of Python aware wxTreeCtrl
3128 class wxPyTreeCtrl
: public wxTreeCtrl
{
3129 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
)
3131 wxPyTreeCtrl() : wxTreeCtrl() {}
3132 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
3136 const wxValidator
& validator
,
3137 const wxString
& name
) :
3138 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3140 bool Create(wxWindow
*parent
, wxWindowID id
,
3144 const wxValidator
& validator
,
3145 const wxString
& name
) {
3146 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3150 int OnCompareItems(const wxTreeItemId
& item1
,
3151 const wxTreeItemId
& item2
) {
3154 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3155 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
3156 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
3157 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
3158 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
3162 wxPyEndBlockThreads(blocked
);
3164 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
3170 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
3173 SWIGINTERN wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3174 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3176 data
= new wxPyTreeItemData();
3177 data
->SetId(item
); // set the id
3178 self
->SetItemData(item
, data
);
3182 SWIGINTERN PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3183 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3185 data
= new wxPyTreeItemData();
3186 data
->SetId(item
); // set the id
3187 self
->SetItemData(item
, data
);
3189 return data
->GetData();
3191 SWIGINTERN
void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
3192 data
->SetId(item
); // set the id
3193 self
->SetItemData(item
, data
);
3195 SWIGINTERN
void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
3196 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3198 data
= new wxPyTreeItemData(obj
);
3199 data
->SetId(item
); // set the id
3200 self
->SetItemData(item
, data
);
3204 SWIGINTERN PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
3205 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3206 PyObject
* rval
= PyList_New(0);
3207 wxArrayTreeItemIds array
;
3209 num
= self
->GetSelections(array
);
3210 for (x
=0; x
< num
; x
++) {
3211 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
3212 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
3213 PyList_Append(rval
, item
);
3216 wxPyEndBlockThreads(blocked
);
3219 SWIGINTERN PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3221 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
3222 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3223 PyObject
* tup
= PyTuple_New(2);
3224 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3225 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3226 wxPyEndBlockThreads(blocked
);
3229 SWIGINTERN PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
3230 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
3231 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3232 PyObject
* tup
= PyTuple_New(2);
3233 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3234 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3235 wxPyEndBlockThreads(blocked
);
3238 SWIGINTERN PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
3240 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
3241 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3242 wxRect
* r
= new wxRect(rect
);
3243 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
3244 wxPyEndBlockThreads(blocked
);
3250 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
3252 SWIGINTERNINLINE PyObject
*
3253 SWIG_From_bool (bool value
)
3255 return PyBool_FromLong(value
? 1 : 0);
3258 // C++ version of Python aware wxControl
3259 class wxPyControl
: public wxControl
3261 DECLARE_DYNAMIC_CLASS(wxPyControl
)
3263 wxPyControl() : wxControl() {}
3264 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
3265 const wxPoint
& pos
= wxDefaultPosition
,
3266 const wxSize
& size
= wxDefaultSize
,
3268 const wxValidator
& validator
=wxDefaultValidator
,
3269 const wxString
& name
= wxPyControlNameStr
)
3270 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3273 bool DoEraseBackground(wxDC
* dc
) {
3275 return wxWindow::DoEraseBackground(dc
->GetHDC());
3277 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3283 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3284 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3285 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3286 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3288 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3289 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3290 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3292 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3293 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3295 DEC_PYCALLBACK__(InitDialog
);
3296 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3297 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3298 DEC_PYCALLBACK_BOOL_(Validate
);
3300 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3301 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3302 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3304 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3305 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3307 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3308 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3310 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3312 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3317 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
3319 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
3320 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
3321 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
3322 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
3324 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
3325 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
3326 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
3328 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
3329 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
3331 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
3332 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
3333 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
3334 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
3336 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
3337 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
3338 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
3340 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
3341 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
3343 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
3344 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
3346 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
3348 IMP_PYCALLBACK_VOID_(wxPyControl
, wxControl
, OnInternalIdle
);
3352 SWIGINTERN
void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
3354 #include <wx/generic/dragimgg.h>
3356 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
3357 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
3359 self
->GetRange(&rv
, NULL
);
3362 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
3364 self
->GetRange(NULL
, &rv
);
3367 static const wxString
wxPyHyperlinkCtrlNameStr(wxHyperlinkCtrlNameStr
);
3368 static const wxString
wxPyColourPickerCtrlNameStr(wxColourPickerCtrlNameStr
);
3369 static const wxString
wxPyFilePickerCtrlNameStr(wxFilePickerCtrlNameStr
);
3370 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3371 static const wxString
wxPyDirPickerCtrlNameStr(wxDirPickerCtrlNameStr
);
3372 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3373 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3374 static const wxString
wxPyFontPickerCtrlNameStr(wxFontPickerCtrlNameStr
);
3378 SWIGINTERN
int ButtonNameStr_set(PyObject
*) {
3379 SWIG_Error(SWIG_AttributeError
,"Variable ButtonNameStr is read-only.");
3384 SWIGINTERN PyObject
*ButtonNameStr_get(void) {
3385 PyObject
*pyobj
= 0;
3389 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3391 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3398 SWIGINTERN PyObject
*_wrap_new_Button(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3399 PyObject
*resultobj
= 0;
3400 wxWindow
*arg1
= (wxWindow
*) 0 ;
3401 int arg2
= (int) -1 ;
3402 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3403 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3404 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3405 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3406 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3407 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3408 long arg6
= (long) 0 ;
3409 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3410 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3411 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3412 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3413 wxButton
*result
= 0 ;
3418 bool temp3
= false ;
3425 bool temp8
= false ;
3426 PyObject
* obj0
= 0 ;
3427 PyObject
* obj1
= 0 ;
3428 PyObject
* obj2
= 0 ;
3429 PyObject
* obj3
= 0 ;
3430 PyObject
* obj4
= 0 ;
3431 PyObject
* obj5
= 0 ;
3432 PyObject
* obj6
= 0 ;
3433 PyObject
* obj7
= 0 ;
3434 char * kwnames
[] = {
3435 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3440 if (!SWIG_IsOK(res1
)) {
3441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Button" "', expected argument " "1"" of type '" "wxWindow *""'");
3443 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3445 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3446 if (!SWIG_IsOK(ecode2
)) {
3447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Button" "', expected argument " "2"" of type '" "int""'");
3449 arg2
= static_cast< int >(val2
);
3453 arg3
= wxString_in_helper(obj2
);
3454 if (arg3
== NULL
) SWIG_fail
;
3461 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3467 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3471 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3472 if (!SWIG_IsOK(ecode6
)) {
3473 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Button" "', expected argument " "6"" of type '" "long""'");
3475 arg6
= static_cast< long >(val6
);
3478 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3479 if (!SWIG_IsOK(res7
)) {
3480 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3483 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3485 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3489 arg8
= wxString_in_helper(obj7
);
3490 if (arg8
== NULL
) SWIG_fail
;
3495 if (!wxPyCheckForApp()) SWIG_fail
;
3496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3497 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3498 wxPyEndAllowThreads(__tstate
);
3499 if (PyErr_Occurred()) SWIG_fail
;
3501 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_NEW
| 0 );
3524 SWIGINTERN PyObject
*_wrap_new_PreButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3525 PyObject
*resultobj
= 0;
3526 wxButton
*result
= 0 ;
3528 if (!SWIG_Python_UnpackTuple(args
,"new_PreButton",0,0,0)) SWIG_fail
;
3530 if (!wxPyCheckForApp()) SWIG_fail
;
3531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3532 result
= (wxButton
*)new wxButton();
3533 wxPyEndAllowThreads(__tstate
);
3534 if (PyErr_Occurred()) SWIG_fail
;
3536 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_OWN
| 0 );
3543 SWIGINTERN PyObject
*_wrap_Button_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3544 PyObject
*resultobj
= 0;
3545 wxButton
*arg1
= (wxButton
*) 0 ;
3546 wxWindow
*arg2
= (wxWindow
*) 0 ;
3547 int arg3
= (int) -1 ;
3548 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3549 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3550 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3551 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3552 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3553 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3554 long arg7
= (long) 0 ;
3555 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3556 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3557 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3558 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3566 bool temp4
= false ;
3573 bool temp9
= false ;
3574 PyObject
* obj0
= 0 ;
3575 PyObject
* obj1
= 0 ;
3576 PyObject
* obj2
= 0 ;
3577 PyObject
* obj3
= 0 ;
3578 PyObject
* obj4
= 0 ;
3579 PyObject
* obj5
= 0 ;
3580 PyObject
* obj6
= 0 ;
3581 PyObject
* obj7
= 0 ;
3582 PyObject
* obj8
= 0 ;
3583 char * kwnames
[] = {
3584 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3589 if (!SWIG_IsOK(res1
)) {
3590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_Create" "', expected argument " "1"" of type '" "wxButton *""'");
3592 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3593 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3594 if (!SWIG_IsOK(res2
)) {
3595 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Button_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3597 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3599 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3600 if (!SWIG_IsOK(ecode3
)) {
3601 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Button_Create" "', expected argument " "3"" of type '" "int""'");
3603 arg3
= static_cast< int >(val3
);
3607 arg4
= wxString_in_helper(obj3
);
3608 if (arg4
== NULL
) SWIG_fail
;
3615 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3621 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3625 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3626 if (!SWIG_IsOK(ecode7
)) {
3627 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Button_Create" "', expected argument " "7"" of type '" "long""'");
3629 arg7
= static_cast< long >(val7
);
3632 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
3633 if (!SWIG_IsOK(res8
)) {
3634 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3637 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3639 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
3643 arg9
= wxString_in_helper(obj8
);
3644 if (arg9
== NULL
) SWIG_fail
;
3649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3650 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3651 wxPyEndAllowThreads(__tstate
);
3652 if (PyErr_Occurred()) SWIG_fail
;
3655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3679 SWIGINTERN PyObject
*_wrap_Button_SetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3680 PyObject
*resultobj
= 0;
3681 wxButton
*arg1
= (wxButton
*) 0 ;
3684 PyObject
*swig_obj
[1] ;
3686 if (!args
) SWIG_fail
;
3688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3689 if (!SWIG_IsOK(res1
)) {
3690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_SetDefault" "', expected argument " "1"" of type '" "wxButton *""'");
3692 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3695 (arg1
)->SetDefault();
3696 wxPyEndAllowThreads(__tstate
);
3697 if (PyErr_Occurred()) SWIG_fail
;
3699 resultobj
= SWIG_Py_Void();
3706 SWIGINTERN PyObject
*_wrap_Button_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3707 PyObject
*resultobj
= 0;
3710 if (!SWIG_Python_UnpackTuple(args
,"Button_GetDefaultSize",0,0,0)) SWIG_fail
;
3712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3713 result
= wxButton::GetDefaultSize();
3714 wxPyEndAllowThreads(__tstate
);
3715 if (PyErr_Occurred()) SWIG_fail
;
3717 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
3724 SWIGINTERN PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3725 PyObject
*resultobj
= 0;
3726 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3727 SwigValueWrapper
<wxVisualAttributes
> result
;
3730 PyObject
* obj0
= 0 ;
3731 char * kwnames
[] = {
3732 (char *) "variant", NULL
3735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
3737 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3738 if (!SWIG_IsOK(ecode1
)) {
3739 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Button_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3741 arg1
= static_cast< wxWindowVariant
>(val1
);
3744 if (!wxPyCheckForApp()) SWIG_fail
;
3745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3746 result
= wxButton::GetClassDefaultAttributes(arg1
);
3747 wxPyEndAllowThreads(__tstate
);
3748 if (PyErr_Occurred()) SWIG_fail
;
3750 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
3757 SWIGINTERN PyObject
*Button_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3759 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3760 SWIG_TypeNewClientData(SWIGTYPE_p_wxButton
, SWIG_NewClientData(obj
));
3761 return SWIG_Py_Void();
3764 SWIGINTERN PyObject
*Button_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3765 return SWIG_Python_InitShadowInstance(args
);
3768 SWIGINTERN PyObject
*_wrap_new_BitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3769 PyObject
*resultobj
= 0;
3770 wxWindow
*arg1
= (wxWindow
*) 0 ;
3771 int arg2
= (int) -1 ;
3772 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
3773 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
3774 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3775 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3776 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3777 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3778 long arg6
= (long) wxBU_AUTODRAW
;
3779 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3780 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3781 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3782 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3783 wxBitmapButton
*result
= 0 ;
3796 bool temp8
= false ;
3797 PyObject
* obj0
= 0 ;
3798 PyObject
* obj1
= 0 ;
3799 PyObject
* obj2
= 0 ;
3800 PyObject
* obj3
= 0 ;
3801 PyObject
* obj4
= 0 ;
3802 PyObject
* obj5
= 0 ;
3803 PyObject
* obj6
= 0 ;
3804 PyObject
* obj7
= 0 ;
3805 char * kwnames
[] = {
3806 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3811 if (!SWIG_IsOK(res1
)) {
3812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapButton" "', expected argument " "1"" of type '" "wxWindow *""'");
3814 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3816 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3817 if (!SWIG_IsOK(ecode2
)) {
3818 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapButton" "', expected argument " "2"" of type '" "int""'");
3820 arg2
= static_cast< int >(val2
);
3823 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3824 if (!SWIG_IsOK(res3
)) {
3825 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3828 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3830 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
3835 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3841 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3845 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3846 if (!SWIG_IsOK(ecode6
)) {
3847 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_BitmapButton" "', expected argument " "6"" of type '" "long""'");
3849 arg6
= static_cast< long >(val6
);
3852 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3853 if (!SWIG_IsOK(res7
)) {
3854 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3857 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3859 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3863 arg8
= wxString_in_helper(obj7
);
3864 if (arg8
== NULL
) SWIG_fail
;
3869 if (!wxPyCheckForApp()) SWIG_fail
;
3870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3871 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3872 wxPyEndAllowThreads(__tstate
);
3873 if (PyErr_Occurred()) SWIG_fail
;
3875 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_NEW
| 0 );
3890 SWIGINTERN PyObject
*_wrap_new_PreBitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3891 PyObject
*resultobj
= 0;
3892 wxBitmapButton
*result
= 0 ;
3894 if (!SWIG_Python_UnpackTuple(args
,"new_PreBitmapButton",0,0,0)) SWIG_fail
;
3896 if (!wxPyCheckForApp()) SWIG_fail
;
3897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3898 result
= (wxBitmapButton
*)new wxBitmapButton();
3899 wxPyEndAllowThreads(__tstate
);
3900 if (PyErr_Occurred()) SWIG_fail
;
3902 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_OWN
| 0 );
3909 SWIGINTERN PyObject
*_wrap_BitmapButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3910 PyObject
*resultobj
= 0;
3911 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3912 wxWindow
*arg2
= (wxWindow
*) 0 ;
3913 int arg3
= (int) -1 ;
3914 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
3915 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
3916 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3917 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3918 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3919 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3920 long arg7
= (long) wxBU_AUTODRAW
;
3921 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3922 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3923 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3924 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3940 bool temp9
= false ;
3941 PyObject
* obj0
= 0 ;
3942 PyObject
* obj1
= 0 ;
3943 PyObject
* obj2
= 0 ;
3944 PyObject
* obj3
= 0 ;
3945 PyObject
* obj4
= 0 ;
3946 PyObject
* obj5
= 0 ;
3947 PyObject
* obj6
= 0 ;
3948 PyObject
* obj7
= 0 ;
3949 PyObject
* obj8
= 0 ;
3950 char * kwnames
[] = {
3951 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
3956 if (!SWIG_IsOK(res1
)) {
3957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_Create" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
3959 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
3960 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3961 if (!SWIG_IsOK(res2
)) {
3962 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3964 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3966 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3967 if (!SWIG_IsOK(ecode3
)) {
3968 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_Create" "', expected argument " "3"" of type '" "int""'");
3970 arg3
= static_cast< int >(val3
);
3973 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3974 if (!SWIG_IsOK(res4
)) {
3975 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3978 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3980 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
3985 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3991 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3995 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3996 if (!SWIG_IsOK(ecode7
)) {
3997 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "BitmapButton_Create" "', expected argument " "7"" of type '" "long""'");
3999 arg7
= static_cast< long >(val7
);
4002 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4003 if (!SWIG_IsOK(res8
)) {
4004 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4007 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4009 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4013 arg9
= wxString_in_helper(obj8
);
4014 if (arg9
== NULL
) SWIG_fail
;
4019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4020 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4021 wxPyEndAllowThreads(__tstate
);
4022 if (PyErr_Occurred()) SWIG_fail
;
4025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4041 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4042 PyObject
*resultobj
= 0;
4043 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4047 PyObject
*swig_obj
[1] ;
4049 if (!args
) SWIG_fail
;
4051 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4052 if (!SWIG_IsOK(res1
)) {
4053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4055 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4058 result
= (arg1
)->GetBitmapLabel();
4059 wxPyEndAllowThreads(__tstate
);
4060 if (PyErr_Occurred()) SWIG_fail
;
4062 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4069 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4070 PyObject
*resultobj
= 0;
4071 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4075 PyObject
*swig_obj
[1] ;
4077 if (!args
) SWIG_fail
;
4079 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4080 if (!SWIG_IsOK(res1
)) {
4081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4083 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4086 result
= (arg1
)->GetBitmapDisabled();
4087 wxPyEndAllowThreads(__tstate
);
4088 if (PyErr_Occurred()) SWIG_fail
;
4090 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4097 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4098 PyObject
*resultobj
= 0;
4099 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4103 PyObject
*swig_obj
[1] ;
4105 if (!args
) SWIG_fail
;
4107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4108 if (!SWIG_IsOK(res1
)) {
4109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4111 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4114 result
= (arg1
)->GetBitmapFocus();
4115 wxPyEndAllowThreads(__tstate
);
4116 if (PyErr_Occurred()) SWIG_fail
;
4118 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4125 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4126 PyObject
*resultobj
= 0;
4127 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4131 PyObject
*swig_obj
[1] ;
4133 if (!args
) SWIG_fail
;
4135 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4136 if (!SWIG_IsOK(res1
)) {
4137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4139 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4142 result
= (arg1
)->GetBitmapSelected();
4143 wxPyEndAllowThreads(__tstate
);
4144 if (PyErr_Occurred()) SWIG_fail
;
4146 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4153 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4154 PyObject
*resultobj
= 0;
4155 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4159 PyObject
*swig_obj
[1] ;
4161 if (!args
) SWIG_fail
;
4163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4164 if (!SWIG_IsOK(res1
)) {
4165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4167 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4170 result
= (arg1
)->GetBitmapHover();
4171 wxPyEndAllowThreads(__tstate
);
4172 if (PyErr_Occurred()) SWIG_fail
;
4174 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4181 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4182 PyObject
*resultobj
= 0;
4183 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4184 wxBitmap
*arg2
= 0 ;
4189 PyObject
* obj0
= 0 ;
4190 PyObject
* obj1
= 0 ;
4191 char * kwnames
[] = {
4192 (char *) "self",(char *) "bitmap", NULL
4195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4197 if (!SWIG_IsOK(res1
)) {
4198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4200 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4201 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4202 if (!SWIG_IsOK(res2
)) {
4203 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4206 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4208 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4211 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
4212 wxPyEndAllowThreads(__tstate
);
4213 if (PyErr_Occurred()) SWIG_fail
;
4215 resultobj
= SWIG_Py_Void();
4222 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4223 PyObject
*resultobj
= 0;
4224 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4225 wxBitmap
*arg2
= 0 ;
4230 PyObject
* obj0
= 0 ;
4231 PyObject
* obj1
= 0 ;
4232 char * kwnames
[] = {
4233 (char *) "self",(char *) "bitmap", NULL
4236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4238 if (!SWIG_IsOK(res1
)) {
4239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4241 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4242 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4243 if (!SWIG_IsOK(res2
)) {
4244 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4247 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4249 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4252 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
4253 wxPyEndAllowThreads(__tstate
);
4254 if (PyErr_Occurred()) SWIG_fail
;
4256 resultobj
= SWIG_Py_Void();
4263 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4264 PyObject
*resultobj
= 0;
4265 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4266 wxBitmap
*arg2
= 0 ;
4271 PyObject
* obj0
= 0 ;
4272 PyObject
* obj1
= 0 ;
4273 char * kwnames
[] = {
4274 (char *) "self",(char *) "bitmap", NULL
4277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4279 if (!SWIG_IsOK(res1
)) {
4280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4282 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4283 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4284 if (!SWIG_IsOK(res2
)) {
4285 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4288 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4290 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4293 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
4294 wxPyEndAllowThreads(__tstate
);
4295 if (PyErr_Occurred()) SWIG_fail
;
4297 resultobj
= SWIG_Py_Void();
4304 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4305 PyObject
*resultobj
= 0;
4306 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4307 wxBitmap
*arg2
= 0 ;
4312 PyObject
* obj0
= 0 ;
4313 PyObject
* obj1
= 0 ;
4314 char * kwnames
[] = {
4315 (char *) "self",(char *) "bitmap", NULL
4318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4320 if (!SWIG_IsOK(res1
)) {
4321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4323 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4324 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4325 if (!SWIG_IsOK(res2
)) {
4326 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4329 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4331 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4334 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
4335 wxPyEndAllowThreads(__tstate
);
4336 if (PyErr_Occurred()) SWIG_fail
;
4338 resultobj
= SWIG_Py_Void();
4345 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4346 PyObject
*resultobj
= 0;
4347 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4348 wxBitmap
*arg2
= 0 ;
4353 PyObject
* obj0
= 0 ;
4354 PyObject
* obj1
= 0 ;
4355 char * kwnames
[] = {
4356 (char *) "self",(char *) "hover", NULL
4359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapHover",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4361 if (!SWIG_IsOK(res1
)) {
4362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4364 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4365 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4366 if (!SWIG_IsOK(res2
)) {
4367 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4370 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4372 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4375 (arg1
)->SetBitmapHover((wxBitmap
const &)*arg2
);
4376 wxPyEndAllowThreads(__tstate
);
4377 if (PyErr_Occurred()) SWIG_fail
;
4379 resultobj
= SWIG_Py_Void();
4386 SWIGINTERN PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4387 PyObject
*resultobj
= 0;
4388 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4397 PyObject
* obj0
= 0 ;
4398 PyObject
* obj1
= 0 ;
4399 PyObject
* obj2
= 0 ;
4400 char * kwnames
[] = {
4401 (char *) "self",(char *) "x",(char *) "y", NULL
4404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4406 if (!SWIG_IsOK(res1
)) {
4407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetMargins" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4409 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4410 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4411 if (!SWIG_IsOK(ecode2
)) {
4412 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BitmapButton_SetMargins" "', expected argument " "2"" of type '" "int""'");
4414 arg2
= static_cast< int >(val2
);
4415 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4416 if (!SWIG_IsOK(ecode3
)) {
4417 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_SetMargins" "', expected argument " "3"" of type '" "int""'");
4419 arg3
= static_cast< int >(val3
);
4421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4422 (arg1
)->SetMargins(arg2
,arg3
);
4423 wxPyEndAllowThreads(__tstate
);
4424 if (PyErr_Occurred()) SWIG_fail
;
4426 resultobj
= SWIG_Py_Void();
4433 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4434 PyObject
*resultobj
= 0;
4435 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4439 PyObject
*swig_obj
[1] ;
4441 if (!args
) SWIG_fail
;
4443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4444 if (!SWIG_IsOK(res1
)) {
4445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginX" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4447 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4450 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
4451 wxPyEndAllowThreads(__tstate
);
4452 if (PyErr_Occurred()) SWIG_fail
;
4454 resultobj
= SWIG_From_int(static_cast< int >(result
));
4461 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4462 PyObject
*resultobj
= 0;
4463 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4467 PyObject
*swig_obj
[1] ;
4469 if (!args
) SWIG_fail
;
4471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4472 if (!SWIG_IsOK(res1
)) {
4473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginY" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4475 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4478 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
4479 wxPyEndAllowThreads(__tstate
);
4480 if (PyErr_Occurred()) SWIG_fail
;
4482 resultobj
= SWIG_From_int(static_cast< int >(result
));
4489 SWIGINTERN PyObject
*BitmapButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4491 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4492 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapButton
, SWIG_NewClientData(obj
));
4493 return SWIG_Py_Void();
4496 SWIGINTERN PyObject
*BitmapButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4497 return SWIG_Python_InitShadowInstance(args
);
4500 SWIGINTERN
int CheckBoxNameStr_set(PyObject
*) {
4501 SWIG_Error(SWIG_AttributeError
,"Variable CheckBoxNameStr is read-only.");
4506 SWIGINTERN PyObject
*CheckBoxNameStr_get(void) {
4507 PyObject
*pyobj
= 0;
4511 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4513 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4520 SWIGINTERN PyObject
*_wrap_new_CheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4521 PyObject
*resultobj
= 0;
4522 wxWindow
*arg1
= (wxWindow
*) 0 ;
4523 int arg2
= (int) -1 ;
4524 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4525 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4526 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4527 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4528 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4529 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4530 long arg6
= (long) 0 ;
4531 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
4532 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
4533 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
4534 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4535 wxCheckBox
*result
= 0 ;
4540 bool temp3
= false ;
4547 bool temp8
= false ;
4548 PyObject
* obj0
= 0 ;
4549 PyObject
* obj1
= 0 ;
4550 PyObject
* obj2
= 0 ;
4551 PyObject
* obj3
= 0 ;
4552 PyObject
* obj4
= 0 ;
4553 PyObject
* obj5
= 0 ;
4554 PyObject
* obj6
= 0 ;
4555 PyObject
* obj7
= 0 ;
4556 char * kwnames
[] = {
4557 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4562 if (!SWIG_IsOK(res1
)) {
4563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckBox" "', expected argument " "1"" of type '" "wxWindow *""'");
4565 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4567 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4568 if (!SWIG_IsOK(ecode2
)) {
4569 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckBox" "', expected argument " "2"" of type '" "int""'");
4571 arg2
= static_cast< int >(val2
);
4575 arg3
= wxString_in_helper(obj2
);
4576 if (arg3
== NULL
) SWIG_fail
;
4583 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4589 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4593 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4594 if (!SWIG_IsOK(ecode6
)) {
4595 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckBox" "', expected argument " "6"" of type '" "long""'");
4597 arg6
= static_cast< long >(val6
);
4600 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
4601 if (!SWIG_IsOK(res7
)) {
4602 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4605 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4607 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
4611 arg8
= wxString_in_helper(obj7
);
4612 if (arg8
== NULL
) SWIG_fail
;
4617 if (!wxPyCheckForApp()) SWIG_fail
;
4618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4619 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4620 wxPyEndAllowThreads(__tstate
);
4621 if (PyErr_Occurred()) SWIG_fail
;
4623 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_NEW
| 0 );
4646 SWIGINTERN PyObject
*_wrap_new_PreCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4647 PyObject
*resultobj
= 0;
4648 wxCheckBox
*result
= 0 ;
4650 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckBox",0,0,0)) SWIG_fail
;
4652 if (!wxPyCheckForApp()) SWIG_fail
;
4653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4654 result
= (wxCheckBox
*)new wxCheckBox();
4655 wxPyEndAllowThreads(__tstate
);
4656 if (PyErr_Occurred()) SWIG_fail
;
4658 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_OWN
| 0 );
4665 SWIGINTERN PyObject
*_wrap_CheckBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4666 PyObject
*resultobj
= 0;
4667 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4668 wxWindow
*arg2
= (wxWindow
*) 0 ;
4669 int arg3
= (int) -1 ;
4670 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4671 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4672 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4673 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4674 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4675 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4676 long arg7
= (long) 0 ;
4677 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4678 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4679 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
4680 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4688 bool temp4
= false ;
4695 bool temp9
= false ;
4696 PyObject
* obj0
= 0 ;
4697 PyObject
* obj1
= 0 ;
4698 PyObject
* obj2
= 0 ;
4699 PyObject
* obj3
= 0 ;
4700 PyObject
* obj4
= 0 ;
4701 PyObject
* obj5
= 0 ;
4702 PyObject
* obj6
= 0 ;
4703 PyObject
* obj7
= 0 ;
4704 PyObject
* obj8
= 0 ;
4705 char * kwnames
[] = {
4706 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
4710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4711 if (!SWIG_IsOK(res1
)) {
4712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Create" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4714 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4715 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4716 if (!SWIG_IsOK(res2
)) {
4717 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4719 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4721 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4722 if (!SWIG_IsOK(ecode3
)) {
4723 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckBox_Create" "', expected argument " "3"" of type '" "int""'");
4725 arg3
= static_cast< int >(val3
);
4729 arg4
= wxString_in_helper(obj3
);
4730 if (arg4
== NULL
) SWIG_fail
;
4737 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4743 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4747 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4748 if (!SWIG_IsOK(ecode7
)) {
4749 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckBox_Create" "', expected argument " "7"" of type '" "long""'");
4751 arg7
= static_cast< long >(val7
);
4754 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4755 if (!SWIG_IsOK(res8
)) {
4756 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4759 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4761 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4765 arg9
= wxString_in_helper(obj8
);
4766 if (arg9
== NULL
) SWIG_fail
;
4771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4772 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4773 wxPyEndAllowThreads(__tstate
);
4774 if (PyErr_Occurred()) SWIG_fail
;
4777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4801 SWIGINTERN PyObject
*_wrap_CheckBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4802 PyObject
*resultobj
= 0;
4803 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4807 PyObject
*swig_obj
[1] ;
4809 if (!args
) SWIG_fail
;
4811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4812 if (!SWIG_IsOK(res1
)) {
4813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_GetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4815 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4818 result
= (bool)(arg1
)->GetValue();
4819 wxPyEndAllowThreads(__tstate
);
4820 if (PyErr_Occurred()) SWIG_fail
;
4823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4831 SWIGINTERN PyObject
*_wrap_CheckBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4832 PyObject
*resultobj
= 0;
4833 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4837 PyObject
*swig_obj
[1] ;
4839 if (!args
) SWIG_fail
;
4841 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4842 if (!SWIG_IsOK(res1
)) {
4843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4845 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4848 result
= (bool)(arg1
)->IsChecked();
4849 wxPyEndAllowThreads(__tstate
);
4850 if (PyErr_Occurred()) SWIG_fail
;
4853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4861 SWIGINTERN PyObject
*_wrap_CheckBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4862 PyObject
*resultobj
= 0;
4863 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4869 PyObject
* obj0
= 0 ;
4870 PyObject
* obj1
= 0 ;
4871 char * kwnames
[] = {
4872 (char *) "self",(char *) "state", NULL
4875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4877 if (!SWIG_IsOK(res1
)) {
4878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_SetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4880 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4881 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4882 if (!SWIG_IsOK(ecode2
)) {
4883 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_SetValue" "', expected argument " "2"" of type '" "bool""'");
4885 arg2
= static_cast< bool >(val2
);
4887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4888 (arg1
)->SetValue(arg2
);
4889 wxPyEndAllowThreads(__tstate
);
4890 if (PyErr_Occurred()) SWIG_fail
;
4892 resultobj
= SWIG_Py_Void();
4899 SWIGINTERN PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4900 PyObject
*resultobj
= 0;
4901 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4902 wxCheckBoxState result
;
4905 PyObject
*swig_obj
[1] ;
4907 if (!args
) SWIG_fail
;
4909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4910 if (!SWIG_IsOK(res1
)) {
4911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Get3StateValue" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4913 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4916 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
4917 wxPyEndAllowThreads(__tstate
);
4918 if (PyErr_Occurred()) SWIG_fail
;
4920 resultobj
= SWIG_From_int(static_cast< int >(result
));
4927 SWIGINTERN PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4928 PyObject
*resultobj
= 0;
4929 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4930 wxCheckBoxState arg2
;
4935 PyObject
* obj0
= 0 ;
4936 PyObject
* obj1
= 0 ;
4937 char * kwnames
[] = {
4938 (char *) "self",(char *) "state", NULL
4941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4943 if (!SWIG_IsOK(res1
)) {
4944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4946 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4947 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4948 if (!SWIG_IsOK(ecode2
)) {
4949 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "2"" of type '" "wxCheckBoxState""'");
4951 arg2
= static_cast< wxCheckBoxState
>(val2
);
4953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4954 (arg1
)->Set3StateValue(arg2
);
4955 wxPyEndAllowThreads(__tstate
);
4956 if (PyErr_Occurred()) SWIG_fail
;
4958 resultobj
= SWIG_Py_Void();
4965 SWIGINTERN PyObject
*_wrap_CheckBox_Is3State(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4966 PyObject
*resultobj
= 0;
4967 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4971 PyObject
*swig_obj
[1] ;
4973 if (!args
) SWIG_fail
;
4975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4976 if (!SWIG_IsOK(res1
)) {
4977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3State" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4979 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4982 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
4983 wxPyEndAllowThreads(__tstate
);
4984 if (PyErr_Occurred()) SWIG_fail
;
4987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4995 SWIGINTERN PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4996 PyObject
*resultobj
= 0;
4997 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
5001 PyObject
*swig_obj
[1] ;
5003 if (!args
) SWIG_fail
;
5005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
5006 if (!SWIG_IsOK(res1
)) {
5007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3rdStateAllowedForUser" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
5009 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
5011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5012 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
5013 wxPyEndAllowThreads(__tstate
);
5014 if (PyErr_Occurred()) SWIG_fail
;
5017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5025 SWIGINTERN PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5026 PyObject
*resultobj
= 0;
5027 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5028 SwigValueWrapper
<wxVisualAttributes
> result
;
5031 PyObject
* obj0
= 0 ;
5032 char * kwnames
[] = {
5033 (char *) "variant", NULL
5036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5038 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5039 if (!SWIG_IsOK(ecode1
)) {
5040 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "CheckBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5042 arg1
= static_cast< wxWindowVariant
>(val1
);
5045 if (!wxPyCheckForApp()) SWIG_fail
;
5046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5047 result
= wxCheckBox::GetClassDefaultAttributes(arg1
);
5048 wxPyEndAllowThreads(__tstate
);
5049 if (PyErr_Occurred()) SWIG_fail
;
5051 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5058 SWIGINTERN PyObject
*CheckBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5060 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5061 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckBox
, SWIG_NewClientData(obj
));
5062 return SWIG_Py_Void();
5065 SWIGINTERN PyObject
*CheckBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5066 return SWIG_Python_InitShadowInstance(args
);
5069 SWIGINTERN
int ChoiceNameStr_set(PyObject
*) {
5070 SWIG_Error(SWIG_AttributeError
,"Variable ChoiceNameStr is read-only.");
5075 SWIGINTERN PyObject
*ChoiceNameStr_get(void) {
5076 PyObject
*pyobj
= 0;
5080 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5082 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5089 SWIGINTERN PyObject
*_wrap_new_Choice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5090 PyObject
*resultobj
= 0;
5091 wxWindow
*arg1
= (wxWindow
*) 0 ;
5092 int arg2
= (int) -1 ;
5093 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5094 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5095 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5096 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5097 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5098 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5099 long arg6
= (long) 0 ;
5100 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5101 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5102 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
5103 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5104 wxChoice
*result
= 0 ;
5111 bool temp5
= false ;
5116 bool temp8
= false ;
5117 PyObject
* obj0
= 0 ;
5118 PyObject
* obj1
= 0 ;
5119 PyObject
* obj2
= 0 ;
5120 PyObject
* obj3
= 0 ;
5121 PyObject
* obj4
= 0 ;
5122 PyObject
* obj5
= 0 ;
5123 PyObject
* obj6
= 0 ;
5124 PyObject
* obj7
= 0 ;
5125 char * kwnames
[] = {
5126 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
5130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5131 if (!SWIG_IsOK(res1
)) {
5132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choice" "', expected argument " "1"" of type '" "wxWindow *""'");
5134 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5136 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5137 if (!SWIG_IsOK(ecode2
)) {
5138 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choice" "', expected argument " "2"" of type '" "int""'");
5140 arg2
= static_cast< int >(val2
);
5145 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5151 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5156 if (! PySequence_Check(obj4
)) {
5157 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5160 arg5
= new wxArrayString
;
5162 int i
, len
=PySequence_Length(obj4
);
5163 for (i
=0; i
<len
; i
++) {
5164 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5165 wxString
* s
= wxString_in_helper(item
);
5166 if (PyErr_Occurred()) SWIG_fail
;
5174 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
5175 if (!SWIG_IsOK(ecode6
)) {
5176 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Choice" "', expected argument " "6"" of type '" "long""'");
5178 arg6
= static_cast< long >(val6
);
5181 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
5182 if (!SWIG_IsOK(res7
)) {
5183 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5186 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5188 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
5192 arg8
= wxString_in_helper(obj7
);
5193 if (arg8
== NULL
) SWIG_fail
;
5198 if (!wxPyCheckForApp()) SWIG_fail
;
5199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5200 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5201 wxPyEndAllowThreads(__tstate
);
5202 if (PyErr_Occurred()) SWIG_fail
;
5204 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_NEW
| 0 );
5206 if (temp5
) delete arg5
;
5215 if (temp5
) delete arg5
;
5225 SWIGINTERN PyObject
*_wrap_new_PreChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5226 PyObject
*resultobj
= 0;
5227 wxChoice
*result
= 0 ;
5229 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoice",0,0,0)) SWIG_fail
;
5231 if (!wxPyCheckForApp()) SWIG_fail
;
5232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5233 result
= (wxChoice
*)new wxChoice();
5234 wxPyEndAllowThreads(__tstate
);
5235 if (PyErr_Occurred()) SWIG_fail
;
5237 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_OWN
| 0 );
5244 SWIGINTERN PyObject
*_wrap_Choice_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5245 PyObject
*resultobj
= 0;
5246 wxChoice
*arg1
= (wxChoice
*) 0 ;
5247 wxWindow
*arg2
= (wxWindow
*) 0 ;
5248 int arg3
= (int) -1 ;
5249 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5250 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5251 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5252 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5253 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5254 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5255 long arg7
= (long) 0 ;
5256 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5257 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5258 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
5259 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5269 bool temp6
= false ;
5274 bool temp9
= false ;
5275 PyObject
* obj0
= 0 ;
5276 PyObject
* obj1
= 0 ;
5277 PyObject
* obj2
= 0 ;
5278 PyObject
* obj3
= 0 ;
5279 PyObject
* obj4
= 0 ;
5280 PyObject
* obj5
= 0 ;
5281 PyObject
* obj6
= 0 ;
5282 PyObject
* obj7
= 0 ;
5283 PyObject
* obj8
= 0 ;
5284 char * kwnames
[] = {
5285 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5290 if (!SWIG_IsOK(res1
)) {
5291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_Create" "', expected argument " "1"" of type '" "wxChoice *""'");
5293 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5294 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5295 if (!SWIG_IsOK(res2
)) {
5296 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choice_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5298 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5300 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5301 if (!SWIG_IsOK(ecode3
)) {
5302 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choice_Create" "', expected argument " "3"" of type '" "int""'");
5304 arg3
= static_cast< int >(val3
);
5309 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5315 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5320 if (! PySequence_Check(obj5
)) {
5321 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5324 arg6
= new wxArrayString
;
5326 int i
, len
=PySequence_Length(obj5
);
5327 for (i
=0; i
<len
; i
++) {
5328 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5329 wxString
* s
= wxString_in_helper(item
);
5330 if (PyErr_Occurred()) SWIG_fail
;
5338 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5339 if (!SWIG_IsOK(ecode7
)) {
5340 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Choice_Create" "', expected argument " "7"" of type '" "long""'");
5342 arg7
= static_cast< long >(val7
);
5345 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5346 if (!SWIG_IsOK(res8
)) {
5347 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5350 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5352 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5356 arg9
= wxString_in_helper(obj8
);
5357 if (arg9
== NULL
) SWIG_fail
;
5362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5363 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5364 wxPyEndAllowThreads(__tstate
);
5365 if (PyErr_Occurred()) SWIG_fail
;
5368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5371 if (temp6
) delete arg6
;
5380 if (temp6
) delete arg6
;
5390 SWIGINTERN PyObject
*_wrap_Choice_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5391 PyObject
*resultobj
= 0;
5392 wxChoice
*arg1
= (wxChoice
*) 0 ;
5396 PyObject
*swig_obj
[1] ;
5398 if (!args
) SWIG_fail
;
5400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5401 if (!SWIG_IsOK(res1
)) {
5402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_GetCurrentSelection" "', expected argument " "1"" of type '" "wxChoice const *""'");
5404 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5407 result
= (int)((wxChoice
const *)arg1
)->GetCurrentSelection();
5408 wxPyEndAllowThreads(__tstate
);
5409 if (PyErr_Occurred()) SWIG_fail
;
5411 resultobj
= SWIG_From_int(static_cast< int >(result
));
5418 SWIGINTERN PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5419 PyObject
*resultobj
= 0;
5420 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5421 SwigValueWrapper
<wxVisualAttributes
> result
;
5424 PyObject
* obj0
= 0 ;
5425 char * kwnames
[] = {
5426 (char *) "variant", NULL
5429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5431 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5432 if (!SWIG_IsOK(ecode1
)) {
5433 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Choice_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5435 arg1
= static_cast< wxWindowVariant
>(val1
);
5438 if (!wxPyCheckForApp()) SWIG_fail
;
5439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5440 result
= wxChoice::GetClassDefaultAttributes(arg1
);
5441 wxPyEndAllowThreads(__tstate
);
5442 if (PyErr_Occurred()) SWIG_fail
;
5444 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5451 SWIGINTERN PyObject
*Choice_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5453 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5454 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoice
, SWIG_NewClientData(obj
));
5455 return SWIG_Py_Void();
5458 SWIGINTERN PyObject
*Choice_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5459 return SWIG_Python_InitShadowInstance(args
);
5462 SWIGINTERN
int ComboBoxNameStr_set(PyObject
*) {
5463 SWIG_Error(SWIG_AttributeError
,"Variable ComboBoxNameStr is read-only.");
5468 SWIGINTERN PyObject
*ComboBoxNameStr_get(void) {
5469 PyObject
*pyobj
= 0;
5473 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5475 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5482 SWIGINTERN PyObject
*_wrap_new_ComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5483 PyObject
*resultobj
= 0;
5484 wxWindow
*arg1
= (wxWindow
*) 0 ;
5485 int arg2
= (int) -1 ;
5486 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5487 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5488 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5489 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5490 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5491 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5492 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5493 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5494 long arg7
= (long) 0 ;
5495 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5496 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5497 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
5498 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5499 wxComboBox
*result
= 0 ;
5504 bool temp3
= false ;
5507 bool temp6
= false ;
5512 bool temp9
= false ;
5513 PyObject
* obj0
= 0 ;
5514 PyObject
* obj1
= 0 ;
5515 PyObject
* obj2
= 0 ;
5516 PyObject
* obj3
= 0 ;
5517 PyObject
* obj4
= 0 ;
5518 PyObject
* obj5
= 0 ;
5519 PyObject
* obj6
= 0 ;
5520 PyObject
* obj7
= 0 ;
5521 PyObject
* obj8
= 0 ;
5522 char * kwnames
[] = {
5523 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5528 if (!SWIG_IsOK(res1
)) {
5529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ComboBox" "', expected argument " "1"" of type '" "wxWindow *""'");
5531 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5533 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5534 if (!SWIG_IsOK(ecode2
)) {
5535 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ComboBox" "', expected argument " "2"" of type '" "int""'");
5537 arg2
= static_cast< int >(val2
);
5541 arg3
= wxString_in_helper(obj2
);
5542 if (arg3
== NULL
) SWIG_fail
;
5549 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5555 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5560 if (! PySequence_Check(obj5
)) {
5561 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5564 arg6
= new wxArrayString
;
5566 int i
, len
=PySequence_Length(obj5
);
5567 for (i
=0; i
<len
; i
++) {
5568 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5569 wxString
* s
= wxString_in_helper(item
);
5570 if (PyErr_Occurred()) SWIG_fail
;
5578 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5579 if (!SWIG_IsOK(ecode7
)) {
5580 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_ComboBox" "', expected argument " "7"" of type '" "long""'");
5582 arg7
= static_cast< long >(val7
);
5585 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5586 if (!SWIG_IsOK(res8
)) {
5587 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5590 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5592 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5596 arg9
= wxString_in_helper(obj8
);
5597 if (arg9
== NULL
) SWIG_fail
;
5602 if (!wxPyCheckForApp()) SWIG_fail
;
5603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5604 result
= (wxComboBox
*)new wxComboBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5605 wxPyEndAllowThreads(__tstate
);
5606 if (PyErr_Occurred()) SWIG_fail
;
5608 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_NEW
| 0 );
5614 if (temp6
) delete arg6
;
5627 if (temp6
) delete arg6
;
5637 SWIGINTERN PyObject
*_wrap_new_PreComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5638 PyObject
*resultobj
= 0;
5639 wxComboBox
*result
= 0 ;
5641 if (!SWIG_Python_UnpackTuple(args
,"new_PreComboBox",0,0,0)) SWIG_fail
;
5643 if (!wxPyCheckForApp()) SWIG_fail
;
5644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5645 result
= (wxComboBox
*)new wxComboBox();
5646 wxPyEndAllowThreads(__tstate
);
5647 if (PyErr_Occurred()) SWIG_fail
;
5649 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_OWN
| 0 );
5656 SWIGINTERN PyObject
*_wrap_ComboBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5657 PyObject
*resultobj
= 0;
5658 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5659 wxWindow
*arg2
= (wxWindow
*) 0 ;
5660 int arg3
= (int) -1 ;
5661 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5662 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5663 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5664 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5665 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5666 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5667 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
5668 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
5669 long arg8
= (long) 0 ;
5670 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
5671 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
5672 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
5673 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
5681 bool temp4
= false ;
5684 bool temp7
= false ;
5689 bool temp10
= false ;
5690 PyObject
* obj0
= 0 ;
5691 PyObject
* obj1
= 0 ;
5692 PyObject
* obj2
= 0 ;
5693 PyObject
* obj3
= 0 ;
5694 PyObject
* obj4
= 0 ;
5695 PyObject
* obj5
= 0 ;
5696 PyObject
* obj6
= 0 ;
5697 PyObject
* obj7
= 0 ;
5698 PyObject
* obj8
= 0 ;
5699 PyObject
* obj9
= 0 ;
5700 char * kwnames
[] = {
5701 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
5705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5706 if (!SWIG_IsOK(res1
)) {
5707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Create" "', expected argument " "1"" of type '" "wxComboBox *""'");
5709 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5710 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5711 if (!SWIG_IsOK(res2
)) {
5712 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ComboBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5714 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5716 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5717 if (!SWIG_IsOK(ecode3
)) {
5718 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Create" "', expected argument " "3"" of type '" "int""'");
5720 arg3
= static_cast< int >(val3
);
5724 arg4
= wxString_in_helper(obj3
);
5725 if (arg4
== NULL
) SWIG_fail
;
5732 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5738 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5743 if (! PySequence_Check(obj6
)) {
5744 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5747 arg7
= new wxArrayString
;
5749 int i
, len
=PySequence_Length(obj6
);
5750 for (i
=0; i
<len
; i
++) {
5751 PyObject
* item
= PySequence_GetItem(obj6
, i
);
5752 wxString
* s
= wxString_in_helper(item
);
5753 if (PyErr_Occurred()) SWIG_fail
;
5761 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
5762 if (!SWIG_IsOK(ecode8
)) {
5763 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ComboBox_Create" "', expected argument " "8"" of type '" "long""'");
5765 arg8
= static_cast< long >(val8
);
5768 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
5769 if (!SWIG_IsOK(res9
)) {
5770 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5773 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5775 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
5779 arg10
= wxString_in_helper(obj9
);
5780 if (arg10
== NULL
) SWIG_fail
;
5785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5786 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxArrayString
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
5787 wxPyEndAllowThreads(__tstate
);
5788 if (PyErr_Occurred()) SWIG_fail
;
5791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5798 if (temp7
) delete arg7
;
5811 if (temp7
) delete arg7
;
5821 SWIGINTERN PyObject
*_wrap_ComboBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5822 PyObject
*resultobj
= 0;
5823 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5827 PyObject
*swig_obj
[1] ;
5829 if (!args
) SWIG_fail
;
5831 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5832 if (!SWIG_IsOK(res1
)) {
5833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetValue" "', expected argument " "1"" of type '" "wxComboBox const *""'");
5835 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5838 result
= ((wxComboBox
const *)arg1
)->GetValue();
5839 wxPyEndAllowThreads(__tstate
);
5840 if (PyErr_Occurred()) SWIG_fail
;
5844 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5846 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5855 SWIGINTERN PyObject
*_wrap_ComboBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5856 PyObject
*resultobj
= 0;
5857 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5858 wxString
*arg2
= 0 ;
5861 bool temp2
= false ;
5862 PyObject
* obj0
= 0 ;
5863 PyObject
* obj1
= 0 ;
5864 char * kwnames
[] = {
5865 (char *) "self",(char *) "value", NULL
5868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5870 if (!SWIG_IsOK(res1
)) {
5871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetValue" "', expected argument " "1"" of type '" "wxComboBox *""'");
5873 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5875 arg2
= wxString_in_helper(obj1
);
5876 if (arg2
== NULL
) SWIG_fail
;
5880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5881 (arg1
)->SetValue((wxString
const &)*arg2
);
5882 wxPyEndAllowThreads(__tstate
);
5883 if (PyErr_Occurred()) SWIG_fail
;
5885 resultobj
= SWIG_Py_Void();
5900 SWIGINTERN PyObject
*_wrap_ComboBox_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5901 PyObject
*resultobj
= 0;
5902 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5905 PyObject
*swig_obj
[1] ;
5907 if (!args
) SWIG_fail
;
5909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5910 if (!SWIG_IsOK(res1
)) {
5911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Copy" "', expected argument " "1"" of type '" "wxComboBox *""'");
5913 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5917 wxPyEndAllowThreads(__tstate
);
5918 if (PyErr_Occurred()) SWIG_fail
;
5920 resultobj
= SWIG_Py_Void();
5927 SWIGINTERN PyObject
*_wrap_ComboBox_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5928 PyObject
*resultobj
= 0;
5929 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5932 PyObject
*swig_obj
[1] ;
5934 if (!args
) SWIG_fail
;
5936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5937 if (!SWIG_IsOK(res1
)) {
5938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Cut" "', expected argument " "1"" of type '" "wxComboBox *""'");
5940 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5944 wxPyEndAllowThreads(__tstate
);
5945 if (PyErr_Occurred()) SWIG_fail
;
5947 resultobj
= SWIG_Py_Void();
5954 SWIGINTERN PyObject
*_wrap_ComboBox_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5955 PyObject
*resultobj
= 0;
5956 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5959 PyObject
*swig_obj
[1] ;
5961 if (!args
) SWIG_fail
;
5963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5964 if (!SWIG_IsOK(res1
)) {
5965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Paste" "', expected argument " "1"" of type '" "wxComboBox *""'");
5967 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5971 wxPyEndAllowThreads(__tstate
);
5972 if (PyErr_Occurred()) SWIG_fail
;
5974 resultobj
= SWIG_Py_Void();
5981 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5982 PyObject
*resultobj
= 0;
5983 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5989 PyObject
* obj0
= 0 ;
5990 PyObject
* obj1
= 0 ;
5991 char * kwnames
[] = {
5992 (char *) "self",(char *) "pos", NULL
5995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5997 if (!SWIG_IsOK(res1
)) {
5998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox *""'");
6000 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6001 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6002 if (!SWIG_IsOK(ecode2
)) {
6003 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
6005 arg2
= static_cast< long >(val2
);
6007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6008 (arg1
)->SetInsertionPoint(arg2
);
6009 wxPyEndAllowThreads(__tstate
);
6010 if (PyErr_Occurred()) SWIG_fail
;
6012 resultobj
= SWIG_Py_Void();
6019 SWIGINTERN PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6020 PyObject
*resultobj
= 0;
6021 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6025 PyObject
*swig_obj
[1] ;
6027 if (!args
) SWIG_fail
;
6029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6030 if (!SWIG_IsOK(res1
)) {
6031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6033 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6036 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
6037 wxPyEndAllowThreads(__tstate
);
6038 if (PyErr_Occurred()) SWIG_fail
;
6040 resultobj
= SWIG_From_long(static_cast< long >(result
));
6047 SWIGINTERN PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6048 PyObject
*resultobj
= 0;
6049 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6053 PyObject
*swig_obj
[1] ;
6055 if (!args
) SWIG_fail
;
6057 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6058 if (!SWIG_IsOK(res1
)) {
6059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetLastPosition" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6061 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6064 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
6065 wxPyEndAllowThreads(__tstate
);
6066 if (PyErr_Occurred()) SWIG_fail
;
6068 resultobj
= SWIG_From_long(static_cast< long >(result
));
6075 SWIGINTERN PyObject
*_wrap_ComboBox_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6076 PyObject
*resultobj
= 0;
6077 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6080 wxString
*arg4
= 0 ;
6087 bool temp4
= false ;
6088 PyObject
* obj0
= 0 ;
6089 PyObject
* obj1
= 0 ;
6090 PyObject
* obj2
= 0 ;
6091 PyObject
* obj3
= 0 ;
6092 char * kwnames
[] = {
6093 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6098 if (!SWIG_IsOK(res1
)) {
6099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Replace" "', expected argument " "1"" of type '" "wxComboBox *""'");
6101 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6102 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6103 if (!SWIG_IsOK(ecode2
)) {
6104 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Replace" "', expected argument " "2"" of type '" "long""'");
6106 arg2
= static_cast< long >(val2
);
6107 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6108 if (!SWIG_IsOK(ecode3
)) {
6109 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Replace" "', expected argument " "3"" of type '" "long""'");
6111 arg3
= static_cast< long >(val3
);
6113 arg4
= wxString_in_helper(obj3
);
6114 if (arg4
== NULL
) SWIG_fail
;
6118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6119 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
6120 wxPyEndAllowThreads(__tstate
);
6121 if (PyErr_Occurred()) SWIG_fail
;
6123 resultobj
= SWIG_Py_Void();
6138 SWIGINTERN PyObject
*_wrap_ComboBox_SetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6139 PyObject
*resultobj
= 0;
6140 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6149 PyObject
* obj0
= 0 ;
6150 PyObject
* obj1
= 0 ;
6151 PyObject
* obj2
= 0 ;
6152 char * kwnames
[] = {
6153 (char *) "self",(char *) "from",(char *) "to", NULL
6156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6158 if (!SWIG_IsOK(res1
)) {
6159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6161 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6162 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6163 if (!SWIG_IsOK(ecode2
)) {
6164 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetMark" "', expected argument " "2"" of type '" "long""'");
6166 arg2
= static_cast< long >(val2
);
6167 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6168 if (!SWIG_IsOK(ecode3
)) {
6169 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_SetMark" "', expected argument " "3"" of type '" "long""'");
6171 arg3
= static_cast< long >(val3
);
6173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6174 (arg1
)->SetSelection(arg2
,arg3
);
6175 wxPyEndAllowThreads(__tstate
);
6176 if (PyErr_Occurred()) SWIG_fail
;
6178 resultobj
= SWIG_Py_Void();
6185 SWIGINTERN PyObject
*_wrap_ComboBox_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
);
10838 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10841 arg2
->Add(PyInt_AS_LONG(number
));
10847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10848 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
10849 wxPyEndAllowThreads(__tstate
);
10850 if (PyErr_Occurred()) SWIG_fail
;
10852 resultobj
= SWIG_Py_Void();
10854 if (temp2
) delete arg2
;
10859 if (temp2
) delete arg2
;
10865 SWIGINTERN PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10866 PyObject
*resultobj
= 0;
10867 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10869 int arg3
= (int) 0 ;
10876 PyObject
* obj0
= 0 ;
10877 PyObject
* obj1
= 0 ;
10878 PyObject
* obj2
= 0 ;
10879 char * kwnames
[] = {
10880 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
10883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10885 if (!SWIG_IsOK(res1
)) {
10886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10888 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10889 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10890 if (!SWIG_IsOK(ecode2
)) {
10891 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
10893 arg2
= static_cast< int >(val2
);
10895 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10896 if (!SWIG_IsOK(ecode3
)) {
10897 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
10899 arg3
= static_cast< int >(val3
);
10902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10903 (arg1
)->SetLeftIndent(arg2
,arg3
);
10904 wxPyEndAllowThreads(__tstate
);
10905 if (PyErr_Occurred()) SWIG_fail
;
10907 resultobj
= SWIG_Py_Void();
10914 SWIGINTERN PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10915 PyObject
*resultobj
= 0;
10916 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10922 PyObject
* obj0
= 0 ;
10923 PyObject
* obj1
= 0 ;
10924 char * kwnames
[] = {
10925 (char *) "self",(char *) "indent", NULL
10928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10930 if (!SWIG_IsOK(res1
)) {
10931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10933 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10934 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10935 if (!SWIG_IsOK(ecode2
)) {
10936 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
10938 arg2
= static_cast< int >(val2
);
10940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10941 (arg1
)->SetRightIndent(arg2
);
10942 wxPyEndAllowThreads(__tstate
);
10943 if (PyErr_Occurred()) SWIG_fail
;
10945 resultobj
= SWIG_Py_Void();
10952 SWIGINTERN PyObject
*_wrap_TextAttr_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10953 PyObject
*resultobj
= 0;
10954 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10960 PyObject
* obj0
= 0 ;
10961 PyObject
* obj1
= 0 ;
10962 char * kwnames
[] = {
10963 (char *) "self",(char *) "flags", NULL
10966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10968 if (!SWIG_IsOK(res1
)) {
10969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10971 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10972 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10973 if (!SWIG_IsOK(ecode2
)) {
10974 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
10976 arg2
= static_cast< long >(val2
);
10978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10979 (arg1
)->SetFlags(arg2
);
10980 wxPyEndAllowThreads(__tstate
);
10981 if (PyErr_Occurred()) SWIG_fail
;
10983 resultobj
= SWIG_Py_Void();
10990 SWIGINTERN PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10991 PyObject
*resultobj
= 0;
10992 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10996 PyObject
*swig_obj
[1] ;
10998 if (!args
) SWIG_fail
;
10999 swig_obj
[0] = args
;
11000 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11001 if (!SWIG_IsOK(res1
)) {
11002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11004 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11007 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
11008 wxPyEndAllowThreads(__tstate
);
11009 if (PyErr_Occurred()) SWIG_fail
;
11012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11020 SWIGINTERN PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11021 PyObject
*resultobj
= 0;
11022 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11026 PyObject
*swig_obj
[1] ;
11028 if (!args
) SWIG_fail
;
11029 swig_obj
[0] = args
;
11030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11031 if (!SWIG_IsOK(res1
)) {
11032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11034 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11037 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
11038 wxPyEndAllowThreads(__tstate
);
11039 if (PyErr_Occurred()) SWIG_fail
;
11042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11050 SWIGINTERN PyObject
*_wrap_TextAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11051 PyObject
*resultobj
= 0;
11052 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11056 PyObject
*swig_obj
[1] ;
11058 if (!args
) SWIG_fail
;
11059 swig_obj
[0] = args
;
11060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11061 if (!SWIG_IsOK(res1
)) {
11062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11064 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11067 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
11068 wxPyEndAllowThreads(__tstate
);
11069 if (PyErr_Occurred()) SWIG_fail
;
11072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11080 SWIGINTERN PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11081 PyObject
*resultobj
= 0;
11082 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11086 PyObject
*swig_obj
[1] ;
11088 if (!args
) SWIG_fail
;
11089 swig_obj
[0] = args
;
11090 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11091 if (!SWIG_IsOK(res1
)) {
11092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11094 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11097 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
11098 wxPyEndAllowThreads(__tstate
);
11099 if (PyErr_Occurred()) SWIG_fail
;
11102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11110 SWIGINTERN PyObject
*_wrap_TextAttr_HasTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11111 PyObject
*resultobj
= 0;
11112 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11116 PyObject
*swig_obj
[1] ;
11118 if (!args
) SWIG_fail
;
11119 swig_obj
[0] = args
;
11120 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11121 if (!SWIG_IsOK(res1
)) {
11122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11124 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11127 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
11128 wxPyEndAllowThreads(__tstate
);
11129 if (PyErr_Occurred()) SWIG_fail
;
11132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11140 SWIGINTERN PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11141 PyObject
*resultobj
= 0;
11142 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11146 PyObject
*swig_obj
[1] ;
11148 if (!args
) SWIG_fail
;
11149 swig_obj
[0] = args
;
11150 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11151 if (!SWIG_IsOK(res1
)) {
11152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11154 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11157 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
11158 wxPyEndAllowThreads(__tstate
);
11159 if (PyErr_Occurred()) SWIG_fail
;
11162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11170 SWIGINTERN PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11171 PyObject
*resultobj
= 0;
11172 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11176 PyObject
*swig_obj
[1] ;
11178 if (!args
) SWIG_fail
;
11179 swig_obj
[0] = args
;
11180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11181 if (!SWIG_IsOK(res1
)) {
11182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11184 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11187 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
11188 wxPyEndAllowThreads(__tstate
);
11189 if (PyErr_Occurred()) SWIG_fail
;
11192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11200 SWIGINTERN PyObject
*_wrap_TextAttr_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11201 PyObject
*resultobj
= 0;
11202 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11209 PyObject
* obj0
= 0 ;
11210 PyObject
* obj1
= 0 ;
11211 char * kwnames
[] = {
11212 (char *) "self",(char *) "flag", NULL
11215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11217 if (!SWIG_IsOK(res1
)) {
11218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11220 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11221 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11222 if (!SWIG_IsOK(ecode2
)) {
11223 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11225 arg2
= static_cast< long >(val2
);
11227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11228 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
11229 wxPyEndAllowThreads(__tstate
);
11230 if (PyErr_Occurred()) SWIG_fail
;
11233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11241 SWIGINTERN PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11242 PyObject
*resultobj
= 0;
11243 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11244 wxColour
*result
= 0 ;
11247 PyObject
*swig_obj
[1] ;
11249 if (!args
) SWIG_fail
;
11250 swig_obj
[0] = args
;
11251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11252 if (!SWIG_IsOK(res1
)) {
11253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11255 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11259 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
11260 result
= (wxColour
*) &_result_ref
;
11262 wxPyEndAllowThreads(__tstate
);
11263 if (PyErr_Occurred()) SWIG_fail
;
11265 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11272 SWIGINTERN PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11273 PyObject
*resultobj
= 0;
11274 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11275 wxColour
*result
= 0 ;
11278 PyObject
*swig_obj
[1] ;
11280 if (!args
) SWIG_fail
;
11281 swig_obj
[0] = args
;
11282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11283 if (!SWIG_IsOK(res1
)) {
11284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11286 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11290 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
11291 result
= (wxColour
*) &_result_ref
;
11293 wxPyEndAllowThreads(__tstate
);
11294 if (PyErr_Occurred()) SWIG_fail
;
11296 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11303 SWIGINTERN PyObject
*_wrap_TextAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11304 PyObject
*resultobj
= 0;
11305 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11306 wxFont
*result
= 0 ;
11309 PyObject
*swig_obj
[1] ;
11311 if (!args
) SWIG_fail
;
11312 swig_obj
[0] = args
;
11313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11314 if (!SWIG_IsOK(res1
)) {
11315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11317 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11321 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
11322 result
= (wxFont
*) &_result_ref
;
11324 wxPyEndAllowThreads(__tstate
);
11325 if (PyErr_Occurred()) SWIG_fail
;
11328 wxFont
* resultptr
= new wxFont(*result
);
11329 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
11337 SWIGINTERN PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11338 PyObject
*resultobj
= 0;
11339 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11340 wxTextAttrAlignment result
;
11343 PyObject
*swig_obj
[1] ;
11345 if (!args
) SWIG_fail
;
11346 swig_obj
[0] = args
;
11347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11348 if (!SWIG_IsOK(res1
)) {
11349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11351 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11354 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
11355 wxPyEndAllowThreads(__tstate
);
11356 if (PyErr_Occurred()) SWIG_fail
;
11358 resultobj
= SWIG_From_int(static_cast< int >(result
));
11365 SWIGINTERN PyObject
*_wrap_TextAttr_GetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11366 PyObject
*resultobj
= 0;
11367 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11368 wxArrayInt
*result
= 0 ;
11371 PyObject
*swig_obj
[1] ;
11373 if (!args
) SWIG_fail
;
11374 swig_obj
[0] = args
;
11375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11376 if (!SWIG_IsOK(res1
)) {
11377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11379 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11383 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
11384 result
= (wxArrayInt
*) &_result_ref
;
11386 wxPyEndAllowThreads(__tstate
);
11387 if (PyErr_Occurred()) SWIG_fail
;
11390 resultobj
= wxArrayInt2PyList_helper(*result
);
11398 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11399 PyObject
*resultobj
= 0;
11400 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11404 PyObject
*swig_obj
[1] ;
11406 if (!args
) SWIG_fail
;
11407 swig_obj
[0] = args
;
11408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11409 if (!SWIG_IsOK(res1
)) {
11410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11412 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11415 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
11416 wxPyEndAllowThreads(__tstate
);
11417 if (PyErr_Occurred()) SWIG_fail
;
11419 resultobj
= SWIG_From_long(static_cast< long >(result
));
11426 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11427 PyObject
*resultobj
= 0;
11428 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11432 PyObject
*swig_obj
[1] ;
11434 if (!args
) SWIG_fail
;
11435 swig_obj
[0] = args
;
11436 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11437 if (!SWIG_IsOK(res1
)) {
11438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11440 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11443 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
11444 wxPyEndAllowThreads(__tstate
);
11445 if (PyErr_Occurred()) SWIG_fail
;
11447 resultobj
= SWIG_From_long(static_cast< long >(result
));
11454 SWIGINTERN PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11455 PyObject
*resultobj
= 0;
11456 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11460 PyObject
*swig_obj
[1] ;
11462 if (!args
) SWIG_fail
;
11463 swig_obj
[0] = args
;
11464 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11465 if (!SWIG_IsOK(res1
)) {
11466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11468 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11471 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
11472 wxPyEndAllowThreads(__tstate
);
11473 if (PyErr_Occurred()) SWIG_fail
;
11475 resultobj
= SWIG_From_long(static_cast< long >(result
));
11482 SWIGINTERN PyObject
*_wrap_TextAttr_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11483 PyObject
*resultobj
= 0;
11484 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11488 PyObject
*swig_obj
[1] ;
11490 if (!args
) SWIG_fail
;
11491 swig_obj
[0] = args
;
11492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11493 if (!SWIG_IsOK(res1
)) {
11494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11496 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11499 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
11500 wxPyEndAllowThreads(__tstate
);
11501 if (PyErr_Occurred()) SWIG_fail
;
11503 resultobj
= SWIG_From_long(static_cast< long >(result
));
11510 SWIGINTERN PyObject
*_wrap_TextAttr_IsDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11511 PyObject
*resultobj
= 0;
11512 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11516 PyObject
*swig_obj
[1] ;
11518 if (!args
) SWIG_fail
;
11519 swig_obj
[0] = args
;
11520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11521 if (!SWIG_IsOK(res1
)) {
11522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11524 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11527 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
11528 wxPyEndAllowThreads(__tstate
);
11529 if (PyErr_Occurred()) SWIG_fail
;
11532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11540 SWIGINTERN PyObject
*_wrap_TextAttr_Combine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11541 PyObject
*resultobj
= 0;
11542 wxTextAttr
*arg1
= 0 ;
11543 wxTextAttr
*arg2
= 0 ;
11544 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
11552 PyObject
* obj0
= 0 ;
11553 PyObject
* obj1
= 0 ;
11554 PyObject
* obj2
= 0 ;
11555 char * kwnames
[] = {
11556 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11560 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11561 if (!SWIG_IsOK(res1
)) {
11562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11565 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11567 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11568 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11569 if (!SWIG_IsOK(res2
)) {
11570 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11573 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11575 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
11576 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11577 if (!SWIG_IsOK(res3
)) {
11578 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11580 arg3
= reinterpret_cast< wxTextCtrl
* >(argp3
);
11582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11583 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
11584 wxPyEndAllowThreads(__tstate
);
11585 if (PyErr_Occurred()) SWIG_fail
;
11587 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
11594 SWIGINTERN PyObject
*TextAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11596 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11597 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr
, SWIG_NewClientData(obj
));
11598 return SWIG_Py_Void();
11601 SWIGINTERN PyObject
*TextAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11602 return SWIG_Python_InitShadowInstance(args
);
11605 SWIGINTERN PyObject
*_wrap_new_TextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11606 PyObject
*resultobj
= 0;
11607 wxWindow
*arg1
= (wxWindow
*) 0 ;
11608 int arg2
= (int) -1 ;
11609 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11610 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11611 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11612 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11613 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11614 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11615 long arg6
= (long) 0 ;
11616 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11617 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11618 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
11619 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11620 wxTextCtrl
*result
= 0 ;
11625 bool temp3
= false ;
11632 bool temp8
= false ;
11633 PyObject
* obj0
= 0 ;
11634 PyObject
* obj1
= 0 ;
11635 PyObject
* obj2
= 0 ;
11636 PyObject
* obj3
= 0 ;
11637 PyObject
* obj4
= 0 ;
11638 PyObject
* obj5
= 0 ;
11639 PyObject
* obj6
= 0 ;
11640 PyObject
* obj7
= 0 ;
11641 char * kwnames
[] = {
11642 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
11646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11647 if (!SWIG_IsOK(res1
)) {
11648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11650 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11652 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11653 if (!SWIG_IsOK(ecode2
)) {
11654 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11656 arg2
= static_cast< int >(val2
);
11660 arg3
= wxString_in_helper(obj2
);
11661 if (arg3
== NULL
) SWIG_fail
;
11668 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11674 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11678 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11679 if (!SWIG_IsOK(ecode6
)) {
11680 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11682 arg6
= static_cast< long >(val6
);
11685 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
11686 if (!SWIG_IsOK(res7
)) {
11687 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11690 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11692 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
11696 arg8
= wxString_in_helper(obj7
);
11697 if (arg8
== NULL
) SWIG_fail
;
11702 if (!wxPyCheckForApp()) SWIG_fail
;
11703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11704 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11705 wxPyEndAllowThreads(__tstate
);
11706 if (PyErr_Occurred()) SWIG_fail
;
11708 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_NEW
| 0 );
11731 SWIGINTERN PyObject
*_wrap_new_PreTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11732 PyObject
*resultobj
= 0;
11733 wxTextCtrl
*result
= 0 ;
11735 if (!SWIG_Python_UnpackTuple(args
,"new_PreTextCtrl",0,0,0)) SWIG_fail
;
11737 if (!wxPyCheckForApp()) SWIG_fail
;
11738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11739 result
= (wxTextCtrl
*)new wxTextCtrl();
11740 wxPyEndAllowThreads(__tstate
);
11741 if (PyErr_Occurred()) SWIG_fail
;
11743 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_OWN
| 0 );
11750 SWIGINTERN PyObject
*_wrap_TextCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11751 PyObject
*resultobj
= 0;
11752 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11753 wxWindow
*arg2
= (wxWindow
*) 0 ;
11754 int arg3
= (int) -1 ;
11755 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11756 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11757 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11758 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11759 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11760 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11761 long arg7
= (long) 0 ;
11762 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11763 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11764 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
11765 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11773 bool temp4
= false ;
11780 bool temp9
= false ;
11781 PyObject
* obj0
= 0 ;
11782 PyObject
* obj1
= 0 ;
11783 PyObject
* obj2
= 0 ;
11784 PyObject
* obj3
= 0 ;
11785 PyObject
* obj4
= 0 ;
11786 PyObject
* obj5
= 0 ;
11787 PyObject
* obj6
= 0 ;
11788 PyObject
* obj7
= 0 ;
11789 PyObject
* obj8
= 0 ;
11790 char * kwnames
[] = {
11791 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
11795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11796 if (!SWIG_IsOK(res1
)) {
11797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11799 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11800 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11801 if (!SWIG_IsOK(res2
)) {
11802 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11804 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11806 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11807 if (!SWIG_IsOK(ecode3
)) {
11808 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11810 arg3
= static_cast< int >(val3
);
11814 arg4
= wxString_in_helper(obj3
);
11815 if (arg4
== NULL
) SWIG_fail
;
11822 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11828 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11832 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
11833 if (!SWIG_IsOK(ecode7
)) {
11834 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11836 arg7
= static_cast< long >(val7
);
11839 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
11840 if (!SWIG_IsOK(res8
)) {
11841 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11844 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11846 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
11850 arg9
= wxString_in_helper(obj8
);
11851 if (arg9
== NULL
) SWIG_fail
;
11856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11857 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11858 wxPyEndAllowThreads(__tstate
);
11859 if (PyErr_Occurred()) SWIG_fail
;
11862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11886 SWIGINTERN PyObject
*_wrap_TextCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11887 PyObject
*resultobj
= 0;
11888 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11892 PyObject
*swig_obj
[1] ;
11894 if (!args
) SWIG_fail
;
11895 swig_obj
[0] = args
;
11896 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11897 if (!SWIG_IsOK(res1
)) {
11898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11900 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11903 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
11904 wxPyEndAllowThreads(__tstate
);
11905 if (PyErr_Occurred()) SWIG_fail
;
11909 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11911 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11920 SWIGINTERN PyObject
*_wrap_TextCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11921 PyObject
*resultobj
= 0;
11922 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11923 wxString
*arg2
= 0 ;
11926 bool temp2
= false ;
11927 PyObject
* obj0
= 0 ;
11928 PyObject
* obj1
= 0 ;
11929 char * kwnames
[] = {
11930 (char *) "self",(char *) "value", NULL
11933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11935 if (!SWIG_IsOK(res1
)) {
11936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11938 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11940 arg2
= wxString_in_helper(obj1
);
11941 if (arg2
== NULL
) SWIG_fail
;
11945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11946 (arg1
)->SetValue((wxString
const &)*arg2
);
11947 wxPyEndAllowThreads(__tstate
);
11948 if (PyErr_Occurred()) SWIG_fail
;
11950 resultobj
= SWIG_Py_Void();
11965 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11966 PyObject
*resultobj
= 0;
11967 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11971 PyObject
*swig_obj
[1] ;
11973 if (!args
) SWIG_fail
;
11974 swig_obj
[0] = args
;
11975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11976 if (!SWIG_IsOK(res1
)) {
11977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEmpty" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11979 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11982 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEmpty();
11983 wxPyEndAllowThreads(__tstate
);
11984 if (PyErr_Occurred()) SWIG_fail
;
11987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11995 SWIGINTERN PyObject
*_wrap_TextCtrl_ChangeValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11996 PyObject
*resultobj
= 0;
11997 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11998 wxString
*arg2
= 0 ;
12001 bool temp2
= false ;
12002 PyObject
* obj0
= 0 ;
12003 PyObject
* obj1
= 0 ;
12004 char * kwnames
[] = {
12005 (char *) "self",(char *) "value", NULL
12008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ChangeValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12010 if (!SWIG_IsOK(res1
)) {
12011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ChangeValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12013 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12015 arg2
= wxString_in_helper(obj1
);
12016 if (arg2
== NULL
) SWIG_fail
;
12020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12021 (arg1
)->ChangeValue((wxString
const &)*arg2
);
12022 wxPyEndAllowThreads(__tstate
);
12023 if (PyErr_Occurred()) SWIG_fail
;
12025 resultobj
= SWIG_Py_Void();
12040 SWIGINTERN PyObject
*_wrap_TextCtrl_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12041 PyObject
*resultobj
= 0;
12042 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12052 PyObject
* obj0
= 0 ;
12053 PyObject
* obj1
= 0 ;
12054 PyObject
* obj2
= 0 ;
12055 char * kwnames
[] = {
12056 (char *) "self",(char *) "from",(char *) "to", NULL
12059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12061 if (!SWIG_IsOK(res1
)) {
12062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12064 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12065 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12066 if (!SWIG_IsOK(ecode2
)) {
12067 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
12069 arg2
= static_cast< long >(val2
);
12070 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12071 if (!SWIG_IsOK(ecode3
)) {
12072 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
12074 arg3
= static_cast< long >(val3
);
12076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12077 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
12078 wxPyEndAllowThreads(__tstate
);
12079 if (PyErr_Occurred()) SWIG_fail
;
12083 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12085 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12094 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12095 PyObject
*resultobj
= 0;
12096 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12103 PyObject
* obj0
= 0 ;
12104 PyObject
* obj1
= 0 ;
12105 char * kwnames
[] = {
12106 (char *) "self",(char *) "lineNo", NULL
12109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12111 if (!SWIG_IsOK(res1
)) {
12112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12114 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12115 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12116 if (!SWIG_IsOK(ecode2
)) {
12117 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
12119 arg2
= static_cast< long >(val2
);
12121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12122 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
12123 wxPyEndAllowThreads(__tstate
);
12124 if (PyErr_Occurred()) SWIG_fail
;
12126 resultobj
= SWIG_From_int(static_cast< int >(result
));
12133 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12134 PyObject
*resultobj
= 0;
12135 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12142 PyObject
* obj0
= 0 ;
12143 PyObject
* obj1
= 0 ;
12144 char * kwnames
[] = {
12145 (char *) "self",(char *) "lineNo", NULL
12148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12150 if (!SWIG_IsOK(res1
)) {
12151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12153 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12154 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12155 if (!SWIG_IsOK(ecode2
)) {
12156 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
12158 arg2
= static_cast< long >(val2
);
12160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12161 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
12162 wxPyEndAllowThreads(__tstate
);
12163 if (PyErr_Occurred()) SWIG_fail
;
12167 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12169 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12178 SWIGINTERN PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12179 PyObject
*resultobj
= 0;
12180 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12184 PyObject
*swig_obj
[1] ;
12186 if (!args
) SWIG_fail
;
12187 swig_obj
[0] = args
;
12188 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12189 if (!SWIG_IsOK(res1
)) {
12190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12192 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12195 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
12196 wxPyEndAllowThreads(__tstate
);
12197 if (PyErr_Occurred()) SWIG_fail
;
12199 resultobj
= SWIG_From_int(static_cast< int >(result
));
12206 SWIGINTERN PyObject
*_wrap_TextCtrl_IsModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12207 PyObject
*resultobj
= 0;
12208 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12212 PyObject
*swig_obj
[1] ;
12214 if (!args
) SWIG_fail
;
12215 swig_obj
[0] = args
;
12216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12217 if (!SWIG_IsOK(res1
)) {
12218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12220 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12223 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
12224 wxPyEndAllowThreads(__tstate
);
12225 if (PyErr_Occurred()) SWIG_fail
;
12228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12236 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12237 PyObject
*resultobj
= 0;
12238 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12242 PyObject
*swig_obj
[1] ;
12244 if (!args
) SWIG_fail
;
12245 swig_obj
[0] = args
;
12246 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12247 if (!SWIG_IsOK(res1
)) {
12248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12250 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12253 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
12254 wxPyEndAllowThreads(__tstate
);
12255 if (PyErr_Occurred()) SWIG_fail
;
12258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12266 SWIGINTERN PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12267 PyObject
*resultobj
= 0;
12268 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12272 PyObject
*swig_obj
[1] ;
12274 if (!args
) SWIG_fail
;
12275 swig_obj
[0] = args
;
12276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12277 if (!SWIG_IsOK(res1
)) {
12278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12280 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12283 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
12284 wxPyEndAllowThreads(__tstate
);
12285 if (PyErr_Occurred()) SWIG_fail
;
12288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12296 SWIGINTERN PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12297 PyObject
*resultobj
= 0;
12298 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12302 PyObject
*swig_obj
[1] ;
12304 if (!args
) SWIG_fail
;
12305 swig_obj
[0] = args
;
12306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12307 if (!SWIG_IsOK(res1
)) {
12308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12310 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12313 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
12314 wxPyEndAllowThreads(__tstate
);
12315 if (PyErr_Occurred()) SWIG_fail
;
12318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12326 SWIGINTERN PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12327 PyObject
*resultobj
= 0;
12328 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12329 long *arg2
= (long *) 0 ;
12330 long *arg3
= (long *) 0 ;
12334 int res2
= SWIG_TMPOBJ
;
12336 int res3
= SWIG_TMPOBJ
;
12337 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_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12347 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12350 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
12351 wxPyEndAllowThreads(__tstate
);
12352 if (PyErr_Occurred()) SWIG_fail
;
12354 resultobj
= SWIG_Py_Void();
12355 if (SWIG_IsTmpObj(res2
)) {
12356 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
12358 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12359 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
12361 if (SWIG_IsTmpObj(res3
)) {
12362 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
12364 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12365 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
12373 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12374 PyObject
*resultobj
= 0;
12375 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12379 PyObject
*swig_obj
[1] ;
12381 if (!args
) SWIG_fail
;
12382 swig_obj
[0] = args
;
12383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12384 if (!SWIG_IsOK(res1
)) {
12385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12387 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12390 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
12391 wxPyEndAllowThreads(__tstate
);
12392 if (PyErr_Occurred()) SWIG_fail
;
12396 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12398 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12407 SWIGINTERN PyObject
*_wrap_TextCtrl_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12408 PyObject
*resultobj
= 0;
12409 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12412 PyObject
*swig_obj
[1] ;
12414 if (!args
) SWIG_fail
;
12415 swig_obj
[0] = args
;
12416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12417 if (!SWIG_IsOK(res1
)) {
12418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12420 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12424 wxPyEndAllowThreads(__tstate
);
12425 if (PyErr_Occurred()) SWIG_fail
;
12427 resultobj
= SWIG_Py_Void();
12434 SWIGINTERN PyObject
*_wrap_TextCtrl_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12435 PyObject
*resultobj
= 0;
12436 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12439 wxString
*arg4
= 0 ;
12446 bool temp4
= false ;
12447 PyObject
* obj0
= 0 ;
12448 PyObject
* obj1
= 0 ;
12449 PyObject
* obj2
= 0 ;
12450 PyObject
* obj3
= 0 ;
12451 char * kwnames
[] = {
12452 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
12455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12457 if (!SWIG_IsOK(res1
)) {
12458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12460 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12461 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12462 if (!SWIG_IsOK(ecode2
)) {
12463 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12465 arg2
= static_cast< long >(val2
);
12466 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12467 if (!SWIG_IsOK(ecode3
)) {
12468 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12470 arg3
= static_cast< long >(val3
);
12472 arg4
= wxString_in_helper(obj3
);
12473 if (arg4
== NULL
) SWIG_fail
;
12477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12478 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
12479 wxPyEndAllowThreads(__tstate
);
12480 if (PyErr_Occurred()) SWIG_fail
;
12482 resultobj
= SWIG_Py_Void();
12497 SWIGINTERN PyObject
*_wrap_TextCtrl_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12498 PyObject
*resultobj
= 0;
12499 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12508 PyObject
* obj0
= 0 ;
12509 PyObject
* obj1
= 0 ;
12510 PyObject
* obj2
= 0 ;
12511 char * kwnames
[] = {
12512 (char *) "self",(char *) "from",(char *) "to", NULL
12515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12517 if (!SWIG_IsOK(res1
)) {
12518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12520 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12521 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12522 if (!SWIG_IsOK(ecode2
)) {
12523 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12525 arg2
= static_cast< long >(val2
);
12526 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12527 if (!SWIG_IsOK(ecode3
)) {
12528 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12530 arg3
= static_cast< long >(val3
);
12532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12533 (arg1
)->Remove(arg2
,arg3
);
12534 wxPyEndAllowThreads(__tstate
);
12535 if (PyErr_Occurred()) SWIG_fail
;
12537 resultobj
= SWIG_Py_Void();
12544 SWIGINTERN PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12545 PyObject
*resultobj
= 0;
12546 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12547 wxString
*arg2
= 0 ;
12548 int arg3
= (int) wxTEXT_TYPE_ANY
;
12552 bool temp2
= false ;
12555 PyObject
* obj0
= 0 ;
12556 PyObject
* obj1
= 0 ;
12557 PyObject
* obj2
= 0 ;
12558 char * kwnames
[] = {
12559 (char *) "self",(char *) "file",(char *) "fileType", NULL
12562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12564 if (!SWIG_IsOK(res1
)) {
12565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12567 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12569 arg2
= wxString_in_helper(obj1
);
12570 if (arg2
== NULL
) SWIG_fail
;
12574 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12575 if (!SWIG_IsOK(ecode3
)) {
12576 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_LoadFile" "', expected argument " "3"" of type '" "int""'");
12578 arg3
= static_cast< int >(val3
);
12581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12582 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
12583 wxPyEndAllowThreads(__tstate
);
12584 if (PyErr_Occurred()) SWIG_fail
;
12587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12603 SWIGINTERN PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12604 PyObject
*resultobj
= 0;
12605 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12606 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12607 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12608 int arg3
= (int) wxTEXT_TYPE_ANY
;
12612 bool temp2
= false ;
12615 PyObject
* obj0
= 0 ;
12616 PyObject
* obj1
= 0 ;
12617 PyObject
* obj2
= 0 ;
12618 char * kwnames
[] = {
12619 (char *) "self",(char *) "file",(char *) "fileType", NULL
12622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12624 if (!SWIG_IsOK(res1
)) {
12625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12627 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12630 arg2
= wxString_in_helper(obj1
);
12631 if (arg2
== NULL
) SWIG_fail
;
12636 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12637 if (!SWIG_IsOK(ecode3
)) {
12638 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SaveFile" "', expected argument " "3"" of type '" "int""'");
12640 arg3
= static_cast< int >(val3
);
12643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12644 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
12645 wxPyEndAllowThreads(__tstate
);
12646 if (PyErr_Occurred()) SWIG_fail
;
12649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12665 SWIGINTERN PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12666 PyObject
*resultobj
= 0;
12667 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12670 PyObject
*swig_obj
[1] ;
12672 if (!args
) SWIG_fail
;
12673 swig_obj
[0] = args
;
12674 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12675 if (!SWIG_IsOK(res1
)) {
12676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12678 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12681 (arg1
)->MarkDirty();
12682 wxPyEndAllowThreads(__tstate
);
12683 if (PyErr_Occurred()) SWIG_fail
;
12685 resultobj
= SWIG_Py_Void();
12692 SWIGINTERN PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12693 PyObject
*resultobj
= 0;
12694 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12697 PyObject
*swig_obj
[1] ;
12699 if (!args
) SWIG_fail
;
12700 swig_obj
[0] = args
;
12701 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12702 if (!SWIG_IsOK(res1
)) {
12703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12705 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12708 (arg1
)->DiscardEdits();
12709 wxPyEndAllowThreads(__tstate
);
12710 if (PyErr_Occurred()) SWIG_fail
;
12712 resultobj
= SWIG_Py_Void();
12719 SWIGINTERN PyObject
*_wrap_TextCtrl_SetModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12720 PyObject
*resultobj
= 0;
12721 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12727 PyObject
* obj0
= 0 ;
12728 PyObject
* obj1
= 0 ;
12729 char * kwnames
[] = {
12730 (char *) "self",(char *) "modified", NULL
12733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetModified",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12735 if (!SWIG_IsOK(res1
)) {
12736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetModified" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12738 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12739 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12740 if (!SWIG_IsOK(ecode2
)) {
12741 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetModified" "', expected argument " "2"" of type '" "bool""'");
12743 arg2
= static_cast< bool >(val2
);
12745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12746 (arg1
)->SetModified(arg2
);
12747 wxPyEndAllowThreads(__tstate
);
12748 if (PyErr_Occurred()) SWIG_fail
;
12750 resultobj
= SWIG_Py_Void();
12757 SWIGINTERN PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12758 PyObject
*resultobj
= 0;
12759 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12760 unsigned long arg2
;
12763 unsigned long val2
;
12765 PyObject
* obj0
= 0 ;
12766 PyObject
* obj1
= 0 ;
12767 char * kwnames
[] = {
12768 (char *) "self",(char *) "len", NULL
12771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12773 if (!SWIG_IsOK(res1
)) {
12774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12776 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12777 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
12778 if (!SWIG_IsOK(ecode2
)) {
12779 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12781 arg2
= static_cast< unsigned long >(val2
);
12783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12784 (arg1
)->SetMaxLength(arg2
);
12785 wxPyEndAllowThreads(__tstate
);
12786 if (PyErr_Occurred()) SWIG_fail
;
12788 resultobj
= SWIG_Py_Void();
12795 SWIGINTERN PyObject
*_wrap_TextCtrl_WriteText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12796 PyObject
*resultobj
= 0;
12797 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12798 wxString
*arg2
= 0 ;
12801 bool temp2
= false ;
12802 PyObject
* obj0
= 0 ;
12803 PyObject
* obj1
= 0 ;
12804 char * kwnames
[] = {
12805 (char *) "self",(char *) "text", NULL
12808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12810 if (!SWIG_IsOK(res1
)) {
12811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12813 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12815 arg2
= wxString_in_helper(obj1
);
12816 if (arg2
== NULL
) SWIG_fail
;
12820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12821 (arg1
)->WriteText((wxString
const &)*arg2
);
12822 wxPyEndAllowThreads(__tstate
);
12823 if (PyErr_Occurred()) SWIG_fail
;
12825 resultobj
= SWIG_Py_Void();
12840 SWIGINTERN PyObject
*_wrap_TextCtrl_AppendText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12841 PyObject
*resultobj
= 0;
12842 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12843 wxString
*arg2
= 0 ;
12846 bool temp2
= false ;
12847 PyObject
* obj0
= 0 ;
12848 PyObject
* obj1
= 0 ;
12849 char * kwnames
[] = {
12850 (char *) "self",(char *) "text", NULL
12853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12855 if (!SWIG_IsOK(res1
)) {
12856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12858 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12860 arg2
= wxString_in_helper(obj1
);
12861 if (arg2
== NULL
) SWIG_fail
;
12865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12866 (arg1
)->AppendText((wxString
const &)*arg2
);
12867 wxPyEndAllowThreads(__tstate
);
12868 if (PyErr_Occurred()) SWIG_fail
;
12870 resultobj
= SWIG_Py_Void();
12885 SWIGINTERN PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12886 PyObject
*resultobj
= 0;
12887 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12888 wxKeyEvent
*arg2
= 0 ;
12894 PyObject
* obj0
= 0 ;
12895 PyObject
* obj1
= 0 ;
12896 char * kwnames
[] = {
12897 (char *) "self",(char *) "event", NULL
12900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12902 if (!SWIG_IsOK(res1
)) {
12903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12905 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12906 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
12907 if (!SWIG_IsOK(res2
)) {
12908 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12911 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12913 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
12915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12916 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
12917 wxPyEndAllowThreads(__tstate
);
12918 if (PyErr_Occurred()) SWIG_fail
;
12921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12929 SWIGINTERN PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12930 PyObject
*resultobj
= 0;
12931 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12934 wxTextAttr
*arg4
= 0 ;
12944 PyObject
* obj0
= 0 ;
12945 PyObject
* obj1
= 0 ;
12946 PyObject
* obj2
= 0 ;
12947 PyObject
* obj3
= 0 ;
12948 char * kwnames
[] = {
12949 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
12952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12954 if (!SWIG_IsOK(res1
)) {
12955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12957 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12958 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12959 if (!SWIG_IsOK(ecode2
)) {
12960 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
12962 arg2
= static_cast< long >(val2
);
12963 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12964 if (!SWIG_IsOK(ecode3
)) {
12965 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
12967 arg3
= static_cast< long >(val3
);
12968 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12969 if (!SWIG_IsOK(res4
)) {
12970 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12973 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12975 arg4
= reinterpret_cast< wxTextAttr
* >(argp4
);
12977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12978 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
12979 wxPyEndAllowThreads(__tstate
);
12980 if (PyErr_Occurred()) SWIG_fail
;
12983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12991 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12992 PyObject
*resultobj
= 0;
12993 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12995 wxTextAttr
*arg3
= 0 ;
13003 PyObject
* obj0
= 0 ;
13004 PyObject
* obj1
= 0 ;
13005 PyObject
* obj2
= 0 ;
13006 char * kwnames
[] = {
13007 (char *) "self",(char *) "position",(char *) "style", NULL
13010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13012 if (!SWIG_IsOK(res1
)) {
13013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13015 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13016 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13017 if (!SWIG_IsOK(ecode2
)) {
13018 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
13020 arg2
= static_cast< long >(val2
);
13021 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTextAttr
, 0 );
13022 if (!SWIG_IsOK(res3
)) {
13023 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
13026 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
13028 arg3
= reinterpret_cast< wxTextAttr
* >(argp3
);
13030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13031 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
13032 wxPyEndAllowThreads(__tstate
);
13033 if (PyErr_Occurred()) SWIG_fail
;
13036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13044 SWIGINTERN PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13045 PyObject
*resultobj
= 0;
13046 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13047 wxTextAttr
*arg2
= 0 ;
13053 PyObject
* obj0
= 0 ;
13054 PyObject
* obj1
= 0 ;
13055 char * kwnames
[] = {
13056 (char *) "self",(char *) "style", NULL
13059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13061 if (!SWIG_IsOK(res1
)) {
13062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13064 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13065 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
13066 if (!SWIG_IsOK(res2
)) {
13067 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
13070 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
13072 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
13074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13075 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
13076 wxPyEndAllowThreads(__tstate
);
13077 if (PyErr_Occurred()) SWIG_fail
;
13080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13088 SWIGINTERN PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13089 PyObject
*resultobj
= 0;
13090 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13091 wxTextAttr
*result
= 0 ;
13094 PyObject
*swig_obj
[1] ;
13096 if (!args
) SWIG_fail
;
13097 swig_obj
[0] = args
;
13098 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13099 if (!SWIG_IsOK(res1
)) {
13100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13102 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13106 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
13107 result
= (wxTextAttr
*) &_result_ref
;
13109 wxPyEndAllowThreads(__tstate
);
13110 if (PyErr_Occurred()) SWIG_fail
;
13112 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, 0 | 0 );
13119 SWIGINTERN PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13120 PyObject
*resultobj
= 0;
13121 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13131 PyObject
* obj0
= 0 ;
13132 PyObject
* obj1
= 0 ;
13133 PyObject
* obj2
= 0 ;
13134 char * kwnames
[] = {
13135 (char *) "self",(char *) "x",(char *) "y", NULL
13138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13140 if (!SWIG_IsOK(res1
)) {
13141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13143 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13144 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13145 if (!SWIG_IsOK(ecode2
)) {
13146 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
13148 arg2
= static_cast< long >(val2
);
13149 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13150 if (!SWIG_IsOK(ecode3
)) {
13151 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
13153 arg3
= static_cast< long >(val3
);
13155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13156 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
13157 wxPyEndAllowThreads(__tstate
);
13158 if (PyErr_Occurred()) SWIG_fail
;
13160 resultobj
= SWIG_From_long(static_cast< long >(result
));
13167 SWIGINTERN PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13168 PyObject
*resultobj
= 0;
13169 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13171 long *arg3
= (long *) 0 ;
13172 long *arg4
= (long *) 0 ;
13178 int res3
= SWIG_TMPOBJ
;
13180 int res4
= SWIG_TMPOBJ
;
13181 PyObject
* obj0
= 0 ;
13182 PyObject
* obj1
= 0 ;
13183 char * kwnames
[] = {
13184 (char *) "self",(char *) "pos", NULL
13189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13191 if (!SWIG_IsOK(res1
)) {
13192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13194 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13195 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13196 if (!SWIG_IsOK(ecode2
)) {
13197 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
13199 arg2
= static_cast< long >(val2
);
13201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13202 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
13203 wxPyEndAllowThreads(__tstate
);
13204 if (PyErr_Occurred()) SWIG_fail
;
13206 resultobj
= SWIG_Py_Void();
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_ShowPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13226 PyObject
*resultobj
= 0;
13227 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13233 PyObject
* obj0
= 0 ;
13234 PyObject
* obj1
= 0 ;
13235 char * kwnames
[] = {
13236 (char *) "self",(char *) "pos", NULL
13239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13241 if (!SWIG_IsOK(res1
)) {
13242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13244 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13245 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13246 if (!SWIG_IsOK(ecode2
)) {
13247 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
13249 arg2
= static_cast< long >(val2
);
13251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13252 (arg1
)->ShowPosition(arg2
);
13253 wxPyEndAllowThreads(__tstate
);
13254 if (PyErr_Occurred()) SWIG_fail
;
13256 resultobj
= SWIG_Py_Void();
13263 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13264 PyObject
*resultobj
= 0;
13265 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13266 wxPoint
*arg2
= 0 ;
13267 long *arg3
= (long *) 0 ;
13268 long *arg4
= (long *) 0 ;
13269 wxTextCtrlHitTestResult result
;
13274 int res3
= SWIG_TMPOBJ
;
13276 int res4
= SWIG_TMPOBJ
;
13277 PyObject
* obj0
= 0 ;
13278 PyObject
* obj1
= 0 ;
13279 char * kwnames
[] = {
13280 (char *) "self",(char *) "pt", NULL
13285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13287 if (!SWIG_IsOK(res1
)) {
13288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13290 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13293 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13297 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
13298 wxPyEndAllowThreads(__tstate
);
13299 if (PyErr_Occurred()) SWIG_fail
;
13301 resultobj
= SWIG_From_int(static_cast< int >(result
));
13302 if (SWIG_IsTmpObj(res3
)) {
13303 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13305 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13306 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13308 if (SWIG_IsTmpObj(res4
)) {
13309 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13311 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13312 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13320 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13321 PyObject
*resultobj
= 0;
13322 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13323 wxPoint
*arg2
= 0 ;
13324 long *arg3
= (long *) 0 ;
13325 wxTextCtrlHitTestResult result
;
13330 int res3
= SWIG_TMPOBJ
;
13331 PyObject
* obj0
= 0 ;
13332 PyObject
* obj1
= 0 ;
13333 char * kwnames
[] = {
13334 (char *) "self",(char *) "pt", NULL
13338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13340 if (!SWIG_IsOK(res1
)) {
13341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13343 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13346 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13350 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
13351 wxPyEndAllowThreads(__tstate
);
13352 if (PyErr_Occurred()) SWIG_fail
;
13354 resultobj
= SWIG_From_int(static_cast< int >(result
));
13355 if (SWIG_IsTmpObj(res3
)) {
13356 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13358 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13359 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13367 SWIGINTERN PyObject
*_wrap_TextCtrl_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13368 PyObject
*resultobj
= 0;
13369 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13372 PyObject
*swig_obj
[1] ;
13374 if (!args
) SWIG_fail
;
13375 swig_obj
[0] = args
;
13376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13377 if (!SWIG_IsOK(res1
)) {
13378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13380 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13384 wxPyEndAllowThreads(__tstate
);
13385 if (PyErr_Occurred()) SWIG_fail
;
13387 resultobj
= SWIG_Py_Void();
13394 SWIGINTERN PyObject
*_wrap_TextCtrl_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13395 PyObject
*resultobj
= 0;
13396 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13399 PyObject
*swig_obj
[1] ;
13401 if (!args
) SWIG_fail
;
13402 swig_obj
[0] = args
;
13403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13404 if (!SWIG_IsOK(res1
)) {
13405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13407 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13411 wxPyEndAllowThreads(__tstate
);
13412 if (PyErr_Occurred()) SWIG_fail
;
13414 resultobj
= SWIG_Py_Void();
13421 SWIGINTERN PyObject
*_wrap_TextCtrl_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13422 PyObject
*resultobj
= 0;
13423 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13426 PyObject
*swig_obj
[1] ;
13428 if (!args
) SWIG_fail
;
13429 swig_obj
[0] = args
;
13430 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13431 if (!SWIG_IsOK(res1
)) {
13432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13434 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13438 wxPyEndAllowThreads(__tstate
);
13439 if (PyErr_Occurred()) SWIG_fail
;
13441 resultobj
= SWIG_Py_Void();
13448 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13449 PyObject
*resultobj
= 0;
13450 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13454 PyObject
*swig_obj
[1] ;
13456 if (!args
) SWIG_fail
;
13457 swig_obj
[0] = args
;
13458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13459 if (!SWIG_IsOK(res1
)) {
13460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13462 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13465 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
13466 wxPyEndAllowThreads(__tstate
);
13467 if (PyErr_Occurred()) SWIG_fail
;
13470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13478 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13479 PyObject
*resultobj
= 0;
13480 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13484 PyObject
*swig_obj
[1] ;
13486 if (!args
) SWIG_fail
;
13487 swig_obj
[0] = args
;
13488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13489 if (!SWIG_IsOK(res1
)) {
13490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13492 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13495 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
13496 wxPyEndAllowThreads(__tstate
);
13497 if (PyErr_Occurred()) SWIG_fail
;
13500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13508 SWIGINTERN PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13509 PyObject
*resultobj
= 0;
13510 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13514 PyObject
*swig_obj
[1] ;
13516 if (!args
) SWIG_fail
;
13517 swig_obj
[0] = args
;
13518 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13519 if (!SWIG_IsOK(res1
)) {
13520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13522 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13525 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
13526 wxPyEndAllowThreads(__tstate
);
13527 if (PyErr_Occurred()) SWIG_fail
;
13530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13538 SWIGINTERN PyObject
*_wrap_TextCtrl_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13539 PyObject
*resultobj
= 0;
13540 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13543 PyObject
*swig_obj
[1] ;
13545 if (!args
) SWIG_fail
;
13546 swig_obj
[0] = args
;
13547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13548 if (!SWIG_IsOK(res1
)) {
13549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13551 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13555 wxPyEndAllowThreads(__tstate
);
13556 if (PyErr_Occurred()) SWIG_fail
;
13558 resultobj
= SWIG_Py_Void();
13565 SWIGINTERN PyObject
*_wrap_TextCtrl_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13566 PyObject
*resultobj
= 0;
13567 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13570 PyObject
*swig_obj
[1] ;
13572 if (!args
) SWIG_fail
;
13573 swig_obj
[0] = args
;
13574 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13575 if (!SWIG_IsOK(res1
)) {
13576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13578 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13582 wxPyEndAllowThreads(__tstate
);
13583 if (PyErr_Occurred()) SWIG_fail
;
13585 resultobj
= SWIG_Py_Void();
13592 SWIGINTERN PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13593 PyObject
*resultobj
= 0;
13594 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13598 PyObject
*swig_obj
[1] ;
13600 if (!args
) SWIG_fail
;
13601 swig_obj
[0] = args
;
13602 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13603 if (!SWIG_IsOK(res1
)) {
13604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13606 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13609 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
13610 wxPyEndAllowThreads(__tstate
);
13611 if (PyErr_Occurred()) SWIG_fail
;
13614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13622 SWIGINTERN PyObject
*_wrap_TextCtrl_CanRedo(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_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13636 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13639 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
13640 wxPyEndAllowThreads(__tstate
);
13641 if (PyErr_Occurred()) SWIG_fail
;
13644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13652 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13653 PyObject
*resultobj
= 0;
13654 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13660 PyObject
* obj0
= 0 ;
13661 PyObject
* obj1
= 0 ;
13662 char * kwnames
[] = {
13663 (char *) "self",(char *) "pos", NULL
13666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13668 if (!SWIG_IsOK(res1
)) {
13669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13671 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13672 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13673 if (!SWIG_IsOK(ecode2
)) {
13674 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13676 arg2
= static_cast< long >(val2
);
13678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13679 (arg1
)->SetInsertionPoint(arg2
);
13680 wxPyEndAllowThreads(__tstate
);
13681 if (PyErr_Occurred()) SWIG_fail
;
13683 resultobj
= SWIG_Py_Void();
13690 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13691 PyObject
*resultobj
= 0;
13692 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13695 PyObject
*swig_obj
[1] ;
13697 if (!args
) SWIG_fail
;
13698 swig_obj
[0] = args
;
13699 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13700 if (!SWIG_IsOK(res1
)) {
13701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13703 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13706 (arg1
)->SetInsertionPointEnd();
13707 wxPyEndAllowThreads(__tstate
);
13708 if (PyErr_Occurred()) SWIG_fail
;
13710 resultobj
= SWIG_Py_Void();
13717 SWIGINTERN PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13718 PyObject
*resultobj
= 0;
13719 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13723 PyObject
*swig_obj
[1] ;
13725 if (!args
) SWIG_fail
;
13726 swig_obj
[0] = args
;
13727 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13728 if (!SWIG_IsOK(res1
)) {
13729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13731 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13734 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
13735 wxPyEndAllowThreads(__tstate
);
13736 if (PyErr_Occurred()) SWIG_fail
;
13738 resultobj
= SWIG_From_long(static_cast< long >(result
));
13745 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13746 PyObject
*resultobj
= 0;
13747 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13751 PyObject
*swig_obj
[1] ;
13753 if (!args
) SWIG_fail
;
13754 swig_obj
[0] = args
;
13755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13756 if (!SWIG_IsOK(res1
)) {
13757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13759 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13762 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
13763 wxPyEndAllowThreads(__tstate
);
13764 if (PyErr_Occurred()) SWIG_fail
;
13766 resultobj
= SWIG_From_long(static_cast< long >(result
));
13773 SWIGINTERN PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13774 PyObject
*resultobj
= 0;
13775 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13784 PyObject
* obj0
= 0 ;
13785 PyObject
* obj1
= 0 ;
13786 PyObject
* obj2
= 0 ;
13787 char * kwnames
[] = {
13788 (char *) "self",(char *) "from",(char *) "to", NULL
13791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13793 if (!SWIG_IsOK(res1
)) {
13794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13796 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13797 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13798 if (!SWIG_IsOK(ecode2
)) {
13799 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13801 arg2
= static_cast< long >(val2
);
13802 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13803 if (!SWIG_IsOK(ecode3
)) {
13804 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13806 arg3
= static_cast< long >(val3
);
13808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13809 (arg1
)->SetSelection(arg2
,arg3
);
13810 wxPyEndAllowThreads(__tstate
);
13811 if (PyErr_Occurred()) SWIG_fail
;
13813 resultobj
= SWIG_Py_Void();
13820 SWIGINTERN PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13821 PyObject
*resultobj
= 0;
13822 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13825 PyObject
*swig_obj
[1] ;
13827 if (!args
) SWIG_fail
;
13828 swig_obj
[0] = args
;
13829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13830 if (!SWIG_IsOK(res1
)) {
13831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13833 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13836 (arg1
)->SelectAll();
13837 wxPyEndAllowThreads(__tstate
);
13838 if (PyErr_Occurred()) SWIG_fail
;
13840 resultobj
= SWIG_Py_Void();
13847 SWIGINTERN PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13848 PyObject
*resultobj
= 0;
13849 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13855 PyObject
* obj0
= 0 ;
13856 PyObject
* obj1
= 0 ;
13857 char * kwnames
[] = {
13858 (char *) "self",(char *) "editable", NULL
13861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13863 if (!SWIG_IsOK(res1
)) {
13864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13866 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13867 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13868 if (!SWIG_IsOK(ecode2
)) {
13869 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
13871 arg2
= static_cast< bool >(val2
);
13873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13874 (arg1
)->SetEditable(arg2
);
13875 wxPyEndAllowThreads(__tstate
);
13876 if (PyErr_Occurred()) SWIG_fail
;
13878 resultobj
= SWIG_Py_Void();
13885 SWIGINTERN PyObject
*_wrap_TextCtrl_SendTextUpdatedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13886 PyObject
*resultobj
= 0;
13887 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13890 PyObject
*swig_obj
[1] ;
13892 if (!args
) SWIG_fail
;
13893 swig_obj
[0] = args
;
13894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13895 if (!SWIG_IsOK(res1
)) {
13896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SendTextUpdatedEvent" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13898 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13901 (arg1
)->SendTextUpdatedEvent();
13902 wxPyEndAllowThreads(__tstate
);
13903 if (PyErr_Occurred()) SWIG_fail
;
13905 resultobj
= SWIG_Py_Void();
13912 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowNativeCaret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13913 PyObject
*resultobj
= 0;
13914 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13915 bool arg2
= (bool) true ;
13921 PyObject
* obj0
= 0 ;
13922 PyObject
* obj1
= 0 ;
13923 char * kwnames
[] = {
13924 (char *) "self",(char *) "show", NULL
13927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames
,&obj0
,&obj1
)) 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_ShowNativeCaret" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13932 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13934 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13935 if (!SWIG_IsOK(ecode2
)) {
13936 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowNativeCaret" "', expected argument " "2"" of type '" "bool""'");
13938 arg2
= static_cast< bool >(val2
);
13941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13942 result
= (bool)(arg1
)->ShowNativeCaret(arg2
);
13943 wxPyEndAllowThreads(__tstate
);
13944 if (PyErr_Occurred()) SWIG_fail
;
13947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13955 SWIGINTERN PyObject
*_wrap_TextCtrl_HideNativeCaret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13956 PyObject
*resultobj
= 0;
13957 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13961 PyObject
*swig_obj
[1] ;
13963 if (!args
) SWIG_fail
;
13964 swig_obj
[0] = args
;
13965 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13966 if (!SWIG_IsOK(res1
)) {
13967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HideNativeCaret" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13969 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13972 result
= (bool)(arg1
)->HideNativeCaret();
13973 wxPyEndAllowThreads(__tstate
);
13974 if (PyErr_Occurred()) SWIG_fail
;
13977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13985 SWIGINTERN PyObject
*_wrap_TextCtrl_write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13986 PyObject
*resultobj
= 0;
13987 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13988 wxString
*arg2
= 0 ;
13991 bool temp2
= false ;
13992 PyObject
* obj0
= 0 ;
13993 PyObject
* obj1
= 0 ;
13994 char * kwnames
[] = {
13995 (char *) "self",(char *) "text", NULL
13998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
14000 if (!SWIG_IsOK(res1
)) {
14001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
14003 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
14005 arg2
= wxString_in_helper(obj1
);
14006 if (arg2
== NULL
) SWIG_fail
;
14010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14011 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
14012 wxPyEndAllowThreads(__tstate
);
14013 if (PyErr_Occurred()) SWIG_fail
;
14015 resultobj
= SWIG_Py_Void();
14030 SWIGINTERN PyObject
*_wrap_TextCtrl_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14031 PyObject
*resultobj
= 0;
14032 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
14042 PyObject
* obj0
= 0 ;
14043 PyObject
* obj1
= 0 ;
14044 PyObject
* obj2
= 0 ;
14045 char * kwnames
[] = {
14046 (char *) "self",(char *) "from",(char *) "to", NULL
14049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
14051 if (!SWIG_IsOK(res1
)) {
14052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
14054 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
14055 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
14056 if (!SWIG_IsOK(ecode2
)) {
14057 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
14059 arg2
= static_cast< long >(val2
);
14060 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
14061 if (!SWIG_IsOK(ecode3
)) {
14062 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
14064 arg3
= static_cast< long >(val3
);
14066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14067 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
14068 wxPyEndAllowThreads(__tstate
);
14069 if (PyErr_Occurred()) SWIG_fail
;
14073 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14075 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14084 SWIGINTERN PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14085 PyObject
*resultobj
= 0;
14086 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14087 SwigValueWrapper
<wxVisualAttributes
> result
;
14090 PyObject
* obj0
= 0 ;
14091 char * kwnames
[] = {
14092 (char *) "variant", NULL
14095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14097 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14098 if (!SWIG_IsOK(ecode1
)) {
14099 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14101 arg1
= static_cast< wxWindowVariant
>(val1
);
14104 if (!wxPyCheckForApp()) SWIG_fail
;
14105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14106 result
= wxTextCtrl::GetClassDefaultAttributes(arg1
);
14107 wxPyEndAllowThreads(__tstate
);
14108 if (PyErr_Occurred()) SWIG_fail
;
14110 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14117 SWIGINTERN PyObject
*TextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14119 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14120 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl
, SWIG_NewClientData(obj
));
14121 return SWIG_Py_Void();
14124 SWIGINTERN PyObject
*TextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14125 return SWIG_Python_InitShadowInstance(args
);
14128 SWIGINTERN PyObject
*_wrap_new_TextUrlEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14129 PyObject
*resultobj
= 0;
14131 wxMouseEvent
*arg2
= 0 ;
14134 wxTextUrlEvent
*result
= 0 ;
14143 PyObject
* obj0
= 0 ;
14144 PyObject
* obj1
= 0 ;
14145 PyObject
* obj2
= 0 ;
14146 PyObject
* obj3
= 0 ;
14147 char * kwnames
[] = {
14148 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
14151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14152 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14153 if (!SWIG_IsOK(ecode1
)) {
14154 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
14156 arg1
= static_cast< int >(val1
);
14157 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
14158 if (!SWIG_IsOK(res2
)) {
14159 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14162 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14164 arg2
= reinterpret_cast< wxMouseEvent
* >(argp2
);
14165 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
14166 if (!SWIG_IsOK(ecode3
)) {
14167 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
14169 arg3
= static_cast< long >(val3
);
14170 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
14171 if (!SWIG_IsOK(ecode4
)) {
14172 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
14174 arg4
= static_cast< long >(val4
);
14176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14177 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
14178 wxPyEndAllowThreads(__tstate
);
14179 if (PyErr_Occurred()) SWIG_fail
;
14181 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_NEW
| 0 );
14188 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14189 PyObject
*resultobj
= 0;
14190 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14191 wxMouseEvent
*result
= 0 ;
14194 PyObject
*swig_obj
[1] ;
14196 if (!args
) SWIG_fail
;
14197 swig_obj
[0] = args
;
14198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14199 if (!SWIG_IsOK(res1
)) {
14200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
14202 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14206 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
14207 result
= (wxMouseEvent
*) &_result_ref
;
14209 wxPyEndAllowThreads(__tstate
);
14210 if (PyErr_Occurred()) SWIG_fail
;
14212 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
14219 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14220 PyObject
*resultobj
= 0;
14221 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14225 PyObject
*swig_obj
[1] ;
14227 if (!args
) SWIG_fail
;
14228 swig_obj
[0] = args
;
14229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14230 if (!SWIG_IsOK(res1
)) {
14231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14233 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14236 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
14237 wxPyEndAllowThreads(__tstate
);
14238 if (PyErr_Occurred()) SWIG_fail
;
14240 resultobj
= SWIG_From_long(static_cast< long >(result
));
14247 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14248 PyObject
*resultobj
= 0;
14249 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14253 PyObject
*swig_obj
[1] ;
14255 if (!args
) SWIG_fail
;
14256 swig_obj
[0] = args
;
14257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14258 if (!SWIG_IsOK(res1
)) {
14259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14261 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14264 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
14265 wxPyEndAllowThreads(__tstate
);
14266 if (PyErr_Occurred()) SWIG_fail
;
14268 resultobj
= SWIG_From_long(static_cast< long >(result
));
14275 SWIGINTERN PyObject
*TextUrlEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14277 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14278 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent
, SWIG_NewClientData(obj
));
14279 return SWIG_Py_Void();
14282 SWIGINTERN PyObject
*TextUrlEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14283 return SWIG_Python_InitShadowInstance(args
);
14286 SWIGINTERN
int ScrollBarNameStr_set(PyObject
*) {
14287 SWIG_Error(SWIG_AttributeError
,"Variable ScrollBarNameStr is read-only.");
14292 SWIGINTERN PyObject
*ScrollBarNameStr_get(void) {
14293 PyObject
*pyobj
= 0;
14297 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14299 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14306 SWIGINTERN PyObject
*_wrap_new_ScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14307 PyObject
*resultobj
= 0;
14308 wxWindow
*arg1
= (wxWindow
*) 0 ;
14309 int arg2
= (int) -1 ;
14310 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14311 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14312 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14313 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14314 long arg5
= (long) wxSB_HORIZONTAL
;
14315 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
14316 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
14317 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
14318 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14319 wxScrollBar
*result
= 0 ;
14330 bool temp7
= false ;
14331 PyObject
* obj0
= 0 ;
14332 PyObject
* obj1
= 0 ;
14333 PyObject
* obj2
= 0 ;
14334 PyObject
* obj3
= 0 ;
14335 PyObject
* obj4
= 0 ;
14336 PyObject
* obj5
= 0 ;
14337 PyObject
* obj6
= 0 ;
14338 char * kwnames
[] = {
14339 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14344 if (!SWIG_IsOK(res1
)) {
14345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
14347 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14349 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14350 if (!SWIG_IsOK(ecode2
)) {
14351 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
14353 arg2
= static_cast< int >(val2
);
14358 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14364 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14368 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14369 if (!SWIG_IsOK(ecode5
)) {
14370 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14372 arg5
= static_cast< long >(val5
);
14375 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
14376 if (!SWIG_IsOK(res6
)) {
14377 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14380 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14382 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
14386 arg7
= wxString_in_helper(obj6
);
14387 if (arg7
== NULL
) SWIG_fail
;
14392 if (!wxPyCheckForApp()) SWIG_fail
;
14393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14394 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
14395 wxPyEndAllowThreads(__tstate
);
14396 if (PyErr_Occurred()) SWIG_fail
;
14398 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_NEW
| 0 );
14413 SWIGINTERN PyObject
*_wrap_new_PreScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14414 PyObject
*resultobj
= 0;
14415 wxScrollBar
*result
= 0 ;
14417 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrollBar",0,0,0)) SWIG_fail
;
14419 if (!wxPyCheckForApp()) SWIG_fail
;
14420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14421 result
= (wxScrollBar
*)new wxScrollBar();
14422 wxPyEndAllowThreads(__tstate
);
14423 if (PyErr_Occurred()) SWIG_fail
;
14425 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_OWN
| 0 );
14432 SWIGINTERN PyObject
*_wrap_ScrollBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14433 PyObject
*resultobj
= 0;
14434 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14435 wxWindow
*arg2
= (wxWindow
*) 0 ;
14436 int arg3
= (int) -1 ;
14437 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14438 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14439 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14440 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14441 long arg6
= (long) wxSB_HORIZONTAL
;
14442 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14443 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14444 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
14445 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14459 bool temp8
= false ;
14460 PyObject
* obj0
= 0 ;
14461 PyObject
* obj1
= 0 ;
14462 PyObject
* obj2
= 0 ;
14463 PyObject
* obj3
= 0 ;
14464 PyObject
* obj4
= 0 ;
14465 PyObject
* obj5
= 0 ;
14466 PyObject
* obj6
= 0 ;
14467 PyObject
* obj7
= 0 ;
14468 char * kwnames
[] = {
14469 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
14473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14474 if (!SWIG_IsOK(res1
)) {
14475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14477 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14478 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14479 if (!SWIG_IsOK(res2
)) {
14480 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14482 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14484 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14485 if (!SWIG_IsOK(ecode3
)) {
14486 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14488 arg3
= static_cast< int >(val3
);
14493 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14499 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14503 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14504 if (!SWIG_IsOK(ecode6
)) {
14505 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14507 arg6
= static_cast< long >(val6
);
14510 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
14511 if (!SWIG_IsOK(res7
)) {
14512 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14515 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14517 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
14521 arg8
= wxString_in_helper(obj7
);
14522 if (arg8
== NULL
) SWIG_fail
;
14527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14528 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14529 wxPyEndAllowThreads(__tstate
);
14530 if (PyErr_Occurred()) SWIG_fail
;
14533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14549 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14550 PyObject
*resultobj
= 0;
14551 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14555 PyObject
*swig_obj
[1] ;
14557 if (!args
) SWIG_fail
;
14558 swig_obj
[0] = args
;
14559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14560 if (!SWIG_IsOK(res1
)) {
14561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14563 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14566 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
14567 wxPyEndAllowThreads(__tstate
);
14568 if (PyErr_Occurred()) SWIG_fail
;
14570 resultobj
= SWIG_From_int(static_cast< int >(result
));
14577 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14578 PyObject
*resultobj
= 0;
14579 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14583 PyObject
*swig_obj
[1] ;
14585 if (!args
) SWIG_fail
;
14586 swig_obj
[0] = args
;
14587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14588 if (!SWIG_IsOK(res1
)) {
14589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14591 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14594 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
14595 wxPyEndAllowThreads(__tstate
);
14596 if (PyErr_Occurred()) SWIG_fail
;
14598 resultobj
= SWIG_From_int(static_cast< int >(result
));
14605 SWIGINTERN PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14606 PyObject
*resultobj
= 0;
14607 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14611 PyObject
*swig_obj
[1] ;
14613 if (!args
) SWIG_fail
;
14614 swig_obj
[0] = args
;
14615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14616 if (!SWIG_IsOK(res1
)) {
14617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14619 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14622 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
14623 wxPyEndAllowThreads(__tstate
);
14624 if (PyErr_Occurred()) SWIG_fail
;
14626 resultobj
= SWIG_From_int(static_cast< int >(result
));
14633 SWIGINTERN PyObject
*_wrap_ScrollBar_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14634 PyObject
*resultobj
= 0;
14635 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14639 PyObject
*swig_obj
[1] ;
14641 if (!args
) SWIG_fail
;
14642 swig_obj
[0] = args
;
14643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14644 if (!SWIG_IsOK(res1
)) {
14645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14647 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14650 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
14651 wxPyEndAllowThreads(__tstate
);
14652 if (PyErr_Occurred()) SWIG_fail
;
14654 resultobj
= SWIG_From_int(static_cast< int >(result
));
14661 SWIGINTERN PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14662 PyObject
*resultobj
= 0;
14663 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14667 PyObject
*swig_obj
[1] ;
14669 if (!args
) SWIG_fail
;
14670 swig_obj
[0] = args
;
14671 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14672 if (!SWIG_IsOK(res1
)) {
14673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14675 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14678 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
14679 wxPyEndAllowThreads(__tstate
);
14680 if (PyErr_Occurred()) SWIG_fail
;
14683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14691 SWIGINTERN PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14692 PyObject
*resultobj
= 0;
14693 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14699 PyObject
* obj0
= 0 ;
14700 PyObject
* obj1
= 0 ;
14701 char * kwnames
[] = {
14702 (char *) "self",(char *) "viewStart", NULL
14705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14707 if (!SWIG_IsOK(res1
)) {
14708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14710 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14711 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14712 if (!SWIG_IsOK(ecode2
)) {
14713 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14715 arg2
= static_cast< int >(val2
);
14717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14718 (arg1
)->SetThumbPosition(arg2
);
14719 wxPyEndAllowThreads(__tstate
);
14720 if (PyErr_Occurred()) SWIG_fail
;
14722 resultobj
= SWIG_Py_Void();
14729 SWIGINTERN PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14730 PyObject
*resultobj
= 0;
14731 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14732 SwigValueWrapper
<wxVisualAttributes
> result
;
14735 PyObject
* obj0
= 0 ;
14736 char * kwnames
[] = {
14737 (char *) "variant", NULL
14740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14742 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14743 if (!SWIG_IsOK(ecode1
)) {
14744 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14746 arg1
= static_cast< wxWindowVariant
>(val1
);
14749 if (!wxPyCheckForApp()) SWIG_fail
;
14750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14751 result
= wxScrollBar::GetClassDefaultAttributes(arg1
);
14752 wxPyEndAllowThreads(__tstate
);
14753 if (PyErr_Occurred()) SWIG_fail
;
14755 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14762 SWIGINTERN PyObject
*ScrollBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14764 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14765 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar
, SWIG_NewClientData(obj
));
14766 return SWIG_Py_Void();
14769 SWIGINTERN PyObject
*ScrollBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14770 return SWIG_Python_InitShadowInstance(args
);
14773 SWIGINTERN
int SPIN_BUTTON_NAME_set(PyObject
*) {
14774 SWIG_Error(SWIG_AttributeError
,"Variable SPIN_BUTTON_NAME is read-only.");
14779 SWIGINTERN PyObject
*SPIN_BUTTON_NAME_get(void) {
14780 PyObject
*pyobj
= 0;
14784 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14786 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14793 SWIGINTERN
int SpinCtrlNameStr_set(PyObject
*) {
14794 SWIG_Error(SWIG_AttributeError
,"Variable SpinCtrlNameStr is read-only.");
14799 SWIGINTERN PyObject
*SpinCtrlNameStr_get(void) {
14800 PyObject
*pyobj
= 0;
14804 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14806 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14813 SWIGINTERN PyObject
*_wrap_new_SpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14814 PyObject
*resultobj
= 0;
14815 wxWindow
*arg1
= (wxWindow
*) 0 ;
14816 int arg2
= (int) -1 ;
14817 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14818 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14819 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14820 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14821 long arg5
= (long) wxSP_HORIZONTAL
;
14822 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
14823 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14824 wxSpinButton
*result
= 0 ;
14833 bool temp6
= false ;
14834 PyObject
* obj0
= 0 ;
14835 PyObject
* obj1
= 0 ;
14836 PyObject
* obj2
= 0 ;
14837 PyObject
* obj3
= 0 ;
14838 PyObject
* obj4
= 0 ;
14839 PyObject
* obj5
= 0 ;
14840 char * kwnames
[] = {
14841 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14846 if (!SWIG_IsOK(res1
)) {
14847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14849 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14851 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14852 if (!SWIG_IsOK(ecode2
)) {
14853 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14855 arg2
= static_cast< int >(val2
);
14860 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14866 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14870 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14871 if (!SWIG_IsOK(ecode5
)) {
14872 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14874 arg5
= static_cast< long >(val5
);
14878 arg6
= wxString_in_helper(obj5
);
14879 if (arg6
== NULL
) SWIG_fail
;
14884 if (!wxPyCheckForApp()) SWIG_fail
;
14885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14886 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14887 wxPyEndAllowThreads(__tstate
);
14888 if (PyErr_Occurred()) SWIG_fail
;
14890 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_NEW
| 0 );
14905 SWIGINTERN PyObject
*_wrap_new_PreSpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14906 PyObject
*resultobj
= 0;
14907 wxSpinButton
*result
= 0 ;
14909 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinButton",0,0,0)) SWIG_fail
;
14911 if (!wxPyCheckForApp()) SWIG_fail
;
14912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14913 result
= (wxSpinButton
*)new wxSpinButton();
14914 wxPyEndAllowThreads(__tstate
);
14915 if (PyErr_Occurred()) SWIG_fail
;
14917 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_OWN
| 0 );
14924 SWIGINTERN PyObject
*_wrap_SpinButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14925 PyObject
*resultobj
= 0;
14926 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14927 wxWindow
*arg2
= (wxWindow
*) 0 ;
14928 int arg3
= (int) -1 ;
14929 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14930 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14931 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14932 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14933 long arg6
= (long) wxSP_HORIZONTAL
;
14934 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
14935 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14947 bool temp7
= false ;
14948 PyObject
* obj0
= 0 ;
14949 PyObject
* obj1
= 0 ;
14950 PyObject
* obj2
= 0 ;
14951 PyObject
* obj3
= 0 ;
14952 PyObject
* obj4
= 0 ;
14953 PyObject
* obj5
= 0 ;
14954 PyObject
* obj6
= 0 ;
14955 char * kwnames
[] = {
14956 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14961 if (!SWIG_IsOK(res1
)) {
14962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14964 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14965 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14966 if (!SWIG_IsOK(res2
)) {
14967 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14969 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14971 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14972 if (!SWIG_IsOK(ecode3
)) {
14973 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
14975 arg3
= static_cast< int >(val3
);
14980 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14986 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14990 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14991 if (!SWIG_IsOK(ecode6
)) {
14992 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
14994 arg6
= static_cast< long >(val6
);
14998 arg7
= wxString_in_helper(obj6
);
14999 if (arg7
== NULL
) SWIG_fail
;
15004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15005 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15006 wxPyEndAllowThreads(__tstate
);
15007 if (PyErr_Occurred()) SWIG_fail
;
15010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15026 SWIGINTERN PyObject
*_wrap_SpinButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15027 PyObject
*resultobj
= 0;
15028 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15032 PyObject
*swig_obj
[1] ;
15034 if (!args
) SWIG_fail
;
15035 swig_obj
[0] = args
;
15036 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15037 if (!SWIG_IsOK(res1
)) {
15038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15040 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15043 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
15044 wxPyEndAllowThreads(__tstate
);
15045 if (PyErr_Occurred()) SWIG_fail
;
15047 resultobj
= SWIG_From_int(static_cast< int >(result
));
15054 SWIGINTERN PyObject
*_wrap_SpinButton_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15055 PyObject
*resultobj
= 0;
15056 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15060 PyObject
*swig_obj
[1] ;
15062 if (!args
) SWIG_fail
;
15063 swig_obj
[0] = args
;
15064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15065 if (!SWIG_IsOK(res1
)) {
15066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15068 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15071 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
15072 wxPyEndAllowThreads(__tstate
);
15073 if (PyErr_Occurred()) SWIG_fail
;
15075 resultobj
= SWIG_From_int(static_cast< int >(result
));
15082 SWIGINTERN PyObject
*_wrap_SpinButton_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15083 PyObject
*resultobj
= 0;
15084 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15088 PyObject
*swig_obj
[1] ;
15090 if (!args
) SWIG_fail
;
15091 swig_obj
[0] = args
;
15092 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15093 if (!SWIG_IsOK(res1
)) {
15094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15096 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15099 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
15100 wxPyEndAllowThreads(__tstate
);
15101 if (PyErr_Occurred()) SWIG_fail
;
15103 resultobj
= SWIG_From_int(static_cast< int >(result
));
15110 SWIGINTERN PyObject
*_wrap_SpinButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15111 PyObject
*resultobj
= 0;
15112 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15118 PyObject
* obj0
= 0 ;
15119 PyObject
* obj1
= 0 ;
15120 char * kwnames
[] = {
15121 (char *) "self",(char *) "val", NULL
15124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15126 if (!SWIG_IsOK(res1
)) {
15127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15129 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15130 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15131 if (!SWIG_IsOK(ecode2
)) {
15132 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
15134 arg2
= static_cast< int >(val2
);
15136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15137 (arg1
)->SetValue(arg2
);
15138 wxPyEndAllowThreads(__tstate
);
15139 if (PyErr_Occurred()) SWIG_fail
;
15141 resultobj
= SWIG_Py_Void();
15148 SWIGINTERN PyObject
*_wrap_SpinButton_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15149 PyObject
*resultobj
= 0;
15150 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15156 PyObject
* obj0
= 0 ;
15157 PyObject
* obj1
= 0 ;
15158 char * kwnames
[] = {
15159 (char *) "self",(char *) "minVal", NULL
15162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15164 if (!SWIG_IsOK(res1
)) {
15165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15167 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15168 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15169 if (!SWIG_IsOK(ecode2
)) {
15170 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
15172 arg2
= static_cast< int >(val2
);
15174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15175 (arg1
)->SetMin(arg2
);
15176 wxPyEndAllowThreads(__tstate
);
15177 if (PyErr_Occurred()) SWIG_fail
;
15179 resultobj
= SWIG_Py_Void();
15186 SWIGINTERN PyObject
*_wrap_SpinButton_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15187 PyObject
*resultobj
= 0;
15188 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15194 PyObject
* obj0
= 0 ;
15195 PyObject
* obj1
= 0 ;
15196 char * kwnames
[] = {
15197 (char *) "self",(char *) "maxVal", NULL
15200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15202 if (!SWIG_IsOK(res1
)) {
15203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMax" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15205 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15206 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15207 if (!SWIG_IsOK(ecode2
)) {
15208 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMax" "', expected argument " "2"" of type '" "int""'");
15210 arg2
= static_cast< int >(val2
);
15212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15213 (arg1
)->SetMax(arg2
);
15214 wxPyEndAllowThreads(__tstate
);
15215 if (PyErr_Occurred()) SWIG_fail
;
15217 resultobj
= SWIG_Py_Void();
15224 SWIGINTERN PyObject
*_wrap_SpinButton_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15225 PyObject
*resultobj
= 0;
15226 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15235 PyObject
* obj0
= 0 ;
15236 PyObject
* obj1
= 0 ;
15237 PyObject
* obj2
= 0 ;
15238 char * kwnames
[] = {
15239 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15244 if (!SWIG_IsOK(res1
)) {
15245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15247 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15248 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15249 if (!SWIG_IsOK(ecode2
)) {
15250 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
15252 arg2
= static_cast< int >(val2
);
15253 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15254 if (!SWIG_IsOK(ecode3
)) {
15255 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
15257 arg3
= static_cast< int >(val3
);
15259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15260 (arg1
)->SetRange(arg2
,arg3
);
15261 wxPyEndAllowThreads(__tstate
);
15262 if (PyErr_Occurred()) SWIG_fail
;
15264 resultobj
= SWIG_Py_Void();
15271 SWIGINTERN PyObject
*_wrap_SpinButton_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15272 PyObject
*resultobj
= 0;
15273 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15277 PyObject
*swig_obj
[1] ;
15279 if (!args
) SWIG_fail
;
15280 swig_obj
[0] = args
;
15281 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15282 if (!SWIG_IsOK(res1
)) {
15283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15285 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15288 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
15289 wxPyEndAllowThreads(__tstate
);
15290 if (PyErr_Occurred()) SWIG_fail
;
15293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15301 SWIGINTERN PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15302 PyObject
*resultobj
= 0;
15303 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15304 SwigValueWrapper
<wxVisualAttributes
> result
;
15307 PyObject
* obj0
= 0 ;
15308 char * kwnames
[] = {
15309 (char *) "variant", NULL
15312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15314 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15315 if (!SWIG_IsOK(ecode1
)) {
15316 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15318 arg1
= static_cast< wxWindowVariant
>(val1
);
15321 if (!wxPyCheckForApp()) SWIG_fail
;
15322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15323 result
= wxSpinButton::GetClassDefaultAttributes(arg1
);
15324 wxPyEndAllowThreads(__tstate
);
15325 if (PyErr_Occurred()) SWIG_fail
;
15327 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15334 SWIGINTERN PyObject
*SpinButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15336 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15337 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton
, SWIG_NewClientData(obj
));
15338 return SWIG_Py_Void();
15341 SWIGINTERN PyObject
*SpinButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15342 return SWIG_Python_InitShadowInstance(args
);
15345 SWIGINTERN PyObject
*_wrap_new_SpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15346 PyObject
*resultobj
= 0;
15347 wxWindow
*arg1
= (wxWindow
*) 0 ;
15348 int arg2
= (int) -1 ;
15349 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15350 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15351 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15352 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15353 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15354 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15355 long arg6
= (long) wxSP_ARROW_KEYS
;
15356 int arg7
= (int) 0 ;
15357 int arg8
= (int) 100 ;
15358 int arg9
= (int) 0 ;
15359 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
15360 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15361 wxSpinCtrl
*result
= 0 ;
15366 bool temp3
= false ;
15377 bool temp10
= false ;
15378 PyObject
* obj0
= 0 ;
15379 PyObject
* obj1
= 0 ;
15380 PyObject
* obj2
= 0 ;
15381 PyObject
* obj3
= 0 ;
15382 PyObject
* obj4
= 0 ;
15383 PyObject
* obj5
= 0 ;
15384 PyObject
* obj6
= 0 ;
15385 PyObject
* obj7
= 0 ;
15386 PyObject
* obj8
= 0 ;
15387 PyObject
* obj9
= 0 ;
15388 char * kwnames
[] = {
15389 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15394 if (!SWIG_IsOK(res1
)) {
15395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15397 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15399 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15400 if (!SWIG_IsOK(ecode2
)) {
15401 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15403 arg2
= static_cast< int >(val2
);
15407 arg3
= wxString_in_helper(obj2
);
15408 if (arg3
== NULL
) SWIG_fail
;
15415 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15421 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15425 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15426 if (!SWIG_IsOK(ecode6
)) {
15427 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15429 arg6
= static_cast< long >(val6
);
15432 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15433 if (!SWIG_IsOK(ecode7
)) {
15434 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15436 arg7
= static_cast< int >(val7
);
15439 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15440 if (!SWIG_IsOK(ecode8
)) {
15441 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15443 arg8
= static_cast< int >(val8
);
15446 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15447 if (!SWIG_IsOK(ecode9
)) {
15448 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15450 arg9
= static_cast< int >(val9
);
15454 arg10
= wxString_in_helper(obj9
);
15455 if (arg10
== NULL
) SWIG_fail
;
15460 if (!wxPyCheckForApp()) SWIG_fail
;
15461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15462 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
15463 wxPyEndAllowThreads(__tstate
);
15464 if (PyErr_Occurred()) SWIG_fail
;
15466 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_NEW
| 0 );
15489 SWIGINTERN PyObject
*_wrap_new_PreSpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15490 PyObject
*resultobj
= 0;
15491 wxSpinCtrl
*result
= 0 ;
15493 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinCtrl",0,0,0)) SWIG_fail
;
15495 if (!wxPyCheckForApp()) SWIG_fail
;
15496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15497 result
= (wxSpinCtrl
*)new wxSpinCtrl();
15498 wxPyEndAllowThreads(__tstate
);
15499 if (PyErr_Occurred()) SWIG_fail
;
15501 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_OWN
| 0 );
15508 SWIGINTERN PyObject
*_wrap_SpinCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15509 PyObject
*resultobj
= 0;
15510 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15511 wxWindow
*arg2
= (wxWindow
*) 0 ;
15512 int arg3
= (int) -1 ;
15513 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15514 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15515 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15516 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15517 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15518 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15519 long arg7
= (long) wxSP_ARROW_KEYS
;
15520 int arg8
= (int) 0 ;
15521 int arg9
= (int) 100 ;
15522 int arg10
= (int) 0 ;
15523 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
15524 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15532 bool temp4
= false ;
15543 bool temp11
= false ;
15544 PyObject
* obj0
= 0 ;
15545 PyObject
* obj1
= 0 ;
15546 PyObject
* obj2
= 0 ;
15547 PyObject
* obj3
= 0 ;
15548 PyObject
* obj4
= 0 ;
15549 PyObject
* obj5
= 0 ;
15550 PyObject
* obj6
= 0 ;
15551 PyObject
* obj7
= 0 ;
15552 PyObject
* obj8
= 0 ;
15553 PyObject
* obj9
= 0 ;
15554 PyObject
* obj10
= 0 ;
15555 char * kwnames
[] = {
15556 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
15560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15561 if (!SWIG_IsOK(res1
)) {
15562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15564 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15565 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15566 if (!SWIG_IsOK(res2
)) {
15567 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15569 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15571 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15572 if (!SWIG_IsOK(ecode3
)) {
15573 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15575 arg3
= static_cast< int >(val3
);
15579 arg4
= wxString_in_helper(obj3
);
15580 if (arg4
== NULL
) SWIG_fail
;
15587 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15593 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15597 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
15598 if (!SWIG_IsOK(ecode7
)) {
15599 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15601 arg7
= static_cast< long >(val7
);
15604 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15605 if (!SWIG_IsOK(ecode8
)) {
15606 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15608 arg8
= static_cast< int >(val8
);
15611 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15612 if (!SWIG_IsOK(ecode9
)) {
15613 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15615 arg9
= static_cast< int >(val9
);
15618 ecode10
= SWIG_AsVal_int(obj9
, &val10
);
15619 if (!SWIG_IsOK(ecode10
)) {
15620 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15622 arg10
= static_cast< int >(val10
);
15626 arg11
= wxString_in_helper(obj10
);
15627 if (arg11
== NULL
) SWIG_fail
;
15632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15633 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
15634 wxPyEndAllowThreads(__tstate
);
15635 if (PyErr_Occurred()) SWIG_fail
;
15638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15662 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15663 PyObject
*resultobj
= 0;
15664 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15668 PyObject
*swig_obj
[1] ;
15670 if (!args
) SWIG_fail
;
15671 swig_obj
[0] = args
;
15672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15673 if (!SWIG_IsOK(res1
)) {
15674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15676 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15679 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
15680 wxPyEndAllowThreads(__tstate
);
15681 if (PyErr_Occurred()) SWIG_fail
;
15683 resultobj
= SWIG_From_int(static_cast< int >(result
));
15690 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15691 PyObject
*resultobj
= 0;
15692 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15698 PyObject
* obj0
= 0 ;
15699 PyObject
* obj1
= 0 ;
15700 char * kwnames
[] = {
15701 (char *) "self",(char *) "value", NULL
15704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15706 if (!SWIG_IsOK(res1
)) {
15707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15709 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15710 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15711 if (!SWIG_IsOK(ecode2
)) {
15712 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15714 arg2
= static_cast< int >(val2
);
15716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15717 (arg1
)->SetValue(arg2
);
15718 wxPyEndAllowThreads(__tstate
);
15719 if (PyErr_Occurred()) SWIG_fail
;
15721 resultobj
= SWIG_Py_Void();
15728 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15729 PyObject
*resultobj
= 0;
15730 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15731 wxString
*arg2
= 0 ;
15734 bool temp2
= false ;
15735 PyObject
* obj0
= 0 ;
15736 PyObject
* obj1
= 0 ;
15737 char * kwnames
[] = {
15738 (char *) "self",(char *) "text", NULL
15741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15743 if (!SWIG_IsOK(res1
)) {
15744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15746 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15748 arg2
= wxString_in_helper(obj1
);
15749 if (arg2
== NULL
) SWIG_fail
;
15753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15754 (arg1
)->SetValue((wxString
const &)*arg2
);
15755 wxPyEndAllowThreads(__tstate
);
15756 if (PyErr_Occurred()) SWIG_fail
;
15758 resultobj
= SWIG_Py_Void();
15773 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15774 PyObject
*resultobj
= 0;
15775 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15784 PyObject
* obj0
= 0 ;
15785 PyObject
* obj1
= 0 ;
15786 PyObject
* obj2
= 0 ;
15787 char * kwnames
[] = {
15788 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15793 if (!SWIG_IsOK(res1
)) {
15794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15796 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15797 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15798 if (!SWIG_IsOK(ecode2
)) {
15799 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15801 arg2
= static_cast< int >(val2
);
15802 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15803 if (!SWIG_IsOK(ecode3
)) {
15804 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15806 arg3
= static_cast< int >(val3
);
15808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15809 (arg1
)->SetRange(arg2
,arg3
);
15810 wxPyEndAllowThreads(__tstate
);
15811 if (PyErr_Occurred()) SWIG_fail
;
15813 resultobj
= SWIG_Py_Void();
15820 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15821 PyObject
*resultobj
= 0;
15822 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15826 PyObject
*swig_obj
[1] ;
15828 if (!args
) SWIG_fail
;
15829 swig_obj
[0] = args
;
15830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15831 if (!SWIG_IsOK(res1
)) {
15832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15834 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15837 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
15838 wxPyEndAllowThreads(__tstate
);
15839 if (PyErr_Occurred()) SWIG_fail
;
15841 resultobj
= SWIG_From_int(static_cast< int >(result
));
15848 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15849 PyObject
*resultobj
= 0;
15850 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15854 PyObject
*swig_obj
[1] ;
15856 if (!args
) SWIG_fail
;
15857 swig_obj
[0] = args
;
15858 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15859 if (!SWIG_IsOK(res1
)) {
15860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15862 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15865 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
15866 wxPyEndAllowThreads(__tstate
);
15867 if (PyErr_Occurred()) SWIG_fail
;
15869 resultobj
= SWIG_From_int(static_cast< int >(result
));
15876 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15877 PyObject
*resultobj
= 0;
15878 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15887 PyObject
* obj0
= 0 ;
15888 PyObject
* obj1
= 0 ;
15889 PyObject
* obj2
= 0 ;
15890 char * kwnames
[] = {
15891 (char *) "self",(char *) "from",(char *) "to", NULL
15894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15896 if (!SWIG_IsOK(res1
)) {
15897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15899 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15900 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
15901 if (!SWIG_IsOK(ecode2
)) {
15902 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
15904 arg2
= static_cast< long >(val2
);
15905 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
15906 if (!SWIG_IsOK(ecode3
)) {
15907 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
15909 arg3
= static_cast< long >(val3
);
15911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15912 (arg1
)->SetSelection(arg2
,arg3
);
15913 wxPyEndAllowThreads(__tstate
);
15914 if (PyErr_Occurred()) SWIG_fail
;
15916 resultobj
= SWIG_Py_Void();
15923 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15924 PyObject
*resultobj
= 0;
15925 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15926 SwigValueWrapper
<wxVisualAttributes
> result
;
15929 PyObject
* obj0
= 0 ;
15930 char * kwnames
[] = {
15931 (char *) "variant", NULL
15934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15936 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15937 if (!SWIG_IsOK(ecode1
)) {
15938 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15940 arg1
= static_cast< wxWindowVariant
>(val1
);
15943 if (!wxPyCheckForApp()) SWIG_fail
;
15944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15945 result
= wxSpinCtrl::GetClassDefaultAttributes(arg1
);
15946 wxPyEndAllowThreads(__tstate
);
15947 if (PyErr_Occurred()) SWIG_fail
;
15949 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15956 SWIGINTERN PyObject
*SpinCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15958 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15959 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl
, SWIG_NewClientData(obj
));
15960 return SWIG_Py_Void();
15963 SWIGINTERN PyObject
*SpinCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15964 return SWIG_Python_InitShadowInstance(args
);
15967 SWIGINTERN PyObject
*_wrap_new_SpinEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15968 PyObject
*resultobj
= 0;
15969 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15970 int arg2
= (int) 0 ;
15971 wxSpinEvent
*result
= 0 ;
15976 PyObject
* obj0
= 0 ;
15977 PyObject
* obj1
= 0 ;
15978 char * kwnames
[] = {
15979 (char *) "commandType",(char *) "winid", NULL
15982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15984 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15985 if (!SWIG_IsOK(ecode1
)) {
15986 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15988 arg1
= static_cast< wxEventType
>(val1
);
15991 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15992 if (!SWIG_IsOK(ecode2
)) {
15993 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
15995 arg2
= static_cast< int >(val2
);
15998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15999 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
16000 wxPyEndAllowThreads(__tstate
);
16001 if (PyErr_Occurred()) SWIG_fail
;
16003 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_NEW
| 0 );
16010 SWIGINTERN PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16011 PyObject
*resultobj
= 0;
16012 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
16016 PyObject
*swig_obj
[1] ;
16018 if (!args
) SWIG_fail
;
16019 swig_obj
[0] = args
;
16020 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
16021 if (!SWIG_IsOK(res1
)) {
16022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
16024 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
16026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16027 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
16028 wxPyEndAllowThreads(__tstate
);
16029 if (PyErr_Occurred()) SWIG_fail
;
16031 resultobj
= SWIG_From_int(static_cast< int >(result
));
16038 SWIGINTERN PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16039 PyObject
*resultobj
= 0;
16040 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
16046 PyObject
* obj0
= 0 ;
16047 PyObject
* obj1
= 0 ;
16048 char * kwnames
[] = {
16049 (char *) "self",(char *) "pos", NULL
16052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
16054 if (!SWIG_IsOK(res1
)) {
16055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
16057 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
16058 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16059 if (!SWIG_IsOK(ecode2
)) {
16060 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
16062 arg2
= static_cast< int >(val2
);
16064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16065 (arg1
)->SetPosition(arg2
);
16066 wxPyEndAllowThreads(__tstate
);
16067 if (PyErr_Occurred()) SWIG_fail
;
16069 resultobj
= SWIG_Py_Void();
16076 SWIGINTERN PyObject
*SpinEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16078 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16079 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent
, SWIG_NewClientData(obj
));
16080 return SWIG_Py_Void();
16083 SWIGINTERN PyObject
*SpinEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16084 return SWIG_Python_InitShadowInstance(args
);
16087 SWIGINTERN
int RadioBoxNameStr_set(PyObject
*) {
16088 SWIG_Error(SWIG_AttributeError
,"Variable RadioBoxNameStr is read-only.");
16093 SWIGINTERN PyObject
*RadioBoxNameStr_get(void) {
16094 PyObject
*pyobj
= 0;
16098 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
16100 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
16107 SWIGINTERN
int RadioButtonNameStr_set(PyObject
*) {
16108 SWIG_Error(SWIG_AttributeError
,"Variable RadioButtonNameStr is read-only.");
16113 SWIGINTERN PyObject
*RadioButtonNameStr_get(void) {
16114 PyObject
*pyobj
= 0;
16118 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
16120 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
16127 SWIGINTERN PyObject
*_wrap_new_RadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16128 PyObject
*resultobj
= 0;
16129 wxWindow
*arg1
= (wxWindow
*) 0 ;
16130 int arg2
= (int) -1 ;
16131 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16132 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16133 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16134 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16135 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16136 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16137 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
16138 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
16139 int arg7
= (int) 0 ;
16140 long arg8
= (long) wxRA_HORIZONTAL
;
16141 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
16142 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
16143 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
16144 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
16145 wxRadioBox
*result
= 0 ;
16150 bool temp3
= false ;
16153 bool temp6
= false ;
16160 bool temp10
= false ;
16161 PyObject
* obj0
= 0 ;
16162 PyObject
* obj1
= 0 ;
16163 PyObject
* obj2
= 0 ;
16164 PyObject
* obj3
= 0 ;
16165 PyObject
* obj4
= 0 ;
16166 PyObject
* obj5
= 0 ;
16167 PyObject
* obj6
= 0 ;
16168 PyObject
* obj7
= 0 ;
16169 PyObject
* obj8
= 0 ;
16170 PyObject
* obj9
= 0 ;
16171 char * kwnames
[] = {
16172 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
16176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16177 if (!SWIG_IsOK(res1
)) {
16178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
16180 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16182 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16183 if (!SWIG_IsOK(ecode2
)) {
16184 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
16186 arg2
= static_cast< int >(val2
);
16190 arg3
= wxString_in_helper(obj2
);
16191 if (arg3
== NULL
) SWIG_fail
;
16198 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16204 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16209 if (! PySequence_Check(obj5
)) {
16210 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16213 arg6
= new wxArrayString
;
16215 int i
, len
=PySequence_Length(obj5
);
16216 for (i
=0; i
<len
; i
++) {
16217 PyObject
* item
= PySequence_GetItem(obj5
, i
);
16218 wxString
* s
= wxString_in_helper(item
);
16219 if (PyErr_Occurred()) SWIG_fail
;
16227 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
16228 if (!SWIG_IsOK(ecode7
)) {
16229 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
16231 arg7
= static_cast< int >(val7
);
16234 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
16235 if (!SWIG_IsOK(ecode8
)) {
16236 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
16238 arg8
= static_cast< long >(val8
);
16241 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
16242 if (!SWIG_IsOK(res9
)) {
16243 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16246 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16248 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
16252 arg10
= wxString_in_helper(obj9
);
16253 if (arg10
== NULL
) SWIG_fail
;
16258 if (!wxPyCheckForApp()) SWIG_fail
;
16259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16260 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
);
16261 wxPyEndAllowThreads(__tstate
);
16262 if (PyErr_Occurred()) SWIG_fail
;
16264 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_NEW
| 0 );
16270 if (temp6
) delete arg6
;
16283 if (temp6
) delete arg6
;
16293 SWIGINTERN PyObject
*_wrap_new_PreRadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16294 PyObject
*resultobj
= 0;
16295 wxRadioBox
*result
= 0 ;
16297 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioBox",0,0,0)) SWIG_fail
;
16299 if (!wxPyCheckForApp()) SWIG_fail
;
16300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16301 result
= (wxRadioBox
*)new wxRadioBox();
16302 wxPyEndAllowThreads(__tstate
);
16303 if (PyErr_Occurred()) SWIG_fail
;
16305 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_OWN
| 0 );
16312 SWIGINTERN PyObject
*_wrap_RadioBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16313 PyObject
*resultobj
= 0;
16314 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16315 wxWindow
*arg2
= (wxWindow
*) 0 ;
16316 int arg3
= (int) -1 ;
16317 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16318 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16319 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16320 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16321 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16322 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16323 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
16324 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
16325 int arg8
= (int) 0 ;
16326 long arg9
= (long) wxRA_HORIZONTAL
;
16327 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
16328 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
16329 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
16330 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
16338 bool temp4
= false ;
16341 bool temp7
= false ;
16348 bool temp11
= false ;
16349 PyObject
* obj0
= 0 ;
16350 PyObject
* obj1
= 0 ;
16351 PyObject
* obj2
= 0 ;
16352 PyObject
* obj3
= 0 ;
16353 PyObject
* obj4
= 0 ;
16354 PyObject
* obj5
= 0 ;
16355 PyObject
* obj6
= 0 ;
16356 PyObject
* obj7
= 0 ;
16357 PyObject
* obj8
= 0 ;
16358 PyObject
* obj9
= 0 ;
16359 PyObject
* obj10
= 0 ;
16360 char * kwnames
[] = {
16361 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
16365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16366 if (!SWIG_IsOK(res1
)) {
16367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16369 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16370 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16371 if (!SWIG_IsOK(res2
)) {
16372 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16374 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16376 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16377 if (!SWIG_IsOK(ecode3
)) {
16378 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16380 arg3
= static_cast< int >(val3
);
16384 arg4
= wxString_in_helper(obj3
);
16385 if (arg4
== NULL
) SWIG_fail
;
16392 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16398 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16403 if (! PySequence_Check(obj6
)) {
16404 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16407 arg7
= new wxArrayString
;
16409 int i
, len
=PySequence_Length(obj6
);
16410 for (i
=0; i
<len
; i
++) {
16411 PyObject
* item
= PySequence_GetItem(obj6
, i
);
16412 wxString
* s
= wxString_in_helper(item
);
16413 if (PyErr_Occurred()) SWIG_fail
;
16421 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
16422 if (!SWIG_IsOK(ecode8
)) {
16423 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16425 arg8
= static_cast< int >(val8
);
16428 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
16429 if (!SWIG_IsOK(ecode9
)) {
16430 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16432 arg9
= static_cast< long >(val9
);
16435 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
16436 if (!SWIG_IsOK(res10
)) {
16437 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16440 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16442 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
16446 arg11
= wxString_in_helper(obj10
);
16447 if (arg11
== NULL
) SWIG_fail
;
16452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16453 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
);
16454 wxPyEndAllowThreads(__tstate
);
16455 if (PyErr_Occurred()) SWIG_fail
;
16458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16465 if (temp7
) delete arg7
;
16478 if (temp7
) delete arg7
;
16488 SWIGINTERN PyObject
*_wrap_RadioBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16489 PyObject
*resultobj
= 0;
16490 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16496 PyObject
* obj0
= 0 ;
16497 PyObject
* obj1
= 0 ;
16498 char * kwnames
[] = {
16499 (char *) "self",(char *) "n", NULL
16502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16504 if (!SWIG_IsOK(res1
)) {
16505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16507 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16508 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16509 if (!SWIG_IsOK(ecode2
)) {
16510 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16512 arg2
= static_cast< int >(val2
);
16514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16515 (arg1
)->SetSelection(arg2
);
16516 wxPyEndAllowThreads(__tstate
);
16517 if (PyErr_Occurred()) SWIG_fail
;
16519 resultobj
= SWIG_Py_Void();
16526 SWIGINTERN PyObject
*_wrap_RadioBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16527 PyObject
*resultobj
= 0;
16528 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16532 PyObject
*swig_obj
[1] ;
16534 if (!args
) SWIG_fail
;
16535 swig_obj
[0] = args
;
16536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16537 if (!SWIG_IsOK(res1
)) {
16538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16540 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16543 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
16544 wxPyEndAllowThreads(__tstate
);
16545 if (PyErr_Occurred()) SWIG_fail
;
16547 resultobj
= SWIG_From_int(static_cast< int >(result
));
16554 SWIGINTERN PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16555 PyObject
*resultobj
= 0;
16556 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16560 PyObject
*swig_obj
[1] ;
16562 if (!args
) SWIG_fail
;
16563 swig_obj
[0] = args
;
16564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16565 if (!SWIG_IsOK(res1
)) {
16566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16568 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16571 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
16572 wxPyEndAllowThreads(__tstate
);
16573 if (PyErr_Occurred()) SWIG_fail
;
16577 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16579 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16588 SWIGINTERN PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16589 PyObject
*resultobj
= 0;
16590 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16591 wxString
*arg2
= 0 ;
16595 bool temp2
= false ;
16596 PyObject
* obj0
= 0 ;
16597 PyObject
* obj1
= 0 ;
16598 char * kwnames
[] = {
16599 (char *) "self",(char *) "s", NULL
16602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16604 if (!SWIG_IsOK(res1
)) {
16605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16607 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16609 arg2
= wxString_in_helper(obj1
);
16610 if (arg2
== NULL
) SWIG_fail
;
16614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16615 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
16616 wxPyEndAllowThreads(__tstate
);
16617 if (PyErr_Occurred()) SWIG_fail
;
16620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16636 SWIGINTERN PyObject
*_wrap_RadioBox_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16637 PyObject
*resultobj
= 0;
16638 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16642 PyObject
*swig_obj
[1] ;
16644 if (!args
) SWIG_fail
;
16645 swig_obj
[0] = args
;
16646 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16647 if (!SWIG_IsOK(res1
)) {
16648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16650 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16653 result
= (size_t)((wxRadioBox
const *)arg1
)->GetCount();
16654 wxPyEndAllowThreads(__tstate
);
16655 if (PyErr_Occurred()) SWIG_fail
;
16657 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16664 SWIGINTERN PyObject
*_wrap_RadioBox_FindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16665 PyObject
*resultobj
= 0;
16666 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16667 wxString
*arg2
= 0 ;
16671 bool temp2
= false ;
16672 PyObject
* obj0
= 0 ;
16673 PyObject
* obj1
= 0 ;
16674 char * kwnames
[] = {
16675 (char *) "self",(char *) "s", NULL
16678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16680 if (!SWIG_IsOK(res1
)) {
16681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16683 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16685 arg2
= wxString_in_helper(obj1
);
16686 if (arg2
== NULL
) SWIG_fail
;
16690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16691 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
16692 wxPyEndAllowThreads(__tstate
);
16693 if (PyErr_Occurred()) SWIG_fail
;
16695 resultobj
= SWIG_From_int(static_cast< int >(result
));
16710 SWIGINTERN PyObject
*_wrap_RadioBox_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16711 PyObject
*resultobj
= 0;
16712 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16719 PyObject
* obj0
= 0 ;
16720 PyObject
* obj1
= 0 ;
16721 char * kwnames
[] = {
16722 (char *) "self",(char *) "n", NULL
16725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16727 if (!SWIG_IsOK(res1
)) {
16728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16730 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16731 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16732 if (!SWIG_IsOK(ecode2
)) {
16733 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16735 arg2
= static_cast< int >(val2
);
16737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16738 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
16739 wxPyEndAllowThreads(__tstate
);
16740 if (PyErr_Occurred()) SWIG_fail
;
16744 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16746 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16755 SWIGINTERN PyObject
*_wrap_RadioBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16756 PyObject
*resultobj
= 0;
16757 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16759 wxString
*arg3
= 0 ;
16764 bool temp3
= false ;
16765 PyObject
* obj0
= 0 ;
16766 PyObject
* obj1
= 0 ;
16767 PyObject
* obj2
= 0 ;
16768 char * kwnames
[] = {
16769 (char *) "self",(char *) "n",(char *) "label", NULL
16772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16774 if (!SWIG_IsOK(res1
)) {
16775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16777 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16778 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16779 if (!SWIG_IsOK(ecode2
)) {
16780 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16782 arg2
= static_cast< int >(val2
);
16784 arg3
= wxString_in_helper(obj2
);
16785 if (arg3
== NULL
) SWIG_fail
;
16789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16790 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
16791 wxPyEndAllowThreads(__tstate
);
16792 if (PyErr_Occurred()) SWIG_fail
;
16794 resultobj
= SWIG_Py_Void();
16809 SWIGINTERN PyObject
*_wrap_RadioBox_EnableItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16810 PyObject
*resultobj
= 0;
16811 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16812 unsigned int arg2
;
16813 bool arg3
= (bool) true ;
16816 unsigned int val2
;
16820 PyObject
* obj0
= 0 ;
16821 PyObject
* obj1
= 0 ;
16822 PyObject
* obj2
= 0 ;
16823 char * kwnames
[] = {
16824 (char *) "self",(char *) "n",(char *) "enable", NULL
16827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16829 if (!SWIG_IsOK(res1
)) {
16830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16832 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16833 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16834 if (!SWIG_IsOK(ecode2
)) {
16835 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "unsigned int""'");
16837 arg2
= static_cast< unsigned int >(val2
);
16839 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16840 if (!SWIG_IsOK(ecode3
)) {
16841 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16843 arg3
= static_cast< bool >(val3
);
16846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16847 (arg1
)->Enable(arg2
,arg3
);
16848 wxPyEndAllowThreads(__tstate
);
16849 if (PyErr_Occurred()) SWIG_fail
;
16851 resultobj
= SWIG_Py_Void();
16858 SWIGINTERN PyObject
*_wrap_RadioBox_ShowItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16859 PyObject
*resultobj
= 0;
16860 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16861 unsigned int arg2
;
16862 bool arg3
= (bool) true ;
16865 unsigned int val2
;
16869 PyObject
* obj0
= 0 ;
16870 PyObject
* obj1
= 0 ;
16871 PyObject
* obj2
= 0 ;
16872 char * kwnames
[] = {
16873 (char *) "self",(char *) "n",(char *) "show", NULL
16876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16878 if (!SWIG_IsOK(res1
)) {
16879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16881 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16882 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16883 if (!SWIG_IsOK(ecode2
)) {
16884 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
16886 arg2
= static_cast< unsigned int >(val2
);
16888 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16889 if (!SWIG_IsOK(ecode3
)) {
16890 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16892 arg3
= static_cast< bool >(val3
);
16895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16896 (arg1
)->Show(arg2
,arg3
);
16897 wxPyEndAllowThreads(__tstate
);
16898 if (PyErr_Occurred()) SWIG_fail
;
16900 resultobj
= SWIG_Py_Void();
16907 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16908 PyObject
*resultobj
= 0;
16909 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16910 unsigned int arg2
;
16914 unsigned int val2
;
16916 PyObject
* obj0
= 0 ;
16917 PyObject
* obj1
= 0 ;
16918 char * kwnames
[] = {
16919 (char *) "self",(char *) "n", NULL
16922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16924 if (!SWIG_IsOK(res1
)) {
16925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16927 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16928 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16929 if (!SWIG_IsOK(ecode2
)) {
16930 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
16932 arg2
= static_cast< unsigned int >(val2
);
16934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16935 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemEnabled(arg2
);
16936 wxPyEndAllowThreads(__tstate
);
16937 if (PyErr_Occurred()) SWIG_fail
;
16940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16948 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16949 PyObject
*resultobj
= 0;
16950 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16951 unsigned int arg2
;
16955 unsigned int val2
;
16957 PyObject
* obj0
= 0 ;
16958 PyObject
* obj1
= 0 ;
16959 char * kwnames
[] = {
16960 (char *) "self",(char *) "n", NULL
16963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemShown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16965 if (!SWIG_IsOK(res1
)) {
16966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16968 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16969 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16970 if (!SWIG_IsOK(ecode2
)) {
16971 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
16973 arg2
= static_cast< unsigned int >(val2
);
16975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16976 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemShown(arg2
);
16977 wxPyEndAllowThreads(__tstate
);
16978 if (PyErr_Occurred()) SWIG_fail
;
16981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16989 SWIGINTERN PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16990 PyObject
*resultobj
= 0;
16991 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16992 unsigned int result
;
16995 PyObject
*swig_obj
[1] ;
16997 if (!args
) SWIG_fail
;
16998 swig_obj
[0] = args
;
16999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17000 if (!SWIG_IsOK(res1
)) {
17001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17003 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17006 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetColumnCount();
17007 wxPyEndAllowThreads(__tstate
);
17008 if (PyErr_Occurred()) SWIG_fail
;
17010 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
17017 SWIGINTERN PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17018 PyObject
*resultobj
= 0;
17019 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17020 unsigned int result
;
17023 PyObject
*swig_obj
[1] ;
17025 if (!args
) SWIG_fail
;
17026 swig_obj
[0] = args
;
17027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17028 if (!SWIG_IsOK(res1
)) {
17029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17031 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17034 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetRowCount();
17035 wxPyEndAllowThreads(__tstate
);
17036 if (PyErr_Occurred()) SWIG_fail
;
17038 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
17045 SWIGINTERN PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17046 PyObject
*resultobj
= 0;
17047 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17060 PyObject
* obj0
= 0 ;
17061 PyObject
* obj1
= 0 ;
17062 PyObject
* obj2
= 0 ;
17063 PyObject
* obj3
= 0 ;
17064 char * kwnames
[] = {
17065 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
17068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17070 if (!SWIG_IsOK(res1
)) {
17071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17073 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17074 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17075 if (!SWIG_IsOK(ecode2
)) {
17076 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
17078 arg2
= static_cast< int >(val2
);
17079 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17080 if (!SWIG_IsOK(ecode3
)) {
17081 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
17083 arg3
= static_cast< wxDirection
>(val3
);
17084 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
17085 if (!SWIG_IsOK(ecode4
)) {
17086 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
17088 arg4
= static_cast< long >(val4
);
17090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17091 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
17092 wxPyEndAllowThreads(__tstate
);
17093 if (PyErr_Occurred()) SWIG_fail
;
17095 resultobj
= SWIG_From_int(static_cast< int >(result
));
17102 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17103 PyObject
*resultobj
= 0;
17104 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17105 unsigned int arg2
;
17106 wxString
*arg3
= 0 ;
17109 unsigned int val2
;
17111 bool temp3
= false ;
17112 PyObject
* obj0
= 0 ;
17113 PyObject
* obj1
= 0 ;
17114 PyObject
* obj2
= 0 ;
17115 char * kwnames
[] = {
17116 (char *) "self",(char *) "item",(char *) "text", NULL
17119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemToolTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17121 if (!SWIG_IsOK(res1
)) {
17122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17124 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17125 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17126 if (!SWIG_IsOK(ecode2
)) {
17127 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17129 arg2
= static_cast< unsigned int >(val2
);
17131 arg3
= wxString_in_helper(obj2
);
17132 if (arg3
== NULL
) SWIG_fail
;
17136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17137 (arg1
)->SetItemToolTip(arg2
,(wxString
const &)*arg3
);
17138 wxPyEndAllowThreads(__tstate
);
17139 if (PyErr_Occurred()) SWIG_fail
;
17141 resultobj
= SWIG_Py_Void();
17156 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17157 PyObject
*resultobj
= 0;
17158 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17159 unsigned int arg2
;
17160 wxToolTip
*result
= 0 ;
17163 unsigned int val2
;
17165 PyObject
* obj0
= 0 ;
17166 PyObject
* obj1
= 0 ;
17167 char * kwnames
[] = {
17168 (char *) "self",(char *) "item", NULL
17171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17173 if (!SWIG_IsOK(res1
)) {
17174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17176 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17177 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17178 if (!SWIG_IsOK(ecode2
)) {
17179 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17181 arg2
= static_cast< unsigned int >(val2
);
17183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17184 result
= (wxToolTip
*)((wxRadioBox
const *)arg1
)->GetItemToolTip(arg2
);
17185 wxPyEndAllowThreads(__tstate
);
17186 if (PyErr_Occurred()) SWIG_fail
;
17189 resultobj
= wxPyMake_wxObject(result
, (bool)0);
17197 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17198 PyObject
*resultobj
= 0;
17199 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17200 unsigned int arg2
;
17201 wxString
*arg3
= 0 ;
17204 unsigned int val2
;
17206 bool temp3
= false ;
17207 PyObject
* obj0
= 0 ;
17208 PyObject
* obj1
= 0 ;
17209 PyObject
* obj2
= 0 ;
17210 char * kwnames
[] = {
17211 (char *) "self",(char *) "n",(char *) "helpText", NULL
17214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemHelpText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17216 if (!SWIG_IsOK(res1
)) {
17217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17219 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17220 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17221 if (!SWIG_IsOK(ecode2
)) {
17222 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17224 arg2
= static_cast< unsigned int >(val2
);
17226 arg3
= wxString_in_helper(obj2
);
17227 if (arg3
== NULL
) SWIG_fail
;
17231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17232 (arg1
)->SetItemHelpText(arg2
,(wxString
const &)*arg3
);
17233 wxPyEndAllowThreads(__tstate
);
17234 if (PyErr_Occurred()) SWIG_fail
;
17236 resultobj
= SWIG_Py_Void();
17251 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17252 PyObject
*resultobj
= 0;
17253 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17254 unsigned int arg2
;
17258 unsigned int val2
;
17260 PyObject
* obj0
= 0 ;
17261 PyObject
* obj1
= 0 ;
17262 char * kwnames
[] = {
17263 (char *) "self",(char *) "n", NULL
17266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemHelpText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17268 if (!SWIG_IsOK(res1
)) {
17269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17271 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17272 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17273 if (!SWIG_IsOK(ecode2
)) {
17274 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17276 arg2
= static_cast< unsigned int >(val2
);
17278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17279 result
= ((wxRadioBox
const *)arg1
)->GetItemHelpText(arg2
);
17280 wxPyEndAllowThreads(__tstate
);
17281 if (PyErr_Occurred()) SWIG_fail
;
17285 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17287 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17296 SWIGINTERN PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17297 PyObject
*resultobj
= 0;
17298 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17299 SwigValueWrapper
<wxVisualAttributes
> result
;
17302 PyObject
* obj0
= 0 ;
17303 char * kwnames
[] = {
17304 (char *) "variant", NULL
17307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17309 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17310 if (!SWIG_IsOK(ecode1
)) {
17311 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17313 arg1
= static_cast< wxWindowVariant
>(val1
);
17316 if (!wxPyCheckForApp()) SWIG_fail
;
17317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17318 result
= wxRadioBox::GetClassDefaultAttributes(arg1
);
17319 wxPyEndAllowThreads(__tstate
);
17320 if (PyErr_Occurred()) SWIG_fail
;
17322 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17329 SWIGINTERN PyObject
*RadioBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17331 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17332 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox
, SWIG_NewClientData(obj
));
17333 return SWIG_Py_Void();
17336 SWIGINTERN PyObject
*RadioBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17337 return SWIG_Python_InitShadowInstance(args
);
17340 SWIGINTERN PyObject
*_wrap_new_RadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17341 PyObject
*resultobj
= 0;
17342 wxWindow
*arg1
= (wxWindow
*) 0 ;
17343 int arg2
= (int) -1 ;
17344 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17345 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17346 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17347 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17348 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17349 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17350 long arg6
= (long) 0 ;
17351 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
17352 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
17353 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
17354 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17355 wxRadioButton
*result
= 0 ;
17360 bool temp3
= false ;
17367 bool temp8
= false ;
17368 PyObject
* obj0
= 0 ;
17369 PyObject
* obj1
= 0 ;
17370 PyObject
* obj2
= 0 ;
17371 PyObject
* obj3
= 0 ;
17372 PyObject
* obj4
= 0 ;
17373 PyObject
* obj5
= 0 ;
17374 PyObject
* obj6
= 0 ;
17375 PyObject
* obj7
= 0 ;
17376 char * kwnames
[] = {
17377 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
17381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17382 if (!SWIG_IsOK(res1
)) {
17383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
17385 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17387 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17388 if (!SWIG_IsOK(ecode2
)) {
17389 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
17391 arg2
= static_cast< int >(val2
);
17395 arg3
= wxString_in_helper(obj2
);
17396 if (arg3
== NULL
) SWIG_fail
;
17403 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17409 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17413 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17414 if (!SWIG_IsOK(ecode6
)) {
17415 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
17417 arg6
= static_cast< long >(val6
);
17420 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
17421 if (!SWIG_IsOK(res7
)) {
17422 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17425 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17427 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
17431 arg8
= wxString_in_helper(obj7
);
17432 if (arg8
== NULL
) SWIG_fail
;
17437 if (!wxPyCheckForApp()) SWIG_fail
;
17438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17439 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
17440 wxPyEndAllowThreads(__tstate
);
17441 if (PyErr_Occurred()) SWIG_fail
;
17443 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_NEW
| 0 );
17466 SWIGINTERN PyObject
*_wrap_new_PreRadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17467 PyObject
*resultobj
= 0;
17468 wxRadioButton
*result
= 0 ;
17470 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioButton",0,0,0)) SWIG_fail
;
17472 if (!wxPyCheckForApp()) SWIG_fail
;
17473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17474 result
= (wxRadioButton
*)new wxRadioButton();
17475 wxPyEndAllowThreads(__tstate
);
17476 if (PyErr_Occurred()) SWIG_fail
;
17478 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_OWN
| 0 );
17485 SWIGINTERN PyObject
*_wrap_RadioButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17486 PyObject
*resultobj
= 0;
17487 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17488 wxWindow
*arg2
= (wxWindow
*) 0 ;
17489 int arg3
= (int) -1 ;
17490 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17491 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17492 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17493 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17494 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17495 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17496 long arg7
= (long) 0 ;
17497 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
17498 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
17499 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
17500 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17508 bool temp4
= false ;
17515 bool temp9
= false ;
17516 PyObject
* obj0
= 0 ;
17517 PyObject
* obj1
= 0 ;
17518 PyObject
* obj2
= 0 ;
17519 PyObject
* obj3
= 0 ;
17520 PyObject
* obj4
= 0 ;
17521 PyObject
* obj5
= 0 ;
17522 PyObject
* obj6
= 0 ;
17523 PyObject
* obj7
= 0 ;
17524 PyObject
* obj8
= 0 ;
17525 char * kwnames
[] = {
17526 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
17530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17531 if (!SWIG_IsOK(res1
)) {
17532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17534 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17535 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17536 if (!SWIG_IsOK(res2
)) {
17537 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17539 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17541 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17542 if (!SWIG_IsOK(ecode3
)) {
17543 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
17545 arg3
= static_cast< int >(val3
);
17549 arg4
= wxString_in_helper(obj3
);
17550 if (arg4
== NULL
) SWIG_fail
;
17557 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17563 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17567 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
17568 if (!SWIG_IsOK(ecode7
)) {
17569 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
17571 arg7
= static_cast< long >(val7
);
17574 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
17575 if (!SWIG_IsOK(res8
)) {
17576 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17579 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17581 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
17585 arg9
= wxString_in_helper(obj8
);
17586 if (arg9
== NULL
) SWIG_fail
;
17591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17592 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
17593 wxPyEndAllowThreads(__tstate
);
17594 if (PyErr_Occurred()) SWIG_fail
;
17597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17621 SWIGINTERN PyObject
*_wrap_RadioButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17622 PyObject
*resultobj
= 0;
17623 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17627 PyObject
*swig_obj
[1] ;
17629 if (!args
) SWIG_fail
;
17630 swig_obj
[0] = args
;
17631 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17632 if (!SWIG_IsOK(res1
)) {
17633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17635 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17638 result
= (bool)(arg1
)->GetValue();
17639 wxPyEndAllowThreads(__tstate
);
17640 if (PyErr_Occurred()) SWIG_fail
;
17643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17651 SWIGINTERN PyObject
*_wrap_RadioButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17652 PyObject
*resultobj
= 0;
17653 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17659 PyObject
* obj0
= 0 ;
17660 PyObject
* obj1
= 0 ;
17661 char * kwnames
[] = {
17662 (char *) "self",(char *) "value", NULL
17665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17667 if (!SWIG_IsOK(res1
)) {
17668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17670 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17671 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
17672 if (!SWIG_IsOK(ecode2
)) {
17673 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17675 arg2
= static_cast< bool >(val2
);
17677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17678 (arg1
)->SetValue(arg2
);
17679 wxPyEndAllowThreads(__tstate
);
17680 if (PyErr_Occurred()) SWIG_fail
;
17682 resultobj
= SWIG_Py_Void();
17689 SWIGINTERN PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17690 PyObject
*resultobj
= 0;
17691 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17692 SwigValueWrapper
<wxVisualAttributes
> result
;
17695 PyObject
* obj0
= 0 ;
17696 char * kwnames
[] = {
17697 (char *) "variant", NULL
17700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17702 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17703 if (!SWIG_IsOK(ecode1
)) {
17704 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17706 arg1
= static_cast< wxWindowVariant
>(val1
);
17709 if (!wxPyCheckForApp()) SWIG_fail
;
17710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17711 result
= wxRadioButton::GetClassDefaultAttributes(arg1
);
17712 wxPyEndAllowThreads(__tstate
);
17713 if (PyErr_Occurred()) SWIG_fail
;
17715 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17722 SWIGINTERN PyObject
*RadioButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17724 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17725 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton
, SWIG_NewClientData(obj
));
17726 return SWIG_Py_Void();
17729 SWIGINTERN PyObject
*RadioButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17730 return SWIG_Python_InitShadowInstance(args
);
17733 SWIGINTERN
int SliderNameStr_set(PyObject
*) {
17734 SWIG_Error(SWIG_AttributeError
,"Variable SliderNameStr is read-only.");
17739 SWIGINTERN PyObject
*SliderNameStr_get(void) {
17740 PyObject
*pyobj
= 0;
17744 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17746 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17753 SWIGINTERN PyObject
*_wrap_new_Slider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17754 PyObject
*resultobj
= 0;
17755 wxWindow
*arg1
= (wxWindow
*) 0 ;
17756 int arg2
= (int) -1 ;
17757 int arg3
= (int) 0 ;
17758 int arg4
= (int) 0 ;
17759 int arg5
= (int) 100 ;
17760 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17761 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17762 wxSize
const &arg7_defvalue
= wxDefaultSize
;
17763 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
17764 long arg8
= (long) wxSL_HORIZONTAL
;
17765 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
17766 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
17767 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
17768 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
17769 wxSlider
*result
= 0 ;
17786 bool temp10
= false ;
17787 PyObject
* obj0
= 0 ;
17788 PyObject
* obj1
= 0 ;
17789 PyObject
* obj2
= 0 ;
17790 PyObject
* obj3
= 0 ;
17791 PyObject
* obj4
= 0 ;
17792 PyObject
* obj5
= 0 ;
17793 PyObject
* obj6
= 0 ;
17794 PyObject
* obj7
= 0 ;
17795 PyObject
* obj8
= 0 ;
17796 PyObject
* obj9
= 0 ;
17797 char * kwnames
[] = {
17798 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
17802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17803 if (!SWIG_IsOK(res1
)) {
17804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17806 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17808 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17809 if (!SWIG_IsOK(ecode2
)) {
17810 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17812 arg2
= static_cast< int >(val2
);
17815 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17816 if (!SWIG_IsOK(ecode3
)) {
17817 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17819 arg3
= static_cast< int >(val3
);
17822 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17823 if (!SWIG_IsOK(ecode4
)) {
17824 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17826 arg4
= static_cast< int >(val4
);
17829 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17830 if (!SWIG_IsOK(ecode5
)) {
17831 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17833 arg5
= static_cast< int >(val5
);
17838 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
17844 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
17848 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
17849 if (!SWIG_IsOK(ecode8
)) {
17850 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17852 arg8
= static_cast< long >(val8
);
17855 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
17856 if (!SWIG_IsOK(res9
)) {
17857 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17860 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17862 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
17866 arg10
= wxString_in_helper(obj9
);
17867 if (arg10
== NULL
) SWIG_fail
;
17872 if (!wxPyCheckForApp()) SWIG_fail
;
17873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17874 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
17875 wxPyEndAllowThreads(__tstate
);
17876 if (PyErr_Occurred()) SWIG_fail
;
17878 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_NEW
| 0 );
17893 SWIGINTERN PyObject
*_wrap_new_PreSlider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17894 PyObject
*resultobj
= 0;
17895 wxSlider
*result
= 0 ;
17897 if (!SWIG_Python_UnpackTuple(args
,"new_PreSlider",0,0,0)) SWIG_fail
;
17899 if (!wxPyCheckForApp()) SWIG_fail
;
17900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17901 result
= (wxSlider
*)new wxSlider();
17902 wxPyEndAllowThreads(__tstate
);
17903 if (PyErr_Occurred()) SWIG_fail
;
17905 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_OWN
| 0 );
17912 SWIGINTERN PyObject
*_wrap_Slider_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17913 PyObject
*resultobj
= 0;
17914 wxSlider
*arg1
= (wxSlider
*) 0 ;
17915 wxWindow
*arg2
= (wxWindow
*) 0 ;
17916 int arg3
= (int) -1 ;
17917 int arg4
= (int) 0 ;
17918 int arg5
= (int) 0 ;
17919 int arg6
= (int) 100 ;
17920 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17921 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17922 wxSize
const &arg8_defvalue
= wxDefaultSize
;
17923 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
17924 long arg9
= (long) wxSL_HORIZONTAL
;
17925 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
17926 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
17927 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
17928 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
17948 bool temp11
= false ;
17949 PyObject
* obj0
= 0 ;
17950 PyObject
* obj1
= 0 ;
17951 PyObject
* obj2
= 0 ;
17952 PyObject
* obj3
= 0 ;
17953 PyObject
* obj4
= 0 ;
17954 PyObject
* obj5
= 0 ;
17955 PyObject
* obj6
= 0 ;
17956 PyObject
* obj7
= 0 ;
17957 PyObject
* obj8
= 0 ;
17958 PyObject
* obj9
= 0 ;
17959 PyObject
* obj10
= 0 ;
17960 char * kwnames
[] = {
17961 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
17965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17966 if (!SWIG_IsOK(res1
)) {
17967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
17969 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17970 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17971 if (!SWIG_IsOK(res2
)) {
17972 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17974 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17976 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17977 if (!SWIG_IsOK(ecode3
)) {
17978 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
17980 arg3
= static_cast< int >(val3
);
17983 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17984 if (!SWIG_IsOK(ecode4
)) {
17985 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
17987 arg4
= static_cast< int >(val4
);
17990 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17991 if (!SWIG_IsOK(ecode5
)) {
17992 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
17994 arg5
= static_cast< int >(val5
);
17997 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17998 if (!SWIG_IsOK(ecode6
)) {
17999 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
18001 arg6
= static_cast< int >(val6
);
18006 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
18012 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
18016 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
18017 if (!SWIG_IsOK(ecode9
)) {
18018 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
18020 arg9
= static_cast< long >(val9
);
18023 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
18024 if (!SWIG_IsOK(res10
)) {
18025 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
18028 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
18030 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
18034 arg11
= wxString_in_helper(obj10
);
18035 if (arg11
== NULL
) SWIG_fail
;
18040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18041 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
18042 wxPyEndAllowThreads(__tstate
);
18043 if (PyErr_Occurred()) SWIG_fail
;
18046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18062 SWIGINTERN PyObject
*_wrap_Slider_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18063 PyObject
*resultobj
= 0;
18064 wxSlider
*arg1
= (wxSlider
*) 0 ;
18068 PyObject
*swig_obj
[1] ;
18070 if (!args
) SWIG_fail
;
18071 swig_obj
[0] = args
;
18072 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18073 if (!SWIG_IsOK(res1
)) {
18074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
18076 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18079 result
= (int)((wxSlider
const *)arg1
)->GetValue();
18080 wxPyEndAllowThreads(__tstate
);
18081 if (PyErr_Occurred()) SWIG_fail
;
18083 resultobj
= SWIG_From_int(static_cast< int >(result
));
18090 SWIGINTERN PyObject
*_wrap_Slider_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18091 PyObject
*resultobj
= 0;
18092 wxSlider
*arg1
= (wxSlider
*) 0 ;
18098 PyObject
* obj0
= 0 ;
18099 PyObject
* obj1
= 0 ;
18100 char * kwnames
[] = {
18101 (char *) "self",(char *) "value", NULL
18104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18105 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18106 if (!SWIG_IsOK(res1
)) {
18107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
18109 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18110 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18111 if (!SWIG_IsOK(ecode2
)) {
18112 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
18114 arg2
= static_cast< int >(val2
);
18116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18117 (arg1
)->SetValue(arg2
);
18118 wxPyEndAllowThreads(__tstate
);
18119 if (PyErr_Occurred()) SWIG_fail
;
18121 resultobj
= SWIG_Py_Void();
18128 SWIGINTERN PyObject
*_wrap_Slider_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18129 PyObject
*resultobj
= 0;
18130 wxSlider
*arg1
= (wxSlider
*) 0 ;
18139 PyObject
* obj0
= 0 ;
18140 PyObject
* obj1
= 0 ;
18141 PyObject
* obj2
= 0 ;
18142 char * kwnames
[] = {
18143 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
18146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18148 if (!SWIG_IsOK(res1
)) {
18149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
18151 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18152 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18153 if (!SWIG_IsOK(ecode2
)) {
18154 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
18156 arg2
= static_cast< int >(val2
);
18157 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18158 if (!SWIG_IsOK(ecode3
)) {
18159 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
18161 arg3
= static_cast< int >(val3
);
18163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18164 (arg1
)->SetRange(arg2
,arg3
);
18165 wxPyEndAllowThreads(__tstate
);
18166 if (PyErr_Occurred()) SWIG_fail
;
18168 resultobj
= SWIG_Py_Void();
18175 SWIGINTERN PyObject
*_wrap_Slider_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18176 PyObject
*resultobj
= 0;
18177 wxSlider
*arg1
= (wxSlider
*) 0 ;
18181 PyObject
*swig_obj
[1] ;
18183 if (!args
) SWIG_fail
;
18184 swig_obj
[0] = args
;
18185 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18186 if (!SWIG_IsOK(res1
)) {
18187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
18189 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18192 result
= (int)((wxSlider
const *)arg1
)->GetMin();
18193 wxPyEndAllowThreads(__tstate
);
18194 if (PyErr_Occurred()) SWIG_fail
;
18196 resultobj
= SWIG_From_int(static_cast< int >(result
));
18203 SWIGINTERN PyObject
*_wrap_Slider_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18204 PyObject
*resultobj
= 0;
18205 wxSlider
*arg1
= (wxSlider
*) 0 ;
18209 PyObject
*swig_obj
[1] ;
18211 if (!args
) SWIG_fail
;
18212 swig_obj
[0] = args
;
18213 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18214 if (!SWIG_IsOK(res1
)) {
18215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
18217 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18220 result
= (int)((wxSlider
const *)arg1
)->GetMax();
18221 wxPyEndAllowThreads(__tstate
);
18222 if (PyErr_Occurred()) SWIG_fail
;
18224 resultobj
= SWIG_From_int(static_cast< int >(result
));
18231 SWIGINTERN PyObject
*_wrap_Slider_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18232 PyObject
*resultobj
= 0;
18233 wxSlider
*arg1
= (wxSlider
*) 0 ;
18239 PyObject
* obj0
= 0 ;
18240 PyObject
* obj1
= 0 ;
18241 char * kwnames
[] = {
18242 (char *) "self",(char *) "minValue", NULL
18245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18247 if (!SWIG_IsOK(res1
)) {
18248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
18250 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18251 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18252 if (!SWIG_IsOK(ecode2
)) {
18253 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
18255 arg2
= static_cast< int >(val2
);
18257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18258 (arg1
)->SetMin(arg2
);
18259 wxPyEndAllowThreads(__tstate
);
18260 if (PyErr_Occurred()) SWIG_fail
;
18262 resultobj
= SWIG_Py_Void();
18269 SWIGINTERN PyObject
*_wrap_Slider_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18270 PyObject
*resultobj
= 0;
18271 wxSlider
*arg1
= (wxSlider
*) 0 ;
18277 PyObject
* obj0
= 0 ;
18278 PyObject
* obj1
= 0 ;
18279 char * kwnames
[] = {
18280 (char *) "self",(char *) "maxValue", NULL
18283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18285 if (!SWIG_IsOK(res1
)) {
18286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
18288 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18289 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18290 if (!SWIG_IsOK(ecode2
)) {
18291 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
18293 arg2
= static_cast< int >(val2
);
18295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18296 (arg1
)->SetMax(arg2
);
18297 wxPyEndAllowThreads(__tstate
);
18298 if (PyErr_Occurred()) SWIG_fail
;
18300 resultobj
= SWIG_Py_Void();
18307 SWIGINTERN PyObject
*_wrap_Slider_SetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18308 PyObject
*resultobj
= 0;
18309 wxSlider
*arg1
= (wxSlider
*) 0 ;
18315 PyObject
* obj0
= 0 ;
18316 PyObject
* obj1
= 0 ;
18317 char * kwnames
[] = {
18318 (char *) "self",(char *) "lineSize", NULL
18321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18323 if (!SWIG_IsOK(res1
)) {
18324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetLineSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18326 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18327 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18328 if (!SWIG_IsOK(ecode2
)) {
18329 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetLineSize" "', expected argument " "2"" of type '" "int""'");
18331 arg2
= static_cast< int >(val2
);
18333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18334 (arg1
)->SetLineSize(arg2
);
18335 wxPyEndAllowThreads(__tstate
);
18336 if (PyErr_Occurred()) SWIG_fail
;
18338 resultobj
= SWIG_Py_Void();
18345 SWIGINTERN PyObject
*_wrap_Slider_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18346 PyObject
*resultobj
= 0;
18347 wxSlider
*arg1
= (wxSlider
*) 0 ;
18353 PyObject
* obj0
= 0 ;
18354 PyObject
* obj1
= 0 ;
18355 char * kwnames
[] = {
18356 (char *) "self",(char *) "pageSize", NULL
18359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18361 if (!SWIG_IsOK(res1
)) {
18362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetPageSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18364 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18365 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18366 if (!SWIG_IsOK(ecode2
)) {
18367 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetPageSize" "', expected argument " "2"" of type '" "int""'");
18369 arg2
= static_cast< int >(val2
);
18371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18372 (arg1
)->SetPageSize(arg2
);
18373 wxPyEndAllowThreads(__tstate
);
18374 if (PyErr_Occurred()) SWIG_fail
;
18376 resultobj
= SWIG_Py_Void();
18383 SWIGINTERN PyObject
*_wrap_Slider_GetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18384 PyObject
*resultobj
= 0;
18385 wxSlider
*arg1
= (wxSlider
*) 0 ;
18389 PyObject
*swig_obj
[1] ;
18391 if (!args
) SWIG_fail
;
18392 swig_obj
[0] = args
;
18393 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18394 if (!SWIG_IsOK(res1
)) {
18395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18397 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18400 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
18401 wxPyEndAllowThreads(__tstate
);
18402 if (PyErr_Occurred()) SWIG_fail
;
18404 resultobj
= SWIG_From_int(static_cast< int >(result
));
18411 SWIGINTERN PyObject
*_wrap_Slider_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18412 PyObject
*resultobj
= 0;
18413 wxSlider
*arg1
= (wxSlider
*) 0 ;
18417 PyObject
*swig_obj
[1] ;
18419 if (!args
) SWIG_fail
;
18420 swig_obj
[0] = args
;
18421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18422 if (!SWIG_IsOK(res1
)) {
18423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18425 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18428 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
18429 wxPyEndAllowThreads(__tstate
);
18430 if (PyErr_Occurred()) SWIG_fail
;
18432 resultobj
= SWIG_From_int(static_cast< int >(result
));
18439 SWIGINTERN PyObject
*_wrap_Slider_SetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18440 PyObject
*resultobj
= 0;
18441 wxSlider
*arg1
= (wxSlider
*) 0 ;
18447 PyObject
* obj0
= 0 ;
18448 PyObject
* obj1
= 0 ;
18449 char * kwnames
[] = {
18450 (char *) "self",(char *) "lenPixels", NULL
18453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18455 if (!SWIG_IsOK(res1
)) {
18456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
18458 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18459 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18460 if (!SWIG_IsOK(ecode2
)) {
18461 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
18463 arg2
= static_cast< int >(val2
);
18465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18466 (arg1
)->SetThumbLength(arg2
);
18467 wxPyEndAllowThreads(__tstate
);
18468 if (PyErr_Occurred()) SWIG_fail
;
18470 resultobj
= SWIG_Py_Void();
18477 SWIGINTERN PyObject
*_wrap_Slider_GetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18478 PyObject
*resultobj
= 0;
18479 wxSlider
*arg1
= (wxSlider
*) 0 ;
18483 PyObject
*swig_obj
[1] ;
18485 if (!args
) SWIG_fail
;
18486 swig_obj
[0] = args
;
18487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18488 if (!SWIG_IsOK(res1
)) {
18489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
18491 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18494 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
18495 wxPyEndAllowThreads(__tstate
);
18496 if (PyErr_Occurred()) SWIG_fail
;
18498 resultobj
= SWIG_From_int(static_cast< int >(result
));
18505 SWIGINTERN PyObject
*_wrap_Slider_SetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18506 PyObject
*resultobj
= 0;
18507 wxSlider
*arg1
= (wxSlider
*) 0 ;
18509 int arg3
= (int) 1 ;
18516 PyObject
* obj0
= 0 ;
18517 PyObject
* obj1
= 0 ;
18518 PyObject
* obj2
= 0 ;
18519 char * kwnames
[] = {
18520 (char *) "self",(char *) "n",(char *) "pos", NULL
18523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18525 if (!SWIG_IsOK(res1
)) {
18526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
18528 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18529 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18530 if (!SWIG_IsOK(ecode2
)) {
18531 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
18533 arg2
= static_cast< int >(val2
);
18535 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18536 if (!SWIG_IsOK(ecode3
)) {
18537 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
18539 arg3
= static_cast< int >(val3
);
18542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18543 (arg1
)->SetTickFreq(arg2
,arg3
);
18544 wxPyEndAllowThreads(__tstate
);
18545 if (PyErr_Occurred()) SWIG_fail
;
18547 resultobj
= SWIG_Py_Void();
18554 SWIGINTERN PyObject
*_wrap_Slider_GetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18555 PyObject
*resultobj
= 0;
18556 wxSlider
*arg1
= (wxSlider
*) 0 ;
18560 PyObject
*swig_obj
[1] ;
18562 if (!args
) SWIG_fail
;
18563 swig_obj
[0] = args
;
18564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18565 if (!SWIG_IsOK(res1
)) {
18566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
18568 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18571 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
18572 wxPyEndAllowThreads(__tstate
);
18573 if (PyErr_Occurred()) SWIG_fail
;
18575 resultobj
= SWIG_From_int(static_cast< int >(result
));
18582 SWIGINTERN PyObject
*_wrap_Slider_ClearTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18583 PyObject
*resultobj
= 0;
18584 wxSlider
*arg1
= (wxSlider
*) 0 ;
18587 PyObject
*swig_obj
[1] ;
18589 if (!args
) SWIG_fail
;
18590 swig_obj
[0] = args
;
18591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18592 if (!SWIG_IsOK(res1
)) {
18593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18595 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18598 (arg1
)->ClearTicks();
18599 wxPyEndAllowThreads(__tstate
);
18600 if (PyErr_Occurred()) SWIG_fail
;
18602 resultobj
= SWIG_Py_Void();
18609 SWIGINTERN PyObject
*_wrap_Slider_SetTick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18610 PyObject
*resultobj
= 0;
18611 wxSlider
*arg1
= (wxSlider
*) 0 ;
18617 PyObject
* obj0
= 0 ;
18618 PyObject
* obj1
= 0 ;
18619 char * kwnames
[] = {
18620 (char *) "self",(char *) "tickPos", NULL
18623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18625 if (!SWIG_IsOK(res1
)) {
18626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
18628 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18629 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18630 if (!SWIG_IsOK(ecode2
)) {
18631 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
18633 arg2
= static_cast< int >(val2
);
18635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18636 (arg1
)->SetTick(arg2
);
18637 wxPyEndAllowThreads(__tstate
);
18638 if (PyErr_Occurred()) SWIG_fail
;
18640 resultobj
= SWIG_Py_Void();
18647 SWIGINTERN PyObject
*_wrap_Slider_ClearSel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18648 PyObject
*resultobj
= 0;
18649 wxSlider
*arg1
= (wxSlider
*) 0 ;
18652 PyObject
*swig_obj
[1] ;
18654 if (!args
) SWIG_fail
;
18655 swig_obj
[0] = args
;
18656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18657 if (!SWIG_IsOK(res1
)) {
18658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18660 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18663 (arg1
)->ClearSel();
18664 wxPyEndAllowThreads(__tstate
);
18665 if (PyErr_Occurred()) SWIG_fail
;
18667 resultobj
= SWIG_Py_Void();
18674 SWIGINTERN PyObject
*_wrap_Slider_GetSelEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18675 PyObject
*resultobj
= 0;
18676 wxSlider
*arg1
= (wxSlider
*) 0 ;
18680 PyObject
*swig_obj
[1] ;
18682 if (!args
) SWIG_fail
;
18683 swig_obj
[0] = args
;
18684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18685 if (!SWIG_IsOK(res1
)) {
18686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18688 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18691 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
18692 wxPyEndAllowThreads(__tstate
);
18693 if (PyErr_Occurred()) SWIG_fail
;
18695 resultobj
= SWIG_From_int(static_cast< int >(result
));
18702 SWIGINTERN PyObject
*_wrap_Slider_GetSelStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18703 PyObject
*resultobj
= 0;
18704 wxSlider
*arg1
= (wxSlider
*) 0 ;
18708 PyObject
*swig_obj
[1] ;
18710 if (!args
) SWIG_fail
;
18711 swig_obj
[0] = args
;
18712 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18713 if (!SWIG_IsOK(res1
)) {
18714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18716 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18719 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
18720 wxPyEndAllowThreads(__tstate
);
18721 if (PyErr_Occurred()) SWIG_fail
;
18723 resultobj
= SWIG_From_int(static_cast< int >(result
));
18730 SWIGINTERN PyObject
*_wrap_Slider_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18731 PyObject
*resultobj
= 0;
18732 wxSlider
*arg1
= (wxSlider
*) 0 ;
18741 PyObject
* obj0
= 0 ;
18742 PyObject
* obj1
= 0 ;
18743 PyObject
* obj2
= 0 ;
18744 char * kwnames
[] = {
18745 (char *) "self",(char *) "min",(char *) "max", NULL
18748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18750 if (!SWIG_IsOK(res1
)) {
18751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18753 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18754 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18755 if (!SWIG_IsOK(ecode2
)) {
18756 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18758 arg2
= static_cast< int >(val2
);
18759 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18760 if (!SWIG_IsOK(ecode3
)) {
18761 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18763 arg3
= static_cast< int >(val3
);
18765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18766 (arg1
)->SetSelection(arg2
,arg3
);
18767 wxPyEndAllowThreads(__tstate
);
18768 if (PyErr_Occurred()) SWIG_fail
;
18770 resultobj
= SWIG_Py_Void();
18777 SWIGINTERN PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18778 PyObject
*resultobj
= 0;
18779 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18780 SwigValueWrapper
<wxVisualAttributes
> result
;
18783 PyObject
* obj0
= 0 ;
18784 char * kwnames
[] = {
18785 (char *) "variant", NULL
18788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18790 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18791 if (!SWIG_IsOK(ecode1
)) {
18792 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18794 arg1
= static_cast< wxWindowVariant
>(val1
);
18797 if (!wxPyCheckForApp()) SWIG_fail
;
18798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18799 result
= wxSlider::GetClassDefaultAttributes(arg1
);
18800 wxPyEndAllowThreads(__tstate
);
18801 if (PyErr_Occurred()) SWIG_fail
;
18803 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18810 SWIGINTERN PyObject
*Slider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18812 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18813 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider
, SWIG_NewClientData(obj
));
18814 return SWIG_Py_Void();
18817 SWIGINTERN PyObject
*Slider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18818 return SWIG_Python_InitShadowInstance(args
);
18821 SWIGINTERN
int ToggleButtonNameStr_set(PyObject
*) {
18822 SWIG_Error(SWIG_AttributeError
,"Variable ToggleButtonNameStr is read-only.");
18827 SWIGINTERN PyObject
*ToggleButtonNameStr_get(void) {
18828 PyObject
*pyobj
= 0;
18832 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18834 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18841 SWIGINTERN PyObject
*_wrap_new_ToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18842 PyObject
*resultobj
= 0;
18843 wxWindow
*arg1
= (wxWindow
*) 0 ;
18844 int arg2
= (int) -1 ;
18845 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18846 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18847 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18848 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18849 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18850 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18851 long arg6
= (long) 0 ;
18852 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
18853 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
18854 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
18855 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
18856 wxToggleButton
*result
= 0 ;
18861 bool temp3
= false ;
18868 bool temp8
= false ;
18869 PyObject
* obj0
= 0 ;
18870 PyObject
* obj1
= 0 ;
18871 PyObject
* obj2
= 0 ;
18872 PyObject
* obj3
= 0 ;
18873 PyObject
* obj4
= 0 ;
18874 PyObject
* obj5
= 0 ;
18875 PyObject
* obj6
= 0 ;
18876 PyObject
* obj7
= 0 ;
18877 char * kwnames
[] = {
18878 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18883 if (!SWIG_IsOK(res1
)) {
18884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18886 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18888 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18889 if (!SWIG_IsOK(ecode2
)) {
18890 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18892 arg2
= static_cast< int >(val2
);
18896 arg3
= wxString_in_helper(obj2
);
18897 if (arg3
== NULL
) SWIG_fail
;
18904 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18910 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18914 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18915 if (!SWIG_IsOK(ecode6
)) {
18916 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
18918 arg6
= static_cast< long >(val6
);
18921 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
18922 if (!SWIG_IsOK(res7
)) {
18923 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18926 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18928 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
18932 arg8
= wxString_in_helper(obj7
);
18933 if (arg8
== NULL
) SWIG_fail
;
18938 if (!wxPyCheckForApp()) SWIG_fail
;
18939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18940 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
18941 wxPyEndAllowThreads(__tstate
);
18942 if (PyErr_Occurred()) SWIG_fail
;
18944 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_NEW
| 0 );
18967 SWIGINTERN PyObject
*_wrap_new_PreToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18968 PyObject
*resultobj
= 0;
18969 wxToggleButton
*result
= 0 ;
18971 if (!SWIG_Python_UnpackTuple(args
,"new_PreToggleButton",0,0,0)) SWIG_fail
;
18973 if (!wxPyCheckForApp()) SWIG_fail
;
18974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18975 result
= (wxToggleButton
*)new wxToggleButton();
18976 wxPyEndAllowThreads(__tstate
);
18977 if (PyErr_Occurred()) SWIG_fail
;
18979 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_OWN
| 0 );
18986 SWIGINTERN PyObject
*_wrap_ToggleButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18987 PyObject
*resultobj
= 0;
18988 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18989 wxWindow
*arg2
= (wxWindow
*) 0 ;
18990 int arg3
= (int) -1 ;
18991 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18992 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18993 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
18994 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
18995 wxSize
const &arg6_defvalue
= wxDefaultSize
;
18996 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
18997 long arg7
= (long) 0 ;
18998 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
18999 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
19000 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
19001 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
19009 bool temp4
= false ;
19016 bool temp9
= false ;
19017 PyObject
* obj0
= 0 ;
19018 PyObject
* obj1
= 0 ;
19019 PyObject
* obj2
= 0 ;
19020 PyObject
* obj3
= 0 ;
19021 PyObject
* obj4
= 0 ;
19022 PyObject
* obj5
= 0 ;
19023 PyObject
* obj6
= 0 ;
19024 PyObject
* obj7
= 0 ;
19025 PyObject
* obj8
= 0 ;
19026 char * kwnames
[] = {
19027 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
19031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19032 if (!SWIG_IsOK(res1
)) {
19033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
19035 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19036 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19037 if (!SWIG_IsOK(res2
)) {
19038 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
19040 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
19042 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19043 if (!SWIG_IsOK(ecode3
)) {
19044 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
19046 arg3
= static_cast< int >(val3
);
19050 arg4
= wxString_in_helper(obj3
);
19051 if (arg4
== NULL
) SWIG_fail
;
19058 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19064 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
19068 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
19069 if (!SWIG_IsOK(ecode7
)) {
19070 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
19072 arg7
= static_cast< long >(val7
);
19075 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
19076 if (!SWIG_IsOK(res8
)) {
19077 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
19080 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
19082 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
19086 arg9
= wxString_in_helper(obj8
);
19087 if (arg9
== NULL
) SWIG_fail
;
19092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19093 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
19094 wxPyEndAllowThreads(__tstate
);
19095 if (PyErr_Occurred()) SWIG_fail
;
19098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19122 SWIGINTERN PyObject
*_wrap_ToggleButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19123 PyObject
*resultobj
= 0;
19124 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
19130 PyObject
* obj0
= 0 ;
19131 PyObject
* obj1
= 0 ;
19132 char * kwnames
[] = {
19133 (char *) "self",(char *) "value", NULL
19136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19138 if (!SWIG_IsOK(res1
)) {
19139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
19141 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19142 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19143 if (!SWIG_IsOK(ecode2
)) {
19144 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
19146 arg2
= static_cast< bool >(val2
);
19148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19149 (arg1
)->SetValue(arg2
);
19150 wxPyEndAllowThreads(__tstate
);
19151 if (PyErr_Occurred()) SWIG_fail
;
19153 resultobj
= SWIG_Py_Void();
19160 SWIGINTERN PyObject
*_wrap_ToggleButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19161 PyObject
*resultobj
= 0;
19162 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
19166 PyObject
*swig_obj
[1] ;
19168 if (!args
) SWIG_fail
;
19169 swig_obj
[0] = args
;
19170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19171 if (!SWIG_IsOK(res1
)) {
19172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
19174 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19177 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
19178 wxPyEndAllowThreads(__tstate
);
19179 if (PyErr_Occurred()) SWIG_fail
;
19182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19190 SWIGINTERN PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19191 PyObject
*resultobj
= 0;
19192 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
19193 SwigValueWrapper
<wxVisualAttributes
> result
;
19196 PyObject
* obj0
= 0 ;
19197 char * kwnames
[] = {
19198 (char *) "variant", NULL
19201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
19203 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19204 if (!SWIG_IsOK(ecode1
)) {
19205 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
19207 arg1
= static_cast< wxWindowVariant
>(val1
);
19210 if (!wxPyCheckForApp()) SWIG_fail
;
19211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19212 result
= wxToggleButton::GetClassDefaultAttributes(arg1
);
19213 wxPyEndAllowThreads(__tstate
);
19214 if (PyErr_Occurred()) SWIG_fail
;
19216 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
19223 SWIGINTERN PyObject
*ToggleButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19225 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19226 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton
, SWIG_NewClientData(obj
));
19227 return SWIG_Py_Void();
19230 SWIGINTERN PyObject
*ToggleButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19231 return SWIG_Python_InitShadowInstance(args
);
19234 SWIGINTERN
int NotebookNameStr_set(PyObject
*) {
19235 SWIG_Error(SWIG_AttributeError
,"Variable NotebookNameStr is read-only.");
19240 SWIGINTERN PyObject
*NotebookNameStr_get(void) {
19241 PyObject
*pyobj
= 0;
19245 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19247 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19254 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19255 PyObject
*resultobj
= 0;
19256 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19260 PyObject
*swig_obj
[1] ;
19262 if (!args
) SWIG_fail
;
19263 swig_obj
[0] = args
;
19264 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19265 if (!SWIG_IsOK(res1
)) {
19266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19268 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19271 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
19272 wxPyEndAllowThreads(__tstate
);
19273 if (PyErr_Occurred()) SWIG_fail
;
19275 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
19282 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19283 PyObject
*resultobj
= 0;
19284 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19286 wxWindow
*result
= 0 ;
19291 PyObject
* obj0
= 0 ;
19292 PyObject
* obj1
= 0 ;
19293 char * kwnames
[] = {
19294 (char *) "self",(char *) "n", NULL
19297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19299 if (!SWIG_IsOK(res1
)) {
19300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19302 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19303 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19304 if (!SWIG_IsOK(ecode2
)) {
19305 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
19307 arg2
= static_cast< size_t >(val2
);
19309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19310 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
19311 wxPyEndAllowThreads(__tstate
);
19312 if (PyErr_Occurred()) SWIG_fail
;
19315 resultobj
= wxPyMake_wxObject(result
, 0);
19323 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19324 PyObject
*resultobj
= 0;
19325 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19326 wxWindow
*result
= 0 ;
19329 PyObject
*swig_obj
[1] ;
19331 if (!args
) SWIG_fail
;
19332 swig_obj
[0] = args
;
19333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19334 if (!SWIG_IsOK(res1
)) {
19335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19337 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19340 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
19341 wxPyEndAllowThreads(__tstate
);
19342 if (PyErr_Occurred()) SWIG_fail
;
19345 resultobj
= wxPyMake_wxObject(result
, 0);
19353 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19354 PyObject
*resultobj
= 0;
19355 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19359 PyObject
*swig_obj
[1] ;
19361 if (!args
) SWIG_fail
;
19362 swig_obj
[0] = args
;
19363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19364 if (!SWIG_IsOK(res1
)) {
19365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19367 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19370 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
19371 wxPyEndAllowThreads(__tstate
);
19372 if (PyErr_Occurred()) SWIG_fail
;
19374 resultobj
= SWIG_From_int(static_cast< int >(result
));
19381 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19382 PyObject
*resultobj
= 0;
19383 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19385 wxString
*arg3
= 0 ;
19391 bool temp3
= false ;
19392 PyObject
* obj0
= 0 ;
19393 PyObject
* obj1
= 0 ;
19394 PyObject
* obj2
= 0 ;
19395 char * kwnames
[] = {
19396 (char *) "self",(char *) "n",(char *) "strText", NULL
19399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19401 if (!SWIG_IsOK(res1
)) {
19402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19404 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19405 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19406 if (!SWIG_IsOK(ecode2
)) {
19407 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
19409 arg2
= static_cast< size_t >(val2
);
19411 arg3
= wxString_in_helper(obj2
);
19412 if (arg3
== NULL
) SWIG_fail
;
19416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19417 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
19418 wxPyEndAllowThreads(__tstate
);
19419 if (PyErr_Occurred()) SWIG_fail
;
19422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19438 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19439 PyObject
*resultobj
= 0;
19440 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19447 PyObject
* obj0
= 0 ;
19448 PyObject
* obj1
= 0 ;
19449 char * kwnames
[] = {
19450 (char *) "self",(char *) "n", NULL
19453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19455 if (!SWIG_IsOK(res1
)) {
19456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19458 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19459 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19460 if (!SWIG_IsOK(ecode2
)) {
19461 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
19463 arg2
= static_cast< size_t >(val2
);
19465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19466 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
19467 wxPyEndAllowThreads(__tstate
);
19468 if (PyErr_Occurred()) SWIG_fail
;
19472 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19474 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19483 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19484 PyObject
*resultobj
= 0;
19485 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19486 wxImageList
*arg2
= (wxImageList
*) 0 ;
19491 PyObject
* obj0
= 0 ;
19492 PyObject
* obj1
= 0 ;
19493 char * kwnames
[] = {
19494 (char *) "self",(char *) "imageList", NULL
19497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19499 if (!SWIG_IsOK(res1
)) {
19500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19502 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19503 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
19504 if (!SWIG_IsOK(res2
)) {
19505 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19507 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
19509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19510 (arg1
)->SetImageList(arg2
);
19511 wxPyEndAllowThreads(__tstate
);
19512 if (PyErr_Occurred()) SWIG_fail
;
19514 resultobj
= SWIG_Py_Void();
19521 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19522 PyObject
*resultobj
= 0;
19523 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19524 wxImageList
*arg2
= (wxImageList
*) 0 ;
19528 PyObject
* obj0
= 0 ;
19529 PyObject
* obj1
= 0 ;
19530 char * kwnames
[] = {
19531 (char *) "self",(char *) "imageList", NULL
19534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19536 if (!SWIG_IsOK(res1
)) {
19537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19539 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19540 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
19541 if (!SWIG_IsOK(res2
)) {
19542 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19546 (arg1
)->AssignImageList(arg2
);
19547 wxPyEndAllowThreads(__tstate
);
19548 if (PyErr_Occurred()) SWIG_fail
;
19550 resultobj
= SWIG_Py_Void();
19557 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19558 PyObject
*resultobj
= 0;
19559 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19560 wxImageList
*result
= 0 ;
19563 PyObject
*swig_obj
[1] ;
19565 if (!args
) SWIG_fail
;
19566 swig_obj
[0] = args
;
19567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19568 if (!SWIG_IsOK(res1
)) {
19569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19571 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19574 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
19575 wxPyEndAllowThreads(__tstate
);
19576 if (PyErr_Occurred()) SWIG_fail
;
19579 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19587 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19588 PyObject
*resultobj
= 0;
19589 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19596 PyObject
* obj0
= 0 ;
19597 PyObject
* obj1
= 0 ;
19598 char * kwnames
[] = {
19599 (char *) "self",(char *) "n", NULL
19602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19604 if (!SWIG_IsOK(res1
)) {
19605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19607 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19608 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19609 if (!SWIG_IsOK(ecode2
)) {
19610 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19612 arg2
= static_cast< size_t >(val2
);
19614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19615 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
19616 wxPyEndAllowThreads(__tstate
);
19617 if (PyErr_Occurred()) SWIG_fail
;
19619 resultobj
= SWIG_From_int(static_cast< int >(result
));
19626 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19627 PyObject
*resultobj
= 0;
19628 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19638 PyObject
* obj0
= 0 ;
19639 PyObject
* obj1
= 0 ;
19640 PyObject
* obj2
= 0 ;
19641 char * kwnames
[] = {
19642 (char *) "self",(char *) "n",(char *) "imageId", NULL
19645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19647 if (!SWIG_IsOK(res1
)) {
19648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19650 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19651 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19652 if (!SWIG_IsOK(ecode2
)) {
19653 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19655 arg2
= static_cast< size_t >(val2
);
19656 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19657 if (!SWIG_IsOK(ecode3
)) {
19658 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19660 arg3
= static_cast< int >(val3
);
19662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19663 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
19664 wxPyEndAllowThreads(__tstate
);
19665 if (PyErr_Occurred()) SWIG_fail
;
19668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19676 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19677 PyObject
*resultobj
= 0;
19678 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19683 PyObject
* obj0
= 0 ;
19684 PyObject
* obj1
= 0 ;
19685 char * kwnames
[] = {
19686 (char *) "self",(char *) "size", NULL
19689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19691 if (!SWIG_IsOK(res1
)) {
19692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19694 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19697 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19701 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
19702 wxPyEndAllowThreads(__tstate
);
19703 if (PyErr_Occurred()) SWIG_fail
;
19705 resultobj
= SWIG_Py_Void();
19712 SWIGINTERN PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19713 PyObject
*resultobj
= 0;
19714 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19720 PyObject
* obj0
= 0 ;
19721 PyObject
* obj1
= 0 ;
19722 char * kwnames
[] = {
19723 (char *) "self",(char *) "sizePage", NULL
19726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19728 if (!SWIG_IsOK(res1
)) {
19729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19731 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19734 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19738 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
19739 wxPyEndAllowThreads(__tstate
);
19740 if (PyErr_Occurred()) SWIG_fail
;
19742 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19749 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19750 PyObject
*resultobj
= 0;
19751 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19752 unsigned int result
;
19755 PyObject
*swig_obj
[1] ;
19757 if (!args
) SWIG_fail
;
19758 swig_obj
[0] = args
;
19759 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19760 if (!SWIG_IsOK(res1
)) {
19761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19763 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19766 result
= (unsigned int)((wxBookCtrlBase
const *)arg1
)->GetInternalBorder();
19767 wxPyEndAllowThreads(__tstate
);
19768 if (PyErr_Occurred()) SWIG_fail
;
19770 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
19777 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19778 PyObject
*resultobj
= 0;
19779 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19780 unsigned int arg2
;
19783 unsigned int val2
;
19785 PyObject
* obj0
= 0 ;
19786 PyObject
* obj1
= 0 ;
19787 char * kwnames
[] = {
19788 (char *) "self",(char *) "internalBorder", NULL
19791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19793 if (!SWIG_IsOK(res1
)) {
19794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19796 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19797 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
19798 if (!SWIG_IsOK(ecode2
)) {
19799 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "unsigned int""'");
19801 arg2
= static_cast< unsigned int >(val2
);
19803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19804 (arg1
)->SetInternalBorder(arg2
);
19805 wxPyEndAllowThreads(__tstate
);
19806 if (PyErr_Occurred()) SWIG_fail
;
19808 resultobj
= SWIG_Py_Void();
19815 SWIGINTERN PyObject
*_wrap_BookCtrlBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19816 PyObject
*resultobj
= 0;
19817 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19821 PyObject
*swig_obj
[1] ;
19823 if (!args
) SWIG_fail
;
19824 swig_obj
[0] = args
;
19825 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19826 if (!SWIG_IsOK(res1
)) {
19827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19829 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19832 result
= (bool)((wxBookCtrlBase
const *)arg1
)->IsVertical();
19833 wxPyEndAllowThreads(__tstate
);
19834 if (PyErr_Occurred()) SWIG_fail
;
19837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19845 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19846 PyObject
*resultobj
= 0;
19847 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19853 PyObject
* obj0
= 0 ;
19854 PyObject
* obj1
= 0 ;
19855 char * kwnames
[] = {
19856 (char *) "self",(char *) "margin", NULL
19859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetControlMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19861 if (!SWIG_IsOK(res1
)) {
19862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19864 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19865 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19866 if (!SWIG_IsOK(ecode2
)) {
19867 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "2"" of type '" "int""'");
19869 arg2
= static_cast< int >(val2
);
19871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19872 (arg1
)->SetControlMargin(arg2
);
19873 wxPyEndAllowThreads(__tstate
);
19874 if (PyErr_Occurred()) SWIG_fail
;
19876 resultobj
= SWIG_Py_Void();
19883 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19884 PyObject
*resultobj
= 0;
19885 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19889 PyObject
*swig_obj
[1] ;
19891 if (!args
) SWIG_fail
;
19892 swig_obj
[0] = args
;
19893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19894 if (!SWIG_IsOK(res1
)) {
19895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19897 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19900 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetControlMargin();
19901 wxPyEndAllowThreads(__tstate
);
19902 if (PyErr_Occurred()) SWIG_fail
;
19904 resultobj
= SWIG_From_int(static_cast< int >(result
));
19911 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19912 PyObject
*resultobj
= 0;
19913 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19919 PyObject
* obj0
= 0 ;
19920 PyObject
* obj1
= 0 ;
19921 char * kwnames
[] = {
19922 (char *) "self",(char *) "fit", NULL
19925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19927 if (!SWIG_IsOK(res1
)) {
19928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19930 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19931 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19932 if (!SWIG_IsOK(ecode2
)) {
19933 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
19935 arg2
= static_cast< bool >(val2
);
19937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19938 (arg1
)->SetFitToCurrentPage(arg2
);
19939 wxPyEndAllowThreads(__tstate
);
19940 if (PyErr_Occurred()) SWIG_fail
;
19942 resultobj
= SWIG_Py_Void();
19949 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19950 PyObject
*resultobj
= 0;
19951 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19955 PyObject
*swig_obj
[1] ;
19957 if (!args
) SWIG_fail
;
19958 swig_obj
[0] = args
;
19959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19960 if (!SWIG_IsOK(res1
)) {
19961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19963 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19966 result
= (bool)((wxBookCtrlBase
const *)arg1
)->GetFitToCurrentPage();
19967 wxPyEndAllowThreads(__tstate
);
19968 if (PyErr_Occurred()) SWIG_fail
;
19971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19979 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19980 PyObject
*resultobj
= 0;
19981 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19982 wxSizer
*result
= 0 ;
19985 PyObject
*swig_obj
[1] ;
19987 if (!args
) SWIG_fail
;
19988 swig_obj
[0] = args
;
19989 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19990 if (!SWIG_IsOK(res1
)) {
19991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlSizer" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19993 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19996 result
= (wxSizer
*)((wxBookCtrlBase
const *)arg1
)->GetControlSizer();
19997 wxPyEndAllowThreads(__tstate
);
19998 if (PyErr_Occurred()) SWIG_fail
;
20001 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20009 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20010 PyObject
*resultobj
= 0;
20011 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20018 PyObject
* obj0
= 0 ;
20019 PyObject
* obj1
= 0 ;
20020 char * kwnames
[] = {
20021 (char *) "self",(char *) "n", NULL
20024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20026 if (!SWIG_IsOK(res1
)) {
20027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20029 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20030 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20031 if (!SWIG_IsOK(ecode2
)) {
20032 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
20034 arg2
= static_cast< size_t >(val2
);
20036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20037 result
= (bool)(arg1
)->DeletePage(arg2
);
20038 wxPyEndAllowThreads(__tstate
);
20039 if (PyErr_Occurred()) SWIG_fail
;
20042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20050 SWIGINTERN PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20051 PyObject
*resultobj
= 0;
20052 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20059 PyObject
* obj0
= 0 ;
20060 PyObject
* obj1
= 0 ;
20061 char * kwnames
[] = {
20062 (char *) "self",(char *) "n", NULL
20065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20067 if (!SWIG_IsOK(res1
)) {
20068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20070 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20071 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20072 if (!SWIG_IsOK(ecode2
)) {
20073 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
20075 arg2
= static_cast< size_t >(val2
);
20077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20078 result
= (bool)(arg1
)->RemovePage(arg2
);
20079 wxPyEndAllowThreads(__tstate
);
20080 if (PyErr_Occurred()) SWIG_fail
;
20083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20091 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20092 PyObject
*resultobj
= 0;
20093 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20097 PyObject
*swig_obj
[1] ;
20099 if (!args
) SWIG_fail
;
20100 swig_obj
[0] = args
;
20101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20102 if (!SWIG_IsOK(res1
)) {
20103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20105 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20108 result
= (bool)(arg1
)->DeleteAllPages();
20109 wxPyEndAllowThreads(__tstate
);
20110 if (PyErr_Occurred()) SWIG_fail
;
20113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20121 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20122 PyObject
*resultobj
= 0;
20123 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20124 wxWindow
*arg2
= (wxWindow
*) 0 ;
20125 wxString
*arg3
= 0 ;
20126 bool arg4
= (bool) false ;
20127 int arg5
= (int) -1 ;
20133 bool temp3
= false ;
20138 PyObject
* obj0
= 0 ;
20139 PyObject
* obj1
= 0 ;
20140 PyObject
* obj2
= 0 ;
20141 PyObject
* obj3
= 0 ;
20142 PyObject
* obj4
= 0 ;
20143 char * kwnames
[] = {
20144 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20149 if (!SWIG_IsOK(res1
)) {
20150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20152 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20153 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20154 if (!SWIG_IsOK(res2
)) {
20155 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
20157 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20159 arg3
= wxString_in_helper(obj2
);
20160 if (arg3
== NULL
) SWIG_fail
;
20164 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
20165 if (!SWIG_IsOK(ecode4
)) {
20166 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
20168 arg4
= static_cast< bool >(val4
);
20171 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20172 if (!SWIG_IsOK(ecode5
)) {
20173 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
20175 arg5
= static_cast< int >(val5
);
20178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20179 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
20180 wxPyEndAllowThreads(__tstate
);
20181 if (PyErr_Occurred()) SWIG_fail
;
20184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20200 SWIGINTERN PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20201 PyObject
*resultobj
= 0;
20202 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20204 wxWindow
*arg3
= (wxWindow
*) 0 ;
20205 wxString
*arg4
= 0 ;
20206 bool arg5
= (bool) false ;
20207 int arg6
= (int) -1 ;
20215 bool temp4
= false ;
20220 PyObject
* obj0
= 0 ;
20221 PyObject
* obj1
= 0 ;
20222 PyObject
* obj2
= 0 ;
20223 PyObject
* obj3
= 0 ;
20224 PyObject
* obj4
= 0 ;
20225 PyObject
* obj5
= 0 ;
20226 char * kwnames
[] = {
20227 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20232 if (!SWIG_IsOK(res1
)) {
20233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20235 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20236 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20237 if (!SWIG_IsOK(ecode2
)) {
20238 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
20240 arg2
= static_cast< size_t >(val2
);
20241 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20242 if (!SWIG_IsOK(res3
)) {
20243 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
20245 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
20247 arg4
= wxString_in_helper(obj3
);
20248 if (arg4
== NULL
) SWIG_fail
;
20252 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
20253 if (!SWIG_IsOK(ecode5
)) {
20254 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
20256 arg5
= static_cast< bool >(val5
);
20259 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20260 if (!SWIG_IsOK(ecode6
)) {
20261 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
20263 arg6
= static_cast< int >(val6
);
20266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20267 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
20268 wxPyEndAllowThreads(__tstate
);
20269 if (PyErr_Occurred()) SWIG_fail
;
20272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20288 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20289 PyObject
*resultobj
= 0;
20290 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20297 PyObject
* obj0
= 0 ;
20298 PyObject
* obj1
= 0 ;
20299 char * kwnames
[] = {
20300 (char *) "self",(char *) "n", NULL
20303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20305 if (!SWIG_IsOK(res1
)) {
20306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20308 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20309 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20310 if (!SWIG_IsOK(ecode2
)) {
20311 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
20313 arg2
= static_cast< size_t >(val2
);
20315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20316 result
= (int)(arg1
)->SetSelection(arg2
);
20317 wxPyEndAllowThreads(__tstate
);
20318 if (PyErr_Occurred()) SWIG_fail
;
20320 resultobj
= SWIG_From_int(static_cast< int >(result
));
20327 SWIGINTERN PyObject
*_wrap_BookCtrlBase_ChangeSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20328 PyObject
*resultobj
= 0;
20329 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20336 PyObject
* obj0
= 0 ;
20337 PyObject
* obj1
= 0 ;
20338 char * kwnames
[] = {
20339 (char *) "self",(char *) "n", NULL
20342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_ChangeSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20344 if (!SWIG_IsOK(res1
)) {
20345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20347 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20348 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20349 if (!SWIG_IsOK(ecode2
)) {
20350 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "2"" of type '" "size_t""'");
20352 arg2
= static_cast< size_t >(val2
);
20354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20355 result
= (int)(arg1
)->ChangeSelection(arg2
);
20356 wxPyEndAllowThreads(__tstate
);
20357 if (PyErr_Occurred()) SWIG_fail
;
20359 resultobj
= SWIG_From_int(static_cast< int >(result
));
20366 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20367 PyObject
*resultobj
= 0;
20368 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20369 bool arg2
= (bool) true ;
20374 PyObject
* obj0
= 0 ;
20375 PyObject
* obj1
= 0 ;
20376 char * kwnames
[] = {
20377 (char *) "self",(char *) "forward", NULL
20380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20382 if (!SWIG_IsOK(res1
)) {
20383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20385 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20387 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20388 if (!SWIG_IsOK(ecode2
)) {
20389 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
20391 arg2
= static_cast< bool >(val2
);
20394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20395 (arg1
)->AdvanceSelection(arg2
);
20396 wxPyEndAllowThreads(__tstate
);
20397 if (PyErr_Occurred()) SWIG_fail
;
20399 resultobj
= SWIG_Py_Void();
20406 SWIGINTERN PyObject
*_wrap_BookCtrlBase_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20407 PyObject
*resultobj
= 0;
20408 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20409 wxPoint
*arg2
= 0 ;
20410 long *arg3
= (long *) 0 ;
20416 int res3
= SWIG_TMPOBJ
;
20417 PyObject
* obj0
= 0 ;
20418 PyObject
* obj1
= 0 ;
20419 char * kwnames
[] = {
20420 (char *) "self",(char *) "pt", NULL
20424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20426 if (!SWIG_IsOK(res1
)) {
20427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_HitTest" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20429 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20432 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20436 result
= (int)((wxBookCtrlBase
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
20437 wxPyEndAllowThreads(__tstate
);
20438 if (PyErr_Occurred()) SWIG_fail
;
20440 resultobj
= SWIG_From_int(static_cast< int >(result
));
20441 if (SWIG_IsTmpObj(res3
)) {
20442 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
20444 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20445 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
20453 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20454 PyObject
*resultobj
= 0;
20455 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20456 SwigValueWrapper
<wxVisualAttributes
> result
;
20459 PyObject
* obj0
= 0 ;
20460 char * kwnames
[] = {
20461 (char *) "variant", NULL
20464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20466 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20467 if (!SWIG_IsOK(ecode1
)) {
20468 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20470 arg1
= static_cast< wxWindowVariant
>(val1
);
20473 if (!wxPyCheckForApp()) SWIG_fail
;
20474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20475 result
= wxBookCtrlBase::GetClassDefaultAttributes(arg1
);
20476 wxPyEndAllowThreads(__tstate
);
20477 if (PyErr_Occurred()) SWIG_fail
;
20479 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20486 SWIGINTERN PyObject
*BookCtrlBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20488 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20489 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase
, SWIG_NewClientData(obj
));
20490 return SWIG_Py_Void();
20493 SWIGINTERN PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20494 PyObject
*resultobj
= 0;
20495 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20496 int arg2
= (int) 0 ;
20497 int arg3
= (int) -1 ;
20498 int arg4
= (int) -1 ;
20499 wxBookCtrlBaseEvent
*result
= 0 ;
20508 PyObject
* obj0
= 0 ;
20509 PyObject
* obj1
= 0 ;
20510 PyObject
* obj2
= 0 ;
20511 PyObject
* obj3
= 0 ;
20512 char * kwnames
[] = {
20513 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20518 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20519 if (!SWIG_IsOK(ecode1
)) {
20520 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20522 arg1
= static_cast< wxEventType
>(val1
);
20525 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20526 if (!SWIG_IsOK(ecode2
)) {
20527 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
20529 arg2
= static_cast< int >(val2
);
20532 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20533 if (!SWIG_IsOK(ecode3
)) {
20534 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
20536 arg3
= static_cast< int >(val3
);
20539 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20540 if (!SWIG_IsOK(ecode4
)) {
20541 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
20543 arg4
= static_cast< int >(val4
);
20546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20547 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
20548 wxPyEndAllowThreads(__tstate
);
20549 if (PyErr_Occurred()) SWIG_fail
;
20551 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_NEW
| 0 );
20558 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20559 PyObject
*resultobj
= 0;
20560 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20564 PyObject
*swig_obj
[1] ;
20566 if (!args
) SWIG_fail
;
20567 swig_obj
[0] = args
;
20568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20569 if (!SWIG_IsOK(res1
)) {
20570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20572 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20575 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
20576 wxPyEndAllowThreads(__tstate
);
20577 if (PyErr_Occurred()) SWIG_fail
;
20579 resultobj
= SWIG_From_int(static_cast< int >(result
));
20586 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20587 PyObject
*resultobj
= 0;
20588 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20594 PyObject
* obj0
= 0 ;
20595 PyObject
* obj1
= 0 ;
20596 char * kwnames
[] = {
20597 (char *) "self",(char *) "nSel", NULL
20600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20602 if (!SWIG_IsOK(res1
)) {
20603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20605 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20606 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20607 if (!SWIG_IsOK(ecode2
)) {
20608 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
20610 arg2
= static_cast< int >(val2
);
20612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20613 (arg1
)->SetSelection(arg2
);
20614 wxPyEndAllowThreads(__tstate
);
20615 if (PyErr_Occurred()) SWIG_fail
;
20617 resultobj
= SWIG_Py_Void();
20624 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20625 PyObject
*resultobj
= 0;
20626 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20630 PyObject
*swig_obj
[1] ;
20632 if (!args
) SWIG_fail
;
20633 swig_obj
[0] = args
;
20634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20635 if (!SWIG_IsOK(res1
)) {
20636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20638 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20641 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
20642 wxPyEndAllowThreads(__tstate
);
20643 if (PyErr_Occurred()) SWIG_fail
;
20645 resultobj
= SWIG_From_int(static_cast< int >(result
));
20652 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20653 PyObject
*resultobj
= 0;
20654 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20660 PyObject
* obj0
= 0 ;
20661 PyObject
* obj1
= 0 ;
20662 char * kwnames
[] = {
20663 (char *) "self",(char *) "nOldSel", NULL
20666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20668 if (!SWIG_IsOK(res1
)) {
20669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20671 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20672 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20673 if (!SWIG_IsOK(ecode2
)) {
20674 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
20676 arg2
= static_cast< int >(val2
);
20678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20679 (arg1
)->SetOldSelection(arg2
);
20680 wxPyEndAllowThreads(__tstate
);
20681 if (PyErr_Occurred()) SWIG_fail
;
20683 resultobj
= SWIG_Py_Void();
20690 SWIGINTERN PyObject
*BookCtrlBaseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20692 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20693 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_NewClientData(obj
));
20694 return SWIG_Py_Void();
20697 SWIGINTERN PyObject
*BookCtrlBaseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20698 return SWIG_Python_InitShadowInstance(args
);
20701 SWIGINTERN PyObject
*_wrap_new_Notebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20702 PyObject
*resultobj
= 0;
20703 wxWindow
*arg1
= (wxWindow
*) 0 ;
20704 int arg2
= (int) -1 ;
20705 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20706 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20707 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20708 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20709 long arg5
= (long) 0 ;
20710 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
20711 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20712 wxNotebook
*result
= 0 ;
20721 bool temp6
= false ;
20722 PyObject
* obj0
= 0 ;
20723 PyObject
* obj1
= 0 ;
20724 PyObject
* obj2
= 0 ;
20725 PyObject
* obj3
= 0 ;
20726 PyObject
* obj4
= 0 ;
20727 PyObject
* obj5
= 0 ;
20728 char * kwnames
[] = {
20729 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20734 if (!SWIG_IsOK(res1
)) {
20735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20737 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20739 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20740 if (!SWIG_IsOK(ecode2
)) {
20741 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20743 arg2
= static_cast< int >(val2
);
20748 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20754 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20758 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20759 if (!SWIG_IsOK(ecode5
)) {
20760 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20762 arg5
= static_cast< long >(val5
);
20766 arg6
= wxString_in_helper(obj5
);
20767 if (arg6
== NULL
) SWIG_fail
;
20772 if (!wxPyCheckForApp()) SWIG_fail
;
20773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20774 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20775 wxPyEndAllowThreads(__tstate
);
20776 if (PyErr_Occurred()) SWIG_fail
;
20778 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_NEW
| 0 );
20793 SWIGINTERN PyObject
*_wrap_new_PreNotebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20794 PyObject
*resultobj
= 0;
20795 wxNotebook
*result
= 0 ;
20797 if (!SWIG_Python_UnpackTuple(args
,"new_PreNotebook",0,0,0)) SWIG_fail
;
20799 if (!wxPyCheckForApp()) SWIG_fail
;
20800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20801 result
= (wxNotebook
*)new wxNotebook();
20802 wxPyEndAllowThreads(__tstate
);
20803 if (PyErr_Occurred()) SWIG_fail
;
20805 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_OWN
| 0 );
20812 SWIGINTERN PyObject
*_wrap_Notebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20813 PyObject
*resultobj
= 0;
20814 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20815 wxWindow
*arg2
= (wxWindow
*) 0 ;
20816 int arg3
= (int) -1 ;
20817 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20818 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20819 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20820 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20821 long arg6
= (long) 0 ;
20822 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
20823 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20835 bool temp7
= false ;
20836 PyObject
* obj0
= 0 ;
20837 PyObject
* obj1
= 0 ;
20838 PyObject
* obj2
= 0 ;
20839 PyObject
* obj3
= 0 ;
20840 PyObject
* obj4
= 0 ;
20841 PyObject
* obj5
= 0 ;
20842 PyObject
* obj6
= 0 ;
20843 char * kwnames
[] = {
20844 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20849 if (!SWIG_IsOK(res1
)) {
20850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20852 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20853 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20854 if (!SWIG_IsOK(res2
)) {
20855 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20857 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20859 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20860 if (!SWIG_IsOK(ecode3
)) {
20861 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20863 arg3
= static_cast< int >(val3
);
20868 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20874 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20878 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20879 if (!SWIG_IsOK(ecode6
)) {
20880 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20882 arg6
= static_cast< long >(val6
);
20886 arg7
= wxString_in_helper(obj6
);
20887 if (arg7
== NULL
) SWIG_fail
;
20892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20893 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20894 wxPyEndAllowThreads(__tstate
);
20895 if (PyErr_Occurred()) SWIG_fail
;
20898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20914 SWIGINTERN PyObject
*_wrap_Notebook_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20915 PyObject
*resultobj
= 0;
20916 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20920 PyObject
*swig_obj
[1] ;
20922 if (!args
) SWIG_fail
;
20923 swig_obj
[0] = args
;
20924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20925 if (!SWIG_IsOK(res1
)) {
20926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20928 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20931 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
20932 wxPyEndAllowThreads(__tstate
);
20933 if (PyErr_Occurred()) SWIG_fail
;
20935 resultobj
= SWIG_From_int(static_cast< int >(result
));
20942 SWIGINTERN PyObject
*_wrap_Notebook_SetPadding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20943 PyObject
*resultobj
= 0;
20944 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20949 PyObject
* obj0
= 0 ;
20950 PyObject
* obj1
= 0 ;
20951 char * kwnames
[] = {
20952 (char *) "self",(char *) "padding", NULL
20955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20957 if (!SWIG_IsOK(res1
)) {
20958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
20960 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20963 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20967 (arg1
)->SetPadding((wxSize
const &)*arg2
);
20968 wxPyEndAllowThreads(__tstate
);
20969 if (PyErr_Occurred()) SWIG_fail
;
20971 resultobj
= SWIG_Py_Void();
20978 SWIGINTERN PyObject
*_wrap_Notebook_SetTabSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20979 PyObject
*resultobj
= 0;
20980 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20985 PyObject
* obj0
= 0 ;
20986 PyObject
* obj1
= 0 ;
20987 char * kwnames
[] = {
20988 (char *) "self",(char *) "sz", NULL
20991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20993 if (!SWIG_IsOK(res1
)) {
20994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
20996 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20999 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21003 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
21004 wxPyEndAllowThreads(__tstate
);
21005 if (PyErr_Occurred()) SWIG_fail
;
21007 resultobj
= SWIG_Py_Void();
21014 SWIGINTERN PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21015 PyObject
*resultobj
= 0;
21016 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
21020 PyObject
*swig_obj
[1] ;
21022 if (!args
) SWIG_fail
;
21023 swig_obj
[0] = args
;
21024 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21025 if (!SWIG_IsOK(res1
)) {
21026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
21028 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21031 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
21032 wxPyEndAllowThreads(__tstate
);
21033 if (PyErr_Occurred()) SWIG_fail
;
21035 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
21042 SWIGINTERN PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21043 PyObject
*resultobj
= 0;
21044 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
21045 SwigValueWrapper
<wxVisualAttributes
> result
;
21048 PyObject
* obj0
= 0 ;
21049 char * kwnames
[] = {
21050 (char *) "variant", NULL
21053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
21055 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21056 if (!SWIG_IsOK(ecode1
)) {
21057 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
21059 arg1
= static_cast< wxWindowVariant
>(val1
);
21062 if (!wxPyCheckForApp()) SWIG_fail
;
21063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21064 result
= wxNotebook::GetClassDefaultAttributes(arg1
);
21065 wxPyEndAllowThreads(__tstate
);
21066 if (PyErr_Occurred()) SWIG_fail
;
21068 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
21075 SWIGINTERN PyObject
*_wrap_Notebook_SendPageChangingEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21076 PyObject
*resultobj
= 0;
21077 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
21084 PyObject
* obj0
= 0 ;
21085 PyObject
* obj1
= 0 ;
21086 char * kwnames
[] = {
21087 (char *) "self",(char *) "nPage", NULL
21090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SendPageChangingEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21092 if (!SWIG_IsOK(res1
)) {
21093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
21095 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21096 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21097 if (!SWIG_IsOK(ecode2
)) {
21098 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "2"" of type '" "int""'");
21100 arg2
= static_cast< int >(val2
);
21102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21103 result
= (bool)(arg1
)->SendPageChangingEvent(arg2
);
21104 wxPyEndAllowThreads(__tstate
);
21105 if (PyErr_Occurred()) SWIG_fail
;
21108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21116 SWIGINTERN PyObject
*_wrap_Notebook_SendPageChangedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21117 PyObject
*resultobj
= 0;
21118 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
21120 int arg3
= (int) -1 ;
21127 PyObject
* obj0
= 0 ;
21128 PyObject
* obj1
= 0 ;
21129 PyObject
* obj2
= 0 ;
21130 char * kwnames
[] = {
21131 (char *) "self",(char *) "nPageOld",(char *) "nPageNew", NULL
21134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Notebook_SendPageChangedEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21136 if (!SWIG_IsOK(res1
)) {
21137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
21139 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21140 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21141 if (!SWIG_IsOK(ecode2
)) {
21142 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "2"" of type '" "int""'");
21144 arg2
= static_cast< int >(val2
);
21146 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21147 if (!SWIG_IsOK(ecode3
)) {
21148 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "3"" of type '" "int""'");
21150 arg3
= static_cast< int >(val3
);
21153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21154 (arg1
)->SendPageChangedEvent(arg2
,arg3
);
21155 wxPyEndAllowThreads(__tstate
);
21156 if (PyErr_Occurred()) SWIG_fail
;
21158 resultobj
= SWIG_Py_Void();
21165 SWIGINTERN PyObject
*Notebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21167 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21168 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook
, SWIG_NewClientData(obj
));
21169 return SWIG_Py_Void();
21172 SWIGINTERN PyObject
*Notebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21173 return SWIG_Python_InitShadowInstance(args
);
21176 SWIGINTERN PyObject
*_wrap_new_NotebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21177 PyObject
*resultobj
= 0;
21178 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21179 int arg2
= (int) 0 ;
21180 int arg3
= (int) -1 ;
21181 int arg4
= (int) -1 ;
21182 wxNotebookEvent
*result
= 0 ;
21191 PyObject
* obj0
= 0 ;
21192 PyObject
* obj1
= 0 ;
21193 PyObject
* obj2
= 0 ;
21194 PyObject
* obj3
= 0 ;
21195 char * kwnames
[] = {
21196 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21201 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21202 if (!SWIG_IsOK(ecode1
)) {
21203 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21205 arg1
= static_cast< wxEventType
>(val1
);
21208 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21209 if (!SWIG_IsOK(ecode2
)) {
21210 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
21212 arg2
= static_cast< int >(val2
);
21215 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21216 if (!SWIG_IsOK(ecode3
)) {
21217 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
21219 arg3
= static_cast< int >(val3
);
21222 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21223 if (!SWIG_IsOK(ecode4
)) {
21224 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
21226 arg4
= static_cast< int >(val4
);
21229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21230 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
21231 wxPyEndAllowThreads(__tstate
);
21232 if (PyErr_Occurred()) SWIG_fail
;
21234 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebookEvent
, SWIG_POINTER_NEW
| 0 );
21241 SWIGINTERN PyObject
*NotebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21243 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21244 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent
, SWIG_NewClientData(obj
));
21245 return SWIG_Py_Void();
21248 SWIGINTERN PyObject
*NotebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21249 return SWIG_Python_InitShadowInstance(args
);
21252 SWIGINTERN PyObject
*_wrap_new_Listbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21253 PyObject
*resultobj
= 0;
21254 wxWindow
*arg1
= (wxWindow
*) 0 ;
21255 int arg2
= (int) -1 ;
21256 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21257 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21258 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21259 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21260 long arg5
= (long) 0 ;
21261 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21262 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21263 wxListbook
*result
= 0 ;
21272 bool temp6
= false ;
21273 PyObject
* obj0
= 0 ;
21274 PyObject
* obj1
= 0 ;
21275 PyObject
* obj2
= 0 ;
21276 PyObject
* obj3
= 0 ;
21277 PyObject
* obj4
= 0 ;
21278 PyObject
* obj5
= 0 ;
21279 char * kwnames
[] = {
21280 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21285 if (!SWIG_IsOK(res1
)) {
21286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
21288 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21290 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21291 if (!SWIG_IsOK(ecode2
)) {
21292 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
21294 arg2
= static_cast< int >(val2
);
21299 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21305 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21309 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21310 if (!SWIG_IsOK(ecode5
)) {
21311 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
21313 arg5
= static_cast< long >(val5
);
21317 arg6
= wxString_in_helper(obj5
);
21318 if (arg6
== NULL
) SWIG_fail
;
21323 if (!wxPyCheckForApp()) SWIG_fail
;
21324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21325 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21326 wxPyEndAllowThreads(__tstate
);
21327 if (PyErr_Occurred()) SWIG_fail
;
21329 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_NEW
| 0 );
21344 SWIGINTERN PyObject
*_wrap_new_PreListbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21345 PyObject
*resultobj
= 0;
21346 wxListbook
*result
= 0 ;
21348 if (!SWIG_Python_UnpackTuple(args
,"new_PreListbook",0,0,0)) SWIG_fail
;
21350 if (!wxPyCheckForApp()) SWIG_fail
;
21351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21352 result
= (wxListbook
*)new wxListbook();
21353 wxPyEndAllowThreads(__tstate
);
21354 if (PyErr_Occurred()) SWIG_fail
;
21356 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_OWN
| 0 );
21363 SWIGINTERN PyObject
*_wrap_Listbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21364 PyObject
*resultobj
= 0;
21365 wxListbook
*arg1
= (wxListbook
*) 0 ;
21366 wxWindow
*arg2
= (wxWindow
*) 0 ;
21367 int arg3
= (int) -1 ;
21368 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21369 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21370 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21371 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21372 long arg6
= (long) 0 ;
21373 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21374 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21386 bool temp7
= false ;
21387 PyObject
* obj0
= 0 ;
21388 PyObject
* obj1
= 0 ;
21389 PyObject
* obj2
= 0 ;
21390 PyObject
* obj3
= 0 ;
21391 PyObject
* obj4
= 0 ;
21392 PyObject
* obj5
= 0 ;
21393 PyObject
* obj6
= 0 ;
21394 char * kwnames
[] = {
21395 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21400 if (!SWIG_IsOK(res1
)) {
21401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
21403 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21404 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21405 if (!SWIG_IsOK(res2
)) {
21406 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21408 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21410 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21411 if (!SWIG_IsOK(ecode3
)) {
21412 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
21414 arg3
= static_cast< int >(val3
);
21419 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21425 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21429 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21430 if (!SWIG_IsOK(ecode6
)) {
21431 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
21433 arg6
= static_cast< long >(val6
);
21437 arg7
= wxString_in_helper(obj6
);
21438 if (arg7
== NULL
) SWIG_fail
;
21443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21444 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21445 wxPyEndAllowThreads(__tstate
);
21446 if (PyErr_Occurred()) SWIG_fail
;
21449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21465 SWIGINTERN PyObject
*_wrap_Listbook_GetListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21466 PyObject
*resultobj
= 0;
21467 wxListbook
*arg1
= (wxListbook
*) 0 ;
21468 wxListView
*result
= 0 ;
21471 PyObject
*swig_obj
[1] ;
21473 if (!args
) SWIG_fail
;
21474 swig_obj
[0] = args
;
21475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21476 if (!SWIG_IsOK(res1
)) {
21477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
21479 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21482 result
= (wxListView
*)(arg1
)->GetListView();
21483 wxPyEndAllowThreads(__tstate
);
21484 if (PyErr_Occurred()) SWIG_fail
;
21486 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, 0 | 0 );
21493 SWIGINTERN PyObject
*Listbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21495 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21496 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook
, SWIG_NewClientData(obj
));
21497 return SWIG_Py_Void();
21500 SWIGINTERN PyObject
*Listbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21501 return SWIG_Python_InitShadowInstance(args
);
21504 SWIGINTERN PyObject
*_wrap_new_ListbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21505 PyObject
*resultobj
= 0;
21506 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21507 int arg2
= (int) 0 ;
21508 int arg3
= (int) -1 ;
21509 int arg4
= (int) -1 ;
21510 wxListbookEvent
*result
= 0 ;
21519 PyObject
* obj0
= 0 ;
21520 PyObject
* obj1
= 0 ;
21521 PyObject
* obj2
= 0 ;
21522 PyObject
* obj3
= 0 ;
21523 char * kwnames
[] = {
21524 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21529 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21530 if (!SWIG_IsOK(ecode1
)) {
21531 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21533 arg1
= static_cast< wxEventType
>(val1
);
21536 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21537 if (!SWIG_IsOK(ecode2
)) {
21538 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
21540 arg2
= static_cast< int >(val2
);
21543 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21544 if (!SWIG_IsOK(ecode3
)) {
21545 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
21547 arg3
= static_cast< int >(val3
);
21550 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21551 if (!SWIG_IsOK(ecode4
)) {
21552 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
21554 arg4
= static_cast< int >(val4
);
21557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21558 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
21559 wxPyEndAllowThreads(__tstate
);
21560 if (PyErr_Occurred()) SWIG_fail
;
21562 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbookEvent
, SWIG_POINTER_NEW
| 0 );
21569 SWIGINTERN PyObject
*ListbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21571 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21572 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent
, SWIG_NewClientData(obj
));
21573 return SWIG_Py_Void();
21576 SWIGINTERN PyObject
*ListbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21577 return SWIG_Python_InitShadowInstance(args
);
21580 SWIGINTERN PyObject
*_wrap_new_Choicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21581 PyObject
*resultobj
= 0;
21582 wxWindow
*arg1
= (wxWindow
*) 0 ;
21584 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21585 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21586 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21587 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21588 long arg5
= (long) 0 ;
21589 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21590 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21591 wxChoicebook
*result
= 0 ;
21600 bool temp6
= false ;
21601 PyObject
* obj0
= 0 ;
21602 PyObject
* obj1
= 0 ;
21603 PyObject
* obj2
= 0 ;
21604 PyObject
* obj3
= 0 ;
21605 PyObject
* obj4
= 0 ;
21606 PyObject
* obj5
= 0 ;
21607 char * kwnames
[] = {
21608 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21613 if (!SWIG_IsOK(res1
)) {
21614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21616 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21617 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21618 if (!SWIG_IsOK(ecode2
)) {
21619 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
21621 arg2
= static_cast< int >(val2
);
21625 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21631 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21635 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21636 if (!SWIG_IsOK(ecode5
)) {
21637 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
21639 arg5
= static_cast< long >(val5
);
21643 arg6
= wxString_in_helper(obj5
);
21644 if (arg6
== NULL
) SWIG_fail
;
21649 if (!wxPyCheckForApp()) SWIG_fail
;
21650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21651 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21652 wxPyEndAllowThreads(__tstate
);
21653 if (PyErr_Occurred()) SWIG_fail
;
21655 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_NEW
| 0 );
21670 SWIGINTERN PyObject
*_wrap_new_PreChoicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21671 PyObject
*resultobj
= 0;
21672 wxChoicebook
*result
= 0 ;
21674 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoicebook",0,0,0)) SWIG_fail
;
21676 if (!wxPyCheckForApp()) SWIG_fail
;
21677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21678 result
= (wxChoicebook
*)new wxChoicebook();
21679 wxPyEndAllowThreads(__tstate
);
21680 if (PyErr_Occurred()) SWIG_fail
;
21682 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_OWN
| 0 );
21689 SWIGINTERN PyObject
*_wrap_Choicebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21690 PyObject
*resultobj
= 0;
21691 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21692 wxWindow
*arg2
= (wxWindow
*) 0 ;
21694 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21695 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21696 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21697 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21698 long arg6
= (long) 0 ;
21699 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21700 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21712 bool temp7
= false ;
21713 PyObject
* obj0
= 0 ;
21714 PyObject
* obj1
= 0 ;
21715 PyObject
* obj2
= 0 ;
21716 PyObject
* obj3
= 0 ;
21717 PyObject
* obj4
= 0 ;
21718 PyObject
* obj5
= 0 ;
21719 PyObject
* obj6
= 0 ;
21720 char * kwnames
[] = {
21721 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21726 if (!SWIG_IsOK(res1
)) {
21727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
21729 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21730 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21731 if (!SWIG_IsOK(res2
)) {
21732 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21734 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21735 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21736 if (!SWIG_IsOK(ecode3
)) {
21737 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
21739 arg3
= static_cast< int >(val3
);
21743 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21749 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21753 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21754 if (!SWIG_IsOK(ecode6
)) {
21755 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21757 arg6
= static_cast< long >(val6
);
21761 arg7
= wxString_in_helper(obj6
);
21762 if (arg7
== NULL
) SWIG_fail
;
21767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21768 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21769 wxPyEndAllowThreads(__tstate
);
21770 if (PyErr_Occurred()) SWIG_fail
;
21773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21789 SWIGINTERN PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21790 PyObject
*resultobj
= 0;
21791 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21792 wxChoice
*result
= 0 ;
21795 PyObject
*swig_obj
[1] ;
21797 if (!args
) SWIG_fail
;
21798 swig_obj
[0] = args
;
21799 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21800 if (!SWIG_IsOK(res1
)) {
21801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21803 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21806 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
21807 wxPyEndAllowThreads(__tstate
);
21808 if (PyErr_Occurred()) SWIG_fail
;
21810 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, 0 | 0 );
21817 SWIGINTERN PyObject
*Choicebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21819 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21820 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook
, SWIG_NewClientData(obj
));
21821 return SWIG_Py_Void();
21824 SWIGINTERN PyObject
*Choicebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21825 return SWIG_Python_InitShadowInstance(args
);
21828 SWIGINTERN PyObject
*_wrap_new_ChoicebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21829 PyObject
*resultobj
= 0;
21830 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21831 int arg2
= (int) 0 ;
21832 int arg3
= (int) -1 ;
21833 int arg4
= (int) -1 ;
21834 wxChoicebookEvent
*result
= 0 ;
21843 PyObject
* obj0
= 0 ;
21844 PyObject
* obj1
= 0 ;
21845 PyObject
* obj2
= 0 ;
21846 PyObject
* obj3
= 0 ;
21847 char * kwnames
[] = {
21848 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21853 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21854 if (!SWIG_IsOK(ecode1
)) {
21855 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21857 arg1
= static_cast< wxEventType
>(val1
);
21860 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21861 if (!SWIG_IsOK(ecode2
)) {
21862 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
21864 arg2
= static_cast< int >(val2
);
21867 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21868 if (!SWIG_IsOK(ecode3
)) {
21869 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
21871 arg3
= static_cast< int >(val3
);
21874 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21875 if (!SWIG_IsOK(ecode4
)) {
21876 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
21878 arg4
= static_cast< int >(val4
);
21881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21882 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
21883 wxPyEndAllowThreads(__tstate
);
21884 if (PyErr_Occurred()) SWIG_fail
;
21886 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebookEvent
, SWIG_POINTER_NEW
| 0 );
21893 SWIGINTERN PyObject
*ChoicebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21895 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21896 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent
, SWIG_NewClientData(obj
));
21897 return SWIG_Py_Void();
21900 SWIGINTERN PyObject
*ChoicebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21901 return SWIG_Python_InitShadowInstance(args
);
21904 SWIGINTERN PyObject
*_wrap_new_Treebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21905 PyObject
*resultobj
= 0;
21906 wxWindow
*arg1
= (wxWindow
*) 0 ;
21908 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21909 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21910 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21911 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21912 long arg5
= (long) wxBK_DEFAULT
;
21913 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21914 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21915 wxTreebook
*result
= 0 ;
21924 bool temp6
= false ;
21925 PyObject
* obj0
= 0 ;
21926 PyObject
* obj1
= 0 ;
21927 PyObject
* obj2
= 0 ;
21928 PyObject
* obj3
= 0 ;
21929 PyObject
* obj4
= 0 ;
21930 PyObject
* obj5
= 0 ;
21931 char * kwnames
[] = {
21932 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Treebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21937 if (!SWIG_IsOK(res1
)) {
21938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21940 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21941 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21942 if (!SWIG_IsOK(ecode2
)) {
21943 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
21945 arg2
= static_cast< int >(val2
);
21949 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21955 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21959 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21960 if (!SWIG_IsOK(ecode5
)) {
21961 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
21963 arg5
= static_cast< long >(val5
);
21967 arg6
= wxString_in_helper(obj5
);
21968 if (arg6
== NULL
) SWIG_fail
;
21973 if (!wxPyCheckForApp()) SWIG_fail
;
21974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21975 result
= (wxTreebook
*)new wxTreebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21976 wxPyEndAllowThreads(__tstate
);
21977 if (PyErr_Occurred()) SWIG_fail
;
21979 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_NEW
| 0 );
21994 SWIGINTERN PyObject
*_wrap_new_PreTreebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21995 PyObject
*resultobj
= 0;
21996 wxTreebook
*result
= 0 ;
21998 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreebook",0,0,0)) SWIG_fail
;
22000 if (!wxPyCheckForApp()) SWIG_fail
;
22001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22002 result
= (wxTreebook
*)new wxTreebook();
22003 wxPyEndAllowThreads(__tstate
);
22004 if (PyErr_Occurred()) SWIG_fail
;
22006 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_OWN
| 0 );
22013 SWIGINTERN PyObject
*_wrap_Treebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22014 PyObject
*resultobj
= 0;
22015 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22016 wxWindow
*arg2
= (wxWindow
*) 0 ;
22018 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22019 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22020 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22021 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22022 long arg6
= (long) wxBK_DEFAULT
;
22023 wxString
const &arg7_defvalue
= wxPyEmptyString
;
22024 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22036 bool temp7
= false ;
22037 PyObject
* obj0
= 0 ;
22038 PyObject
* obj1
= 0 ;
22039 PyObject
* obj2
= 0 ;
22040 PyObject
* obj3
= 0 ;
22041 PyObject
* obj4
= 0 ;
22042 PyObject
* obj5
= 0 ;
22043 PyObject
* obj6
= 0 ;
22044 char * kwnames
[] = {
22045 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Treebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22050 if (!SWIG_IsOK(res1
)) {
22051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
22053 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22054 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22055 if (!SWIG_IsOK(res2
)) {
22056 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22058 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22059 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22060 if (!SWIG_IsOK(ecode3
)) {
22061 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
22063 arg3
= static_cast< int >(val3
);
22067 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22073 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22077 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22078 if (!SWIG_IsOK(ecode6
)) {
22079 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
22081 arg6
= static_cast< long >(val6
);
22085 arg7
= wxString_in_helper(obj6
);
22086 if (arg7
== NULL
) SWIG_fail
;
22091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22092 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22093 wxPyEndAllowThreads(__tstate
);
22094 if (PyErr_Occurred()) SWIG_fail
;
22097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22113 SWIGINTERN PyObject
*_wrap_Treebook_InsertSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22114 PyObject
*resultobj
= 0;
22115 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22117 wxWindow
*arg3
= (wxWindow
*) 0 ;
22118 wxString
*arg4
= 0 ;
22119 bool arg5
= (bool) false ;
22120 int arg6
= (int) wxNOT_FOUND
;
22128 bool temp4
= false ;
22133 PyObject
* obj0
= 0 ;
22134 PyObject
* obj1
= 0 ;
22135 PyObject
* obj2
= 0 ;
22136 PyObject
* obj3
= 0 ;
22137 PyObject
* obj4
= 0 ;
22138 PyObject
* obj5
= 0 ;
22139 char * kwnames
[] = {
22140 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22145 if (!SWIG_IsOK(res1
)) {
22146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22148 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22149 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22150 if (!SWIG_IsOK(ecode2
)) {
22151 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
22153 arg2
= static_cast< size_t >(val2
);
22154 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22155 if (!SWIG_IsOK(res3
)) {
22156 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
22158 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
22160 arg4
= wxString_in_helper(obj3
);
22161 if (arg4
== NULL
) SWIG_fail
;
22165 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
22166 if (!SWIG_IsOK(ecode5
)) {
22167 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
22169 arg5
= static_cast< bool >(val5
);
22172 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22173 if (!SWIG_IsOK(ecode6
)) {
22174 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
22176 arg6
= static_cast< int >(val6
);
22179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22180 result
= (bool)(arg1
)->InsertSubPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
22181 wxPyEndAllowThreads(__tstate
);
22182 if (PyErr_Occurred()) SWIG_fail
;
22185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22201 SWIGINTERN PyObject
*_wrap_Treebook_AddSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22202 PyObject
*resultobj
= 0;
22203 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22204 wxWindow
*arg2
= (wxWindow
*) 0 ;
22205 wxString
*arg3
= 0 ;
22206 bool arg4
= (bool) false ;
22207 int arg5
= (int) wxNOT_FOUND
;
22213 bool temp3
= false ;
22218 PyObject
* obj0
= 0 ;
22219 PyObject
* obj1
= 0 ;
22220 PyObject
* obj2
= 0 ;
22221 PyObject
* obj3
= 0 ;
22222 PyObject
* obj4
= 0 ;
22223 char * kwnames
[] = {
22224 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Treebook_AddSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22229 if (!SWIG_IsOK(res1
)) {
22230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22232 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22233 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22234 if (!SWIG_IsOK(res2
)) {
22235 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
22237 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22239 arg3
= wxString_in_helper(obj2
);
22240 if (arg3
== NULL
) SWIG_fail
;
22244 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
22245 if (!SWIG_IsOK(ecode4
)) {
22246 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
22248 arg4
= static_cast< bool >(val4
);
22251 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22252 if (!SWIG_IsOK(ecode5
)) {
22253 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
22255 arg5
= static_cast< int >(val5
);
22258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22259 result
= (bool)(arg1
)->AddSubPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
22260 wxPyEndAllowThreads(__tstate
);
22261 if (PyErr_Occurred()) SWIG_fail
;
22264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22280 SWIGINTERN PyObject
*_wrap_Treebook_IsNodeExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22281 PyObject
*resultobj
= 0;
22282 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22289 PyObject
* obj0
= 0 ;
22290 PyObject
* obj1
= 0 ;
22291 char * kwnames
[] = {
22292 (char *) "self",(char *) "pos", NULL
22295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_IsNodeExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22297 if (!SWIG_IsOK(res1
)) {
22298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22300 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22301 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22302 if (!SWIG_IsOK(ecode2
)) {
22303 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
22305 arg2
= static_cast< size_t >(val2
);
22307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22308 result
= (bool)((wxTreebook
const *)arg1
)->IsNodeExpanded(arg2
);
22309 wxPyEndAllowThreads(__tstate
);
22310 if (PyErr_Occurred()) SWIG_fail
;
22313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22321 SWIGINTERN PyObject
*_wrap_Treebook_ExpandNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22322 PyObject
*resultobj
= 0;
22323 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22325 bool arg3
= (bool) true ;
22333 PyObject
* obj0
= 0 ;
22334 PyObject
* obj1
= 0 ;
22335 PyObject
* obj2
= 0 ;
22336 char * kwnames
[] = {
22337 (char *) "self",(char *) "pos",(char *) "expand", NULL
22340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Treebook_ExpandNode",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22342 if (!SWIG_IsOK(res1
)) {
22343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22345 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22346 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22347 if (!SWIG_IsOK(ecode2
)) {
22348 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
22350 arg2
= static_cast< size_t >(val2
);
22352 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22353 if (!SWIG_IsOK(ecode3
)) {
22354 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
22356 arg3
= static_cast< bool >(val3
);
22359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22360 result
= (bool)(arg1
)->ExpandNode(arg2
,arg3
);
22361 wxPyEndAllowThreads(__tstate
);
22362 if (PyErr_Occurred()) SWIG_fail
;
22365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22373 SWIGINTERN PyObject
*_wrap_Treebook_CollapseNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22374 PyObject
*resultobj
= 0;
22375 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22382 PyObject
* obj0
= 0 ;
22383 PyObject
* obj1
= 0 ;
22384 char * kwnames
[] = {
22385 (char *) "self",(char *) "pos", NULL
22388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_CollapseNode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22390 if (!SWIG_IsOK(res1
)) {
22391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22393 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22394 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22395 if (!SWIG_IsOK(ecode2
)) {
22396 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
22398 arg2
= static_cast< size_t >(val2
);
22400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22401 result
= (bool)(arg1
)->CollapseNode(arg2
);
22402 wxPyEndAllowThreads(__tstate
);
22403 if (PyErr_Occurred()) SWIG_fail
;
22406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22414 SWIGINTERN PyObject
*_wrap_Treebook_GetPageParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22415 PyObject
*resultobj
= 0;
22416 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22423 PyObject
* obj0
= 0 ;
22424 PyObject
* obj1
= 0 ;
22425 char * kwnames
[] = {
22426 (char *) "self",(char *) "pos", NULL
22429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_GetPageParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22431 if (!SWIG_IsOK(res1
)) {
22432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22434 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22435 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22436 if (!SWIG_IsOK(ecode2
)) {
22437 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
22439 arg2
= static_cast< size_t >(val2
);
22441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22442 result
= (int)((wxTreebook
const *)arg1
)->GetPageParent(arg2
);
22443 wxPyEndAllowThreads(__tstate
);
22444 if (PyErr_Occurred()) SWIG_fail
;
22446 resultobj
= SWIG_From_int(static_cast< int >(result
));
22453 SWIGINTERN PyObject
*_wrap_Treebook_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22454 PyObject
*resultobj
= 0;
22455 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22456 wxPyTreeCtrl
*result
= 0 ;
22459 PyObject
*swig_obj
[1] ;
22461 if (!args
) SWIG_fail
;
22462 swig_obj
[0] = args
;
22463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22464 if (!SWIG_IsOK(res1
)) {
22465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22467 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22470 result
= (wxPyTreeCtrl
*)((wxTreebook
const *)arg1
)->GetTreeCtrl();
22471 wxPyEndAllowThreads(__tstate
);
22472 if (PyErr_Occurred()) SWIG_fail
;
22475 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22483 SWIGINTERN PyObject
*Treebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22485 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22486 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook
, SWIG_NewClientData(obj
));
22487 return SWIG_Py_Void();
22490 SWIGINTERN PyObject
*Treebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22491 return SWIG_Python_InitShadowInstance(args
);
22494 SWIGINTERN PyObject
*_wrap_new_TreebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22495 PyObject
*resultobj
= 0;
22496 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22497 int arg2
= (int) 0 ;
22498 int arg3
= (int) wxNOT_FOUND
;
22499 int arg4
= (int) wxNOT_FOUND
;
22500 wxTreebookEvent
*result
= 0 ;
22509 PyObject
* obj0
= 0 ;
22510 PyObject
* obj1
= 0 ;
22511 PyObject
* obj2
= 0 ;
22512 PyObject
* obj3
= 0 ;
22513 char * kwnames
[] = {
22514 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TreebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22519 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22520 if (!SWIG_IsOK(ecode1
)) {
22521 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22523 arg1
= static_cast< wxEventType
>(val1
);
22526 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22527 if (!SWIG_IsOK(ecode2
)) {
22528 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
22530 arg2
= static_cast< int >(val2
);
22533 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22534 if (!SWIG_IsOK(ecode3
)) {
22535 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
22537 arg3
= static_cast< int >(val3
);
22540 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22541 if (!SWIG_IsOK(ecode4
)) {
22542 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
22544 arg4
= static_cast< int >(val4
);
22547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22548 result
= (wxTreebookEvent
*)new wxTreebookEvent(arg1
,arg2
,arg3
,arg4
);
22549 wxPyEndAllowThreads(__tstate
);
22550 if (PyErr_Occurred()) SWIG_fail
;
22552 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebookEvent
, SWIG_POINTER_NEW
| 0 );
22559 SWIGINTERN PyObject
*TreebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22561 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22562 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent
, SWIG_NewClientData(obj
));
22563 return SWIG_Py_Void();
22566 SWIGINTERN PyObject
*TreebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22567 return SWIG_Python_InitShadowInstance(args
);
22570 SWIGINTERN PyObject
*_wrap_new_Toolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22571 PyObject
*resultobj
= 0;
22572 wxWindow
*arg1
= (wxWindow
*) 0 ;
22574 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22575 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22576 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22577 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22578 long arg5
= (long) wxBK_DEFAULT
;
22579 wxString
const &arg6_defvalue
= wxPyEmptyString
;
22580 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22581 wxToolbook
*result
= 0 ;
22590 bool temp6
= false ;
22591 PyObject
* obj0
= 0 ;
22592 PyObject
* obj1
= 0 ;
22593 PyObject
* obj2
= 0 ;
22594 PyObject
* obj3
= 0 ;
22595 PyObject
* obj4
= 0 ;
22596 PyObject
* obj5
= 0 ;
22597 char * kwnames
[] = {
22598 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Toolbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22603 if (!SWIG_IsOK(res1
)) {
22604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
22606 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22607 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22608 if (!SWIG_IsOK(ecode2
)) {
22609 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
22611 arg2
= static_cast< int >(val2
);
22615 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22621 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22625 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22626 if (!SWIG_IsOK(ecode5
)) {
22627 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
22629 arg5
= static_cast< long >(val5
);
22633 arg6
= wxString_in_helper(obj5
);
22634 if (arg6
== NULL
) SWIG_fail
;
22639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22640 result
= (wxToolbook
*)new wxToolbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22641 wxPyEndAllowThreads(__tstate
);
22642 if (PyErr_Occurred()) SWIG_fail
;
22644 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_NEW
| 0 );
22659 SWIGINTERN PyObject
*_wrap_new_PreToolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22660 PyObject
*resultobj
= 0;
22661 wxToolbook
*result
= 0 ;
22663 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolbook",0,0,0)) SWIG_fail
;
22665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22666 result
= (wxToolbook
*)new wxToolbook();
22667 wxPyEndAllowThreads(__tstate
);
22668 if (PyErr_Occurred()) SWIG_fail
;
22670 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_OWN
| 0 );
22677 SWIGINTERN PyObject
*_wrap_Toolbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22678 PyObject
*resultobj
= 0;
22679 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22680 wxWindow
*arg2
= (wxWindow
*) 0 ;
22682 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22683 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22684 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22685 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22686 long arg6
= (long) 0 ;
22687 wxString
const &arg7_defvalue
= wxEmptyString
;
22688 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22700 bool temp7
= false ;
22701 PyObject
* obj0
= 0 ;
22702 PyObject
* obj1
= 0 ;
22703 PyObject
* obj2
= 0 ;
22704 PyObject
* obj3
= 0 ;
22705 PyObject
* obj4
= 0 ;
22706 PyObject
* obj5
= 0 ;
22707 PyObject
* obj6
= 0 ;
22708 char * kwnames
[] = {
22709 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Toolbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22714 if (!SWIG_IsOK(res1
)) {
22715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
22717 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22718 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22719 if (!SWIG_IsOK(res2
)) {
22720 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22722 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22723 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22724 if (!SWIG_IsOK(ecode3
)) {
22725 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
22727 arg3
= static_cast< int >(val3
);
22731 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22737 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22741 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22742 if (!SWIG_IsOK(ecode6
)) {
22743 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
22745 arg6
= static_cast< long >(val6
);
22749 arg7
= wxString_in_helper(obj6
);
22750 if (arg7
== NULL
) SWIG_fail
;
22755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22756 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22757 wxPyEndAllowThreads(__tstate
);
22758 if (PyErr_Occurred()) SWIG_fail
;
22761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22777 SWIGINTERN PyObject
*_wrap_Toolbook_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22778 PyObject
*resultobj
= 0;
22779 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22780 wxToolBarBase
*result
= 0 ;
22783 PyObject
*swig_obj
[1] ;
22785 if (!args
) SWIG_fail
;
22786 swig_obj
[0] = args
;
22787 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22788 if (!SWIG_IsOK(res1
)) {
22789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22791 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22794 result
= (wxToolBarBase
*)((wxToolbook
const *)arg1
)->GetToolBar();
22795 wxPyEndAllowThreads(__tstate
);
22796 if (PyErr_Occurred()) SWIG_fail
;
22799 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22807 SWIGINTERN PyObject
*_wrap_Toolbook_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22808 PyObject
*resultobj
= 0;
22809 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22812 PyObject
*swig_obj
[1] ;
22814 if (!args
) SWIG_fail
;
22815 swig_obj
[0] = args
;
22816 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22817 if (!SWIG_IsOK(res1
)) {
22818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22820 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22824 wxPyEndAllowThreads(__tstate
);
22825 if (PyErr_Occurred()) SWIG_fail
;
22827 resultobj
= SWIG_Py_Void();
22834 SWIGINTERN PyObject
*Toolbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22836 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22837 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook
, SWIG_NewClientData(obj
));
22838 return SWIG_Py_Void();
22841 SWIGINTERN PyObject
*Toolbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22842 return SWIG_Python_InitShadowInstance(args
);
22845 SWIGINTERN PyObject
*_wrap_new_ToolbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22846 PyObject
*resultobj
= 0;
22847 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22848 int arg2
= (int) 0 ;
22849 int arg3
= (int) wxNOT_FOUND
;
22850 int arg4
= (int) wxNOT_FOUND
;
22851 wxToolbookEvent
*result
= 0 ;
22860 PyObject
* obj0
= 0 ;
22861 PyObject
* obj1
= 0 ;
22862 PyObject
* obj2
= 0 ;
22863 PyObject
* obj3
= 0 ;
22864 char * kwnames
[] = {
22865 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ToolbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22870 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22871 if (!SWIG_IsOK(ecode1
)) {
22872 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22874 arg1
= static_cast< wxEventType
>(val1
);
22877 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22878 if (!SWIG_IsOK(ecode2
)) {
22879 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
22881 arg2
= static_cast< int >(val2
);
22884 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22885 if (!SWIG_IsOK(ecode3
)) {
22886 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
22888 arg3
= static_cast< int >(val3
);
22891 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22892 if (!SWIG_IsOK(ecode4
)) {
22893 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22895 arg4
= static_cast< int >(val4
);
22898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22899 result
= (wxToolbookEvent
*)new wxToolbookEvent(arg1
,arg2
,arg3
,arg4
);
22900 wxPyEndAllowThreads(__tstate
);
22901 if (PyErr_Occurred()) SWIG_fail
;
22903 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbookEvent
, SWIG_POINTER_NEW
| 0 );
22910 SWIGINTERN PyObject
*ToolbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22912 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22913 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent
, SWIG_NewClientData(obj
));
22914 return SWIG_Py_Void();
22917 SWIGINTERN PyObject
*ToolbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22918 return SWIG_Python_InitShadowInstance(args
);
22921 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22922 PyObject
*resultobj
= 0;
22923 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22927 PyObject
*swig_obj
[1] ;
22929 if (!args
) SWIG_fail
;
22930 swig_obj
[0] = args
;
22931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22932 if (!SWIG_IsOK(res1
)) {
22933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22935 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22938 result
= (int)(arg1
)->GetId();
22939 wxPyEndAllowThreads(__tstate
);
22940 if (PyErr_Occurred()) SWIG_fail
;
22942 resultobj
= SWIG_From_int(static_cast< int >(result
));
22949 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22950 PyObject
*resultobj
= 0;
22951 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22952 wxControl
*result
= 0 ;
22955 PyObject
*swig_obj
[1] ;
22957 if (!args
) SWIG_fail
;
22958 swig_obj
[0] = args
;
22959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22960 if (!SWIG_IsOK(res1
)) {
22961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22963 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22966 result
= (wxControl
*)(arg1
)->GetControl();
22967 wxPyEndAllowThreads(__tstate
);
22968 if (PyErr_Occurred()) SWIG_fail
;
22971 resultobj
= wxPyMake_wxObject(result
, 0);
22979 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22980 PyObject
*resultobj
= 0;
22981 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22982 wxToolBarBase
*result
= 0 ;
22985 PyObject
*swig_obj
[1] ;
22987 if (!args
) SWIG_fail
;
22988 swig_obj
[0] = args
;
22989 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22990 if (!SWIG_IsOK(res1
)) {
22991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22993 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22996 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
22997 wxPyEndAllowThreads(__tstate
);
22998 if (PyErr_Occurred()) SWIG_fail
;
23001 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23009 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23010 PyObject
*resultobj
= 0;
23011 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23015 PyObject
*swig_obj
[1] ;
23017 if (!args
) SWIG_fail
;
23018 swig_obj
[0] = args
;
23019 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23020 if (!SWIG_IsOK(res1
)) {
23021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23023 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23026 result
= (int)(arg1
)->IsButton();
23027 wxPyEndAllowThreads(__tstate
);
23028 if (PyErr_Occurred()) SWIG_fail
;
23030 resultobj
= SWIG_From_int(static_cast< int >(result
));
23037 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23038 PyObject
*resultobj
= 0;
23039 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23043 PyObject
*swig_obj
[1] ;
23045 if (!args
) SWIG_fail
;
23046 swig_obj
[0] = args
;
23047 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23048 if (!SWIG_IsOK(res1
)) {
23049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23051 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23054 result
= (int)(arg1
)->IsControl();
23055 wxPyEndAllowThreads(__tstate
);
23056 if (PyErr_Occurred()) SWIG_fail
;
23058 resultobj
= SWIG_From_int(static_cast< int >(result
));
23065 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23066 PyObject
*resultobj
= 0;
23067 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23071 PyObject
*swig_obj
[1] ;
23073 if (!args
) SWIG_fail
;
23074 swig_obj
[0] = args
;
23075 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23076 if (!SWIG_IsOK(res1
)) {
23077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23079 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23082 result
= (int)(arg1
)->IsSeparator();
23083 wxPyEndAllowThreads(__tstate
);
23084 if (PyErr_Occurred()) SWIG_fail
;
23086 resultobj
= SWIG_From_int(static_cast< int >(result
));
23093 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23094 PyObject
*resultobj
= 0;
23095 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23099 PyObject
*swig_obj
[1] ;
23101 if (!args
) SWIG_fail
;
23102 swig_obj
[0] = args
;
23103 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23104 if (!SWIG_IsOK(res1
)) {
23105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23107 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23110 result
= (int)(arg1
)->GetStyle();
23111 wxPyEndAllowThreads(__tstate
);
23112 if (PyErr_Occurred()) SWIG_fail
;
23114 resultobj
= SWIG_From_int(static_cast< int >(result
));
23121 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23122 PyObject
*resultobj
= 0;
23123 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23127 PyObject
*swig_obj
[1] ;
23129 if (!args
) SWIG_fail
;
23130 swig_obj
[0] = args
;
23131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23132 if (!SWIG_IsOK(res1
)) {
23133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23135 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23138 result
= (wxItemKind
)(arg1
)->GetKind();
23139 wxPyEndAllowThreads(__tstate
);
23140 if (PyErr_Occurred()) SWIG_fail
;
23142 resultobj
= SWIG_From_int(static_cast< int >(result
));
23149 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23150 PyObject
*resultobj
= 0;
23151 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23155 PyObject
*swig_obj
[1] ;
23157 if (!args
) SWIG_fail
;
23158 swig_obj
[0] = args
;
23159 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23160 if (!SWIG_IsOK(res1
)) {
23161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23163 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23166 result
= (bool)(arg1
)->IsEnabled();
23167 wxPyEndAllowThreads(__tstate
);
23168 if (PyErr_Occurred()) SWIG_fail
;
23171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23179 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23180 PyObject
*resultobj
= 0;
23181 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23185 PyObject
*swig_obj
[1] ;
23187 if (!args
) SWIG_fail
;
23188 swig_obj
[0] = args
;
23189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23190 if (!SWIG_IsOK(res1
)) {
23191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23193 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23196 result
= (bool)(arg1
)->IsToggled();
23197 wxPyEndAllowThreads(__tstate
);
23198 if (PyErr_Occurred()) SWIG_fail
;
23201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23209 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23210 PyObject
*resultobj
= 0;
23211 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23215 PyObject
*swig_obj
[1] ;
23217 if (!args
) SWIG_fail
;
23218 swig_obj
[0] = args
;
23219 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23220 if (!SWIG_IsOK(res1
)) {
23221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23223 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23226 result
= (bool)(arg1
)->CanBeToggled();
23227 wxPyEndAllowThreads(__tstate
);
23228 if (PyErr_Occurred()) SWIG_fail
;
23231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23239 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23240 PyObject
*resultobj
= 0;
23241 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23242 wxBitmap
*result
= 0 ;
23245 PyObject
*swig_obj
[1] ;
23247 if (!args
) SWIG_fail
;
23248 swig_obj
[0] = args
;
23249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23250 if (!SWIG_IsOK(res1
)) {
23251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23253 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23257 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
23258 result
= (wxBitmap
*) &_result_ref
;
23260 wxPyEndAllowThreads(__tstate
);
23261 if (PyErr_Occurred()) SWIG_fail
;
23264 wxBitmap
* resultptr
= new wxBitmap(*result
);
23265 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
23273 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23274 PyObject
*resultobj
= 0;
23275 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23276 wxBitmap
*result
= 0 ;
23279 PyObject
*swig_obj
[1] ;
23281 if (!args
) SWIG_fail
;
23282 swig_obj
[0] = args
;
23283 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23284 if (!SWIG_IsOK(res1
)) {
23285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23287 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23291 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
23292 result
= (wxBitmap
*) &_result_ref
;
23294 wxPyEndAllowThreads(__tstate
);
23295 if (PyErr_Occurred()) SWIG_fail
;
23298 wxBitmap
* resultptr
= new wxBitmap(*result
);
23299 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
23307 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23308 PyObject
*resultobj
= 0;
23309 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23313 PyObject
*swig_obj
[1] ;
23315 if (!args
) SWIG_fail
;
23316 swig_obj
[0] = args
;
23317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23318 if (!SWIG_IsOK(res1
)) {
23319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23321 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23324 result
= (arg1
)->GetBitmap();
23325 wxPyEndAllowThreads(__tstate
);
23326 if (PyErr_Occurred()) SWIG_fail
;
23328 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
23335 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23336 PyObject
*resultobj
= 0;
23337 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23341 PyObject
*swig_obj
[1] ;
23343 if (!args
) SWIG_fail
;
23344 swig_obj
[0] = args
;
23345 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23346 if (!SWIG_IsOK(res1
)) {
23347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23349 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23352 result
= (arg1
)->GetLabel();
23353 wxPyEndAllowThreads(__tstate
);
23354 if (PyErr_Occurred()) SWIG_fail
;
23358 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23360 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23369 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23370 PyObject
*resultobj
= 0;
23371 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23375 PyObject
*swig_obj
[1] ;
23377 if (!args
) SWIG_fail
;
23378 swig_obj
[0] = args
;
23379 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23380 if (!SWIG_IsOK(res1
)) {
23381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23383 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23386 result
= (arg1
)->GetShortHelp();
23387 wxPyEndAllowThreads(__tstate
);
23388 if (PyErr_Occurred()) SWIG_fail
;
23392 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23394 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23403 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23404 PyObject
*resultobj
= 0;
23405 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23409 PyObject
*swig_obj
[1] ;
23411 if (!args
) SWIG_fail
;
23412 swig_obj
[0] = args
;
23413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23414 if (!SWIG_IsOK(res1
)) {
23415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23417 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23420 result
= (arg1
)->GetLongHelp();
23421 wxPyEndAllowThreads(__tstate
);
23422 if (PyErr_Occurred()) SWIG_fail
;
23426 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23428 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23437 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23438 PyObject
*resultobj
= 0;
23439 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23446 PyObject
* obj0
= 0 ;
23447 PyObject
* obj1
= 0 ;
23448 char * kwnames
[] = {
23449 (char *) "self",(char *) "enable", NULL
23452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23454 if (!SWIG_IsOK(res1
)) {
23455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23457 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23458 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23459 if (!SWIG_IsOK(ecode2
)) {
23460 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
23462 arg2
= static_cast< bool >(val2
);
23464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23465 result
= (bool)(arg1
)->Enable(arg2
);
23466 wxPyEndAllowThreads(__tstate
);
23467 if (PyErr_Occurred()) SWIG_fail
;
23470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23478 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23479 PyObject
*resultobj
= 0;
23480 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23483 PyObject
*swig_obj
[1] ;
23485 if (!args
) SWIG_fail
;
23486 swig_obj
[0] = args
;
23487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23488 if (!SWIG_IsOK(res1
)) {
23489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23491 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23495 wxPyEndAllowThreads(__tstate
);
23496 if (PyErr_Occurred()) SWIG_fail
;
23498 resultobj
= SWIG_Py_Void();
23505 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23506 PyObject
*resultobj
= 0;
23507 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23514 PyObject
* obj0
= 0 ;
23515 PyObject
* obj1
= 0 ;
23516 char * kwnames
[] = {
23517 (char *) "self",(char *) "toggle", NULL
23520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23522 if (!SWIG_IsOK(res1
)) {
23523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23525 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23526 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23527 if (!SWIG_IsOK(ecode2
)) {
23528 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
23530 arg2
= static_cast< bool >(val2
);
23532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23533 result
= (bool)(arg1
)->SetToggle(arg2
);
23534 wxPyEndAllowThreads(__tstate
);
23535 if (PyErr_Occurred()) SWIG_fail
;
23538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23546 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23547 PyObject
*resultobj
= 0;
23548 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23549 wxString
*arg2
= 0 ;
23553 bool temp2
= false ;
23554 PyObject
* obj0
= 0 ;
23555 PyObject
* obj1
= 0 ;
23556 char * kwnames
[] = {
23557 (char *) "self",(char *) "help", NULL
23560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23562 if (!SWIG_IsOK(res1
)) {
23563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23565 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23567 arg2
= wxString_in_helper(obj1
);
23568 if (arg2
== NULL
) SWIG_fail
;
23572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23573 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
23574 wxPyEndAllowThreads(__tstate
);
23575 if (PyErr_Occurred()) SWIG_fail
;
23578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23594 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23595 PyObject
*resultobj
= 0;
23596 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23597 wxString
*arg2
= 0 ;
23601 bool temp2
= false ;
23602 PyObject
* obj0
= 0 ;
23603 PyObject
* obj1
= 0 ;
23604 char * kwnames
[] = {
23605 (char *) "self",(char *) "help", NULL
23608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23610 if (!SWIG_IsOK(res1
)) {
23611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23613 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23615 arg2
= wxString_in_helper(obj1
);
23616 if (arg2
== NULL
) SWIG_fail
;
23620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23621 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
23622 wxPyEndAllowThreads(__tstate
);
23623 if (PyErr_Occurred()) SWIG_fail
;
23626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23642 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23643 PyObject
*resultobj
= 0;
23644 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23645 wxBitmap
*arg2
= 0 ;
23650 PyObject
* obj0
= 0 ;
23651 PyObject
* obj1
= 0 ;
23652 char * kwnames
[] = {
23653 (char *) "self",(char *) "bmp", NULL
23656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23658 if (!SWIG_IsOK(res1
)) {
23659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23661 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23662 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23663 if (!SWIG_IsOK(res2
)) {
23664 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23667 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23669 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23672 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
23673 wxPyEndAllowThreads(__tstate
);
23674 if (PyErr_Occurred()) SWIG_fail
;
23676 resultobj
= SWIG_Py_Void();
23683 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23684 PyObject
*resultobj
= 0;
23685 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23686 wxBitmap
*arg2
= 0 ;
23691 PyObject
* obj0
= 0 ;
23692 PyObject
* obj1
= 0 ;
23693 char * kwnames
[] = {
23694 (char *) "self",(char *) "bmp", NULL
23697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23699 if (!SWIG_IsOK(res1
)) {
23700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23702 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23703 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23704 if (!SWIG_IsOK(res2
)) {
23705 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23708 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23710 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23713 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
23714 wxPyEndAllowThreads(__tstate
);
23715 if (PyErr_Occurred()) SWIG_fail
;
23717 resultobj
= SWIG_Py_Void();
23724 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23725 PyObject
*resultobj
= 0;
23726 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23727 wxString
*arg2
= 0 ;
23730 bool temp2
= false ;
23731 PyObject
* obj0
= 0 ;
23732 PyObject
* obj1
= 0 ;
23733 char * kwnames
[] = {
23734 (char *) "self",(char *) "label", NULL
23737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23739 if (!SWIG_IsOK(res1
)) {
23740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23742 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23744 arg2
= wxString_in_helper(obj1
);
23745 if (arg2
== NULL
) SWIG_fail
;
23749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23750 (arg1
)->SetLabel((wxString
const &)*arg2
);
23751 wxPyEndAllowThreads(__tstate
);
23752 if (PyErr_Occurred()) SWIG_fail
;
23754 resultobj
= SWIG_Py_Void();
23769 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23770 PyObject
*resultobj
= 0;
23771 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23774 PyObject
*swig_obj
[1] ;
23776 if (!args
) SWIG_fail
;
23777 swig_obj
[0] = args
;
23778 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23779 if (!SWIG_IsOK(res1
)) {
23780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23782 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23786 wxPyEndAllowThreads(__tstate
);
23787 if (PyErr_Occurred()) SWIG_fail
;
23789 resultobj
= SWIG_Py_Void();
23796 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23797 PyObject
*resultobj
= 0;
23798 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23799 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
23804 PyObject
* obj0
= 0 ;
23805 PyObject
* obj1
= 0 ;
23806 char * kwnames
[] = {
23807 (char *) "self",(char *) "tbar", NULL
23810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23812 if (!SWIG_IsOK(res1
)) {
23813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23815 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23816 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23817 if (!SWIG_IsOK(res2
)) {
23818 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23820 arg2
= reinterpret_cast< wxToolBarBase
* >(argp2
);
23822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23823 (arg1
)->Attach(arg2
);
23824 wxPyEndAllowThreads(__tstate
);
23825 if (PyErr_Occurred()) SWIG_fail
;
23827 resultobj
= SWIG_Py_Void();
23834 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23835 PyObject
*resultobj
= 0;
23836 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23837 PyObject
*result
= 0 ;
23840 PyObject
*swig_obj
[1] ;
23842 if (!args
) SWIG_fail
;
23843 swig_obj
[0] = args
;
23844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23845 if (!SWIG_IsOK(res1
)) {
23846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23848 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23851 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
23852 wxPyEndAllowThreads(__tstate
);
23853 if (PyErr_Occurred()) SWIG_fail
;
23855 resultobj
= result
;
23862 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23863 PyObject
*resultobj
= 0;
23864 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23865 PyObject
*arg2
= (PyObject
*) 0 ;
23868 PyObject
* obj0
= 0 ;
23869 PyObject
* obj1
= 0 ;
23870 char * kwnames
[] = {
23871 (char *) "self",(char *) "clientData", NULL
23874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23876 if (!SWIG_IsOK(res1
)) {
23877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23879 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23883 wxToolBarToolBase_SetClientData(arg1
,arg2
);
23884 wxPyEndAllowThreads(__tstate
);
23885 if (PyErr_Occurred()) SWIG_fail
;
23887 resultobj
= SWIG_Py_Void();
23894 SWIGINTERN PyObject
*ToolBarToolBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23896 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23897 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase
, SWIG_NewClientData(obj
));
23898 return SWIG_Py_Void();
23901 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23902 PyObject
*resultobj
= 0;
23903 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23905 wxString
*arg3
= 0 ;
23906 wxBitmap
*arg4
= 0 ;
23907 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
23908 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
23909 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
23910 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23911 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23912 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23913 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23914 PyObject
*arg9
= (PyObject
*) NULL
;
23915 wxToolBarToolBase
*result
= 0 ;
23920 bool temp3
= false ;
23927 bool temp7
= false ;
23928 bool temp8
= false ;
23929 PyObject
* obj0
= 0 ;
23930 PyObject
* obj1
= 0 ;
23931 PyObject
* obj2
= 0 ;
23932 PyObject
* obj3
= 0 ;
23933 PyObject
* obj4
= 0 ;
23934 PyObject
* obj5
= 0 ;
23935 PyObject
* obj6
= 0 ;
23936 PyObject
* obj7
= 0 ;
23937 PyObject
* obj8
= 0 ;
23938 char * kwnames
[] = {
23939 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
23943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23944 if (!SWIG_IsOK(res1
)) {
23945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23947 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23948 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23949 if (!SWIG_IsOK(ecode2
)) {
23950 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
23952 arg2
= static_cast< int >(val2
);
23954 arg3
= wxString_in_helper(obj2
);
23955 if (arg3
== NULL
) SWIG_fail
;
23958 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23959 if (!SWIG_IsOK(res4
)) {
23960 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23963 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23965 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
23967 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23968 if (!SWIG_IsOK(res5
)) {
23969 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23972 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23974 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23977 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23978 if (!SWIG_IsOK(ecode6
)) {
23979 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
23981 arg6
= static_cast< wxItemKind
>(val6
);
23985 arg7
= wxString_in_helper(obj6
);
23986 if (arg7
== NULL
) SWIG_fail
;
23992 arg8
= wxString_in_helper(obj7
);
23993 if (arg8
== NULL
) SWIG_fail
;
24001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24002 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
24003 wxPyEndAllowThreads(__tstate
);
24004 if (PyErr_Occurred()) SWIG_fail
;
24007 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24039 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24040 PyObject
*resultobj
= 0;
24041 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24044 wxString
*arg4
= 0 ;
24045 wxBitmap
*arg5
= 0 ;
24046 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
24047 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
24048 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
24049 wxString
const &arg8_defvalue
= wxPyEmptyString
;
24050 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
24051 wxString
const &arg9_defvalue
= wxPyEmptyString
;
24052 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
24053 PyObject
*arg10
= (PyObject
*) NULL
;
24054 wxToolBarToolBase
*result
= 0 ;
24061 bool temp4
= false ;
24068 bool temp8
= false ;
24069 bool temp9
= false ;
24070 PyObject
* obj0
= 0 ;
24071 PyObject
* obj1
= 0 ;
24072 PyObject
* obj2
= 0 ;
24073 PyObject
* obj3
= 0 ;
24074 PyObject
* obj4
= 0 ;
24075 PyObject
* obj5
= 0 ;
24076 PyObject
* obj6
= 0 ;
24077 PyObject
* obj7
= 0 ;
24078 PyObject
* obj8
= 0 ;
24079 PyObject
* obj9
= 0 ;
24080 char * kwnames
[] = {
24081 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
24084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
24085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24086 if (!SWIG_IsOK(res1
)) {
24087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24089 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24090 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24091 if (!SWIG_IsOK(ecode2
)) {
24092 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
24094 arg2
= static_cast< size_t >(val2
);
24095 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24096 if (!SWIG_IsOK(ecode3
)) {
24097 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
24099 arg3
= static_cast< int >(val3
);
24101 arg4
= wxString_in_helper(obj3
);
24102 if (arg4
== NULL
) SWIG_fail
;
24105 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24106 if (!SWIG_IsOK(res5
)) {
24107 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24110 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24112 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
24114 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24115 if (!SWIG_IsOK(res6
)) {
24116 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
24119 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
24121 arg6
= reinterpret_cast< wxBitmap
* >(argp6
);
24124 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
24125 if (!SWIG_IsOK(ecode7
)) {
24126 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
24128 arg7
= static_cast< wxItemKind
>(val7
);
24132 arg8
= wxString_in_helper(obj7
);
24133 if (arg8
== NULL
) SWIG_fail
;
24139 arg9
= wxString_in_helper(obj8
);
24140 if (arg9
== NULL
) SWIG_fail
;
24148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24149 result
= (wxToolBarToolBase
*)wxToolBarBase_DoInsertTool(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxBitmap
const &)*arg6
,arg7
,(wxString
const &)*arg8
,(wxString
const &)*arg9
,arg10
);
24150 wxPyEndAllowThreads(__tstate
);
24151 if (PyErr_Occurred()) SWIG_fail
;
24154 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24186 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24187 PyObject
*resultobj
= 0;
24188 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24189 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
24190 wxToolBarToolBase
*result
= 0 ;
24195 PyObject
* obj0
= 0 ;
24196 PyObject
* obj1
= 0 ;
24197 char * kwnames
[] = {
24198 (char *) "self",(char *) "tool", NULL
24201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24203 if (!SWIG_IsOK(res1
)) {
24204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24206 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24207 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
24208 if (!SWIG_IsOK(res2
)) {
24209 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
24211 arg2
= reinterpret_cast< wxToolBarToolBase
* >(argp2
);
24213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24214 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
24215 wxPyEndAllowThreads(__tstate
);
24216 if (PyErr_Occurred()) SWIG_fail
;
24219 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24227 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24228 PyObject
*resultobj
= 0;
24229 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24231 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
24232 wxToolBarToolBase
*result
= 0 ;
24239 PyObject
* obj0
= 0 ;
24240 PyObject
* obj1
= 0 ;
24241 PyObject
* obj2
= 0 ;
24242 char * kwnames
[] = {
24243 (char *) "self",(char *) "pos",(char *) "tool", NULL
24246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24248 if (!SWIG_IsOK(res1
)) {
24249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24251 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24252 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24253 if (!SWIG_IsOK(ecode2
)) {
24254 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
24256 arg2
= static_cast< size_t >(val2
);
24257 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
24258 if (!SWIG_IsOK(res3
)) {
24259 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
24261 arg3
= reinterpret_cast< wxToolBarToolBase
* >(argp3
);
24263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24264 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
24265 wxPyEndAllowThreads(__tstate
);
24266 if (PyErr_Occurred()) SWIG_fail
;
24269 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24277 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24278 PyObject
*resultobj
= 0;
24279 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24280 wxControl
*arg2
= (wxControl
*) 0 ;
24281 wxToolBarToolBase
*result
= 0 ;
24286 PyObject
* obj0
= 0 ;
24287 PyObject
* obj1
= 0 ;
24288 char * kwnames
[] = {
24289 (char *) "self",(char *) "control", NULL
24292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24294 if (!SWIG_IsOK(res1
)) {
24295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24297 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24298 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 | 0 );
24299 if (!SWIG_IsOK(res2
)) {
24300 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
24302 arg2
= reinterpret_cast< wxControl
* >(argp2
);
24304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24305 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
24306 wxPyEndAllowThreads(__tstate
);
24307 if (PyErr_Occurred()) SWIG_fail
;
24310 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24318 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24319 PyObject
*resultobj
= 0;
24320 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24322 wxControl
*arg3
= (wxControl
*) 0 ;
24323 wxToolBarToolBase
*result
= 0 ;
24330 PyObject
* obj0
= 0 ;
24331 PyObject
* obj1
= 0 ;
24332 PyObject
* obj2
= 0 ;
24333 char * kwnames
[] = {
24334 (char *) "self",(char *) "pos",(char *) "control", NULL
24337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24339 if (!SWIG_IsOK(res1
)) {
24340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24342 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24343 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24344 if (!SWIG_IsOK(ecode2
)) {
24345 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
24347 arg2
= static_cast< size_t >(val2
);
24348 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxControl
, 0 | 0 );
24349 if (!SWIG_IsOK(res3
)) {
24350 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
24352 arg3
= reinterpret_cast< wxControl
* >(argp3
);
24354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24355 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
24356 wxPyEndAllowThreads(__tstate
);
24357 if (PyErr_Occurred()) SWIG_fail
;
24360 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24368 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24369 PyObject
*resultobj
= 0;
24370 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24372 wxControl
*result
= 0 ;
24377 PyObject
* obj0
= 0 ;
24378 PyObject
* obj1
= 0 ;
24379 char * kwnames
[] = {
24380 (char *) "self",(char *) "id", NULL
24383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24385 if (!SWIG_IsOK(res1
)) {
24386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24388 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24389 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24390 if (!SWIG_IsOK(ecode2
)) {
24391 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
24393 arg2
= static_cast< int >(val2
);
24395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24396 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
24397 wxPyEndAllowThreads(__tstate
);
24398 if (PyErr_Occurred()) SWIG_fail
;
24401 resultobj
= wxPyMake_wxObject(result
, 0);
24409 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24410 PyObject
*resultobj
= 0;
24411 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24412 wxToolBarToolBase
*result
= 0 ;
24415 PyObject
*swig_obj
[1] ;
24417 if (!args
) SWIG_fail
;
24418 swig_obj
[0] = args
;
24419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24420 if (!SWIG_IsOK(res1
)) {
24421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24423 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24426 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
24427 wxPyEndAllowThreads(__tstate
);
24428 if (PyErr_Occurred()) SWIG_fail
;
24431 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24439 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24440 PyObject
*resultobj
= 0;
24441 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24443 wxToolBarToolBase
*result
= 0 ;
24448 PyObject
* obj0
= 0 ;
24449 PyObject
* obj1
= 0 ;
24450 char * kwnames
[] = {
24451 (char *) "self",(char *) "pos", NULL
24454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24456 if (!SWIG_IsOK(res1
)) {
24457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24459 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24460 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24461 if (!SWIG_IsOK(ecode2
)) {
24462 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
24464 arg2
= static_cast< size_t >(val2
);
24466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24467 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
24468 wxPyEndAllowThreads(__tstate
);
24469 if (PyErr_Occurred()) SWIG_fail
;
24472 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24480 SWIGINTERN PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24481 PyObject
*resultobj
= 0;
24482 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24484 wxToolBarToolBase
*result
= 0 ;
24489 PyObject
* obj0
= 0 ;
24490 PyObject
* obj1
= 0 ;
24491 char * kwnames
[] = {
24492 (char *) "self",(char *) "id", NULL
24495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24497 if (!SWIG_IsOK(res1
)) {
24498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24500 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24501 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24502 if (!SWIG_IsOK(ecode2
)) {
24503 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
24505 arg2
= static_cast< int >(val2
);
24507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24508 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
24509 wxPyEndAllowThreads(__tstate
);
24510 if (PyErr_Occurred()) SWIG_fail
;
24513 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24521 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24522 PyObject
*resultobj
= 0;
24523 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24530 PyObject
* obj0
= 0 ;
24531 PyObject
* obj1
= 0 ;
24532 char * kwnames
[] = {
24533 (char *) "self",(char *) "pos", NULL
24536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24538 if (!SWIG_IsOK(res1
)) {
24539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24541 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24542 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24543 if (!SWIG_IsOK(ecode2
)) {
24544 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
24546 arg2
= static_cast< size_t >(val2
);
24548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24549 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
24550 wxPyEndAllowThreads(__tstate
);
24551 if (PyErr_Occurred()) SWIG_fail
;
24554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24562 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24563 PyObject
*resultobj
= 0;
24564 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24571 PyObject
* obj0
= 0 ;
24572 PyObject
* obj1
= 0 ;
24573 char * kwnames
[] = {
24574 (char *) "self",(char *) "id", NULL
24577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24579 if (!SWIG_IsOK(res1
)) {
24580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24582 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24583 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24584 if (!SWIG_IsOK(ecode2
)) {
24585 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
24587 arg2
= static_cast< int >(val2
);
24589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24590 result
= (bool)(arg1
)->DeleteTool(arg2
);
24591 wxPyEndAllowThreads(__tstate
);
24592 if (PyErr_Occurred()) SWIG_fail
;
24595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24603 SWIGINTERN PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24604 PyObject
*resultobj
= 0;
24605 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24608 PyObject
*swig_obj
[1] ;
24610 if (!args
) SWIG_fail
;
24611 swig_obj
[0] = args
;
24612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24613 if (!SWIG_IsOK(res1
)) {
24614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24616 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24619 (arg1
)->ClearTools();
24620 wxPyEndAllowThreads(__tstate
);
24621 if (PyErr_Occurred()) SWIG_fail
;
24623 resultobj
= SWIG_Py_Void();
24630 SWIGINTERN PyObject
*_wrap_ToolBarBase_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24631 PyObject
*resultobj
= 0;
24632 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24636 PyObject
*swig_obj
[1] ;
24638 if (!args
) SWIG_fail
;
24639 swig_obj
[0] = args
;
24640 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24641 if (!SWIG_IsOK(res1
)) {
24642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24644 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24647 result
= (bool)(arg1
)->Realize();
24648 wxPyEndAllowThreads(__tstate
);
24649 if (PyErr_Occurred()) SWIG_fail
;
24652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24660 SWIGINTERN PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24661 PyObject
*resultobj
= 0;
24662 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24671 PyObject
* obj0
= 0 ;
24672 PyObject
* obj1
= 0 ;
24673 PyObject
* obj2
= 0 ;
24674 char * kwnames
[] = {
24675 (char *) "self",(char *) "id",(char *) "enable", NULL
24678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24680 if (!SWIG_IsOK(res1
)) {
24681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24683 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24684 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24685 if (!SWIG_IsOK(ecode2
)) {
24686 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
24688 arg2
= static_cast< int >(val2
);
24689 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24690 if (!SWIG_IsOK(ecode3
)) {
24691 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
24693 arg3
= static_cast< bool >(val3
);
24695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24696 (arg1
)->EnableTool(arg2
,arg3
);
24697 wxPyEndAllowThreads(__tstate
);
24698 if (PyErr_Occurred()) SWIG_fail
;
24700 resultobj
= SWIG_Py_Void();
24707 SWIGINTERN PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24708 PyObject
*resultobj
= 0;
24709 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24718 PyObject
* obj0
= 0 ;
24719 PyObject
* obj1
= 0 ;
24720 PyObject
* obj2
= 0 ;
24721 char * kwnames
[] = {
24722 (char *) "self",(char *) "id",(char *) "toggle", NULL
24725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) 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_ToggleTool" "', 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_ToggleTool" "', expected argument " "2"" of type '" "int""'");
24735 arg2
= static_cast< int >(val2
);
24736 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24737 if (!SWIG_IsOK(ecode3
)) {
24738 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
24740 arg3
= static_cast< bool >(val3
);
24742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24743 (arg1
)->ToggleTool(arg2
,arg3
);
24744 wxPyEndAllowThreads(__tstate
);
24745 if (PyErr_Occurred()) SWIG_fail
;
24747 resultobj
= SWIG_Py_Void();
24754 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24755 PyObject
*resultobj
= 0;
24756 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24765 PyObject
* obj0
= 0 ;
24766 PyObject
* obj1
= 0 ;
24767 PyObject
* obj2
= 0 ;
24768 char * kwnames
[] = {
24769 (char *) "self",(char *) "id",(char *) "toggle", NULL
24772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24774 if (!SWIG_IsOK(res1
)) {
24775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24777 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24778 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24779 if (!SWIG_IsOK(ecode2
)) {
24780 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
24782 arg2
= static_cast< int >(val2
);
24783 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24784 if (!SWIG_IsOK(ecode3
)) {
24785 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
24787 arg3
= static_cast< bool >(val3
);
24789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24790 (arg1
)->SetToggle(arg2
,arg3
);
24791 wxPyEndAllowThreads(__tstate
);
24792 if (PyErr_Occurred()) SWIG_fail
;
24794 resultobj
= SWIG_Py_Void();
24801 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24802 PyObject
*resultobj
= 0;
24803 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24805 PyObject
*result
= 0 ;
24810 PyObject
* obj0
= 0 ;
24811 PyObject
* obj1
= 0 ;
24812 char * kwnames
[] = {
24813 (char *) "self",(char *) "id", NULL
24816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24818 if (!SWIG_IsOK(res1
)) {
24819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24821 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24822 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24823 if (!SWIG_IsOK(ecode2
)) {
24824 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
24826 arg2
= static_cast< int >(val2
);
24828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24829 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
24830 wxPyEndAllowThreads(__tstate
);
24831 if (PyErr_Occurred()) SWIG_fail
;
24833 resultobj
= result
;
24840 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24841 PyObject
*resultobj
= 0;
24842 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24844 PyObject
*arg3
= (PyObject
*) 0 ;
24849 PyObject
* obj0
= 0 ;
24850 PyObject
* obj1
= 0 ;
24851 PyObject
* obj2
= 0 ;
24852 char * kwnames
[] = {
24853 (char *) "self",(char *) "id",(char *) "clientData", NULL
24856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24858 if (!SWIG_IsOK(res1
)) {
24859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24861 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24862 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24863 if (!SWIG_IsOK(ecode2
)) {
24864 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
24866 arg2
= static_cast< int >(val2
);
24869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24870 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
24871 wxPyEndAllowThreads(__tstate
);
24872 if (PyErr_Occurred()) SWIG_fail
;
24874 resultobj
= SWIG_Py_Void();
24881 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24882 PyObject
*resultobj
= 0;
24883 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24890 PyObject
* obj0
= 0 ;
24891 PyObject
* obj1
= 0 ;
24892 char * kwnames
[] = {
24893 (char *) "self",(char *) "id", NULL
24896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24898 if (!SWIG_IsOK(res1
)) {
24899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24901 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24902 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24903 if (!SWIG_IsOK(ecode2
)) {
24904 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
24906 arg2
= static_cast< int >(val2
);
24908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24909 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
24910 wxPyEndAllowThreads(__tstate
);
24911 if (PyErr_Occurred()) SWIG_fail
;
24913 resultobj
= SWIG_From_int(static_cast< int >(result
));
24920 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24921 PyObject
*resultobj
= 0;
24922 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24929 PyObject
* obj0
= 0 ;
24930 PyObject
* obj1
= 0 ;
24931 char * kwnames
[] = {
24932 (char *) "self",(char *) "id", NULL
24935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24937 if (!SWIG_IsOK(res1
)) {
24938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24940 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24941 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24942 if (!SWIG_IsOK(ecode2
)) {
24943 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
24945 arg2
= static_cast< int >(val2
);
24947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24948 result
= (bool)(arg1
)->GetToolState(arg2
);
24949 wxPyEndAllowThreads(__tstate
);
24950 if (PyErr_Occurred()) SWIG_fail
;
24953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24961 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24962 PyObject
*resultobj
= 0;
24963 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24970 PyObject
* obj0
= 0 ;
24971 PyObject
* obj1
= 0 ;
24972 char * kwnames
[] = {
24973 (char *) "self",(char *) "id", NULL
24976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24978 if (!SWIG_IsOK(res1
)) {
24979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24981 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24982 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24983 if (!SWIG_IsOK(ecode2
)) {
24984 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
24986 arg2
= static_cast< int >(val2
);
24988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24989 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
24990 wxPyEndAllowThreads(__tstate
);
24991 if (PyErr_Occurred()) SWIG_fail
;
24994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25002 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25003 PyObject
*resultobj
= 0;
25004 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25006 wxString
*arg3
= 0 ;
25011 bool temp3
= false ;
25012 PyObject
* obj0
= 0 ;
25013 PyObject
* obj1
= 0 ;
25014 PyObject
* obj2
= 0 ;
25015 char * kwnames
[] = {
25016 (char *) "self",(char *) "id",(char *) "helpString", NULL
25019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25021 if (!SWIG_IsOK(res1
)) {
25022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25024 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25025 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25026 if (!SWIG_IsOK(ecode2
)) {
25027 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
25029 arg2
= static_cast< int >(val2
);
25031 arg3
= wxString_in_helper(obj2
);
25032 if (arg3
== NULL
) SWIG_fail
;
25036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25037 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
25038 wxPyEndAllowThreads(__tstate
);
25039 if (PyErr_Occurred()) SWIG_fail
;
25041 resultobj
= SWIG_Py_Void();
25056 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25057 PyObject
*resultobj
= 0;
25058 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25065 PyObject
* obj0
= 0 ;
25066 PyObject
* obj1
= 0 ;
25067 char * kwnames
[] = {
25068 (char *) "self",(char *) "id", NULL
25071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25073 if (!SWIG_IsOK(res1
)) {
25074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25076 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25077 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25078 if (!SWIG_IsOK(ecode2
)) {
25079 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
25081 arg2
= static_cast< int >(val2
);
25083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25084 result
= (arg1
)->GetToolShortHelp(arg2
);
25085 wxPyEndAllowThreads(__tstate
);
25086 if (PyErr_Occurred()) SWIG_fail
;
25090 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25092 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25101 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25102 PyObject
*resultobj
= 0;
25103 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25105 wxString
*arg3
= 0 ;
25110 bool temp3
= false ;
25111 PyObject
* obj0
= 0 ;
25112 PyObject
* obj1
= 0 ;
25113 PyObject
* obj2
= 0 ;
25114 char * kwnames
[] = {
25115 (char *) "self",(char *) "id",(char *) "helpString", NULL
25118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25120 if (!SWIG_IsOK(res1
)) {
25121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25123 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25124 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25125 if (!SWIG_IsOK(ecode2
)) {
25126 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25128 arg2
= static_cast< int >(val2
);
25130 arg3
= wxString_in_helper(obj2
);
25131 if (arg3
== NULL
) SWIG_fail
;
25135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25136 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
25137 wxPyEndAllowThreads(__tstate
);
25138 if (PyErr_Occurred()) SWIG_fail
;
25140 resultobj
= SWIG_Py_Void();
25155 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25156 PyObject
*resultobj
= 0;
25157 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25164 PyObject
* obj0
= 0 ;
25165 PyObject
* obj1
= 0 ;
25166 char * kwnames
[] = {
25167 (char *) "self",(char *) "id", NULL
25170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25172 if (!SWIG_IsOK(res1
)) {
25173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25175 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25176 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25177 if (!SWIG_IsOK(ecode2
)) {
25178 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25180 arg2
= static_cast< int >(val2
);
25182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25183 result
= (arg1
)->GetToolLongHelp(arg2
);
25184 wxPyEndAllowThreads(__tstate
);
25185 if (PyErr_Occurred()) SWIG_fail
;
25189 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25191 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25200 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25201 PyObject
*resultobj
= 0;
25202 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25211 PyObject
* obj0
= 0 ;
25212 PyObject
* obj1
= 0 ;
25213 PyObject
* obj2
= 0 ;
25214 char * kwnames
[] = {
25215 (char *) "self",(char *) "x",(char *) "y", NULL
25218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25220 if (!SWIG_IsOK(res1
)) {
25221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25223 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25224 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25225 if (!SWIG_IsOK(ecode2
)) {
25226 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
25228 arg2
= static_cast< int >(val2
);
25229 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25230 if (!SWIG_IsOK(ecode3
)) {
25231 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
25233 arg3
= static_cast< int >(val3
);
25235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25236 (arg1
)->SetMargins(arg2
,arg3
);
25237 wxPyEndAllowThreads(__tstate
);
25238 if (PyErr_Occurred()) SWIG_fail
;
25240 resultobj
= SWIG_Py_Void();
25247 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25248 PyObject
*resultobj
= 0;
25249 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25254 PyObject
* obj0
= 0 ;
25255 PyObject
* obj1
= 0 ;
25256 char * kwnames
[] = {
25257 (char *) "self",(char *) "size", NULL
25260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25262 if (!SWIG_IsOK(res1
)) {
25263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25265 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25268 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25272 (arg1
)->SetMargins((wxSize
const &)*arg2
);
25273 wxPyEndAllowThreads(__tstate
);
25274 if (PyErr_Occurred()) SWIG_fail
;
25276 resultobj
= SWIG_Py_Void();
25283 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25284 PyObject
*resultobj
= 0;
25285 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25291 PyObject
* obj0
= 0 ;
25292 PyObject
* obj1
= 0 ;
25293 char * kwnames
[] = {
25294 (char *) "self",(char *) "packing", NULL
25297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25299 if (!SWIG_IsOK(res1
)) {
25300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25302 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25303 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25304 if (!SWIG_IsOK(ecode2
)) {
25305 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
25307 arg2
= static_cast< int >(val2
);
25309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25310 (arg1
)->SetToolPacking(arg2
);
25311 wxPyEndAllowThreads(__tstate
);
25312 if (PyErr_Occurred()) SWIG_fail
;
25314 resultobj
= SWIG_Py_Void();
25321 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25322 PyObject
*resultobj
= 0;
25323 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25329 PyObject
* obj0
= 0 ;
25330 PyObject
* obj1
= 0 ;
25331 char * kwnames
[] = {
25332 (char *) "self",(char *) "separation", NULL
25335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25337 if (!SWIG_IsOK(res1
)) {
25338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25340 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25341 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25342 if (!SWIG_IsOK(ecode2
)) {
25343 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
25345 arg2
= static_cast< int >(val2
);
25347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25348 (arg1
)->SetToolSeparation(arg2
);
25349 wxPyEndAllowThreads(__tstate
);
25350 if (PyErr_Occurred()) SWIG_fail
;
25352 resultobj
= SWIG_Py_Void();
25359 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25360 PyObject
*resultobj
= 0;
25361 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25365 PyObject
*swig_obj
[1] ;
25367 if (!args
) SWIG_fail
;
25368 swig_obj
[0] = args
;
25369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25370 if (!SWIG_IsOK(res1
)) {
25371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25373 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25376 result
= (arg1
)->GetToolMargins();
25377 wxPyEndAllowThreads(__tstate
);
25378 if (PyErr_Occurred()) SWIG_fail
;
25380 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25387 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25388 PyObject
*resultobj
= 0;
25389 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25393 PyObject
*swig_obj
[1] ;
25395 if (!args
) SWIG_fail
;
25396 swig_obj
[0] = args
;
25397 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25398 if (!SWIG_IsOK(res1
)) {
25399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25401 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25404 result
= (arg1
)->GetMargins();
25405 wxPyEndAllowThreads(__tstate
);
25406 if (PyErr_Occurred()) SWIG_fail
;
25408 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25415 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25416 PyObject
*resultobj
= 0;
25417 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25421 PyObject
*swig_obj
[1] ;
25423 if (!args
) SWIG_fail
;
25424 swig_obj
[0] = args
;
25425 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25426 if (!SWIG_IsOK(res1
)) {
25427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25429 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25432 result
= (int)(arg1
)->GetToolPacking();
25433 wxPyEndAllowThreads(__tstate
);
25434 if (PyErr_Occurred()) SWIG_fail
;
25436 resultobj
= SWIG_From_int(static_cast< int >(result
));
25443 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25444 PyObject
*resultobj
= 0;
25445 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25449 PyObject
*swig_obj
[1] ;
25451 if (!args
) SWIG_fail
;
25452 swig_obj
[0] = args
;
25453 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25454 if (!SWIG_IsOK(res1
)) {
25455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25457 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25460 result
= (int)(arg1
)->GetToolSeparation();
25461 wxPyEndAllowThreads(__tstate
);
25462 if (PyErr_Occurred()) SWIG_fail
;
25464 resultobj
= SWIG_From_int(static_cast< int >(result
));
25471 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25472 PyObject
*resultobj
= 0;
25473 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25479 PyObject
* obj0
= 0 ;
25480 PyObject
* obj1
= 0 ;
25481 char * kwnames
[] = {
25482 (char *) "self",(char *) "nRows", NULL
25485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25487 if (!SWIG_IsOK(res1
)) {
25488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25490 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25491 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25492 if (!SWIG_IsOK(ecode2
)) {
25493 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
25495 arg2
= static_cast< int >(val2
);
25497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25498 (arg1
)->SetRows(arg2
);
25499 wxPyEndAllowThreads(__tstate
);
25500 if (PyErr_Occurred()) SWIG_fail
;
25502 resultobj
= SWIG_Py_Void();
25509 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25510 PyObject
*resultobj
= 0;
25511 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25520 PyObject
* obj0
= 0 ;
25521 PyObject
* obj1
= 0 ;
25522 PyObject
* obj2
= 0 ;
25523 char * kwnames
[] = {
25524 (char *) "self",(char *) "rows",(char *) "cols", NULL
25527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25529 if (!SWIG_IsOK(res1
)) {
25530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25532 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25533 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25534 if (!SWIG_IsOK(ecode2
)) {
25535 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
25537 arg2
= static_cast< int >(val2
);
25538 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25539 if (!SWIG_IsOK(ecode3
)) {
25540 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
25542 arg3
= static_cast< int >(val3
);
25544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25545 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
25546 wxPyEndAllowThreads(__tstate
);
25547 if (PyErr_Occurred()) SWIG_fail
;
25549 resultobj
= SWIG_Py_Void();
25556 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25557 PyObject
*resultobj
= 0;
25558 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25562 PyObject
*swig_obj
[1] ;
25564 if (!args
) SWIG_fail
;
25565 swig_obj
[0] = args
;
25566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25567 if (!SWIG_IsOK(res1
)) {
25568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25570 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25573 result
= (int)(arg1
)->GetMaxRows();
25574 wxPyEndAllowThreads(__tstate
);
25575 if (PyErr_Occurred()) SWIG_fail
;
25577 resultobj
= SWIG_From_int(static_cast< int >(result
));
25584 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25585 PyObject
*resultobj
= 0;
25586 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25590 PyObject
*swig_obj
[1] ;
25592 if (!args
) SWIG_fail
;
25593 swig_obj
[0] = args
;
25594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25595 if (!SWIG_IsOK(res1
)) {
25596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25598 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25601 result
= (int)(arg1
)->GetMaxCols();
25602 wxPyEndAllowThreads(__tstate
);
25603 if (PyErr_Occurred()) SWIG_fail
;
25605 resultobj
= SWIG_From_int(static_cast< int >(result
));
25612 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25613 PyObject
*resultobj
= 0;
25614 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25619 PyObject
* obj0
= 0 ;
25620 PyObject
* obj1
= 0 ;
25621 char * kwnames
[] = {
25622 (char *) "self",(char *) "size", NULL
25625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25627 if (!SWIG_IsOK(res1
)) {
25628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25630 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25633 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25637 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
25638 wxPyEndAllowThreads(__tstate
);
25639 if (PyErr_Occurred()) SWIG_fail
;
25641 resultobj
= SWIG_Py_Void();
25648 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25649 PyObject
*resultobj
= 0;
25650 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25654 PyObject
*swig_obj
[1] ;
25656 if (!args
) SWIG_fail
;
25657 swig_obj
[0] = args
;
25658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25659 if (!SWIG_IsOK(res1
)) {
25660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25662 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25665 result
= (arg1
)->GetToolBitmapSize();
25666 wxPyEndAllowThreads(__tstate
);
25667 if (PyErr_Occurred()) SWIG_fail
;
25669 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25676 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25677 PyObject
*resultobj
= 0;
25678 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25682 PyObject
*swig_obj
[1] ;
25684 if (!args
) SWIG_fail
;
25685 swig_obj
[0] = args
;
25686 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25687 if (!SWIG_IsOK(res1
)) {
25688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25690 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25693 result
= (arg1
)->GetToolSize();
25694 wxPyEndAllowThreads(__tstate
);
25695 if (PyErr_Occurred()) SWIG_fail
;
25697 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25704 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25705 PyObject
*resultobj
= 0;
25706 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25709 wxToolBarToolBase
*result
= 0 ;
25716 PyObject
* obj0
= 0 ;
25717 PyObject
* obj1
= 0 ;
25718 PyObject
* obj2
= 0 ;
25719 char * kwnames
[] = {
25720 (char *) "self",(char *) "x",(char *) "y", NULL
25723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25725 if (!SWIG_IsOK(res1
)) {
25726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25728 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25729 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25730 if (!SWIG_IsOK(ecode2
)) {
25731 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25733 arg2
= static_cast< int >(val2
);
25734 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25735 if (!SWIG_IsOK(ecode3
)) {
25736 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25738 arg3
= static_cast< int >(val3
);
25740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25741 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
25742 wxPyEndAllowThreads(__tstate
);
25743 if (PyErr_Occurred()) SWIG_fail
;
25746 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25754 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25755 PyObject
*resultobj
= 0;
25756 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25758 wxToolBarToolBase
*result
= 0 ;
25763 PyObject
* obj0
= 0 ;
25764 PyObject
* obj1
= 0 ;
25765 char * kwnames
[] = {
25766 (char *) "self",(char *) "toolid", NULL
25769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25771 if (!SWIG_IsOK(res1
)) {
25772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25774 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25775 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25776 if (!SWIG_IsOK(ecode2
)) {
25777 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
25779 arg2
= static_cast< int >(val2
);
25781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25782 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
25783 wxPyEndAllowThreads(__tstate
);
25784 if (PyErr_Occurred()) SWIG_fail
;
25787 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25795 SWIGINTERN PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25796 PyObject
*resultobj
= 0;
25797 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25801 PyObject
*swig_obj
[1] ;
25803 if (!args
) SWIG_fail
;
25804 swig_obj
[0] = args
;
25805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25806 if (!SWIG_IsOK(res1
)) {
25807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25809 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25812 result
= (bool)(arg1
)->IsVertical();
25813 wxPyEndAllowThreads(__tstate
);
25814 if (PyErr_Occurred()) SWIG_fail
;
25817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25825 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25826 PyObject
*resultobj
= 0;
25827 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25831 PyObject
*swig_obj
[1] ;
25833 if (!args
) SWIG_fail
;
25834 swig_obj
[0] = args
;
25835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25836 if (!SWIG_IsOK(res1
)) {
25837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25839 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25842 result
= (size_t)((wxToolBarBase
const *)arg1
)->GetToolsCount();
25843 wxPyEndAllowThreads(__tstate
);
25844 if (PyErr_Occurred()) SWIG_fail
;
25846 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
25853 SWIGINTERN PyObject
*ToolBarBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25855 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25856 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase
, SWIG_NewClientData(obj
));
25857 return SWIG_Py_Void();
25860 SWIGINTERN PyObject
*_wrap_new_ToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25861 PyObject
*resultobj
= 0;
25862 wxWindow
*arg1
= (wxWindow
*) 0 ;
25863 int arg2
= (int) -1 ;
25864 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25865 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25866 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25867 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25868 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25869 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
25870 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25871 wxToolBar
*result
= 0 ;
25880 bool temp6
= false ;
25881 PyObject
* obj0
= 0 ;
25882 PyObject
* obj1
= 0 ;
25883 PyObject
* obj2
= 0 ;
25884 PyObject
* obj3
= 0 ;
25885 PyObject
* obj4
= 0 ;
25886 PyObject
* obj5
= 0 ;
25887 char * kwnames
[] = {
25888 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25893 if (!SWIG_IsOK(res1
)) {
25894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
25896 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25898 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25899 if (!SWIG_IsOK(ecode2
)) {
25900 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
25902 arg2
= static_cast< int >(val2
);
25907 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25913 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25917 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
25918 if (!SWIG_IsOK(ecode5
)) {
25919 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
25921 arg5
= static_cast< long >(val5
);
25925 arg6
= wxString_in_helper(obj5
);
25926 if (arg6
== NULL
) SWIG_fail
;
25931 if (!wxPyCheckForApp()) SWIG_fail
;
25932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25933 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25934 wxPyEndAllowThreads(__tstate
);
25935 if (PyErr_Occurred()) SWIG_fail
;
25937 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_NEW
| 0 );
25952 SWIGINTERN PyObject
*_wrap_new_PreToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25953 PyObject
*resultobj
= 0;
25954 wxToolBar
*result
= 0 ;
25956 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolBar",0,0,0)) SWIG_fail
;
25958 if (!wxPyCheckForApp()) SWIG_fail
;
25959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25960 result
= (wxToolBar
*)new wxToolBar();
25961 wxPyEndAllowThreads(__tstate
);
25962 if (PyErr_Occurred()) SWIG_fail
;
25964 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_OWN
| 0 );
25971 SWIGINTERN PyObject
*_wrap_ToolBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25972 PyObject
*resultobj
= 0;
25973 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
25974 wxWindow
*arg2
= (wxWindow
*) 0 ;
25975 int arg3
= (int) -1 ;
25976 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25977 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25978 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25979 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25980 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25981 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
25982 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25994 bool temp7
= false ;
25995 PyObject
* obj0
= 0 ;
25996 PyObject
* obj1
= 0 ;
25997 PyObject
* obj2
= 0 ;
25998 PyObject
* obj3
= 0 ;
25999 PyObject
* obj4
= 0 ;
26000 PyObject
* obj5
= 0 ;
26001 PyObject
* obj6
= 0 ;
26002 char * kwnames
[] = {
26003 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
26006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
26007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
26008 if (!SWIG_IsOK(res1
)) {
26009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
26011 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
26012 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26013 if (!SWIG_IsOK(res2
)) {
26014 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
26016 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
26018 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26019 if (!SWIG_IsOK(ecode3
)) {
26020 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
26022 arg3
= static_cast< int >(val3
);
26027 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26033 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26037 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
26038 if (!SWIG_IsOK(ecode6
)) {
26039 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
26041 arg6
= static_cast< long >(val6
);
26045 arg7
= wxString_in_helper(obj6
);
26046 if (arg7
== NULL
) SWIG_fail
;
26051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26052 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
26053 wxPyEndAllowThreads(__tstate
);
26054 if (PyErr_Occurred()) SWIG_fail
;
26057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26073 SWIGINTERN PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26074 PyObject
*resultobj
= 0;
26075 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
26076 SwigValueWrapper
<wxVisualAttributes
> result
;
26079 PyObject
* obj0
= 0 ;
26080 char * kwnames
[] = {
26081 (char *) "variant", NULL
26084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
26086 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26087 if (!SWIG_IsOK(ecode1
)) {
26088 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
26090 arg1
= static_cast< wxWindowVariant
>(val1
);
26093 if (!wxPyCheckForApp()) SWIG_fail
;
26094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26095 result
= wxToolBar::GetClassDefaultAttributes(arg1
);
26096 wxPyEndAllowThreads(__tstate
);
26097 if (PyErr_Occurred()) SWIG_fail
;
26099 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
26106 SWIGINTERN PyObject
*ToolBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26108 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26109 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar
, SWIG_NewClientData(obj
));
26110 return SWIG_Py_Void();
26113 SWIGINTERN PyObject
*ToolBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26114 return SWIG_Python_InitShadowInstance(args
);
26117 SWIGINTERN
int ListCtrlNameStr_set(PyObject
*) {
26118 SWIG_Error(SWIG_AttributeError
,"Variable ListCtrlNameStr is read-only.");
26123 SWIGINTERN PyObject
*ListCtrlNameStr_get(void) {
26124 PyObject
*pyobj
= 0;
26128 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
26130 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
26137 SWIGINTERN PyObject
*_wrap_new_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26138 PyObject
*resultobj
= 0;
26139 wxColour
const &arg1_defvalue
= wxNullColour
;
26140 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
26141 wxColour
const &arg2_defvalue
= wxNullColour
;
26142 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
26143 wxFont
const &arg3_defvalue
= wxNullFont
;
26144 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
26145 wxListItemAttr
*result
= 0 ;
26150 PyObject
* obj0
= 0 ;
26151 PyObject
* obj1
= 0 ;
26152 PyObject
* obj2
= 0 ;
26153 char * kwnames
[] = {
26154 (char *) "colText",(char *) "colBack",(char *) "font", NULL
26157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26161 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
26167 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26171 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
26172 if (!SWIG_IsOK(res3
)) {
26173 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26176 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26178 arg3
= reinterpret_cast< wxFont
* >(argp3
);
26181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26182 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
26183 wxPyEndAllowThreads(__tstate
);
26184 if (PyErr_Occurred()) SWIG_fail
;
26186 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_NEW
| 0 );
26193 SWIGINTERN PyObject
*_wrap_delete_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26194 PyObject
*resultobj
= 0;
26195 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26198 PyObject
*swig_obj
[1] ;
26200 if (!args
) SWIG_fail
;
26201 swig_obj
[0] = args
;
26202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_DISOWN
| 0 );
26203 if (!SWIG_IsOK(res1
)) {
26204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26206 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26211 wxPyEndAllowThreads(__tstate
);
26212 if (PyErr_Occurred()) SWIG_fail
;
26214 resultobj
= SWIG_Py_Void();
26221 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26222 PyObject
*resultobj
= 0;
26223 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26224 wxColour
*arg2
= 0 ;
26228 PyObject
* obj0
= 0 ;
26229 PyObject
* obj1
= 0 ;
26230 char * kwnames
[] = {
26231 (char *) "self",(char *) "colText", NULL
26234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26236 if (!SWIG_IsOK(res1
)) {
26237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26239 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26242 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26246 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
26247 wxPyEndAllowThreads(__tstate
);
26248 if (PyErr_Occurred()) SWIG_fail
;
26250 resultobj
= SWIG_Py_Void();
26257 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26258 PyObject
*resultobj
= 0;
26259 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26260 wxColour
*arg2
= 0 ;
26264 PyObject
* obj0
= 0 ;
26265 PyObject
* obj1
= 0 ;
26266 char * kwnames
[] = {
26267 (char *) "self",(char *) "colBack", NULL
26270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26272 if (!SWIG_IsOK(res1
)) {
26273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26275 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26278 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26282 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26283 wxPyEndAllowThreads(__tstate
);
26284 if (PyErr_Occurred()) SWIG_fail
;
26286 resultobj
= SWIG_Py_Void();
26293 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26294 PyObject
*resultobj
= 0;
26295 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26301 PyObject
* obj0
= 0 ;
26302 PyObject
* obj1
= 0 ;
26303 char * kwnames
[] = {
26304 (char *) "self",(char *) "font", NULL
26307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26309 if (!SWIG_IsOK(res1
)) {
26310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26312 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26313 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
26314 if (!SWIG_IsOK(res2
)) {
26315 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26318 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26320 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26323 (arg1
)->SetFont((wxFont
const &)*arg2
);
26324 wxPyEndAllowThreads(__tstate
);
26325 if (PyErr_Occurred()) SWIG_fail
;
26327 resultobj
= SWIG_Py_Void();
26334 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26335 PyObject
*resultobj
= 0;
26336 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26340 PyObject
*swig_obj
[1] ;
26342 if (!args
) SWIG_fail
;
26343 swig_obj
[0] = args
;
26344 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26345 if (!SWIG_IsOK(res1
)) {
26346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26348 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26351 result
= (bool)(arg1
)->HasTextColour();
26352 wxPyEndAllowThreads(__tstate
);
26353 if (PyErr_Occurred()) SWIG_fail
;
26356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26364 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26365 PyObject
*resultobj
= 0;
26366 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26370 PyObject
*swig_obj
[1] ;
26372 if (!args
) SWIG_fail
;
26373 swig_obj
[0] = args
;
26374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26375 if (!SWIG_IsOK(res1
)) {
26376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26378 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26381 result
= (bool)(arg1
)->HasBackgroundColour();
26382 wxPyEndAllowThreads(__tstate
);
26383 if (PyErr_Occurred()) SWIG_fail
;
26386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26394 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26395 PyObject
*resultobj
= 0;
26396 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26400 PyObject
*swig_obj
[1] ;
26402 if (!args
) SWIG_fail
;
26403 swig_obj
[0] = args
;
26404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26405 if (!SWIG_IsOK(res1
)) {
26406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26408 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26411 result
= (bool)(arg1
)->HasFont();
26412 wxPyEndAllowThreads(__tstate
);
26413 if (PyErr_Occurred()) SWIG_fail
;
26416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26424 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26425 PyObject
*resultobj
= 0;
26426 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26430 PyObject
*swig_obj
[1] ;
26432 if (!args
) SWIG_fail
;
26433 swig_obj
[0] = args
;
26434 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26435 if (!SWIG_IsOK(res1
)) {
26436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26438 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26441 result
= (arg1
)->GetTextColour();
26442 wxPyEndAllowThreads(__tstate
);
26443 if (PyErr_Occurred()) SWIG_fail
;
26445 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26452 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26453 PyObject
*resultobj
= 0;
26454 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26458 PyObject
*swig_obj
[1] ;
26460 if (!args
) SWIG_fail
;
26461 swig_obj
[0] = args
;
26462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26463 if (!SWIG_IsOK(res1
)) {
26464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26466 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26469 result
= (arg1
)->GetBackgroundColour();
26470 wxPyEndAllowThreads(__tstate
);
26471 if (PyErr_Occurred()) SWIG_fail
;
26473 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26480 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26481 PyObject
*resultobj
= 0;
26482 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26486 PyObject
*swig_obj
[1] ;
26488 if (!args
) SWIG_fail
;
26489 swig_obj
[0] = args
;
26490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26491 if (!SWIG_IsOK(res1
)) {
26492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26494 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26497 result
= (arg1
)->GetFont();
26498 wxPyEndAllowThreads(__tstate
);
26499 if (PyErr_Occurred()) SWIG_fail
;
26501 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
26508 SWIGINTERN PyObject
*_wrap_ListItemAttr_AssignFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26509 PyObject
*resultobj
= 0;
26510 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26511 wxListItemAttr
*arg2
= 0 ;
26516 PyObject
* obj0
= 0 ;
26517 PyObject
* obj1
= 0 ;
26518 char * kwnames
[] = {
26519 (char *) "self",(char *) "source", NULL
26522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_AssignFrom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26524 if (!SWIG_IsOK(res1
)) {
26525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26527 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26528 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItemAttr
, 0 | 0);
26529 if (!SWIG_IsOK(res2
)) {
26530 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26533 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26535 arg2
= reinterpret_cast< wxListItemAttr
* >(argp2
);
26537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26538 (arg1
)->AssignFrom((wxListItemAttr
const &)*arg2
);
26539 wxPyEndAllowThreads(__tstate
);
26540 if (PyErr_Occurred()) SWIG_fail
;
26542 resultobj
= SWIG_Py_Void();
26549 SWIGINTERN PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26550 PyObject
*resultobj
= 0;
26551 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26554 PyObject
*swig_obj
[1] ;
26556 if (!args
) SWIG_fail
;
26557 swig_obj
[0] = args
;
26558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26559 if (!SWIG_IsOK(res1
)) {
26560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26562 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26565 wxListItemAttr_Destroy(arg1
);
26566 wxPyEndAllowThreads(__tstate
);
26567 if (PyErr_Occurred()) SWIG_fail
;
26569 resultobj
= SWIG_Py_Void();
26576 SWIGINTERN PyObject
*ListItemAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26578 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26579 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr
, SWIG_NewClientData(obj
));
26580 return SWIG_Py_Void();
26583 SWIGINTERN PyObject
*ListItemAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26584 return SWIG_Python_InitShadowInstance(args
);
26587 SWIGINTERN PyObject
*_wrap_new_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26588 PyObject
*resultobj
= 0;
26589 wxListItem
*result
= 0 ;
26591 if (!SWIG_Python_UnpackTuple(args
,"new_ListItem",0,0,0)) SWIG_fail
;
26593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26594 result
= (wxListItem
*)new wxListItem();
26595 wxPyEndAllowThreads(__tstate
);
26596 if (PyErr_Occurred()) SWIG_fail
;
26598 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, SWIG_POINTER_NEW
| 0 );
26605 SWIGINTERN PyObject
*_wrap_delete_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26606 PyObject
*resultobj
= 0;
26607 wxListItem
*arg1
= (wxListItem
*) 0 ;
26610 PyObject
*swig_obj
[1] ;
26612 if (!args
) SWIG_fail
;
26613 swig_obj
[0] = args
;
26614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, SWIG_POINTER_DISOWN
| 0 );
26615 if (!SWIG_IsOK(res1
)) {
26616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
26618 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26623 wxPyEndAllowThreads(__tstate
);
26624 if (PyErr_Occurred()) SWIG_fail
;
26626 resultobj
= SWIG_Py_Void();
26633 SWIGINTERN PyObject
*_wrap_ListItem_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26634 PyObject
*resultobj
= 0;
26635 wxListItem
*arg1
= (wxListItem
*) 0 ;
26638 PyObject
*swig_obj
[1] ;
26640 if (!args
) SWIG_fail
;
26641 swig_obj
[0] = args
;
26642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26643 if (!SWIG_IsOK(res1
)) {
26644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
26646 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26650 wxPyEndAllowThreads(__tstate
);
26651 if (PyErr_Occurred()) SWIG_fail
;
26653 resultobj
= SWIG_Py_Void();
26660 SWIGINTERN PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26661 PyObject
*resultobj
= 0;
26662 wxListItem
*arg1
= (wxListItem
*) 0 ;
26665 PyObject
*swig_obj
[1] ;
26667 if (!args
) SWIG_fail
;
26668 swig_obj
[0] = args
;
26669 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26670 if (!SWIG_IsOK(res1
)) {
26671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26673 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26676 (arg1
)->ClearAttributes();
26677 wxPyEndAllowThreads(__tstate
);
26678 if (PyErr_Occurred()) SWIG_fail
;
26680 resultobj
= SWIG_Py_Void();
26687 SWIGINTERN PyObject
*_wrap_ListItem_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26688 PyObject
*resultobj
= 0;
26689 wxListItem
*arg1
= (wxListItem
*) 0 ;
26695 PyObject
* obj0
= 0 ;
26696 PyObject
* obj1
= 0 ;
26697 char * kwnames
[] = {
26698 (char *) "self",(char *) "mask", NULL
26701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26703 if (!SWIG_IsOK(res1
)) {
26704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26706 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26707 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26708 if (!SWIG_IsOK(ecode2
)) {
26709 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
26711 arg2
= static_cast< long >(val2
);
26713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26714 (arg1
)->SetMask(arg2
);
26715 wxPyEndAllowThreads(__tstate
);
26716 if (PyErr_Occurred()) SWIG_fail
;
26718 resultobj
= SWIG_Py_Void();
26725 SWIGINTERN PyObject
*_wrap_ListItem_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26726 PyObject
*resultobj
= 0;
26727 wxListItem
*arg1
= (wxListItem
*) 0 ;
26733 PyObject
* obj0
= 0 ;
26734 PyObject
* obj1
= 0 ;
26735 char * kwnames
[] = {
26736 (char *) "self",(char *) "id", NULL
26739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26741 if (!SWIG_IsOK(res1
)) {
26742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26744 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26745 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26746 if (!SWIG_IsOK(ecode2
)) {
26747 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
26749 arg2
= static_cast< long >(val2
);
26751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26752 (arg1
)->SetId(arg2
);
26753 wxPyEndAllowThreads(__tstate
);
26754 if (PyErr_Occurred()) SWIG_fail
;
26756 resultobj
= SWIG_Py_Void();
26763 SWIGINTERN PyObject
*_wrap_ListItem_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26764 PyObject
*resultobj
= 0;
26765 wxListItem
*arg1
= (wxListItem
*) 0 ;
26771 PyObject
* obj0
= 0 ;
26772 PyObject
* obj1
= 0 ;
26773 char * kwnames
[] = {
26774 (char *) "self",(char *) "col", NULL
26777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26779 if (!SWIG_IsOK(res1
)) {
26780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26782 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26783 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26784 if (!SWIG_IsOK(ecode2
)) {
26785 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
26787 arg2
= static_cast< int >(val2
);
26789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26790 (arg1
)->SetColumn(arg2
);
26791 wxPyEndAllowThreads(__tstate
);
26792 if (PyErr_Occurred()) SWIG_fail
;
26794 resultobj
= SWIG_Py_Void();
26801 SWIGINTERN PyObject
*_wrap_ListItem_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26802 PyObject
*resultobj
= 0;
26803 wxListItem
*arg1
= (wxListItem
*) 0 ;
26809 PyObject
* obj0
= 0 ;
26810 PyObject
* obj1
= 0 ;
26811 char * kwnames
[] = {
26812 (char *) "self",(char *) "state", NULL
26815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26817 if (!SWIG_IsOK(res1
)) {
26818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26820 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26821 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26822 if (!SWIG_IsOK(ecode2
)) {
26823 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
26825 arg2
= static_cast< long >(val2
);
26827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26828 (arg1
)->SetState(arg2
);
26829 wxPyEndAllowThreads(__tstate
);
26830 if (PyErr_Occurred()) SWIG_fail
;
26832 resultobj
= SWIG_Py_Void();
26839 SWIGINTERN PyObject
*_wrap_ListItem_SetStateMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26840 PyObject
*resultobj
= 0;
26841 wxListItem
*arg1
= (wxListItem
*) 0 ;
26847 PyObject
* obj0
= 0 ;
26848 PyObject
* obj1
= 0 ;
26849 char * kwnames
[] = {
26850 (char *) "self",(char *) "stateMask", NULL
26853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26855 if (!SWIG_IsOK(res1
)) {
26856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26858 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26859 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26860 if (!SWIG_IsOK(ecode2
)) {
26861 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
26863 arg2
= static_cast< long >(val2
);
26865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26866 (arg1
)->SetStateMask(arg2
);
26867 wxPyEndAllowThreads(__tstate
);
26868 if (PyErr_Occurred()) SWIG_fail
;
26870 resultobj
= SWIG_Py_Void();
26877 SWIGINTERN PyObject
*_wrap_ListItem_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26878 PyObject
*resultobj
= 0;
26879 wxListItem
*arg1
= (wxListItem
*) 0 ;
26880 wxString
*arg2
= 0 ;
26883 bool temp2
= false ;
26884 PyObject
* obj0
= 0 ;
26885 PyObject
* obj1
= 0 ;
26886 char * kwnames
[] = {
26887 (char *) "self",(char *) "text", NULL
26890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26892 if (!SWIG_IsOK(res1
)) {
26893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26895 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26897 arg2
= wxString_in_helper(obj1
);
26898 if (arg2
== NULL
) SWIG_fail
;
26902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26903 (arg1
)->SetText((wxString
const &)*arg2
);
26904 wxPyEndAllowThreads(__tstate
);
26905 if (PyErr_Occurred()) SWIG_fail
;
26907 resultobj
= SWIG_Py_Void();
26922 SWIGINTERN PyObject
*_wrap_ListItem_SetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26923 PyObject
*resultobj
= 0;
26924 wxListItem
*arg1
= (wxListItem
*) 0 ;
26930 PyObject
* obj0
= 0 ;
26931 PyObject
* obj1
= 0 ;
26932 char * kwnames
[] = {
26933 (char *) "self",(char *) "image", NULL
26936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26938 if (!SWIG_IsOK(res1
)) {
26939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26941 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26942 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26943 if (!SWIG_IsOK(ecode2
)) {
26944 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
26946 arg2
= static_cast< int >(val2
);
26948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26949 (arg1
)->SetImage(arg2
);
26950 wxPyEndAllowThreads(__tstate
);
26951 if (PyErr_Occurred()) SWIG_fail
;
26953 resultobj
= SWIG_Py_Void();
26960 SWIGINTERN PyObject
*_wrap_ListItem_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26961 PyObject
*resultobj
= 0;
26962 wxListItem
*arg1
= (wxListItem
*) 0 ;
26968 PyObject
* obj0
= 0 ;
26969 PyObject
* obj1
= 0 ;
26970 char * kwnames
[] = {
26971 (char *) "self",(char *) "data", NULL
26974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26976 if (!SWIG_IsOK(res1
)) {
26977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26979 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26980 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26981 if (!SWIG_IsOK(ecode2
)) {
26982 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
26984 arg2
= static_cast< long >(val2
);
26986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26987 (arg1
)->SetData(arg2
);
26988 wxPyEndAllowThreads(__tstate
);
26989 if (PyErr_Occurred()) SWIG_fail
;
26991 resultobj
= SWIG_Py_Void();
26998 SWIGINTERN PyObject
*_wrap_ListItem_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26999 PyObject
*resultobj
= 0;
27000 wxListItem
*arg1
= (wxListItem
*) 0 ;
27006 PyObject
* obj0
= 0 ;
27007 PyObject
* obj1
= 0 ;
27008 char * kwnames
[] = {
27009 (char *) "self",(char *) "width", NULL
27012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27014 if (!SWIG_IsOK(res1
)) {
27015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27017 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27018 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27019 if (!SWIG_IsOK(ecode2
)) {
27020 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
27022 arg2
= static_cast< int >(val2
);
27024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27025 (arg1
)->SetWidth(arg2
);
27026 wxPyEndAllowThreads(__tstate
);
27027 if (PyErr_Occurred()) SWIG_fail
;
27029 resultobj
= SWIG_Py_Void();
27036 SWIGINTERN PyObject
*_wrap_ListItem_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27037 PyObject
*resultobj
= 0;
27038 wxListItem
*arg1
= (wxListItem
*) 0 ;
27039 wxListColumnFormat arg2
;
27044 PyObject
* obj0
= 0 ;
27045 PyObject
* obj1
= 0 ;
27046 char * kwnames
[] = {
27047 (char *) "self",(char *) "align", NULL
27050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27052 if (!SWIG_IsOK(res1
)) {
27053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27055 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27056 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27057 if (!SWIG_IsOK(ecode2
)) {
27058 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
27060 arg2
= static_cast< wxListColumnFormat
>(val2
);
27062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27063 (arg1
)->SetAlign(arg2
);
27064 wxPyEndAllowThreads(__tstate
);
27065 if (PyErr_Occurred()) SWIG_fail
;
27067 resultobj
= SWIG_Py_Void();
27074 SWIGINTERN PyObject
*_wrap_ListItem_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27075 PyObject
*resultobj
= 0;
27076 wxListItem
*arg1
= (wxListItem
*) 0 ;
27077 wxColour
*arg2
= 0 ;
27081 PyObject
* obj0
= 0 ;
27082 PyObject
* obj1
= 0 ;
27083 char * kwnames
[] = {
27084 (char *) "self",(char *) "colText", NULL
27087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27089 if (!SWIG_IsOK(res1
)) {
27090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
27092 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27095 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27099 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
27100 wxPyEndAllowThreads(__tstate
);
27101 if (PyErr_Occurred()) SWIG_fail
;
27103 resultobj
= SWIG_Py_Void();
27110 SWIGINTERN PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27111 PyObject
*resultobj
= 0;
27112 wxListItem
*arg1
= (wxListItem
*) 0 ;
27113 wxColour
*arg2
= 0 ;
27117 PyObject
* obj0
= 0 ;
27118 PyObject
* obj1
= 0 ;
27119 char * kwnames
[] = {
27120 (char *) "self",(char *) "colBack", NULL
27123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27125 if (!SWIG_IsOK(res1
)) {
27126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
27128 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27131 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27135 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
27136 wxPyEndAllowThreads(__tstate
);
27137 if (PyErr_Occurred()) SWIG_fail
;
27139 resultobj
= SWIG_Py_Void();
27146 SWIGINTERN PyObject
*_wrap_ListItem_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27147 PyObject
*resultobj
= 0;
27148 wxListItem
*arg1
= (wxListItem
*) 0 ;
27154 PyObject
* obj0
= 0 ;
27155 PyObject
* obj1
= 0 ;
27156 char * kwnames
[] = {
27157 (char *) "self",(char *) "font", NULL
27160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27162 if (!SWIG_IsOK(res1
)) {
27163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
27165 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27166 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
27167 if (!SWIG_IsOK(res2
)) {
27168 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27171 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27173 arg2
= reinterpret_cast< wxFont
* >(argp2
);
27175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27176 (arg1
)->SetFont((wxFont
const &)*arg2
);
27177 wxPyEndAllowThreads(__tstate
);
27178 if (PyErr_Occurred()) SWIG_fail
;
27180 resultobj
= SWIG_Py_Void();
27187 SWIGINTERN PyObject
*_wrap_ListItem_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27188 PyObject
*resultobj
= 0;
27189 wxListItem
*arg1
= (wxListItem
*) 0 ;
27193 PyObject
*swig_obj
[1] ;
27195 if (!args
) SWIG_fail
;
27196 swig_obj
[0] = args
;
27197 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27198 if (!SWIG_IsOK(res1
)) {
27199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
27201 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27204 result
= (long)(arg1
)->GetMask();
27205 wxPyEndAllowThreads(__tstate
);
27206 if (PyErr_Occurred()) SWIG_fail
;
27208 resultobj
= SWIG_From_long(static_cast< long >(result
));
27215 SWIGINTERN PyObject
*_wrap_ListItem_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27216 PyObject
*resultobj
= 0;
27217 wxListItem
*arg1
= (wxListItem
*) 0 ;
27221 PyObject
*swig_obj
[1] ;
27223 if (!args
) SWIG_fail
;
27224 swig_obj
[0] = args
;
27225 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27226 if (!SWIG_IsOK(res1
)) {
27227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
27229 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27232 result
= (long)(arg1
)->GetId();
27233 wxPyEndAllowThreads(__tstate
);
27234 if (PyErr_Occurred()) SWIG_fail
;
27236 resultobj
= SWIG_From_long(static_cast< long >(result
));
27243 SWIGINTERN PyObject
*_wrap_ListItem_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27244 PyObject
*resultobj
= 0;
27245 wxListItem
*arg1
= (wxListItem
*) 0 ;
27249 PyObject
*swig_obj
[1] ;
27251 if (!args
) SWIG_fail
;
27252 swig_obj
[0] = args
;
27253 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27254 if (!SWIG_IsOK(res1
)) {
27255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
27257 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27260 result
= (int)(arg1
)->GetColumn();
27261 wxPyEndAllowThreads(__tstate
);
27262 if (PyErr_Occurred()) SWIG_fail
;
27264 resultobj
= SWIG_From_int(static_cast< int >(result
));
27271 SWIGINTERN PyObject
*_wrap_ListItem_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27272 PyObject
*resultobj
= 0;
27273 wxListItem
*arg1
= (wxListItem
*) 0 ;
27277 PyObject
*swig_obj
[1] ;
27279 if (!args
) SWIG_fail
;
27280 swig_obj
[0] = args
;
27281 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27282 if (!SWIG_IsOK(res1
)) {
27283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
27285 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27288 result
= (long)(arg1
)->GetState();
27289 wxPyEndAllowThreads(__tstate
);
27290 if (PyErr_Occurred()) SWIG_fail
;
27292 resultobj
= SWIG_From_long(static_cast< long >(result
));
27299 SWIGINTERN PyObject
*_wrap_ListItem_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27300 PyObject
*resultobj
= 0;
27301 wxListItem
*arg1
= (wxListItem
*) 0 ;
27302 wxString
*result
= 0 ;
27305 PyObject
*swig_obj
[1] ;
27307 if (!args
) SWIG_fail
;
27308 swig_obj
[0] = args
;
27309 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27310 if (!SWIG_IsOK(res1
)) {
27311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
27313 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27317 wxString
const &_result_ref
= (arg1
)->GetText();
27318 result
= (wxString
*) &_result_ref
;
27320 wxPyEndAllowThreads(__tstate
);
27321 if (PyErr_Occurred()) SWIG_fail
;
27325 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27327 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27336 SWIGINTERN PyObject
*_wrap_ListItem_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27337 PyObject
*resultobj
= 0;
27338 wxListItem
*arg1
= (wxListItem
*) 0 ;
27342 PyObject
*swig_obj
[1] ;
27344 if (!args
) SWIG_fail
;
27345 swig_obj
[0] = args
;
27346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27347 if (!SWIG_IsOK(res1
)) {
27348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
27350 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27353 result
= (int)(arg1
)->GetImage();
27354 wxPyEndAllowThreads(__tstate
);
27355 if (PyErr_Occurred()) SWIG_fail
;
27357 resultobj
= SWIG_From_int(static_cast< int >(result
));
27364 SWIGINTERN PyObject
*_wrap_ListItem_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27365 PyObject
*resultobj
= 0;
27366 wxListItem
*arg1
= (wxListItem
*) 0 ;
27370 PyObject
*swig_obj
[1] ;
27372 if (!args
) SWIG_fail
;
27373 swig_obj
[0] = args
;
27374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27375 if (!SWIG_IsOK(res1
)) {
27376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
27378 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27381 result
= (long)(arg1
)->GetData();
27382 wxPyEndAllowThreads(__tstate
);
27383 if (PyErr_Occurred()) SWIG_fail
;
27385 resultobj
= SWIG_From_long(static_cast< long >(result
));
27392 SWIGINTERN PyObject
*_wrap_ListItem_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27393 PyObject
*resultobj
= 0;
27394 wxListItem
*arg1
= (wxListItem
*) 0 ;
27398 PyObject
*swig_obj
[1] ;
27400 if (!args
) SWIG_fail
;
27401 swig_obj
[0] = args
;
27402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27403 if (!SWIG_IsOK(res1
)) {
27404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27406 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27409 result
= (int)(arg1
)->GetWidth();
27410 wxPyEndAllowThreads(__tstate
);
27411 if (PyErr_Occurred()) SWIG_fail
;
27413 resultobj
= SWIG_From_int(static_cast< int >(result
));
27420 SWIGINTERN PyObject
*_wrap_ListItem_GetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27421 PyObject
*resultobj
= 0;
27422 wxListItem
*arg1
= (wxListItem
*) 0 ;
27423 wxListColumnFormat result
;
27426 PyObject
*swig_obj
[1] ;
27428 if (!args
) SWIG_fail
;
27429 swig_obj
[0] = args
;
27430 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27431 if (!SWIG_IsOK(res1
)) {
27432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27434 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27437 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
27438 wxPyEndAllowThreads(__tstate
);
27439 if (PyErr_Occurred()) SWIG_fail
;
27441 resultobj
= SWIG_From_int(static_cast< int >(result
));
27448 SWIGINTERN PyObject
*_wrap_ListItem_GetAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27449 PyObject
*resultobj
= 0;
27450 wxListItem
*arg1
= (wxListItem
*) 0 ;
27451 wxListItemAttr
*result
= 0 ;
27454 PyObject
*swig_obj
[1] ;
27456 if (!args
) SWIG_fail
;
27457 swig_obj
[0] = args
;
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_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27462 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27465 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
27466 wxPyEndAllowThreads(__tstate
);
27467 if (PyErr_Occurred()) SWIG_fail
;
27469 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
27476 SWIGINTERN PyObject
*_wrap_ListItem_HasAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27477 PyObject
*resultobj
= 0;
27478 wxListItem
*arg1
= (wxListItem
*) 0 ;
27482 PyObject
*swig_obj
[1] ;
27484 if (!args
) SWIG_fail
;
27485 swig_obj
[0] = args
;
27486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27487 if (!SWIG_IsOK(res1
)) {
27488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27490 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27493 result
= (bool)(arg1
)->HasAttributes();
27494 wxPyEndAllowThreads(__tstate
);
27495 if (PyErr_Occurred()) SWIG_fail
;
27498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27506 SWIGINTERN PyObject
*_wrap_ListItem_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27507 PyObject
*resultobj
= 0;
27508 wxListItem
*arg1
= (wxListItem
*) 0 ;
27512 PyObject
*swig_obj
[1] ;
27514 if (!args
) SWIG_fail
;
27515 swig_obj
[0] = args
;
27516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27517 if (!SWIG_IsOK(res1
)) {
27518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27520 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27523 result
= ((wxListItem
const *)arg1
)->GetTextColour();
27524 wxPyEndAllowThreads(__tstate
);
27525 if (PyErr_Occurred()) SWIG_fail
;
27527 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27534 SWIGINTERN PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27535 PyObject
*resultobj
= 0;
27536 wxListItem
*arg1
= (wxListItem
*) 0 ;
27540 PyObject
*swig_obj
[1] ;
27542 if (!args
) SWIG_fail
;
27543 swig_obj
[0] = args
;
27544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27545 if (!SWIG_IsOK(res1
)) {
27546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27548 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27551 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
27552 wxPyEndAllowThreads(__tstate
);
27553 if (PyErr_Occurred()) SWIG_fail
;
27555 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27562 SWIGINTERN PyObject
*_wrap_ListItem_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27563 PyObject
*resultobj
= 0;
27564 wxListItem
*arg1
= (wxListItem
*) 0 ;
27568 PyObject
*swig_obj
[1] ;
27570 if (!args
) SWIG_fail
;
27571 swig_obj
[0] = args
;
27572 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27573 if (!SWIG_IsOK(res1
)) {
27574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
27576 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27579 result
= ((wxListItem
const *)arg1
)->GetFont();
27580 wxPyEndAllowThreads(__tstate
);
27581 if (PyErr_Occurred()) SWIG_fail
;
27583 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
27590 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27591 PyObject
*resultobj
= 0;
27592 wxListItem
*arg1
= (wxListItem
*) 0 ;
27598 PyObject
*swig_obj
[2] ;
27600 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_mask_set",2,2,swig_obj
)) SWIG_fail
;
27601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27602 if (!SWIG_IsOK(res1
)) {
27603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27605 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27606 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27607 if (!SWIG_IsOK(ecode2
)) {
27608 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
27610 arg2
= static_cast< long >(val2
);
27611 if (arg1
) (arg1
)->m_mask
= arg2
;
27613 resultobj
= SWIG_Py_Void();
27620 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27621 PyObject
*resultobj
= 0;
27622 wxListItem
*arg1
= (wxListItem
*) 0 ;
27626 PyObject
*swig_obj
[1] ;
27628 if (!args
) SWIG_fail
;
27629 swig_obj
[0] = args
;
27630 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27631 if (!SWIG_IsOK(res1
)) {
27632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27634 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27635 result
= (long) ((arg1
)->m_mask
);
27636 resultobj
= SWIG_From_long(static_cast< long >(result
));
27643 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27644 PyObject
*resultobj
= 0;
27645 wxListItem
*arg1
= (wxListItem
*) 0 ;
27651 PyObject
*swig_obj
[2] ;
27653 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_itemId_set",2,2,swig_obj
)) SWIG_fail
;
27654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27655 if (!SWIG_IsOK(res1
)) {
27656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27658 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27659 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27660 if (!SWIG_IsOK(ecode2
)) {
27661 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
27663 arg2
= static_cast< long >(val2
);
27664 if (arg1
) (arg1
)->m_itemId
= arg2
;
27666 resultobj
= SWIG_Py_Void();
27673 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27674 PyObject
*resultobj
= 0;
27675 wxListItem
*arg1
= (wxListItem
*) 0 ;
27679 PyObject
*swig_obj
[1] ;
27681 if (!args
) SWIG_fail
;
27682 swig_obj
[0] = args
;
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_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27687 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27688 result
= (long) ((arg1
)->m_itemId
);
27689 resultobj
= SWIG_From_long(static_cast< long >(result
));
27696 SWIGINTERN PyObject
*_wrap_ListItem_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27697 PyObject
*resultobj
= 0;
27698 wxListItem
*arg1
= (wxListItem
*) 0 ;
27704 PyObject
*swig_obj
[2] ;
27706 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27708 if (!SWIG_IsOK(res1
)) {
27709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27711 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27712 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27713 if (!SWIG_IsOK(ecode2
)) {
27714 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
27716 arg2
= static_cast< int >(val2
);
27717 if (arg1
) (arg1
)->m_col
= arg2
;
27719 resultobj
= SWIG_Py_Void();
27726 SWIGINTERN PyObject
*_wrap_ListItem_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27727 PyObject
*resultobj
= 0;
27728 wxListItem
*arg1
= (wxListItem
*) 0 ;
27732 PyObject
*swig_obj
[1] ;
27734 if (!args
) SWIG_fail
;
27735 swig_obj
[0] = args
;
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_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27740 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27741 result
= (int) ((arg1
)->m_col
);
27742 resultobj
= SWIG_From_int(static_cast< int >(result
));
27749 SWIGINTERN PyObject
*_wrap_ListItem_m_state_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27750 PyObject
*resultobj
= 0;
27751 wxListItem
*arg1
= (wxListItem
*) 0 ;
27757 PyObject
*swig_obj
[2] ;
27759 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_state_set",2,2,swig_obj
)) SWIG_fail
;
27760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27761 if (!SWIG_IsOK(res1
)) {
27762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27764 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27765 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27766 if (!SWIG_IsOK(ecode2
)) {
27767 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
27769 arg2
= static_cast< long >(val2
);
27770 if (arg1
) (arg1
)->m_state
= arg2
;
27772 resultobj
= SWIG_Py_Void();
27779 SWIGINTERN PyObject
*_wrap_ListItem_m_state_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27780 PyObject
*resultobj
= 0;
27781 wxListItem
*arg1
= (wxListItem
*) 0 ;
27785 PyObject
*swig_obj
[1] ;
27787 if (!args
) SWIG_fail
;
27788 swig_obj
[0] = args
;
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_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27793 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27794 result
= (long) ((arg1
)->m_state
);
27795 resultobj
= SWIG_From_long(static_cast< long >(result
));
27802 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27803 PyObject
*resultobj
= 0;
27804 wxListItem
*arg1
= (wxListItem
*) 0 ;
27810 PyObject
*swig_obj
[2] ;
27812 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_stateMask_set",2,2,swig_obj
)) SWIG_fail
;
27813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27814 if (!SWIG_IsOK(res1
)) {
27815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27817 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27818 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27819 if (!SWIG_IsOK(ecode2
)) {
27820 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
27822 arg2
= static_cast< long >(val2
);
27823 if (arg1
) (arg1
)->m_stateMask
= arg2
;
27825 resultobj
= SWIG_Py_Void();
27832 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27833 PyObject
*resultobj
= 0;
27834 wxListItem
*arg1
= (wxListItem
*) 0 ;
27838 PyObject
*swig_obj
[1] ;
27840 if (!args
) SWIG_fail
;
27841 swig_obj
[0] = args
;
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_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27846 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27847 result
= (long) ((arg1
)->m_stateMask
);
27848 resultobj
= SWIG_From_long(static_cast< long >(result
));
27855 SWIGINTERN PyObject
*_wrap_ListItem_m_text_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27856 PyObject
*resultobj
= 0;
27857 wxListItem
*arg1
= (wxListItem
*) 0 ;
27858 wxString
*arg2
= (wxString
*) 0 ;
27861 bool temp2
= false ;
27862 PyObject
*swig_obj
[2] ;
27864 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_text_set",2,2,swig_obj
)) SWIG_fail
;
27865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27866 if (!SWIG_IsOK(res1
)) {
27867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27869 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27871 arg2
= wxString_in_helper(swig_obj
[1]);
27872 if (arg2
== NULL
) SWIG_fail
;
27875 if (arg1
) (arg1
)->m_text
= *arg2
;
27877 resultobj
= SWIG_Py_Void();
27892 SWIGINTERN PyObject
*_wrap_ListItem_m_text_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27893 PyObject
*resultobj
= 0;
27894 wxListItem
*arg1
= (wxListItem
*) 0 ;
27895 wxString
*result
= 0 ;
27898 PyObject
*swig_obj
[1] ;
27900 if (!args
) SWIG_fail
;
27901 swig_obj
[0] = args
;
27902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27903 if (!SWIG_IsOK(res1
)) {
27904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27906 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27907 result
= (wxString
*)& ((arg1
)->m_text
);
27910 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27912 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27921 SWIGINTERN PyObject
*_wrap_ListItem_m_image_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27922 PyObject
*resultobj
= 0;
27923 wxListItem
*arg1
= (wxListItem
*) 0 ;
27929 PyObject
*swig_obj
[2] ;
27931 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_image_set",2,2,swig_obj
)) SWIG_fail
;
27932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27933 if (!SWIG_IsOK(res1
)) {
27934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27936 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27937 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27938 if (!SWIG_IsOK(ecode2
)) {
27939 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
27941 arg2
= static_cast< int >(val2
);
27942 if (arg1
) (arg1
)->m_image
= arg2
;
27944 resultobj
= SWIG_Py_Void();
27951 SWIGINTERN PyObject
*_wrap_ListItem_m_image_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27952 PyObject
*resultobj
= 0;
27953 wxListItem
*arg1
= (wxListItem
*) 0 ;
27957 PyObject
*swig_obj
[1] ;
27959 if (!args
) SWIG_fail
;
27960 swig_obj
[0] = args
;
27961 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27962 if (!SWIG_IsOK(res1
)) {
27963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27965 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27966 result
= (int) ((arg1
)->m_image
);
27967 resultobj
= SWIG_From_int(static_cast< int >(result
));
27974 SWIGINTERN PyObject
*_wrap_ListItem_m_data_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27975 PyObject
*resultobj
= 0;
27976 wxListItem
*arg1
= (wxListItem
*) 0 ;
27982 PyObject
*swig_obj
[2] ;
27984 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_data_set",2,2,swig_obj
)) SWIG_fail
;
27985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27986 if (!SWIG_IsOK(res1
)) {
27987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27989 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27990 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27991 if (!SWIG_IsOK(ecode2
)) {
27992 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
27994 arg2
= static_cast< long >(val2
);
27995 if (arg1
) (arg1
)->m_data
= arg2
;
27997 resultobj
= SWIG_Py_Void();
28004 SWIGINTERN PyObject
*_wrap_ListItem_m_data_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28005 PyObject
*resultobj
= 0;
28006 wxListItem
*arg1
= (wxListItem
*) 0 ;
28010 PyObject
*swig_obj
[1] ;
28012 if (!args
) SWIG_fail
;
28013 swig_obj
[0] = args
;
28014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28015 if (!SWIG_IsOK(res1
)) {
28016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28018 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28019 result
= (long) ((arg1
)->m_data
);
28020 resultobj
= SWIG_From_long(static_cast< long >(result
));
28027 SWIGINTERN PyObject
*_wrap_ListItem_m_format_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28028 PyObject
*resultobj
= 0;
28029 wxListItem
*arg1
= (wxListItem
*) 0 ;
28035 PyObject
*swig_obj
[2] ;
28037 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_format_set",2,2,swig_obj
)) SWIG_fail
;
28038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28039 if (!SWIG_IsOK(res1
)) {
28040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28042 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28043 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28044 if (!SWIG_IsOK(ecode2
)) {
28045 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
28047 arg2
= static_cast< int >(val2
);
28048 if (arg1
) (arg1
)->m_format
= arg2
;
28050 resultobj
= SWIG_Py_Void();
28057 SWIGINTERN PyObject
*_wrap_ListItem_m_format_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28058 PyObject
*resultobj
= 0;
28059 wxListItem
*arg1
= (wxListItem
*) 0 ;
28063 PyObject
*swig_obj
[1] ;
28065 if (!args
) SWIG_fail
;
28066 swig_obj
[0] = args
;
28067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28068 if (!SWIG_IsOK(res1
)) {
28069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28071 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28072 result
= (int) ((arg1
)->m_format
);
28073 resultobj
= SWIG_From_int(static_cast< int >(result
));
28080 SWIGINTERN PyObject
*_wrap_ListItem_m_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28081 PyObject
*resultobj
= 0;
28082 wxListItem
*arg1
= (wxListItem
*) 0 ;
28088 PyObject
*swig_obj
[2] ;
28090 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_width_set",2,2,swig_obj
)) SWIG_fail
;
28091 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28092 if (!SWIG_IsOK(res1
)) {
28093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28095 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28096 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28097 if (!SWIG_IsOK(ecode2
)) {
28098 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
28100 arg2
= static_cast< int >(val2
);
28101 if (arg1
) (arg1
)->m_width
= arg2
;
28103 resultobj
= SWIG_Py_Void();
28110 SWIGINTERN PyObject
*_wrap_ListItem_m_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28111 PyObject
*resultobj
= 0;
28112 wxListItem
*arg1
= (wxListItem
*) 0 ;
28116 PyObject
*swig_obj
[1] ;
28118 if (!args
) SWIG_fail
;
28119 swig_obj
[0] = args
;
28120 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28121 if (!SWIG_IsOK(res1
)) {
28122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28124 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28125 result
= (int) ((arg1
)->m_width
);
28126 resultobj
= SWIG_From_int(static_cast< int >(result
));
28133 SWIGINTERN PyObject
*ListItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28135 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28136 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem
, SWIG_NewClientData(obj
));
28137 return SWIG_Py_Void();
28140 SWIGINTERN PyObject
*ListItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28141 return SWIG_Python_InitShadowInstance(args
);
28144 SWIGINTERN PyObject
*_wrap_new_ListEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28145 PyObject
*resultobj
= 0;
28146 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
28147 int arg2
= (int) 0 ;
28148 wxListEvent
*result
= 0 ;
28153 PyObject
* obj0
= 0 ;
28154 PyObject
* obj1
= 0 ;
28155 char * kwnames
[] = {
28156 (char *) "commandType",(char *) "id", NULL
28159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28161 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28162 if (!SWIG_IsOK(ecode1
)) {
28163 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
28165 arg1
= static_cast< wxEventType
>(val1
);
28168 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28169 if (!SWIG_IsOK(ecode2
)) {
28170 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
28172 arg2
= static_cast< int >(val2
);
28175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28176 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
28177 wxPyEndAllowThreads(__tstate
);
28178 if (PyErr_Occurred()) SWIG_fail
;
28180 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListEvent
, SWIG_POINTER_NEW
| 0 );
28187 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28188 PyObject
*resultobj
= 0;
28189 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28195 PyObject
*swig_obj
[2] ;
28197 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_code_set",2,2,swig_obj
)) SWIG_fail
;
28198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28199 if (!SWIG_IsOK(res1
)) {
28200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28202 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28203 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28204 if (!SWIG_IsOK(ecode2
)) {
28205 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
28207 arg2
= static_cast< int >(val2
);
28208 if (arg1
) (arg1
)->m_code
= arg2
;
28210 resultobj
= SWIG_Py_Void();
28217 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28218 PyObject
*resultobj
= 0;
28219 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28223 PyObject
*swig_obj
[1] ;
28225 if (!args
) SWIG_fail
;
28226 swig_obj
[0] = args
;
28227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28228 if (!SWIG_IsOK(res1
)) {
28229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28231 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28232 result
= (int) ((arg1
)->m_code
);
28233 resultobj
= SWIG_From_int(static_cast< int >(result
));
28240 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28241 PyObject
*resultobj
= 0;
28242 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28248 PyObject
*swig_obj
[2] ;
28250 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_oldItemIndex_set",2,2,swig_obj
)) SWIG_fail
;
28251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28252 if (!SWIG_IsOK(res1
)) {
28253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28255 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28256 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28257 if (!SWIG_IsOK(ecode2
)) {
28258 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
28260 arg2
= static_cast< long >(val2
);
28261 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
28263 resultobj
= SWIG_Py_Void();
28270 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28271 PyObject
*resultobj
= 0;
28272 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28276 PyObject
*swig_obj
[1] ;
28278 if (!args
) SWIG_fail
;
28279 swig_obj
[0] = args
;
28280 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28281 if (!SWIG_IsOK(res1
)) {
28282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28284 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28285 result
= (long) ((arg1
)->m_oldItemIndex
);
28286 resultobj
= SWIG_From_long(static_cast< long >(result
));
28293 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28294 PyObject
*resultobj
= 0;
28295 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28301 PyObject
*swig_obj
[2] ;
28303 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_itemIndex_set",2,2,swig_obj
)) SWIG_fail
;
28304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28305 if (!SWIG_IsOK(res1
)) {
28306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28308 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28309 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28310 if (!SWIG_IsOK(ecode2
)) {
28311 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
28313 arg2
= static_cast< long >(val2
);
28314 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
28316 resultobj
= SWIG_Py_Void();
28323 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28324 PyObject
*resultobj
= 0;
28325 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28329 PyObject
*swig_obj
[1] ;
28331 if (!args
) SWIG_fail
;
28332 swig_obj
[0] = args
;
28333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28334 if (!SWIG_IsOK(res1
)) {
28335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28337 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28338 result
= (long) ((arg1
)->m_itemIndex
);
28339 resultobj
= SWIG_From_long(static_cast< long >(result
));
28346 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28347 PyObject
*resultobj
= 0;
28348 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28354 PyObject
*swig_obj
[2] ;
28356 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_col_set",2,2,swig_obj
)) SWIG_fail
;
28357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28358 if (!SWIG_IsOK(res1
)) {
28359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28361 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28362 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28363 if (!SWIG_IsOK(ecode2
)) {
28364 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
28366 arg2
= static_cast< int >(val2
);
28367 if (arg1
) (arg1
)->m_col
= arg2
;
28369 resultobj
= SWIG_Py_Void();
28376 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28377 PyObject
*resultobj
= 0;
28378 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28382 PyObject
*swig_obj
[1] ;
28384 if (!args
) SWIG_fail
;
28385 swig_obj
[0] = args
;
28386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28387 if (!SWIG_IsOK(res1
)) {
28388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28390 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28391 result
= (int) ((arg1
)->m_col
);
28392 resultobj
= SWIG_From_int(static_cast< int >(result
));
28399 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28400 PyObject
*resultobj
= 0;
28401 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28402 wxPoint
*arg2
= (wxPoint
*) 0 ;
28407 PyObject
*swig_obj
[2] ;
28409 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_pointDrag_set",2,2,swig_obj
)) SWIG_fail
;
28410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28411 if (!SWIG_IsOK(res1
)) {
28412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28414 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28415 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPoint
, 0 | 0 );
28416 if (!SWIG_IsOK(res2
)) {
28417 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
28419 arg2
= reinterpret_cast< wxPoint
* >(argp2
);
28420 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
28422 resultobj
= SWIG_Py_Void();
28429 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28430 PyObject
*resultobj
= 0;
28431 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28432 wxPoint
*result
= 0 ;
28435 PyObject
*swig_obj
[1] ;
28437 if (!args
) SWIG_fail
;
28438 swig_obj
[0] = args
;
28439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28440 if (!SWIG_IsOK(res1
)) {
28441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28443 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28444 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
28445 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
28452 SWIGINTERN PyObject
*_wrap_ListEvent_m_item_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28453 PyObject
*resultobj
= 0;
28454 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28455 wxListItem
*result
= 0 ;
28458 PyObject
*swig_obj
[1] ;
28460 if (!args
) SWIG_fail
;
28461 swig_obj
[0] = args
;
28462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28463 if (!SWIG_IsOK(res1
)) {
28464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28466 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28467 result
= (wxListItem
*)& ((arg1
)->m_item
);
28469 resultobj
= wxPyMake_wxObject(result
, 0);
28477 SWIGINTERN PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28478 PyObject
*resultobj
= 0;
28479 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28483 PyObject
*swig_obj
[1] ;
28485 if (!args
) SWIG_fail
;
28486 swig_obj
[0] = args
;
28487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28488 if (!SWIG_IsOK(res1
)) {
28489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
28491 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28494 result
= (int)(arg1
)->GetKeyCode();
28495 wxPyEndAllowThreads(__tstate
);
28496 if (PyErr_Occurred()) SWIG_fail
;
28498 resultobj
= SWIG_From_int(static_cast< int >(result
));
28505 SWIGINTERN PyObject
*_wrap_ListEvent_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28506 PyObject
*resultobj
= 0;
28507 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28511 PyObject
*swig_obj
[1] ;
28513 if (!args
) SWIG_fail
;
28514 swig_obj
[0] = args
;
28515 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28516 if (!SWIG_IsOK(res1
)) {
28517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
28519 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28522 result
= (long)(arg1
)->GetIndex();
28523 wxPyEndAllowThreads(__tstate
);
28524 if (PyErr_Occurred()) SWIG_fail
;
28526 resultobj
= SWIG_From_long(static_cast< long >(result
));
28533 SWIGINTERN PyObject
*_wrap_ListEvent_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28534 PyObject
*resultobj
= 0;
28535 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28539 PyObject
*swig_obj
[1] ;
28541 if (!args
) SWIG_fail
;
28542 swig_obj
[0] = args
;
28543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28544 if (!SWIG_IsOK(res1
)) {
28545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
28547 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28550 result
= (int)(arg1
)->GetColumn();
28551 wxPyEndAllowThreads(__tstate
);
28552 if (PyErr_Occurred()) SWIG_fail
;
28554 resultobj
= SWIG_From_int(static_cast< int >(result
));
28561 SWIGINTERN PyObject
*_wrap_ListEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28562 PyObject
*resultobj
= 0;
28563 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28567 PyObject
*swig_obj
[1] ;
28569 if (!args
) SWIG_fail
;
28570 swig_obj
[0] = args
;
28571 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28572 if (!SWIG_IsOK(res1
)) {
28573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
28575 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28578 result
= (arg1
)->GetPoint();
28579 wxPyEndAllowThreads(__tstate
);
28580 if (PyErr_Occurred()) SWIG_fail
;
28582 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
28589 SWIGINTERN PyObject
*_wrap_ListEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28590 PyObject
*resultobj
= 0;
28591 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28592 wxString
*result
= 0 ;
28595 PyObject
*swig_obj
[1] ;
28597 if (!args
) SWIG_fail
;
28598 swig_obj
[0] = args
;
28599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28600 if (!SWIG_IsOK(res1
)) {
28601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
28603 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28607 wxString
const &_result_ref
= (arg1
)->GetLabel();
28608 result
= (wxString
*) &_result_ref
;
28610 wxPyEndAllowThreads(__tstate
);
28611 if (PyErr_Occurred()) SWIG_fail
;
28615 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28617 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28626 SWIGINTERN PyObject
*_wrap_ListEvent_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28627 PyObject
*resultobj
= 0;
28628 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28629 wxString
*result
= 0 ;
28632 PyObject
*swig_obj
[1] ;
28634 if (!args
) SWIG_fail
;
28635 swig_obj
[0] = args
;
28636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28637 if (!SWIG_IsOK(res1
)) {
28638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
28640 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28644 wxString
const &_result_ref
= (arg1
)->GetText();
28645 result
= (wxString
*) &_result_ref
;
28647 wxPyEndAllowThreads(__tstate
);
28648 if (PyErr_Occurred()) SWIG_fail
;
28652 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28654 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28663 SWIGINTERN PyObject
*_wrap_ListEvent_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28664 PyObject
*resultobj
= 0;
28665 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28669 PyObject
*swig_obj
[1] ;
28671 if (!args
) SWIG_fail
;
28672 swig_obj
[0] = args
;
28673 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28674 if (!SWIG_IsOK(res1
)) {
28675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
28677 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28680 result
= (int)(arg1
)->GetImage();
28681 wxPyEndAllowThreads(__tstate
);
28682 if (PyErr_Occurred()) SWIG_fail
;
28684 resultobj
= SWIG_From_int(static_cast< int >(result
));
28691 SWIGINTERN PyObject
*_wrap_ListEvent_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28692 PyObject
*resultobj
= 0;
28693 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28697 PyObject
*swig_obj
[1] ;
28699 if (!args
) SWIG_fail
;
28700 swig_obj
[0] = args
;
28701 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28702 if (!SWIG_IsOK(res1
)) {
28703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
28705 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28708 result
= (long)(arg1
)->GetData();
28709 wxPyEndAllowThreads(__tstate
);
28710 if (PyErr_Occurred()) SWIG_fail
;
28712 resultobj
= SWIG_From_long(static_cast< long >(result
));
28719 SWIGINTERN PyObject
*_wrap_ListEvent_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28720 PyObject
*resultobj
= 0;
28721 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28725 PyObject
*swig_obj
[1] ;
28727 if (!args
) SWIG_fail
;
28728 swig_obj
[0] = args
;
28729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28730 if (!SWIG_IsOK(res1
)) {
28731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
28733 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28736 result
= (long)(arg1
)->GetMask();
28737 wxPyEndAllowThreads(__tstate
);
28738 if (PyErr_Occurred()) SWIG_fail
;
28740 resultobj
= SWIG_From_long(static_cast< long >(result
));
28747 SWIGINTERN PyObject
*_wrap_ListEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28748 PyObject
*resultobj
= 0;
28749 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28750 wxListItem
*result
= 0 ;
28753 PyObject
*swig_obj
[1] ;
28755 if (!args
) SWIG_fail
;
28756 swig_obj
[0] = args
;
28757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28758 if (!SWIG_IsOK(res1
)) {
28759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
28761 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28765 wxListItem
const &_result_ref
= (arg1
)->GetItem();
28766 result
= (wxListItem
*) &_result_ref
;
28768 wxPyEndAllowThreads(__tstate
);
28769 if (PyErr_Occurred()) SWIG_fail
;
28771 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, 0 | 0 );
28778 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28779 PyObject
*resultobj
= 0;
28780 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28784 PyObject
*swig_obj
[1] ;
28786 if (!args
) SWIG_fail
;
28787 swig_obj
[0] = args
;
28788 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28789 if (!SWIG_IsOK(res1
)) {
28790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
28792 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28795 result
= (long)(arg1
)->GetCacheFrom();
28796 wxPyEndAllowThreads(__tstate
);
28797 if (PyErr_Occurred()) SWIG_fail
;
28799 resultobj
= SWIG_From_long(static_cast< long >(result
));
28806 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28807 PyObject
*resultobj
= 0;
28808 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28812 PyObject
*swig_obj
[1] ;
28814 if (!args
) SWIG_fail
;
28815 swig_obj
[0] = args
;
28816 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28817 if (!SWIG_IsOK(res1
)) {
28818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
28820 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28823 result
= (long)(arg1
)->GetCacheTo();
28824 wxPyEndAllowThreads(__tstate
);
28825 if (PyErr_Occurred()) SWIG_fail
;
28827 resultobj
= SWIG_From_long(static_cast< long >(result
));
28834 SWIGINTERN PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28835 PyObject
*resultobj
= 0;
28836 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28840 PyObject
*swig_obj
[1] ;
28842 if (!args
) SWIG_fail
;
28843 swig_obj
[0] = args
;
28844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28845 if (!SWIG_IsOK(res1
)) {
28846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
28848 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28851 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
28852 wxPyEndAllowThreads(__tstate
);
28853 if (PyErr_Occurred()) SWIG_fail
;
28856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28864 SWIGINTERN PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28865 PyObject
*resultobj
= 0;
28866 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28872 PyObject
* obj0
= 0 ;
28873 PyObject
* obj1
= 0 ;
28874 char * kwnames
[] = {
28875 (char *) "self",(char *) "editCancelled", NULL
28878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28880 if (!SWIG_IsOK(res1
)) {
28881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
28883 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28884 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28885 if (!SWIG_IsOK(ecode2
)) {
28886 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
28888 arg2
= static_cast< bool >(val2
);
28890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28891 (arg1
)->SetEditCanceled(arg2
);
28892 wxPyEndAllowThreads(__tstate
);
28893 if (PyErr_Occurred()) SWIG_fail
;
28895 resultobj
= SWIG_Py_Void();
28902 SWIGINTERN PyObject
*ListEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28904 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28905 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent
, SWIG_NewClientData(obj
));
28906 return SWIG_Py_Void();
28909 SWIGINTERN PyObject
*ListEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28910 return SWIG_Python_InitShadowInstance(args
);
28913 SWIGINTERN PyObject
*_wrap_new_ListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28914 PyObject
*resultobj
= 0;
28915 wxWindow
*arg1
= (wxWindow
*) 0 ;
28916 int arg2
= (int) -1 ;
28917 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28918 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28919 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28920 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28921 long arg5
= (long) wxLC_ICON
;
28922 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28923 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28924 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
28925 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28926 wxPyListCtrl
*result
= 0 ;
28937 bool temp7
= false ;
28938 PyObject
* obj0
= 0 ;
28939 PyObject
* obj1
= 0 ;
28940 PyObject
* obj2
= 0 ;
28941 PyObject
* obj3
= 0 ;
28942 PyObject
* obj4
= 0 ;
28943 PyObject
* obj5
= 0 ;
28944 PyObject
* obj6
= 0 ;
28945 char * kwnames
[] = {
28946 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28951 if (!SWIG_IsOK(res1
)) {
28952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
28954 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28956 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28957 if (!SWIG_IsOK(ecode2
)) {
28958 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
28960 arg2
= static_cast< int >(val2
);
28965 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28971 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28975 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28976 if (!SWIG_IsOK(ecode5
)) {
28977 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
28979 arg5
= static_cast< long >(val5
);
28982 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
28983 if (!SWIG_IsOK(res6
)) {
28984 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28987 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28989 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
28993 arg7
= wxString_in_helper(obj6
);
28994 if (arg7
== NULL
) SWIG_fail
;
28999 if (!wxPyCheckForApp()) SWIG_fail
;
29000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29001 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
29002 wxPyEndAllowThreads(__tstate
);
29003 if (PyErr_Occurred()) SWIG_fail
;
29005 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_NEW
| 0 );
29020 SWIGINTERN PyObject
*_wrap_new_PreListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29021 PyObject
*resultobj
= 0;
29022 wxPyListCtrl
*result
= 0 ;
29024 if (!SWIG_Python_UnpackTuple(args
,"new_PreListCtrl",0,0,0)) SWIG_fail
;
29026 if (!wxPyCheckForApp()) SWIG_fail
;
29027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29028 result
= (wxPyListCtrl
*)new wxPyListCtrl();
29029 wxPyEndAllowThreads(__tstate
);
29030 if (PyErr_Occurred()) SWIG_fail
;
29032 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_OWN
| 0 );
29039 SWIGINTERN PyObject
*_wrap_ListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29040 PyObject
*resultobj
= 0;
29041 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29042 wxWindow
*arg2
= (wxWindow
*) 0 ;
29043 int arg3
= (int) -1 ;
29044 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29045 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29046 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29047 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29048 long arg6
= (long) wxLC_ICON
;
29049 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
29050 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
29051 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
29052 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
29066 bool temp8
= false ;
29067 PyObject
* obj0
= 0 ;
29068 PyObject
* obj1
= 0 ;
29069 PyObject
* obj2
= 0 ;
29070 PyObject
* obj3
= 0 ;
29071 PyObject
* obj4
= 0 ;
29072 PyObject
* obj5
= 0 ;
29073 PyObject
* obj6
= 0 ;
29074 PyObject
* obj7
= 0 ;
29075 char * kwnames
[] = {
29076 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
29080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29081 if (!SWIG_IsOK(res1
)) {
29082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29084 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29085 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29086 if (!SWIG_IsOK(res2
)) {
29087 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
29089 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29091 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29092 if (!SWIG_IsOK(ecode3
)) {
29093 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
29095 arg3
= static_cast< int >(val3
);
29100 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29106 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29110 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29111 if (!SWIG_IsOK(ecode6
)) {
29112 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
29114 arg6
= static_cast< long >(val6
);
29117 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
29118 if (!SWIG_IsOK(res7
)) {
29119 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
29122 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
29124 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
29128 arg8
= wxString_in_helper(obj7
);
29129 if (arg8
== NULL
) SWIG_fail
;
29134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29135 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
29136 wxPyEndAllowThreads(__tstate
);
29137 if (PyErr_Occurred()) SWIG_fail
;
29140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29156 SWIGINTERN PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29157 PyObject
*resultobj
= 0;
29158 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29159 PyObject
*arg2
= (PyObject
*) 0 ;
29160 PyObject
*arg3
= (PyObject
*) 0 ;
29163 PyObject
* obj0
= 0 ;
29164 PyObject
* obj1
= 0 ;
29165 PyObject
* obj2
= 0 ;
29166 char * kwnames
[] = {
29167 (char *) "self",(char *) "self",(char *) "_class", NULL
29170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29172 if (!SWIG_IsOK(res1
)) {
29173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29175 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29180 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29181 wxPyEndAllowThreads(__tstate
);
29182 if (PyErr_Occurred()) SWIG_fail
;
29184 resultobj
= SWIG_Py_Void();
29191 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29192 PyObject
*resultobj
= 0;
29193 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29195 wxListItem
*result
= 0 ;
29200 PyObject
* obj0
= 0 ;
29201 PyObject
* obj1
= 0 ;
29202 char * kwnames
[] = {
29203 (char *) "self",(char *) "col", NULL
29206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29208 if (!SWIG_IsOK(res1
)) {
29209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29211 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29212 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29213 if (!SWIG_IsOK(ecode2
)) {
29214 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
29216 arg2
= static_cast< int >(val2
);
29218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29219 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
29220 wxPyEndAllowThreads(__tstate
);
29221 if (PyErr_Occurred()) SWIG_fail
;
29224 resultobj
= wxPyMake_wxObject(result
, 0);
29232 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29233 PyObject
*resultobj
= 0;
29234 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29236 wxListItem
*arg3
= 0 ;
29244 PyObject
* obj0
= 0 ;
29245 PyObject
* obj1
= 0 ;
29246 PyObject
* obj2
= 0 ;
29247 char * kwnames
[] = {
29248 (char *) "self",(char *) "col",(char *) "item", NULL
29251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29253 if (!SWIG_IsOK(res1
)) {
29254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29256 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29257 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29258 if (!SWIG_IsOK(ecode2
)) {
29259 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
29261 arg2
= static_cast< int >(val2
);
29262 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
29263 if (!SWIG_IsOK(res3
)) {
29264 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29267 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29269 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
29271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29272 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
29273 wxPyEndAllowThreads(__tstate
);
29274 if (PyErr_Occurred()) SWIG_fail
;
29277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29285 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29286 PyObject
*resultobj
= 0;
29287 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29294 PyObject
* obj0
= 0 ;
29295 PyObject
* obj1
= 0 ;
29296 char * kwnames
[] = {
29297 (char *) "self",(char *) "col", NULL
29300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29302 if (!SWIG_IsOK(res1
)) {
29303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29305 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29306 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29307 if (!SWIG_IsOK(ecode2
)) {
29308 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29310 arg2
= static_cast< int >(val2
);
29312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29313 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
29314 wxPyEndAllowThreads(__tstate
);
29315 if (PyErr_Occurred()) SWIG_fail
;
29317 resultobj
= SWIG_From_int(static_cast< int >(result
));
29324 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29325 PyObject
*resultobj
= 0;
29326 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29336 PyObject
* obj0
= 0 ;
29337 PyObject
* obj1
= 0 ;
29338 PyObject
* obj2
= 0 ;
29339 char * kwnames
[] = {
29340 (char *) "self",(char *) "col",(char *) "width", NULL
29343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29345 if (!SWIG_IsOK(res1
)) {
29346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29348 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29349 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29350 if (!SWIG_IsOK(ecode2
)) {
29351 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29353 arg2
= static_cast< int >(val2
);
29354 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29355 if (!SWIG_IsOK(ecode3
)) {
29356 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
29358 arg3
= static_cast< int >(val3
);
29360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29361 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
29362 wxPyEndAllowThreads(__tstate
);
29363 if (PyErr_Occurred()) SWIG_fail
;
29366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29374 SWIGINTERN PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29375 PyObject
*resultobj
= 0;
29376 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29380 PyObject
*swig_obj
[1] ;
29382 if (!args
) SWIG_fail
;
29383 swig_obj
[0] = args
;
29384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29385 if (!SWIG_IsOK(res1
)) {
29386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29388 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29391 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
29392 wxPyEndAllowThreads(__tstate
);
29393 if (PyErr_Occurred()) SWIG_fail
;
29395 resultobj
= SWIG_From_int(static_cast< int >(result
));
29402 SWIGINTERN PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29403 PyObject
*resultobj
= 0;
29404 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29408 PyObject
*swig_obj
[1] ;
29410 if (!args
) SWIG_fail
;
29411 swig_obj
[0] = args
;
29412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29413 if (!SWIG_IsOK(res1
)) {
29414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29416 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29419 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
29420 wxPyEndAllowThreads(__tstate
);
29421 if (PyErr_Occurred()) SWIG_fail
;
29423 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29430 SWIGINTERN PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29431 PyObject
*resultobj
= 0;
29432 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29433 wxTextCtrl
*result
= 0 ;
29436 PyObject
*swig_obj
[1] ;
29438 if (!args
) SWIG_fail
;
29439 swig_obj
[0] = args
;
29440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29441 if (!SWIG_IsOK(res1
)) {
29442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29444 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29447 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
29448 wxPyEndAllowThreads(__tstate
);
29449 if (PyErr_Occurred()) SWIG_fail
;
29452 resultobj
= wxPyMake_wxObject(result
, 0);
29460 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29461 PyObject
*resultobj
= 0;
29462 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29464 int arg3
= (int) 0 ;
29465 wxListItem
*result
= 0 ;
29472 PyObject
* obj0
= 0 ;
29473 PyObject
* obj1
= 0 ;
29474 PyObject
* obj2
= 0 ;
29475 char * kwnames
[] = {
29476 (char *) "self",(char *) "itemId",(char *) "col", NULL
29479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29481 if (!SWIG_IsOK(res1
)) {
29482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29484 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29485 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29486 if (!SWIG_IsOK(ecode2
)) {
29487 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
29489 arg2
= static_cast< long >(val2
);
29491 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29492 if (!SWIG_IsOK(ecode3
)) {
29493 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
29495 arg3
= static_cast< int >(val3
);
29498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29499 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
29500 wxPyEndAllowThreads(__tstate
);
29501 if (PyErr_Occurred()) SWIG_fail
;
29504 resultobj
= wxPyMake_wxObject(result
, 0);
29512 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29513 PyObject
*resultobj
= 0;
29514 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29515 wxListItem
*arg2
= 0 ;
29521 PyObject
* obj0
= 0 ;
29522 PyObject
* obj1
= 0 ;
29523 char * kwnames
[] = {
29524 (char *) "self",(char *) "info", NULL
29527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29529 if (!SWIG_IsOK(res1
)) {
29530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29532 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29533 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
29534 if (!SWIG_IsOK(res2
)) {
29535 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29538 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29540 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
29542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29543 result
= (bool)(arg1
)->SetItem(*arg2
);
29544 wxPyEndAllowThreads(__tstate
);
29545 if (PyErr_Occurred()) SWIG_fail
;
29548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29556 SWIGINTERN PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29557 PyObject
*resultobj
= 0;
29558 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29561 wxString
*arg4
= 0 ;
29562 int arg5
= (int) -1 ;
29570 bool temp4
= false ;
29573 PyObject
* obj0
= 0 ;
29574 PyObject
* obj1
= 0 ;
29575 PyObject
* obj2
= 0 ;
29576 PyObject
* obj3
= 0 ;
29577 PyObject
* obj4
= 0 ;
29578 char * kwnames
[] = {
29579 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
29582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29584 if (!SWIG_IsOK(res1
)) {
29585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29587 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29588 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29589 if (!SWIG_IsOK(ecode2
)) {
29590 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
29592 arg2
= static_cast< long >(val2
);
29593 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29594 if (!SWIG_IsOK(ecode3
)) {
29595 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
29597 arg3
= static_cast< int >(val3
);
29599 arg4
= wxString_in_helper(obj3
);
29600 if (arg4
== NULL
) SWIG_fail
;
29604 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29605 if (!SWIG_IsOK(ecode5
)) {
29606 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
29608 arg5
= static_cast< int >(val5
);
29611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29612 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
29613 wxPyEndAllowThreads(__tstate
);
29614 if (PyErr_Occurred()) SWIG_fail
;
29616 resultobj
= SWIG_From_long(static_cast< long >(result
));
29631 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29632 PyObject
*resultobj
= 0;
29633 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29643 PyObject
* obj0
= 0 ;
29644 PyObject
* obj1
= 0 ;
29645 PyObject
* obj2
= 0 ;
29646 char * kwnames
[] = {
29647 (char *) "self",(char *) "item",(char *) "stateMask", NULL
29650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29652 if (!SWIG_IsOK(res1
)) {
29653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29655 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29656 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29657 if (!SWIG_IsOK(ecode2
)) {
29658 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
29660 arg2
= static_cast< long >(val2
);
29661 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29662 if (!SWIG_IsOK(ecode3
)) {
29663 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
29665 arg3
= static_cast< long >(val3
);
29667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29668 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
29669 wxPyEndAllowThreads(__tstate
);
29670 if (PyErr_Occurred()) SWIG_fail
;
29672 resultobj
= SWIG_From_int(static_cast< int >(result
));
29679 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29680 PyObject
*resultobj
= 0;
29681 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29694 PyObject
* obj0
= 0 ;
29695 PyObject
* obj1
= 0 ;
29696 PyObject
* obj2
= 0 ;
29697 PyObject
* obj3
= 0 ;
29698 char * kwnames
[] = {
29699 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
29702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29704 if (!SWIG_IsOK(res1
)) {
29705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29707 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29708 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29709 if (!SWIG_IsOK(ecode2
)) {
29710 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
29712 arg2
= static_cast< long >(val2
);
29713 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29714 if (!SWIG_IsOK(ecode3
)) {
29715 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
29717 arg3
= static_cast< long >(val3
);
29718 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
29719 if (!SWIG_IsOK(ecode4
)) {
29720 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
29722 arg4
= static_cast< long >(val4
);
29724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29725 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
29726 wxPyEndAllowThreads(__tstate
);
29727 if (PyErr_Occurred()) SWIG_fail
;
29730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29738 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29739 PyObject
*resultobj
= 0;
29740 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29743 int arg4
= (int) -1 ;
29753 PyObject
* obj0
= 0 ;
29754 PyObject
* obj1
= 0 ;
29755 PyObject
* obj2
= 0 ;
29756 PyObject
* obj3
= 0 ;
29757 char * kwnames
[] = {
29758 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
29761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29763 if (!SWIG_IsOK(res1
)) {
29764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29766 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29767 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29768 if (!SWIG_IsOK(ecode2
)) {
29769 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
29771 arg2
= static_cast< long >(val2
);
29772 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29773 if (!SWIG_IsOK(ecode3
)) {
29774 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
29776 arg3
= static_cast< int >(val3
);
29778 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29779 if (!SWIG_IsOK(ecode4
)) {
29780 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
29782 arg4
= static_cast< int >(val4
);
29785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29786 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
29787 wxPyEndAllowThreads(__tstate
);
29788 if (PyErr_Occurred()) SWIG_fail
;
29791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29799 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29800 PyObject
*resultobj
= 0;
29801 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29814 PyObject
* obj0
= 0 ;
29815 PyObject
* obj1
= 0 ;
29816 PyObject
* obj2
= 0 ;
29817 PyObject
* obj3
= 0 ;
29818 char * kwnames
[] = {
29819 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
29822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29824 if (!SWIG_IsOK(res1
)) {
29825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29827 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29828 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29829 if (!SWIG_IsOK(ecode2
)) {
29830 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
29832 arg2
= static_cast< long >(val2
);
29833 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29834 if (!SWIG_IsOK(ecode3
)) {
29835 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
29837 arg3
= static_cast< long >(val3
);
29838 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29839 if (!SWIG_IsOK(ecode4
)) {
29840 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
29842 arg4
= static_cast< int >(val4
);
29844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29845 result
= (bool)(arg1
)->SetItemColumnImage(arg2
,arg3
,arg4
);
29846 wxPyEndAllowThreads(__tstate
);
29847 if (PyErr_Occurred()) SWIG_fail
;
29850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29858 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29859 PyObject
*resultobj
= 0;
29860 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29867 PyObject
* obj0
= 0 ;
29868 PyObject
* obj1
= 0 ;
29869 char * kwnames
[] = {
29870 (char *) "self",(char *) "item", NULL
29873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29875 if (!SWIG_IsOK(res1
)) {
29876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29878 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29879 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29880 if (!SWIG_IsOK(ecode2
)) {
29881 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
29883 arg2
= static_cast< long >(val2
);
29885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29886 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
29887 wxPyEndAllowThreads(__tstate
);
29888 if (PyErr_Occurred()) SWIG_fail
;
29892 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29894 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29903 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29904 PyObject
*resultobj
= 0;
29905 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29907 wxString
*arg3
= 0 ;
29912 bool temp3
= false ;
29913 PyObject
* obj0
= 0 ;
29914 PyObject
* obj1
= 0 ;
29915 PyObject
* obj2
= 0 ;
29916 char * kwnames
[] = {
29917 (char *) "self",(char *) "item",(char *) "str", NULL
29920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29922 if (!SWIG_IsOK(res1
)) {
29923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29925 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29926 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29927 if (!SWIG_IsOK(ecode2
)) {
29928 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
29930 arg2
= static_cast< long >(val2
);
29932 arg3
= wxString_in_helper(obj2
);
29933 if (arg3
== NULL
) SWIG_fail
;
29937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29938 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
29939 wxPyEndAllowThreads(__tstate
);
29940 if (PyErr_Occurred()) SWIG_fail
;
29942 resultobj
= SWIG_Py_Void();
29957 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29958 PyObject
*resultobj
= 0;
29959 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29966 PyObject
* obj0
= 0 ;
29967 PyObject
* obj1
= 0 ;
29968 char * kwnames
[] = {
29969 (char *) "self",(char *) "item", NULL
29972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29974 if (!SWIG_IsOK(res1
)) {
29975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29977 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29978 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29979 if (!SWIG_IsOK(ecode2
)) {
29980 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
29982 arg2
= static_cast< long >(val2
);
29984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29985 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
29986 wxPyEndAllowThreads(__tstate
);
29987 if (PyErr_Occurred()) SWIG_fail
;
29989 resultobj
= SWIG_From_long(static_cast< long >(result
));
29996 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29997 PyObject
*resultobj
= 0;
29998 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30008 PyObject
* obj0
= 0 ;
30009 PyObject
* obj1
= 0 ;
30010 PyObject
* obj2
= 0 ;
30011 char * kwnames
[] = {
30012 (char *) "self",(char *) "item",(char *) "data", NULL
30015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30017 if (!SWIG_IsOK(res1
)) {
30018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30020 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30021 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30022 if (!SWIG_IsOK(ecode2
)) {
30023 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
30025 arg2
= static_cast< long >(val2
);
30026 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30027 if (!SWIG_IsOK(ecode3
)) {
30028 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
30030 arg3
= static_cast< long >(val3
);
30032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30033 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
30034 wxPyEndAllowThreads(__tstate
);
30035 if (PyErr_Occurred()) SWIG_fail
;
30038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30046 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30047 PyObject
*resultobj
= 0;
30048 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30055 PyObject
* obj0
= 0 ;
30056 PyObject
* obj1
= 0 ;
30057 char * kwnames
[] = {
30058 (char *) "self",(char *) "item", NULL
30061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30063 if (!SWIG_IsOK(res1
)) {
30064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30066 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30067 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30068 if (!SWIG_IsOK(ecode2
)) {
30069 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
30071 arg2
= static_cast< long >(val2
);
30073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30074 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
30075 wxPyEndAllowThreads(__tstate
);
30076 if (PyErr_Occurred()) SWIG_fail
;
30078 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
30085 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30086 PyObject
*resultobj
= 0;
30087 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30089 int arg3
= (int) wxLIST_RECT_BOUNDS
;
30097 PyObject
* obj0
= 0 ;
30098 PyObject
* obj1
= 0 ;
30099 PyObject
* obj2
= 0 ;
30100 char * kwnames
[] = {
30101 (char *) "self",(char *) "item",(char *) "code", NULL
30104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30105 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30106 if (!SWIG_IsOK(res1
)) {
30107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30109 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30110 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30111 if (!SWIG_IsOK(ecode2
)) {
30112 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
30114 arg2
= static_cast< long >(val2
);
30116 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30117 if (!SWIG_IsOK(ecode3
)) {
30118 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
30120 arg3
= static_cast< int >(val3
);
30123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30124 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
30125 wxPyEndAllowThreads(__tstate
);
30126 if (PyErr_Occurred()) SWIG_fail
;
30128 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
30135 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30136 PyObject
*resultobj
= 0;
30137 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30139 wxPoint
*arg3
= 0 ;
30146 PyObject
* obj0
= 0 ;
30147 PyObject
* obj1
= 0 ;
30148 PyObject
* obj2
= 0 ;
30149 char * kwnames
[] = {
30150 (char *) "self",(char *) "item",(char *) "pos", NULL
30153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30155 if (!SWIG_IsOK(res1
)) {
30156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30158 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30159 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30160 if (!SWIG_IsOK(ecode2
)) {
30161 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
30163 arg2
= static_cast< long >(val2
);
30166 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30170 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
30171 wxPyEndAllowThreads(__tstate
);
30172 if (PyErr_Occurred()) SWIG_fail
;
30175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30183 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30184 PyObject
*resultobj
= 0;
30185 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30189 PyObject
*swig_obj
[1] ;
30191 if (!args
) SWIG_fail
;
30192 swig_obj
[0] = args
;
30193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30194 if (!SWIG_IsOK(res1
)) {
30195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30197 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30200 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
30201 wxPyEndAllowThreads(__tstate
);
30202 if (PyErr_Occurred()) SWIG_fail
;
30204 resultobj
= SWIG_From_int(static_cast< int >(result
));
30211 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30212 PyObject
*resultobj
= 0;
30213 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30217 PyObject
*swig_obj
[1] ;
30219 if (!args
) SWIG_fail
;
30220 swig_obj
[0] = args
;
30221 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30222 if (!SWIG_IsOK(res1
)) {
30223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30225 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30228 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
30229 wxPyEndAllowThreads(__tstate
);
30230 if (PyErr_Occurred()) SWIG_fail
;
30232 resultobj
= SWIG_From_int(static_cast< int >(result
));
30239 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30240 PyObject
*resultobj
= 0;
30241 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30245 PyObject
*swig_obj
[1] ;
30247 if (!args
) SWIG_fail
;
30248 swig_obj
[0] = args
;
30249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30250 if (!SWIG_IsOK(res1
)) {
30251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30253 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30256 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
30257 wxPyEndAllowThreads(__tstate
);
30258 if (PyErr_Occurred()) SWIG_fail
;
30260 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
30267 SWIGINTERN PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30268 PyObject
*resultobj
= 0;
30269 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30273 PyObject
*swig_obj
[1] ;
30275 if (!args
) SWIG_fail
;
30276 swig_obj
[0] = args
;
30277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30278 if (!SWIG_IsOK(res1
)) {
30279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30281 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30284 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
30285 wxPyEndAllowThreads(__tstate
);
30286 if (PyErr_Occurred()) SWIG_fail
;
30288 resultobj
= SWIG_From_int(static_cast< int >(result
));
30295 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30296 PyObject
*resultobj
= 0;
30297 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30301 PyObject
*swig_obj
[1] ;
30303 if (!args
) SWIG_fail
;
30304 swig_obj
[0] = args
;
30305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30306 if (!SWIG_IsOK(res1
)) {
30307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30309 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30312 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
30313 wxPyEndAllowThreads(__tstate
);
30314 if (PyErr_Occurred()) SWIG_fail
;
30316 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
30323 SWIGINTERN PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30324 PyObject
*resultobj
= 0;
30325 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30326 wxColour
*arg2
= 0 ;
30330 PyObject
* obj0
= 0 ;
30331 PyObject
* obj1
= 0 ;
30332 char * kwnames
[] = {
30333 (char *) "self",(char *) "col", NULL
30336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30338 if (!SWIG_IsOK(res1
)) {
30339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30341 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30344 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30348 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
30349 wxPyEndAllowThreads(__tstate
);
30350 if (PyErr_Occurred()) SWIG_fail
;
30352 resultobj
= SWIG_Py_Void();
30359 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30360 PyObject
*resultobj
= 0;
30361 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30365 PyObject
*swig_obj
[1] ;
30367 if (!args
) SWIG_fail
;
30368 swig_obj
[0] = args
;
30369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30370 if (!SWIG_IsOK(res1
)) {
30371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30373 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30376 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
30377 wxPyEndAllowThreads(__tstate
);
30378 if (PyErr_Occurred()) SWIG_fail
;
30380 resultobj
= SWIG_From_long(static_cast< long >(result
));
30387 SWIGINTERN PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30388 PyObject
*resultobj
= 0;
30389 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30391 bool arg3
= (bool) true ;
30398 PyObject
* obj0
= 0 ;
30399 PyObject
* obj1
= 0 ;
30400 PyObject
* obj2
= 0 ;
30401 char * kwnames
[] = {
30402 (char *) "self",(char *) "style",(char *) "add", NULL
30405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30407 if (!SWIG_IsOK(res1
)) {
30408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30410 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30411 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30412 if (!SWIG_IsOK(ecode2
)) {
30413 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
30415 arg2
= static_cast< long >(val2
);
30417 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30418 if (!SWIG_IsOK(ecode3
)) {
30419 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
30421 arg3
= static_cast< bool >(val3
);
30424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30425 (arg1
)->SetSingleStyle(arg2
,arg3
);
30426 wxPyEndAllowThreads(__tstate
);
30427 if (PyErr_Occurred()) SWIG_fail
;
30429 resultobj
= SWIG_Py_Void();
30436 SWIGINTERN PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30437 PyObject
*resultobj
= 0;
30438 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30440 int arg3
= (int) wxLIST_NEXT_ALL
;
30441 int arg4
= (int) wxLIST_STATE_DONTCARE
;
30451 PyObject
* obj0
= 0 ;
30452 PyObject
* obj1
= 0 ;
30453 PyObject
* obj2
= 0 ;
30454 PyObject
* obj3
= 0 ;
30455 char * kwnames
[] = {
30456 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
30459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30461 if (!SWIG_IsOK(res1
)) {
30462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30464 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30465 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30466 if (!SWIG_IsOK(ecode2
)) {
30467 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
30469 arg2
= static_cast< long >(val2
);
30471 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30472 if (!SWIG_IsOK(ecode3
)) {
30473 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
30475 arg3
= static_cast< int >(val3
);
30478 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30479 if (!SWIG_IsOK(ecode4
)) {
30480 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
30482 arg4
= static_cast< int >(val4
);
30485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30486 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
30487 wxPyEndAllowThreads(__tstate
);
30488 if (PyErr_Occurred()) SWIG_fail
;
30490 resultobj
= SWIG_From_long(static_cast< long >(result
));
30497 SWIGINTERN PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30498 PyObject
*resultobj
= 0;
30499 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30501 wxImageList
*result
= 0 ;
30506 PyObject
* obj0
= 0 ;
30507 PyObject
* obj1
= 0 ;
30508 char * kwnames
[] = {
30509 (char *) "self",(char *) "which", NULL
30512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30514 if (!SWIG_IsOK(res1
)) {
30515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30517 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30518 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30519 if (!SWIG_IsOK(ecode2
)) {
30520 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
30522 arg2
= static_cast< int >(val2
);
30524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30525 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
30526 wxPyEndAllowThreads(__tstate
);
30527 if (PyErr_Occurred()) SWIG_fail
;
30530 resultobj
= wxPyMake_wxObject(result
, (bool)0);
30538 SWIGINTERN PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30539 PyObject
*resultobj
= 0;
30540 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30541 wxImageList
*arg2
= (wxImageList
*) 0 ;
30549 PyObject
* obj0
= 0 ;
30550 PyObject
* obj1
= 0 ;
30551 PyObject
* obj2
= 0 ;
30552 char * kwnames
[] = {
30553 (char *) "self",(char *) "imageList",(char *) "which", NULL
30556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30558 if (!SWIG_IsOK(res1
)) {
30559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30561 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30562 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30563 if (!SWIG_IsOK(res2
)) {
30564 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30566 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
30567 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30568 if (!SWIG_IsOK(ecode3
)) {
30569 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
30571 arg3
= static_cast< int >(val3
);
30573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30574 (arg1
)->SetImageList(arg2
,arg3
);
30575 wxPyEndAllowThreads(__tstate
);
30576 if (PyErr_Occurred()) SWIG_fail
;
30578 resultobj
= SWIG_Py_Void();
30585 SWIGINTERN PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30586 PyObject
*resultobj
= 0;
30587 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30588 wxImageList
*arg2
= (wxImageList
*) 0 ;
30595 PyObject
* obj0
= 0 ;
30596 PyObject
* obj1
= 0 ;
30597 PyObject
* obj2
= 0 ;
30598 char * kwnames
[] = {
30599 (char *) "self",(char *) "imageList",(char *) "which", NULL
30602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30604 if (!SWIG_IsOK(res1
)) {
30605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30607 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30608 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
30609 if (!SWIG_IsOK(res2
)) {
30610 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30612 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30613 if (!SWIG_IsOK(ecode3
)) {
30614 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
30616 arg3
= static_cast< int >(val3
);
30618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30619 (arg1
)->AssignImageList(arg2
,arg3
);
30620 wxPyEndAllowThreads(__tstate
);
30621 if (PyErr_Occurred()) SWIG_fail
;
30623 resultobj
= SWIG_Py_Void();
30630 SWIGINTERN PyObject
*_wrap_ListCtrl_InReportView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30631 PyObject
*resultobj
= 0;
30632 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30636 PyObject
*swig_obj
[1] ;
30638 if (!args
) SWIG_fail
;
30639 swig_obj
[0] = args
;
30640 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30641 if (!SWIG_IsOK(res1
)) {
30642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30644 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30647 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
30648 wxPyEndAllowThreads(__tstate
);
30649 if (PyErr_Occurred()) SWIG_fail
;
30652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30660 SWIGINTERN PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30661 PyObject
*resultobj
= 0;
30662 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30666 PyObject
*swig_obj
[1] ;
30668 if (!args
) SWIG_fail
;
30669 swig_obj
[0] = args
;
30670 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30671 if (!SWIG_IsOK(res1
)) {
30672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30674 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30677 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
30678 wxPyEndAllowThreads(__tstate
);
30679 if (PyErr_Occurred()) SWIG_fail
;
30682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30690 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30691 PyObject
*resultobj
= 0;
30692 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30698 PyObject
* obj0
= 0 ;
30699 PyObject
* obj1
= 0 ;
30700 char * kwnames
[] = {
30701 (char *) "self",(char *) "item", NULL
30704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30706 if (!SWIG_IsOK(res1
)) {
30707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30709 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30710 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30711 if (!SWIG_IsOK(ecode2
)) {
30712 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
30714 arg2
= static_cast< long >(val2
);
30716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30717 (arg1
)->RefreshItem(arg2
);
30718 wxPyEndAllowThreads(__tstate
);
30719 if (PyErr_Occurred()) SWIG_fail
;
30721 resultobj
= SWIG_Py_Void();
30728 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30729 PyObject
*resultobj
= 0;
30730 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30739 PyObject
* obj0
= 0 ;
30740 PyObject
* obj1
= 0 ;
30741 PyObject
* obj2
= 0 ;
30742 char * kwnames
[] = {
30743 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
30746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30748 if (!SWIG_IsOK(res1
)) {
30749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30751 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30752 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30753 if (!SWIG_IsOK(ecode2
)) {
30754 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "2"" of type '" "long""'");
30756 arg2
= static_cast< long >(val2
);
30757 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30758 if (!SWIG_IsOK(ecode3
)) {
30759 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
30761 arg3
= static_cast< long >(val3
);
30763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30764 (arg1
)->RefreshItems(arg2
,arg3
);
30765 wxPyEndAllowThreads(__tstate
);
30766 if (PyErr_Occurred()) SWIG_fail
;
30768 resultobj
= SWIG_Py_Void();
30775 SWIGINTERN PyObject
*_wrap_ListCtrl_Arrange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30776 PyObject
*resultobj
= 0;
30777 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30778 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
30784 PyObject
* obj0
= 0 ;
30785 PyObject
* obj1
= 0 ;
30786 char * kwnames
[] = {
30787 (char *) "self",(char *) "flag", NULL
30790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30792 if (!SWIG_IsOK(res1
)) {
30793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30795 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30797 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30798 if (!SWIG_IsOK(ecode2
)) {
30799 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
30801 arg2
= static_cast< int >(val2
);
30804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30805 result
= (bool)(arg1
)->Arrange(arg2
);
30806 wxPyEndAllowThreads(__tstate
);
30807 if (PyErr_Occurred()) SWIG_fail
;
30810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30818 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30819 PyObject
*resultobj
= 0;
30820 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30827 PyObject
* obj0
= 0 ;
30828 PyObject
* obj1
= 0 ;
30829 char * kwnames
[] = {
30830 (char *) "self",(char *) "item", NULL
30833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30835 if (!SWIG_IsOK(res1
)) {
30836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30838 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30839 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30840 if (!SWIG_IsOK(ecode2
)) {
30841 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
30843 arg2
= static_cast< long >(val2
);
30845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30846 result
= (bool)(arg1
)->DeleteItem(arg2
);
30847 wxPyEndAllowThreads(__tstate
);
30848 if (PyErr_Occurred()) SWIG_fail
;
30851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30859 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30860 PyObject
*resultobj
= 0;
30861 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30865 PyObject
*swig_obj
[1] ;
30867 if (!args
) SWIG_fail
;
30868 swig_obj
[0] = args
;
30869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30870 if (!SWIG_IsOK(res1
)) {
30871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30873 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30876 result
= (bool)(arg1
)->DeleteAllItems();
30877 wxPyEndAllowThreads(__tstate
);
30878 if (PyErr_Occurred()) SWIG_fail
;
30881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30889 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30890 PyObject
*resultobj
= 0;
30891 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30898 PyObject
* obj0
= 0 ;
30899 PyObject
* obj1
= 0 ;
30900 char * kwnames
[] = {
30901 (char *) "self",(char *) "col", NULL
30904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30906 if (!SWIG_IsOK(res1
)) {
30907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30909 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30910 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30911 if (!SWIG_IsOK(ecode2
)) {
30912 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
30914 arg2
= static_cast< int >(val2
);
30916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30917 result
= (bool)(arg1
)->DeleteColumn(arg2
);
30918 wxPyEndAllowThreads(__tstate
);
30919 if (PyErr_Occurred()) SWIG_fail
;
30922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30930 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30931 PyObject
*resultobj
= 0;
30932 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30936 PyObject
*swig_obj
[1] ;
30938 if (!args
) SWIG_fail
;
30939 swig_obj
[0] = args
;
30940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30941 if (!SWIG_IsOK(res1
)) {
30942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30944 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30947 result
= (bool)(arg1
)->DeleteAllColumns();
30948 wxPyEndAllowThreads(__tstate
);
30949 if (PyErr_Occurred()) SWIG_fail
;
30952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30960 SWIGINTERN PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30961 PyObject
*resultobj
= 0;
30962 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30965 PyObject
*swig_obj
[1] ;
30967 if (!args
) SWIG_fail
;
30968 swig_obj
[0] = args
;
30969 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30970 if (!SWIG_IsOK(res1
)) {
30971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30973 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30976 (arg1
)->ClearAll();
30977 wxPyEndAllowThreads(__tstate
);
30978 if (PyErr_Occurred()) SWIG_fail
;
30980 resultobj
= SWIG_Py_Void();
30987 SWIGINTERN PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30988 PyObject
*resultobj
= 0;
30989 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30991 wxTextCtrl
*result
= 0 ;
30996 PyObject
* obj0
= 0 ;
30997 PyObject
* obj1
= 0 ;
30998 char * kwnames
[] = {
30999 (char *) "self",(char *) "item", NULL
31002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31004 if (!SWIG_IsOK(res1
)) {
31005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31007 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31008 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31009 if (!SWIG_IsOK(ecode2
)) {
31010 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
31012 arg2
= static_cast< long >(val2
);
31014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31015 result
= (wxTextCtrl
*)(arg1
)->EditLabel(arg2
);
31016 wxPyEndAllowThreads(__tstate
);
31017 if (PyErr_Occurred()) SWIG_fail
;
31020 resultobj
= wxPyMake_wxObject(result
, 0);
31028 SWIGINTERN PyObject
*_wrap_ListCtrl_EndEditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31029 PyObject
*resultobj
= 0;
31030 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31037 PyObject
* obj0
= 0 ;
31038 PyObject
* obj1
= 0 ;
31039 char * kwnames
[] = {
31040 (char *) "self",(char *) "cancel", NULL
31043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31045 if (!SWIG_IsOK(res1
)) {
31046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EndEditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31048 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31049 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
31050 if (!SWIG_IsOK(ecode2
)) {
31051 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EndEditLabel" "', expected argument " "2"" of type '" "bool""'");
31053 arg2
= static_cast< bool >(val2
);
31055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31056 result
= (bool)(arg1
)->EndEditLabel(arg2
);
31057 wxPyEndAllowThreads(__tstate
);
31058 if (PyErr_Occurred()) SWIG_fail
;
31061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31069 SWIGINTERN PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31070 PyObject
*resultobj
= 0;
31071 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31078 PyObject
* obj0
= 0 ;
31079 PyObject
* obj1
= 0 ;
31080 char * kwnames
[] = {
31081 (char *) "self",(char *) "item", NULL
31084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31086 if (!SWIG_IsOK(res1
)) {
31087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31089 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31090 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31091 if (!SWIG_IsOK(ecode2
)) {
31092 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
31094 arg2
= static_cast< long >(val2
);
31096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31097 result
= (bool)(arg1
)->EnsureVisible(arg2
);
31098 wxPyEndAllowThreads(__tstate
);
31099 if (PyErr_Occurred()) SWIG_fail
;
31102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31110 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31111 PyObject
*resultobj
= 0;
31112 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31114 wxString
*arg3
= 0 ;
31115 bool arg4
= (bool) false ;
31121 bool temp3
= false ;
31124 PyObject
* obj0
= 0 ;
31125 PyObject
* obj1
= 0 ;
31126 PyObject
* obj2
= 0 ;
31127 PyObject
* obj3
= 0 ;
31128 char * kwnames
[] = {
31129 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
31132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31134 if (!SWIG_IsOK(res1
)) {
31135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31137 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31138 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31139 if (!SWIG_IsOK(ecode2
)) {
31140 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
31142 arg2
= static_cast< long >(val2
);
31144 arg3
= wxString_in_helper(obj2
);
31145 if (arg3
== NULL
) SWIG_fail
;
31149 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
31150 if (!SWIG_IsOK(ecode4
)) {
31151 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
31153 arg4
= static_cast< bool >(val4
);
31156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31157 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
31158 wxPyEndAllowThreads(__tstate
);
31159 if (PyErr_Occurred()) SWIG_fail
;
31161 resultobj
= SWIG_From_long(static_cast< long >(result
));
31176 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31177 PyObject
*resultobj
= 0;
31178 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31188 PyObject
* obj0
= 0 ;
31189 PyObject
* obj1
= 0 ;
31190 PyObject
* obj2
= 0 ;
31191 char * kwnames
[] = {
31192 (char *) "self",(char *) "start",(char *) "data", NULL
31195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31197 if (!SWIG_IsOK(res1
)) {
31198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31200 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31201 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31202 if (!SWIG_IsOK(ecode2
)) {
31203 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
31205 arg2
= static_cast< long >(val2
);
31206 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
31207 if (!SWIG_IsOK(ecode3
)) {
31208 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
31210 arg3
= static_cast< long >(val3
);
31212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31213 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
31214 wxPyEndAllowThreads(__tstate
);
31215 if (PyErr_Occurred()) SWIG_fail
;
31217 resultobj
= SWIG_From_long(static_cast< long >(result
));
31224 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31225 PyObject
*resultobj
= 0;
31226 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31228 wxPoint
*arg3
= 0 ;
31238 PyObject
* obj0
= 0 ;
31239 PyObject
* obj1
= 0 ;
31240 PyObject
* obj2
= 0 ;
31241 PyObject
* obj3
= 0 ;
31242 char * kwnames
[] = {
31243 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
31246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31248 if (!SWIG_IsOK(res1
)) {
31249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31251 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31252 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31253 if (!SWIG_IsOK(ecode2
)) {
31254 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
31256 arg2
= static_cast< long >(val2
);
31259 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31261 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31262 if (!SWIG_IsOK(ecode4
)) {
31263 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
31265 arg4
= static_cast< int >(val4
);
31267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31268 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
31269 wxPyEndAllowThreads(__tstate
);
31270 if (PyErr_Occurred()) SWIG_fail
;
31272 resultobj
= SWIG_From_long(static_cast< long >(result
));
31279 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31280 PyObject
*resultobj
= 0;
31281 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31282 wxPoint
*arg2
= 0 ;
31289 int res3
= SWIG_TMPOBJ
;
31290 PyObject
* obj0
= 0 ;
31291 PyObject
* obj1
= 0 ;
31292 char * kwnames
[] = {
31293 (char *) "self",(char *) "point", NULL
31297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31299 if (!SWIG_IsOK(res1
)) {
31300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31302 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31305 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31309 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
31310 wxPyEndAllowThreads(__tstate
);
31311 if (PyErr_Occurred()) SWIG_fail
;
31313 resultobj
= SWIG_From_long(static_cast< long >(result
));
31314 if (SWIG_IsTmpObj(res3
)) {
31315 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31317 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31318 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31326 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTestSubItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31327 PyObject
*resultobj
= 0;
31328 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31329 wxPoint
*arg2
= 0 ;
31331 long *arg4
= (long *) 0 ;
31337 int res3
= SWIG_TMPOBJ
;
31339 int res4
= SWIG_TMPOBJ
;
31340 PyObject
* obj0
= 0 ;
31341 PyObject
* obj1
= 0 ;
31342 char * kwnames
[] = {
31343 (char *) "self",(char *) "point", NULL
31348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTestSubItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31350 if (!SWIG_IsOK(res1
)) {
31351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTestSubItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31353 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31356 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31360 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
,arg4
);
31361 wxPyEndAllowThreads(__tstate
);
31362 if (PyErr_Occurred()) SWIG_fail
;
31364 resultobj
= SWIG_From_long(static_cast< long >(result
));
31365 if (SWIG_IsTmpObj(res3
)) {
31366 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31368 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31369 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31371 if (SWIG_IsTmpObj(res4
)) {
31372 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
31374 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31375 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
31383 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31384 PyObject
*resultobj
= 0;
31385 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31386 wxListItem
*arg2
= 0 ;
31392 PyObject
* obj0
= 0 ;
31393 PyObject
* obj1
= 0 ;
31394 char * kwnames
[] = {
31395 (char *) "self",(char *) "info", NULL
31398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31400 if (!SWIG_IsOK(res1
)) {
31401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31403 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31404 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
31405 if (!SWIG_IsOK(res2
)) {
31406 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31409 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31411 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
31413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31414 result
= (long)(arg1
)->InsertItem(*arg2
);
31415 wxPyEndAllowThreads(__tstate
);
31416 if (PyErr_Occurred()) SWIG_fail
;
31418 resultobj
= SWIG_From_long(static_cast< long >(result
));
31425 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31426 PyObject
*resultobj
= 0;
31427 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31429 wxString
*arg3
= 0 ;
31430 int arg4
= (int) -1 ;
31436 bool temp3
= false ;
31439 PyObject
* obj0
= 0 ;
31440 PyObject
* obj1
= 0 ;
31441 PyObject
* obj2
= 0 ;
31442 PyObject
* obj3
= 0 ;
31443 char * kwnames
[] = {
31444 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31449 if (!SWIG_IsOK(res1
)) {
31450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31452 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31453 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31454 if (!SWIG_IsOK(ecode2
)) {
31455 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
31457 arg2
= static_cast< long >(val2
);
31459 arg3
= wxString_in_helper(obj2
);
31460 if (arg3
== NULL
) SWIG_fail
;
31464 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31465 if (!SWIG_IsOK(ecode4
)) {
31466 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
31468 arg4
= static_cast< int >(val4
);
31471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31472 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31473 wxPyEndAllowThreads(__tstate
);
31474 if (PyErr_Occurred()) SWIG_fail
;
31476 resultobj
= SWIG_From_long(static_cast< long >(result
));
31491 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31492 PyObject
*resultobj
= 0;
31493 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31503 PyObject
* obj0
= 0 ;
31504 PyObject
* obj1
= 0 ;
31505 PyObject
* obj2
= 0 ;
31506 char * kwnames
[] = {
31507 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
31510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31512 if (!SWIG_IsOK(res1
)) {
31513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31515 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31516 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31517 if (!SWIG_IsOK(ecode2
)) {
31518 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
31520 arg2
= static_cast< long >(val2
);
31521 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31522 if (!SWIG_IsOK(ecode3
)) {
31523 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
31525 arg3
= static_cast< int >(val3
);
31527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31528 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
31529 wxPyEndAllowThreads(__tstate
);
31530 if (PyErr_Occurred()) SWIG_fail
;
31532 resultobj
= SWIG_From_long(static_cast< long >(result
));
31539 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31540 PyObject
*resultobj
= 0;
31541 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31543 wxString
*arg3
= 0 ;
31550 bool temp3
= false ;
31553 PyObject
* obj0
= 0 ;
31554 PyObject
* obj1
= 0 ;
31555 PyObject
* obj2
= 0 ;
31556 PyObject
* obj3
= 0 ;
31557 char * kwnames
[] = {
31558 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31563 if (!SWIG_IsOK(res1
)) {
31564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31566 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31567 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31568 if (!SWIG_IsOK(ecode2
)) {
31569 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
31571 arg2
= static_cast< long >(val2
);
31573 arg3
= wxString_in_helper(obj2
);
31574 if (arg3
== NULL
) SWIG_fail
;
31577 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31578 if (!SWIG_IsOK(ecode4
)) {
31579 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
31581 arg4
= static_cast< int >(val4
);
31583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31584 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31585 wxPyEndAllowThreads(__tstate
);
31586 if (PyErr_Occurred()) SWIG_fail
;
31588 resultobj
= SWIG_From_long(static_cast< long >(result
));
31603 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31604 PyObject
*resultobj
= 0;
31605 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31607 wxListItem
*arg3
= 0 ;
31615 PyObject
* obj0
= 0 ;
31616 PyObject
* obj1
= 0 ;
31617 PyObject
* obj2
= 0 ;
31618 char * kwnames
[] = {
31619 (char *) "self",(char *) "col",(char *) "info", NULL
31622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31624 if (!SWIG_IsOK(res1
)) {
31625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31627 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31628 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31629 if (!SWIG_IsOK(ecode2
)) {
31630 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
31632 arg2
= static_cast< long >(val2
);
31633 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
31634 if (!SWIG_IsOK(res3
)) {
31635 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31638 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31640 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
31642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31643 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
31644 wxPyEndAllowThreads(__tstate
);
31645 if (PyErr_Occurred()) SWIG_fail
;
31647 resultobj
= SWIG_From_long(static_cast< long >(result
));
31654 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31655 PyObject
*resultobj
= 0;
31656 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31658 wxString
*arg3
= 0 ;
31659 int arg4
= (int) wxLIST_FORMAT_LEFT
;
31660 int arg5
= (int) -1 ;
31666 bool temp3
= false ;
31671 PyObject
* obj0
= 0 ;
31672 PyObject
* obj1
= 0 ;
31673 PyObject
* obj2
= 0 ;
31674 PyObject
* obj3
= 0 ;
31675 PyObject
* obj4
= 0 ;
31676 char * kwnames
[] = {
31677 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
31680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31682 if (!SWIG_IsOK(res1
)) {
31683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31685 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31686 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31687 if (!SWIG_IsOK(ecode2
)) {
31688 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
31690 arg2
= static_cast< long >(val2
);
31692 arg3
= wxString_in_helper(obj2
);
31693 if (arg3
== NULL
) SWIG_fail
;
31697 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31698 if (!SWIG_IsOK(ecode4
)) {
31699 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
31701 arg4
= static_cast< int >(val4
);
31704 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31705 if (!SWIG_IsOK(ecode5
)) {
31706 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
31708 arg5
= static_cast< int >(val5
);
31711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31712 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
31713 wxPyEndAllowThreads(__tstate
);
31714 if (PyErr_Occurred()) SWIG_fail
;
31716 resultobj
= SWIG_From_long(static_cast< long >(result
));
31731 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31732 PyObject
*resultobj
= 0;
31733 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31739 PyObject
* obj0
= 0 ;
31740 PyObject
* obj1
= 0 ;
31741 char * kwnames
[] = {
31742 (char *) "self",(char *) "count", NULL
31745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31747 if (!SWIG_IsOK(res1
)) {
31748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31750 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31751 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31752 if (!SWIG_IsOK(ecode2
)) {
31753 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
31755 arg2
= static_cast< long >(val2
);
31757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31758 (arg1
)->SetItemCount(arg2
);
31759 wxPyEndAllowThreads(__tstate
);
31760 if (PyErr_Occurred()) SWIG_fail
;
31762 resultobj
= SWIG_Py_Void();
31769 SWIGINTERN PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31770 PyObject
*resultobj
= 0;
31771 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31781 PyObject
* obj0
= 0 ;
31782 PyObject
* obj1
= 0 ;
31783 PyObject
* obj2
= 0 ;
31784 char * kwnames
[] = {
31785 (char *) "self",(char *) "dx",(char *) "dy", NULL
31788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31790 if (!SWIG_IsOK(res1
)) {
31791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31793 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31794 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31795 if (!SWIG_IsOK(ecode2
)) {
31796 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
31798 arg2
= static_cast< int >(val2
);
31799 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31800 if (!SWIG_IsOK(ecode3
)) {
31801 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
31803 arg3
= static_cast< int >(val3
);
31805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31806 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
31807 wxPyEndAllowThreads(__tstate
);
31808 if (PyErr_Occurred()) SWIG_fail
;
31811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31819 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31820 PyObject
*resultobj
= 0;
31821 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31823 wxColour
*arg3
= 0 ;
31829 PyObject
* obj0
= 0 ;
31830 PyObject
* obj1
= 0 ;
31831 PyObject
* obj2
= 0 ;
31832 char * kwnames
[] = {
31833 (char *) "self",(char *) "item",(char *) "col", NULL
31836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31838 if (!SWIG_IsOK(res1
)) {
31839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31841 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31842 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31843 if (!SWIG_IsOK(ecode2
)) {
31844 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31846 arg2
= static_cast< long >(val2
);
31849 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31853 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
31854 wxPyEndAllowThreads(__tstate
);
31855 if (PyErr_Occurred()) SWIG_fail
;
31857 resultobj
= SWIG_Py_Void();
31864 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31865 PyObject
*resultobj
= 0;
31866 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31873 PyObject
* obj0
= 0 ;
31874 PyObject
* obj1
= 0 ;
31875 char * kwnames
[] = {
31876 (char *) "self",(char *) "item", NULL
31879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31881 if (!SWIG_IsOK(res1
)) {
31882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31884 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31885 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31886 if (!SWIG_IsOK(ecode2
)) {
31887 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31889 arg2
= static_cast< long >(val2
);
31891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31892 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
31893 wxPyEndAllowThreads(__tstate
);
31894 if (PyErr_Occurred()) SWIG_fail
;
31896 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31903 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31904 PyObject
*resultobj
= 0;
31905 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31907 wxColour
*arg3
= 0 ;
31913 PyObject
* obj0
= 0 ;
31914 PyObject
* obj1
= 0 ;
31915 PyObject
* obj2
= 0 ;
31916 char * kwnames
[] = {
31917 (char *) "self",(char *) "item",(char *) "col", NULL
31920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31922 if (!SWIG_IsOK(res1
)) {
31923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31925 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31926 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31927 if (!SWIG_IsOK(ecode2
)) {
31928 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31930 arg2
= static_cast< long >(val2
);
31933 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31937 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
31938 wxPyEndAllowThreads(__tstate
);
31939 if (PyErr_Occurred()) SWIG_fail
;
31941 resultobj
= SWIG_Py_Void();
31948 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31949 PyObject
*resultobj
= 0;
31950 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31957 PyObject
* obj0
= 0 ;
31958 PyObject
* obj1
= 0 ;
31959 char * kwnames
[] = {
31960 (char *) "self",(char *) "item", NULL
31963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31965 if (!SWIG_IsOK(res1
)) {
31966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31968 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31969 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31970 if (!SWIG_IsOK(ecode2
)) {
31971 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31973 arg2
= static_cast< long >(val2
);
31975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31976 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
31977 wxPyEndAllowThreads(__tstate
);
31978 if (PyErr_Occurred()) SWIG_fail
;
31980 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31987 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31988 PyObject
*resultobj
= 0;
31989 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31998 PyObject
* obj0
= 0 ;
31999 PyObject
* obj1
= 0 ;
32000 PyObject
* obj2
= 0 ;
32001 char * kwnames
[] = {
32002 (char *) "self",(char *) "item",(char *) "f", NULL
32005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32007 if (!SWIG_IsOK(res1
)) {
32008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32010 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32011 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32012 if (!SWIG_IsOK(ecode2
)) {
32013 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
32015 arg2
= static_cast< long >(val2
);
32016 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
32017 if (!SWIG_IsOK(res3
)) {
32018 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
32021 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
32023 arg3
= reinterpret_cast< wxFont
* >(argp3
);
32025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32026 (arg1
)->SetItemFont(arg2
,(wxFont
const &)*arg3
);
32027 wxPyEndAllowThreads(__tstate
);
32028 if (PyErr_Occurred()) SWIG_fail
;
32030 resultobj
= SWIG_Py_Void();
32037 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32038 PyObject
*resultobj
= 0;
32039 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32046 PyObject
* obj0
= 0 ;
32047 PyObject
* obj1
= 0 ;
32048 char * kwnames
[] = {
32049 (char *) "self",(char *) "item", NULL
32052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32054 if (!SWIG_IsOK(res1
)) {
32055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
32057 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32058 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32059 if (!SWIG_IsOK(ecode2
)) {
32060 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
32062 arg2
= static_cast< long >(val2
);
32064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32065 result
= ((wxPyListCtrl
const *)arg1
)->GetItemFont(arg2
);
32066 wxPyEndAllowThreads(__tstate
);
32067 if (PyErr_Occurred()) SWIG_fail
;
32069 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
32076 SWIGINTERN PyObject
*_wrap_ListCtrl_SortItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32077 PyObject
*resultobj
= 0;
32078 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32079 PyObject
*arg2
= (PyObject
*) 0 ;
32083 PyObject
* obj0
= 0 ;
32084 PyObject
* obj1
= 0 ;
32085 char * kwnames
[] = {
32086 (char *) "self",(char *) "func", NULL
32089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32091 if (!SWIG_IsOK(res1
)) {
32092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32094 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32098 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
32099 wxPyEndAllowThreads(__tstate
);
32100 if (PyErr_Occurred()) SWIG_fail
;
32103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32111 SWIGINTERN PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32112 PyObject
*resultobj
= 0;
32113 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32114 wxWindow
*result
= 0 ;
32117 PyObject
*swig_obj
[1] ;
32119 if (!args
) SWIG_fail
;
32120 swig_obj
[0] = args
;
32121 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32122 if (!SWIG_IsOK(res1
)) {
32123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32125 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32128 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
32129 wxPyEndAllowThreads(__tstate
);
32130 if (PyErr_Occurred()) SWIG_fail
;
32133 resultobj
= wxPyMake_wxObject(result
, 0);
32141 SWIGINTERN PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32142 PyObject
*resultobj
= 0;
32143 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
32144 SwigValueWrapper
<wxVisualAttributes
> result
;
32147 PyObject
* obj0
= 0 ;
32148 char * kwnames
[] = {
32149 (char *) "variant", NULL
32152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
32154 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32155 if (!SWIG_IsOK(ecode1
)) {
32156 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
32158 arg1
= static_cast< wxWindowVariant
>(val1
);
32161 if (!wxPyCheckForApp()) SWIG_fail
;
32162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32163 result
= wxPyListCtrl::GetClassDefaultAttributes(arg1
);
32164 wxPyEndAllowThreads(__tstate
);
32165 if (PyErr_Occurred()) SWIG_fail
;
32167 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
32174 SWIGINTERN PyObject
*ListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32176 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32177 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl
, SWIG_NewClientData(obj
));
32178 return SWIG_Py_Void();
32181 SWIGINTERN PyObject
*ListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32182 return SWIG_Python_InitShadowInstance(args
);
32185 SWIGINTERN PyObject
*_wrap_new_ListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32186 PyObject
*resultobj
= 0;
32187 wxWindow
*arg1
= (wxWindow
*) 0 ;
32188 int arg2
= (int) -1 ;
32189 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32190 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32191 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32192 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32193 long arg5
= (long) wxLC_REPORT
;
32194 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
32195 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
32196 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
32197 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32198 wxListView
*result
= 0 ;
32209 bool temp7
= false ;
32210 PyObject
* obj0
= 0 ;
32211 PyObject
* obj1
= 0 ;
32212 PyObject
* obj2
= 0 ;
32213 PyObject
* obj3
= 0 ;
32214 PyObject
* obj4
= 0 ;
32215 PyObject
* obj5
= 0 ;
32216 PyObject
* obj6
= 0 ;
32217 char * kwnames
[] = {
32218 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32223 if (!SWIG_IsOK(res1
)) {
32224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
32226 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32228 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32229 if (!SWIG_IsOK(ecode2
)) {
32230 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
32232 arg2
= static_cast< int >(val2
);
32237 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32243 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32247 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
32248 if (!SWIG_IsOK(ecode5
)) {
32249 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
32251 arg5
= static_cast< long >(val5
);
32254 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
32255 if (!SWIG_IsOK(res6
)) {
32256 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32259 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32261 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
32265 arg7
= wxString_in_helper(obj6
);
32266 if (arg7
== NULL
) SWIG_fail
;
32271 if (!wxPyCheckForApp()) SWIG_fail
;
32272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32273 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
32274 wxPyEndAllowThreads(__tstate
);
32275 if (PyErr_Occurred()) SWIG_fail
;
32277 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_NEW
| 0 );
32292 SWIGINTERN PyObject
*_wrap_new_PreListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32293 PyObject
*resultobj
= 0;
32294 wxListView
*result
= 0 ;
32296 if (!SWIG_Python_UnpackTuple(args
,"new_PreListView",0,0,0)) SWIG_fail
;
32298 if (!wxPyCheckForApp()) SWIG_fail
;
32299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32300 result
= (wxListView
*)new wxListView();
32301 wxPyEndAllowThreads(__tstate
);
32302 if (PyErr_Occurred()) SWIG_fail
;
32304 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_OWN
| 0 );
32311 SWIGINTERN PyObject
*_wrap_ListView_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32312 PyObject
*resultobj
= 0;
32313 wxListView
*arg1
= (wxListView
*) 0 ;
32314 wxWindow
*arg2
= (wxWindow
*) 0 ;
32315 int arg3
= (int) -1 ;
32316 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
32317 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
32318 wxSize
const &arg5_defvalue
= wxDefaultSize
;
32319 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
32320 long arg6
= (long) wxLC_REPORT
;
32321 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
32322 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
32323 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
32324 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
32338 bool temp8
= false ;
32339 PyObject
* obj0
= 0 ;
32340 PyObject
* obj1
= 0 ;
32341 PyObject
* obj2
= 0 ;
32342 PyObject
* obj3
= 0 ;
32343 PyObject
* obj4
= 0 ;
32344 PyObject
* obj5
= 0 ;
32345 PyObject
* obj6
= 0 ;
32346 PyObject
* obj7
= 0 ;
32347 char * kwnames
[] = {
32348 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
32352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32353 if (!SWIG_IsOK(res1
)) {
32354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
32356 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32357 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32358 if (!SWIG_IsOK(res2
)) {
32359 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
32361 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
32363 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32364 if (!SWIG_IsOK(ecode3
)) {
32365 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
32367 arg3
= static_cast< int >(val3
);
32372 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32378 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
32382 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
32383 if (!SWIG_IsOK(ecode6
)) {
32384 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
32386 arg6
= static_cast< long >(val6
);
32389 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
32390 if (!SWIG_IsOK(res7
)) {
32391 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32394 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32396 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
32400 arg8
= wxString_in_helper(obj7
);
32401 if (arg8
== NULL
) SWIG_fail
;
32406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32407 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
32408 wxPyEndAllowThreads(__tstate
);
32409 if (PyErr_Occurred()) SWIG_fail
;
32412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32428 SWIGINTERN PyObject
*_wrap_ListView_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32429 PyObject
*resultobj
= 0;
32430 wxListView
*arg1
= (wxListView
*) 0 ;
32432 bool arg3
= (bool) true ;
32439 PyObject
* obj0
= 0 ;
32440 PyObject
* obj1
= 0 ;
32441 PyObject
* obj2
= 0 ;
32442 char * kwnames
[] = {
32443 (char *) "self",(char *) "n",(char *) "on", NULL
32446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32448 if (!SWIG_IsOK(res1
)) {
32449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
32451 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32452 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32453 if (!SWIG_IsOK(ecode2
)) {
32454 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
32456 arg2
= static_cast< long >(val2
);
32458 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
32459 if (!SWIG_IsOK(ecode3
)) {
32460 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
32462 arg3
= static_cast< bool >(val3
);
32465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32466 (arg1
)->Select(arg2
,arg3
);
32467 wxPyEndAllowThreads(__tstate
);
32468 if (PyErr_Occurred()) SWIG_fail
;
32470 resultobj
= SWIG_Py_Void();
32477 SWIGINTERN PyObject
*_wrap_ListView_Focus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32478 PyObject
*resultobj
= 0;
32479 wxListView
*arg1
= (wxListView
*) 0 ;
32485 PyObject
* obj0
= 0 ;
32486 PyObject
* obj1
= 0 ;
32487 char * kwnames
[] = {
32488 (char *) "self",(char *) "index", NULL
32491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32493 if (!SWIG_IsOK(res1
)) {
32494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
32496 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32497 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32498 if (!SWIG_IsOK(ecode2
)) {
32499 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
32501 arg2
= static_cast< long >(val2
);
32503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32504 (arg1
)->Focus(arg2
);
32505 wxPyEndAllowThreads(__tstate
);
32506 if (PyErr_Occurred()) SWIG_fail
;
32508 resultobj
= SWIG_Py_Void();
32515 SWIGINTERN PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32516 PyObject
*resultobj
= 0;
32517 wxListView
*arg1
= (wxListView
*) 0 ;
32521 PyObject
*swig_obj
[1] ;
32523 if (!args
) SWIG_fail
;
32524 swig_obj
[0] = args
;
32525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32526 if (!SWIG_IsOK(res1
)) {
32527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
32529 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32532 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
32533 wxPyEndAllowThreads(__tstate
);
32534 if (PyErr_Occurred()) SWIG_fail
;
32536 resultobj
= SWIG_From_long(static_cast< long >(result
));
32543 SWIGINTERN PyObject
*_wrap_ListView_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32544 PyObject
*resultobj
= 0;
32545 wxListView
*arg1
= (wxListView
*) 0 ;
32552 PyObject
* obj0
= 0 ;
32553 PyObject
* obj1
= 0 ;
32554 char * kwnames
[] = {
32555 (char *) "self",(char *) "item", NULL
32558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32560 if (!SWIG_IsOK(res1
)) {
32561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32563 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32564 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32565 if (!SWIG_IsOK(ecode2
)) {
32566 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
32568 arg2
= static_cast< long >(val2
);
32570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32571 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
32572 wxPyEndAllowThreads(__tstate
);
32573 if (PyErr_Occurred()) SWIG_fail
;
32575 resultobj
= SWIG_From_long(static_cast< long >(result
));
32582 SWIGINTERN PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32583 PyObject
*resultobj
= 0;
32584 wxListView
*arg1
= (wxListView
*) 0 ;
32588 PyObject
*swig_obj
[1] ;
32590 if (!args
) SWIG_fail
;
32591 swig_obj
[0] = args
;
32592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32593 if (!SWIG_IsOK(res1
)) {
32594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32596 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32599 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
32600 wxPyEndAllowThreads(__tstate
);
32601 if (PyErr_Occurred()) SWIG_fail
;
32603 resultobj
= SWIG_From_long(static_cast< long >(result
));
32610 SWIGINTERN PyObject
*_wrap_ListView_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32611 PyObject
*resultobj
= 0;
32612 wxListView
*arg1
= (wxListView
*) 0 ;
32619 PyObject
* obj0
= 0 ;
32620 PyObject
* obj1
= 0 ;
32621 char * kwnames
[] = {
32622 (char *) "self",(char *) "index", NULL
32625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32627 if (!SWIG_IsOK(res1
)) {
32628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
32630 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32631 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32632 if (!SWIG_IsOK(ecode2
)) {
32633 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
32635 arg2
= static_cast< long >(val2
);
32637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32638 result
= (bool)(arg1
)->IsSelected(arg2
);
32639 wxPyEndAllowThreads(__tstate
);
32640 if (PyErr_Occurred()) SWIG_fail
;
32643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32651 SWIGINTERN PyObject
*_wrap_ListView_SetColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32652 PyObject
*resultobj
= 0;
32653 wxListView
*arg1
= (wxListView
*) 0 ;
32662 PyObject
* obj0
= 0 ;
32663 PyObject
* obj1
= 0 ;
32664 PyObject
* obj2
= 0 ;
32665 char * kwnames
[] = {
32666 (char *) "self",(char *) "col",(char *) "image", NULL
32669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32671 if (!SWIG_IsOK(res1
)) {
32672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32674 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32675 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32676 if (!SWIG_IsOK(ecode2
)) {
32677 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
32679 arg2
= static_cast< int >(val2
);
32680 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32681 if (!SWIG_IsOK(ecode3
)) {
32682 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
32684 arg3
= static_cast< int >(val3
);
32686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32687 (arg1
)->SetColumnImage(arg2
,arg3
);
32688 wxPyEndAllowThreads(__tstate
);
32689 if (PyErr_Occurred()) SWIG_fail
;
32691 resultobj
= SWIG_Py_Void();
32698 SWIGINTERN PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32699 PyObject
*resultobj
= 0;
32700 wxListView
*arg1
= (wxListView
*) 0 ;
32706 PyObject
* obj0
= 0 ;
32707 PyObject
* obj1
= 0 ;
32708 char * kwnames
[] = {
32709 (char *) "self",(char *) "col", NULL
32712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32714 if (!SWIG_IsOK(res1
)) {
32715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32717 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32718 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32719 if (!SWIG_IsOK(ecode2
)) {
32720 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
32722 arg2
= static_cast< int >(val2
);
32724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32725 (arg1
)->ClearColumnImage(arg2
);
32726 wxPyEndAllowThreads(__tstate
);
32727 if (PyErr_Occurred()) SWIG_fail
;
32729 resultobj
= SWIG_Py_Void();
32736 SWIGINTERN PyObject
*ListView_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32738 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32739 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView
, SWIG_NewClientData(obj
));
32740 return SWIG_Py_Void();
32743 SWIGINTERN PyObject
*ListView_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32744 return SWIG_Python_InitShadowInstance(args
);
32747 SWIGINTERN
int TreeCtrlNameStr_set(PyObject
*) {
32748 SWIG_Error(SWIG_AttributeError
,"Variable TreeCtrlNameStr is read-only.");
32753 SWIGINTERN PyObject
*TreeCtrlNameStr_get(void) {
32754 PyObject
*pyobj
= 0;
32758 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32760 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32767 SWIGINTERN PyObject
*_wrap_new_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32768 PyObject
*resultobj
= 0;
32769 wxTreeItemId
*result
= 0 ;
32771 if (!SWIG_Python_UnpackTuple(args
,"new_TreeItemId",0,0,0)) SWIG_fail
;
32773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32774 result
= (wxTreeItemId
*)new wxTreeItemId();
32775 wxPyEndAllowThreads(__tstate
);
32776 if (PyErr_Occurred()) SWIG_fail
;
32778 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_NEW
| 0 );
32785 SWIGINTERN PyObject
*_wrap_delete_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32786 PyObject
*resultobj
= 0;
32787 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32790 PyObject
*swig_obj
[1] ;
32792 if (!args
) SWIG_fail
;
32793 swig_obj
[0] = args
;
32794 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_DISOWN
| 0 );
32795 if (!SWIG_IsOK(res1
)) {
32796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32798 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32803 wxPyEndAllowThreads(__tstate
);
32804 if (PyErr_Occurred()) SWIG_fail
;
32806 resultobj
= SWIG_Py_Void();
32813 SWIGINTERN PyObject
*_wrap_TreeItemId_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32814 PyObject
*resultobj
= 0;
32815 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32819 PyObject
*swig_obj
[1] ;
32821 if (!args
) SWIG_fail
;
32822 swig_obj
[0] = args
;
32823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32824 if (!SWIG_IsOK(res1
)) {
32825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
32827 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32830 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
32831 wxPyEndAllowThreads(__tstate
);
32832 if (PyErr_Occurred()) SWIG_fail
;
32835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32843 SWIGINTERN PyObject
*_wrap_TreeItemId___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32844 PyObject
*resultobj
= 0;
32845 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32846 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32852 PyObject
* obj0
= 0 ;
32853 PyObject
* obj1
= 0 ;
32854 char * kwnames
[] = {
32855 (char *) "self",(char *) "other", NULL
32858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32860 if (!SWIG_IsOK(res1
)) {
32861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32863 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32864 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32865 if (!SWIG_IsOK(res2
)) {
32866 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32868 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32871 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
32872 wxPyEndAllowThreads(__tstate
);
32873 if (PyErr_Occurred()) SWIG_fail
;
32876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32884 SWIGINTERN PyObject
*_wrap_TreeItemId___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32885 PyObject
*resultobj
= 0;
32886 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32887 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32893 PyObject
* obj0
= 0 ;
32894 PyObject
* obj1
= 0 ;
32895 char * kwnames
[] = {
32896 (char *) "self",(char *) "other", NULL
32899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32901 if (!SWIG_IsOK(res1
)) {
32902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32904 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32905 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32906 if (!SWIG_IsOK(res2
)) {
32907 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32909 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32912 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
32913 wxPyEndAllowThreads(__tstate
);
32914 if (PyErr_Occurred()) SWIG_fail
;
32917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32925 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32926 PyObject
*resultobj
= 0;
32927 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32928 void *arg2
= (void *) 0 ;
32932 PyObject
*swig_obj
[2] ;
32934 if (!SWIG_Python_UnpackTuple(args
,"TreeItemId_m_pItem_set",2,2,swig_obj
)) SWIG_fail
;
32935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32936 if (!SWIG_IsOK(res1
)) {
32937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32939 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32940 res2
= SWIG_ConvertPtr(swig_obj
[1],SWIG_as_voidptrptr(&arg2
), 0, SWIG_POINTER_DISOWN
);
32941 if (!SWIG_IsOK(res2
)) {
32942 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
32944 if (arg1
) (arg1
)->m_pItem
= arg2
;
32946 resultobj
= SWIG_Py_Void();
32953 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32954 PyObject
*resultobj
= 0;
32955 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32959 PyObject
*swig_obj
[1] ;
32961 if (!args
) SWIG_fail
;
32962 swig_obj
[0] = args
;
32963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32964 if (!SWIG_IsOK(res1
)) {
32965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32967 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32968 result
= (void *) ((arg1
)->m_pItem
);
32969 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
32976 SWIGINTERN PyObject
*TreeItemId_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32978 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32979 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId
, SWIG_NewClientData(obj
));
32980 return SWIG_Py_Void();
32983 SWIGINTERN PyObject
*TreeItemId_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32984 return SWIG_Python_InitShadowInstance(args
);
32987 SWIGINTERN PyObject
*_wrap_new_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32988 PyObject
*resultobj
= 0;
32989 PyObject
*arg1
= (PyObject
*) NULL
;
32990 wxPyTreeItemData
*result
= 0 ;
32991 PyObject
* obj0
= 0 ;
32992 char * kwnames
[] = {
32993 (char *) "obj", NULL
32996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) SWIG_fail
;
33001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33002 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
33003 wxPyEndAllowThreads(__tstate
);
33004 if (PyErr_Occurred()) SWIG_fail
;
33006 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_NEW
| 0 );
33013 SWIGINTERN PyObject
*_wrap_delete_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33014 PyObject
*resultobj
= 0;
33015 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33018 PyObject
*swig_obj
[1] ;
33020 if (!args
) SWIG_fail
;
33021 swig_obj
[0] = args
;
33022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
33023 if (!SWIG_IsOK(res1
)) {
33024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33026 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33031 wxPyEndAllowThreads(__tstate
);
33032 if (PyErr_Occurred()) SWIG_fail
;
33034 resultobj
= SWIG_Py_Void();
33041 SWIGINTERN PyObject
*_wrap_TreeItemData_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33042 PyObject
*resultobj
= 0;
33043 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33044 PyObject
*result
= 0 ;
33047 PyObject
*swig_obj
[1] ;
33049 if (!args
) SWIG_fail
;
33050 swig_obj
[0] = args
;
33051 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33052 if (!SWIG_IsOK(res1
)) {
33053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33055 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33058 result
= (PyObject
*)(arg1
)->GetData();
33059 wxPyEndAllowThreads(__tstate
);
33060 if (PyErr_Occurred()) SWIG_fail
;
33062 resultobj
= result
;
33069 SWIGINTERN PyObject
*_wrap_TreeItemData_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33070 PyObject
*resultobj
= 0;
33071 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33072 PyObject
*arg2
= (PyObject
*) 0 ;
33075 PyObject
* obj0
= 0 ;
33076 PyObject
* obj1
= 0 ;
33077 char * kwnames
[] = {
33078 (char *) "self",(char *) "obj", NULL
33081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33083 if (!SWIG_IsOK(res1
)) {
33084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33086 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33090 (arg1
)->SetData(arg2
);
33091 wxPyEndAllowThreads(__tstate
);
33092 if (PyErr_Occurred()) SWIG_fail
;
33094 resultobj
= SWIG_Py_Void();
33101 SWIGINTERN PyObject
*_wrap_TreeItemData_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33102 PyObject
*resultobj
= 0;
33103 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33104 wxTreeItemId
*result
= 0 ;
33107 PyObject
*swig_obj
[1] ;
33109 if (!args
) SWIG_fail
;
33110 swig_obj
[0] = args
;
33111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33112 if (!SWIG_IsOK(res1
)) {
33113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33115 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33119 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
33120 result
= (wxTreeItemId
*) &_result_ref
;
33122 wxPyEndAllowThreads(__tstate
);
33123 if (PyErr_Occurred()) SWIG_fail
;
33125 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
33132 SWIGINTERN PyObject
*_wrap_TreeItemData_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33133 PyObject
*resultobj
= 0;
33134 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33135 wxTreeItemId
*arg2
= 0 ;
33140 PyObject
* obj0
= 0 ;
33141 PyObject
* obj1
= 0 ;
33142 char * kwnames
[] = {
33143 (char *) "self",(char *) "id", NULL
33146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33148 if (!SWIG_IsOK(res1
)) {
33149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33151 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33152 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33153 if (!SWIG_IsOK(res2
)) {
33154 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33157 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33159 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33162 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
33163 wxPyEndAllowThreads(__tstate
);
33164 if (PyErr_Occurred()) SWIG_fail
;
33166 resultobj
= SWIG_Py_Void();
33173 SWIGINTERN PyObject
*_wrap_TreeItemData_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33174 PyObject
*resultobj
= 0;
33175 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33178 PyObject
*swig_obj
[1] ;
33180 if (!args
) SWIG_fail
;
33181 swig_obj
[0] = args
;
33182 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33183 if (!SWIG_IsOK(res1
)) {
33184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33186 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33189 wxPyTreeItemData_Destroy(arg1
);
33190 wxPyEndAllowThreads(__tstate
);
33191 if (PyErr_Occurred()) SWIG_fail
;
33193 resultobj
= SWIG_Py_Void();
33200 SWIGINTERN PyObject
*TreeItemData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33202 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33203 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData
, SWIG_NewClientData(obj
));
33204 return SWIG_Py_Void();
33207 SWIGINTERN PyObject
*TreeItemData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33208 return SWIG_Python_InitShadowInstance(args
);
33211 SWIGINTERN
int NullTreeItemId_set(PyObject
*_val
) {
33214 int res
= SWIG_ConvertPtr(_val
, &argp
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33215 if (!SWIG_IsOK(res
)) {
33216 SWIG_exception_fail(SWIG_ArgError(res
), "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33219 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33221 wxTreeItemId
* temp
;
33222 temp
= reinterpret_cast< wxTreeItemId
* >(argp
);
33223 wxNullTreeItemId
= *temp
;
33224 if (SWIG_IsNewObj(res
)) delete temp
;
33233 SWIGINTERN PyObject
*NullTreeItemId_get(void) {
33234 PyObject
*pyobj
= 0;
33236 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullTreeItemId
), SWIGTYPE_p_wxTreeItemId
, 0 );
33241 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33242 PyObject
*resultobj
= 0;
33243 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
33244 int arg2
= (int) 0 ;
33245 wxTreeEvent
*result
= 0 ;
33251 if ((nobjs
< 0) || (nobjs
> 2)) SWIG_fail
;
33253 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
33254 if (!SWIG_IsOK(ecode1
)) {
33255 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33257 arg1
= static_cast< wxEventType
>(val1
);
33260 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
33261 if (!SWIG_IsOK(ecode2
)) {
33262 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
33264 arg2
= static_cast< int >(val2
);
33267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33268 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
33269 wxPyEndAllowThreads(__tstate
);
33270 if (PyErr_Occurred()) SWIG_fail
;
33272 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
33279 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33280 PyObject
*resultobj
= 0;
33282 wxPyTreeCtrl
*arg2
= (wxPyTreeCtrl
*) 0 ;
33283 wxTreeItemId
&arg3_defvalue
= wxNullTreeItemId
;
33284 wxTreeItemId
*arg3
= (wxTreeItemId
*) &arg3_defvalue
;
33285 wxTreeEvent
*result
= 0 ;
33293 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
33294 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
33295 if (!SWIG_IsOK(ecode1
)) {
33296 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33298 arg1
= static_cast< wxEventType
>(val1
);
33299 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33300 if (!SWIG_IsOK(res2
)) {
33301 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "wxPyTreeCtrl *""'");
33303 arg2
= reinterpret_cast< wxPyTreeCtrl
* >(argp2
);
33305 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 );
33306 if (!SWIG_IsOK(res3
)) {
33307 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33310 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33312 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
33315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33316 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
,*arg3
);
33317 wxPyEndAllowThreads(__tstate
);
33318 if (PyErr_Occurred()) SWIG_fail
;
33320 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
33327 SWIGINTERN PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
) {
33331 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_TreeEvent",0,3,argv
))) SWIG_fail
;
33333 if ((argc
>= 0) && (argc
<= 2)) {
33338 int res
= SWIG_AsVal_int(argv
[1], NULL
);
33339 _v
= SWIG_CheckState(res
);
33342 if (!_v
) goto check_1
;
33344 return _wrap_new_TreeEvent__SWIG_0(self
, argc
, argv
);
33348 if ((argc
>= 2) && (argc
<= 3)) {
33349 return _wrap_new_TreeEvent__SWIG_1(self
, argc
, argv
);
33353 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TreeEvent'");
33358 SWIGINTERN PyObject
*_wrap_TreeEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33359 PyObject
*resultobj
= 0;
33360 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33361 wxTreeItemId result
;
33364 PyObject
*swig_obj
[1] ;
33366 if (!args
) SWIG_fail
;
33367 swig_obj
[0] = args
;
33368 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33369 if (!SWIG_IsOK(res1
)) {
33370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33372 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33375 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
33376 wxPyEndAllowThreads(__tstate
);
33377 if (PyErr_Occurred()) SWIG_fail
;
33379 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33386 SWIGINTERN PyObject
*_wrap_TreeEvent_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33387 PyObject
*resultobj
= 0;
33388 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33389 wxTreeItemId
*arg2
= 0 ;
33394 PyObject
* obj0
= 0 ;
33395 PyObject
* obj1
= 0 ;
33396 char * kwnames
[] = {
33397 (char *) "self",(char *) "item", NULL
33400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33402 if (!SWIG_IsOK(res1
)) {
33403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33405 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33406 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33407 if (!SWIG_IsOK(res2
)) {
33408 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33411 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33413 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33416 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
33417 wxPyEndAllowThreads(__tstate
);
33418 if (PyErr_Occurred()) SWIG_fail
;
33420 resultobj
= SWIG_Py_Void();
33427 SWIGINTERN PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33428 PyObject
*resultobj
= 0;
33429 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33430 wxTreeItemId result
;
33433 PyObject
*swig_obj
[1] ;
33435 if (!args
) SWIG_fail
;
33436 swig_obj
[0] = args
;
33437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33438 if (!SWIG_IsOK(res1
)) {
33439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33441 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33444 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
33445 wxPyEndAllowThreads(__tstate
);
33446 if (PyErr_Occurred()) SWIG_fail
;
33448 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33455 SWIGINTERN PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33456 PyObject
*resultobj
= 0;
33457 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33458 wxTreeItemId
*arg2
= 0 ;
33463 PyObject
* obj0
= 0 ;
33464 PyObject
* obj1
= 0 ;
33465 char * kwnames
[] = {
33466 (char *) "self",(char *) "item", NULL
33469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33471 if (!SWIG_IsOK(res1
)) {
33472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33474 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33475 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33476 if (!SWIG_IsOK(res2
)) {
33477 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33480 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33482 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33485 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
33486 wxPyEndAllowThreads(__tstate
);
33487 if (PyErr_Occurred()) SWIG_fail
;
33489 resultobj
= SWIG_Py_Void();
33496 SWIGINTERN PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33497 PyObject
*resultobj
= 0;
33498 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33502 PyObject
*swig_obj
[1] ;
33504 if (!args
) SWIG_fail
;
33505 swig_obj
[0] = args
;
33506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33507 if (!SWIG_IsOK(res1
)) {
33508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33510 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33513 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
33514 wxPyEndAllowThreads(__tstate
);
33515 if (PyErr_Occurred()) SWIG_fail
;
33517 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
33524 SWIGINTERN PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33525 PyObject
*resultobj
= 0;
33526 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33527 wxPoint
*arg2
= 0 ;
33531 PyObject
* obj0
= 0 ;
33532 PyObject
* obj1
= 0 ;
33533 char * kwnames
[] = {
33534 (char *) "self",(char *) "pt", NULL
33537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",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_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33542 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33545 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33549 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
33550 wxPyEndAllowThreads(__tstate
);
33551 if (PyErr_Occurred()) SWIG_fail
;
33553 resultobj
= SWIG_Py_Void();
33560 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33561 PyObject
*resultobj
= 0;
33562 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33563 wxKeyEvent
*result
= 0 ;
33566 PyObject
*swig_obj
[1] ;
33568 if (!args
) SWIG_fail
;
33569 swig_obj
[0] = args
;
33570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33571 if (!SWIG_IsOK(res1
)) {
33572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33574 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33578 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
33579 result
= (wxKeyEvent
*) &_result_ref
;
33581 wxPyEndAllowThreads(__tstate
);
33582 if (PyErr_Occurred()) SWIG_fail
;
33584 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
33591 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33592 PyObject
*resultobj
= 0;
33593 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33597 PyObject
*swig_obj
[1] ;
33599 if (!args
) SWIG_fail
;
33600 swig_obj
[0] = args
;
33601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33602 if (!SWIG_IsOK(res1
)) {
33603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33605 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33608 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
33609 wxPyEndAllowThreads(__tstate
);
33610 if (PyErr_Occurred()) SWIG_fail
;
33612 resultobj
= SWIG_From_int(static_cast< int >(result
));
33619 SWIGINTERN PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33620 PyObject
*resultobj
= 0;
33621 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33622 wxKeyEvent
*arg2
= 0 ;
33627 PyObject
* obj0
= 0 ;
33628 PyObject
* obj1
= 0 ;
33629 char * kwnames
[] = {
33630 (char *) "self",(char *) "evt", NULL
33633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33635 if (!SWIG_IsOK(res1
)) {
33636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33638 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33639 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
33640 if (!SWIG_IsOK(res2
)) {
33641 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33644 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33646 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
33648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33649 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
33650 wxPyEndAllowThreads(__tstate
);
33651 if (PyErr_Occurred()) SWIG_fail
;
33653 resultobj
= SWIG_Py_Void();
33660 SWIGINTERN PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33661 PyObject
*resultobj
= 0;
33662 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33663 wxString
*result
= 0 ;
33666 PyObject
*swig_obj
[1] ;
33668 if (!args
) SWIG_fail
;
33669 swig_obj
[0] = args
;
33670 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33671 if (!SWIG_IsOK(res1
)) {
33672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33674 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33678 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
33679 result
= (wxString
*) &_result_ref
;
33681 wxPyEndAllowThreads(__tstate
);
33682 if (PyErr_Occurred()) SWIG_fail
;
33686 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33688 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33697 SWIGINTERN PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33698 PyObject
*resultobj
= 0;
33699 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33700 wxString
*arg2
= 0 ;
33703 bool temp2
= false ;
33704 PyObject
* obj0
= 0 ;
33705 PyObject
* obj1
= 0 ;
33706 char * kwnames
[] = {
33707 (char *) "self",(char *) "label", NULL
33710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33712 if (!SWIG_IsOK(res1
)) {
33713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33715 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33717 arg2
= wxString_in_helper(obj1
);
33718 if (arg2
== NULL
) SWIG_fail
;
33722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33723 (arg1
)->SetLabel((wxString
const &)*arg2
);
33724 wxPyEndAllowThreads(__tstate
);
33725 if (PyErr_Occurred()) SWIG_fail
;
33727 resultobj
= SWIG_Py_Void();
33742 SWIGINTERN PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33743 PyObject
*resultobj
= 0;
33744 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33748 PyObject
*swig_obj
[1] ;
33750 if (!args
) SWIG_fail
;
33751 swig_obj
[0] = args
;
33752 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33753 if (!SWIG_IsOK(res1
)) {
33754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33756 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33759 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
33760 wxPyEndAllowThreads(__tstate
);
33761 if (PyErr_Occurred()) SWIG_fail
;
33764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33772 SWIGINTERN PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33773 PyObject
*resultobj
= 0;
33774 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33780 PyObject
* obj0
= 0 ;
33781 PyObject
* obj1
= 0 ;
33782 char * kwnames
[] = {
33783 (char *) "self",(char *) "editCancelled", NULL
33786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33788 if (!SWIG_IsOK(res1
)) {
33789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33791 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33792 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33793 if (!SWIG_IsOK(ecode2
)) {
33794 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
33796 arg2
= static_cast< bool >(val2
);
33798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33799 (arg1
)->SetEditCanceled(arg2
);
33800 wxPyEndAllowThreads(__tstate
);
33801 if (PyErr_Occurred()) SWIG_fail
;
33803 resultobj
= SWIG_Py_Void();
33810 SWIGINTERN PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33811 PyObject
*resultobj
= 0;
33812 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33813 wxString
*arg2
= 0 ;
33816 bool temp2
= false ;
33817 PyObject
* obj0
= 0 ;
33818 PyObject
* obj1
= 0 ;
33819 char * kwnames
[] = {
33820 (char *) "self",(char *) "toolTip", NULL
33823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33825 if (!SWIG_IsOK(res1
)) {
33826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33828 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33830 arg2
= wxString_in_helper(obj1
);
33831 if (arg2
== NULL
) SWIG_fail
;
33835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33836 (arg1
)->SetToolTip((wxString
const &)*arg2
);
33837 wxPyEndAllowThreads(__tstate
);
33838 if (PyErr_Occurred()) SWIG_fail
;
33840 resultobj
= SWIG_Py_Void();
33855 SWIGINTERN PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33856 PyObject
*resultobj
= 0;
33857 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33861 PyObject
*swig_obj
[1] ;
33863 if (!args
) SWIG_fail
;
33864 swig_obj
[0] = args
;
33865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33866 if (!SWIG_IsOK(res1
)) {
33867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33869 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33872 result
= (arg1
)->GetToolTip();
33873 wxPyEndAllowThreads(__tstate
);
33874 if (PyErr_Occurred()) SWIG_fail
;
33878 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33880 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33889 SWIGINTERN PyObject
*TreeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33891 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33892 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent
, SWIG_NewClientData(obj
));
33893 return SWIG_Py_Void();
33896 SWIGINTERN PyObject
*TreeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33897 return SWIG_Python_InitShadowInstance(args
);
33900 SWIGINTERN PyObject
*_wrap_new_TreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33901 PyObject
*resultobj
= 0;
33902 wxWindow
*arg1
= (wxWindow
*) 0 ;
33903 int arg2
= (int) -1 ;
33904 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33905 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33906 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33907 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33908 long arg5
= (long) wxTR_DEFAULT_STYLE
;
33909 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33910 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33911 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
33912 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33913 wxPyTreeCtrl
*result
= 0 ;
33924 bool temp7
= false ;
33925 PyObject
* obj0
= 0 ;
33926 PyObject
* obj1
= 0 ;
33927 PyObject
* obj2
= 0 ;
33928 PyObject
* obj3
= 0 ;
33929 PyObject
* obj4
= 0 ;
33930 PyObject
* obj5
= 0 ;
33931 PyObject
* obj6
= 0 ;
33932 char * kwnames
[] = {
33933 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33938 if (!SWIG_IsOK(res1
)) {
33939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
33941 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33943 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33944 if (!SWIG_IsOK(ecode2
)) {
33945 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
33947 arg2
= static_cast< int >(val2
);
33952 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33958 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33962 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
33963 if (!SWIG_IsOK(ecode5
)) {
33964 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
33966 arg5
= static_cast< long >(val5
);
33969 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
33970 if (!SWIG_IsOK(res6
)) {
33971 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33974 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33976 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
33980 arg7
= wxString_in_helper(obj6
);
33981 if (arg7
== NULL
) SWIG_fail
;
33986 if (!wxPyCheckForApp()) SWIG_fail
;
33987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33988 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33989 wxPyEndAllowThreads(__tstate
);
33990 if (PyErr_Occurred()) SWIG_fail
;
33992 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_NEW
| 0 );
34007 SWIGINTERN PyObject
*_wrap_new_PreTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34008 PyObject
*resultobj
= 0;
34009 wxPyTreeCtrl
*result
= 0 ;
34011 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreeCtrl",0,0,0)) SWIG_fail
;
34013 if (!wxPyCheckForApp()) SWIG_fail
;
34014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34015 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
34016 wxPyEndAllowThreads(__tstate
);
34017 if (PyErr_Occurred()) SWIG_fail
;
34019 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_OWN
| 0 );
34026 SWIGINTERN PyObject
*_wrap_TreeCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34027 PyObject
*resultobj
= 0;
34028 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34029 wxWindow
*arg2
= (wxWindow
*) 0 ;
34030 int arg3
= (int) -1 ;
34031 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
34032 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
34033 wxSize
const &arg5_defvalue
= wxDefaultSize
;
34034 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
34035 long arg6
= (long) wxTR_DEFAULT_STYLE
;
34036 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
34037 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
34038 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
34039 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
34053 bool temp8
= false ;
34054 PyObject
* obj0
= 0 ;
34055 PyObject
* obj1
= 0 ;
34056 PyObject
* obj2
= 0 ;
34057 PyObject
* obj3
= 0 ;
34058 PyObject
* obj4
= 0 ;
34059 PyObject
* obj5
= 0 ;
34060 PyObject
* obj6
= 0 ;
34061 PyObject
* obj7
= 0 ;
34062 char * kwnames
[] = {
34063 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
34067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34068 if (!SWIG_IsOK(res1
)) {
34069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34071 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34072 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34073 if (!SWIG_IsOK(res2
)) {
34074 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
34076 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34078 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34079 if (!SWIG_IsOK(ecode3
)) {
34080 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
34082 arg3
= static_cast< int >(val3
);
34087 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
34093 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
34097 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
34098 if (!SWIG_IsOK(ecode6
)) {
34099 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
34101 arg6
= static_cast< long >(val6
);
34104 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
34105 if (!SWIG_IsOK(res7
)) {
34106 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
34109 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
34111 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
34115 arg8
= wxString_in_helper(obj7
);
34116 if (arg8
== NULL
) SWIG_fail
;
34121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34122 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
34123 wxPyEndAllowThreads(__tstate
);
34124 if (PyErr_Occurred()) SWIG_fail
;
34127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34143 SWIGINTERN PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34144 PyObject
*resultobj
= 0;
34145 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34146 PyObject
*arg2
= (PyObject
*) 0 ;
34147 PyObject
*arg3
= (PyObject
*) 0 ;
34150 PyObject
* obj0
= 0 ;
34151 PyObject
* obj1
= 0 ;
34152 PyObject
* obj2
= 0 ;
34153 char * kwnames
[] = {
34154 (char *) "self",(char *) "self",(char *) "_class", NULL
34157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34159 if (!SWIG_IsOK(res1
)) {
34160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34162 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34167 (arg1
)->_setCallbackInfo(arg2
,arg3
);
34168 wxPyEndAllowThreads(__tstate
);
34169 if (PyErr_Occurred()) SWIG_fail
;
34171 resultobj
= SWIG_Py_Void();
34178 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34179 PyObject
*resultobj
= 0;
34180 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34181 unsigned int result
;
34184 PyObject
*swig_obj
[1] ;
34186 if (!args
) SWIG_fail
;
34187 swig_obj
[0] = args
;
34188 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34189 if (!SWIG_IsOK(res1
)) {
34190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34192 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34195 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetCount();
34196 wxPyEndAllowThreads(__tstate
);
34197 if (PyErr_Occurred()) SWIG_fail
;
34199 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34206 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34207 PyObject
*resultobj
= 0;
34208 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34209 unsigned int result
;
34212 PyObject
*swig_obj
[1] ;
34214 if (!args
) SWIG_fail
;
34215 swig_obj
[0] = args
;
34216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34217 if (!SWIG_IsOK(res1
)) {
34218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34220 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34223 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
34224 wxPyEndAllowThreads(__tstate
);
34225 if (PyErr_Occurred()) SWIG_fail
;
34227 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34234 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34235 PyObject
*resultobj
= 0;
34236 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34237 unsigned int arg2
;
34240 unsigned int val2
;
34242 PyObject
* obj0
= 0 ;
34243 PyObject
* obj1
= 0 ;
34244 char * kwnames
[] = {
34245 (char *) "self",(char *) "indent", NULL
34248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34250 if (!SWIG_IsOK(res1
)) {
34251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34253 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34254 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
34255 if (!SWIG_IsOK(ecode2
)) {
34256 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
34258 arg2
= static_cast< unsigned int >(val2
);
34260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34261 (arg1
)->SetIndent(arg2
);
34262 wxPyEndAllowThreads(__tstate
);
34263 if (PyErr_Occurred()) SWIG_fail
;
34265 resultobj
= SWIG_Py_Void();
34272 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34273 PyObject
*resultobj
= 0;
34274 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34275 unsigned int result
;
34278 PyObject
*swig_obj
[1] ;
34280 if (!args
) SWIG_fail
;
34281 swig_obj
[0] = args
;
34282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34283 if (!SWIG_IsOK(res1
)) {
34284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34286 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34289 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
34290 wxPyEndAllowThreads(__tstate
);
34291 if (PyErr_Occurred()) SWIG_fail
;
34293 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34300 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34301 PyObject
*resultobj
= 0;
34302 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34303 unsigned int arg2
;
34306 unsigned int val2
;
34308 PyObject
* obj0
= 0 ;
34309 PyObject
* obj1
= 0 ;
34310 char * kwnames
[] = {
34311 (char *) "self",(char *) "spacing", NULL
34314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34316 if (!SWIG_IsOK(res1
)) {
34317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34319 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34320 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
34321 if (!SWIG_IsOK(ecode2
)) {
34322 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
34324 arg2
= static_cast< unsigned int >(val2
);
34326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34327 (arg1
)->SetSpacing(arg2
);
34328 wxPyEndAllowThreads(__tstate
);
34329 if (PyErr_Occurred()) SWIG_fail
;
34331 resultobj
= SWIG_Py_Void();
34338 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34339 PyObject
*resultobj
= 0;
34340 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34341 wxImageList
*result
= 0 ;
34344 PyObject
*swig_obj
[1] ;
34346 if (!args
) SWIG_fail
;
34347 swig_obj
[0] = args
;
34348 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34349 if (!SWIG_IsOK(res1
)) {
34350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34352 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34355 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
34356 wxPyEndAllowThreads(__tstate
);
34357 if (PyErr_Occurred()) SWIG_fail
;
34360 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34368 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34369 PyObject
*resultobj
= 0;
34370 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34371 wxImageList
*result
= 0 ;
34374 PyObject
*swig_obj
[1] ;
34376 if (!args
) SWIG_fail
;
34377 swig_obj
[0] = args
;
34378 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34379 if (!SWIG_IsOK(res1
)) {
34380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34382 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34385 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
34386 wxPyEndAllowThreads(__tstate
);
34387 if (PyErr_Occurred()) SWIG_fail
;
34390 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34398 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34399 PyObject
*resultobj
= 0;
34400 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34401 wxImageList
*arg2
= (wxImageList
*) 0 ;
34406 PyObject
* obj0
= 0 ;
34407 PyObject
* obj1
= 0 ;
34408 char * kwnames
[] = {
34409 (char *) "self",(char *) "imageList", NULL
34412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34414 if (!SWIG_IsOK(res1
)) {
34415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34417 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34418 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34419 if (!SWIG_IsOK(res2
)) {
34420 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34422 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34425 (arg1
)->SetImageList(arg2
);
34426 wxPyEndAllowThreads(__tstate
);
34427 if (PyErr_Occurred()) SWIG_fail
;
34429 resultobj
= SWIG_Py_Void();
34436 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34437 PyObject
*resultobj
= 0;
34438 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34439 wxImageList
*arg2
= (wxImageList
*) 0 ;
34444 PyObject
* obj0
= 0 ;
34445 PyObject
* obj1
= 0 ;
34446 char * kwnames
[] = {
34447 (char *) "self",(char *) "imageList", NULL
34450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34452 if (!SWIG_IsOK(res1
)) {
34453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34455 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34456 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34457 if (!SWIG_IsOK(res2
)) {
34458 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34460 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34463 (arg1
)->SetStateImageList(arg2
);
34464 wxPyEndAllowThreads(__tstate
);
34465 if (PyErr_Occurred()) SWIG_fail
;
34467 resultobj
= SWIG_Py_Void();
34474 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34475 PyObject
*resultobj
= 0;
34476 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34477 wxImageList
*arg2
= (wxImageList
*) 0 ;
34481 PyObject
* obj0
= 0 ;
34482 PyObject
* obj1
= 0 ;
34483 char * kwnames
[] = {
34484 (char *) "self",(char *) "imageList", NULL
34487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34489 if (!SWIG_IsOK(res1
)) {
34490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34492 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34493 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34494 if (!SWIG_IsOK(res2
)) {
34495 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34499 (arg1
)->AssignImageList(arg2
);
34500 wxPyEndAllowThreads(__tstate
);
34501 if (PyErr_Occurred()) SWIG_fail
;
34503 resultobj
= SWIG_Py_Void();
34510 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34511 PyObject
*resultobj
= 0;
34512 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34513 wxImageList
*arg2
= (wxImageList
*) 0 ;
34517 PyObject
* obj0
= 0 ;
34518 PyObject
* obj1
= 0 ;
34519 char * kwnames
[] = {
34520 (char *) "self",(char *) "imageList", NULL
34523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34525 if (!SWIG_IsOK(res1
)) {
34526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34528 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34529 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34530 if (!SWIG_IsOK(res2
)) {
34531 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34535 (arg1
)->AssignStateImageList(arg2
);
34536 wxPyEndAllowThreads(__tstate
);
34537 if (PyErr_Occurred()) SWIG_fail
;
34539 resultobj
= SWIG_Py_Void();
34546 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34547 PyObject
*resultobj
= 0;
34548 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34549 wxTreeItemId
*arg2
= 0 ;
34555 PyObject
* obj0
= 0 ;
34556 PyObject
* obj1
= 0 ;
34557 char * kwnames
[] = {
34558 (char *) "self",(char *) "item", NULL
34561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34563 if (!SWIG_IsOK(res1
)) {
34564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34566 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34567 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34568 if (!SWIG_IsOK(res2
)) {
34569 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34572 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34574 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34577 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
34578 wxPyEndAllowThreads(__tstate
);
34579 if (PyErr_Occurred()) SWIG_fail
;
34583 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34585 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34594 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34595 PyObject
*resultobj
= 0;
34596 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34597 wxTreeItemId
*arg2
= 0 ;
34598 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34606 PyObject
* obj0
= 0 ;
34607 PyObject
* obj1
= 0 ;
34608 PyObject
* obj2
= 0 ;
34609 char * kwnames
[] = {
34610 (char *) "self",(char *) "item",(char *) "which", NULL
34613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34615 if (!SWIG_IsOK(res1
)) {
34616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34618 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34619 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34620 if (!SWIG_IsOK(res2
)) {
34621 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34624 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34626 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34628 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34629 if (!SWIG_IsOK(ecode3
)) {
34630 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
34632 arg3
= static_cast< wxTreeItemIcon
>(val3
);
34635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34636 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,arg3
);
34637 wxPyEndAllowThreads(__tstate
);
34638 if (PyErr_Occurred()) SWIG_fail
;
34640 resultobj
= SWIG_From_int(static_cast< int >(result
));
34647 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34648 PyObject
*resultobj
= 0;
34649 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34650 wxTreeItemId
*arg2
= 0 ;
34651 wxPyTreeItemData
*result
= 0 ;
34656 PyObject
* obj0
= 0 ;
34657 PyObject
* obj1
= 0 ;
34658 char * kwnames
[] = {
34659 (char *) "self",(char *) "item", NULL
34662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34664 if (!SWIG_IsOK(res1
)) {
34665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34667 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34668 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34669 if (!SWIG_IsOK(res2
)) {
34670 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34673 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34675 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34678 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
34679 wxPyEndAllowThreads(__tstate
);
34680 if (PyErr_Occurred()) SWIG_fail
;
34682 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
34689 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34690 PyObject
*resultobj
= 0;
34691 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34692 wxTreeItemId
*arg2
= 0 ;
34693 PyObject
*result
= 0 ;
34698 PyObject
* obj0
= 0 ;
34699 PyObject
* obj1
= 0 ;
34700 char * kwnames
[] = {
34701 (char *) "self",(char *) "item", NULL
34704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34706 if (!SWIG_IsOK(res1
)) {
34707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34709 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34710 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34711 if (!SWIG_IsOK(res2
)) {
34712 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34715 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34717 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34720 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
34721 wxPyEndAllowThreads(__tstate
);
34722 if (PyErr_Occurred()) SWIG_fail
;
34724 resultobj
= result
;
34731 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34732 PyObject
*resultobj
= 0;
34733 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34734 wxTreeItemId
*arg2
= 0 ;
34740 PyObject
* obj0
= 0 ;
34741 PyObject
* obj1
= 0 ;
34742 char * kwnames
[] = {
34743 (char *) "self",(char *) "item", NULL
34746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34748 if (!SWIG_IsOK(res1
)) {
34749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34751 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34752 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34753 if (!SWIG_IsOK(res2
)) {
34754 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34757 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34759 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34762 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
34763 wxPyEndAllowThreads(__tstate
);
34764 if (PyErr_Occurred()) SWIG_fail
;
34766 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34773 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34774 PyObject
*resultobj
= 0;
34775 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34776 wxTreeItemId
*arg2
= 0 ;
34782 PyObject
* obj0
= 0 ;
34783 PyObject
* obj1
= 0 ;
34784 char * kwnames
[] = {
34785 (char *) "self",(char *) "item", NULL
34788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34790 if (!SWIG_IsOK(res1
)) {
34791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34793 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34794 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34795 if (!SWIG_IsOK(res2
)) {
34796 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34799 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34801 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34804 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
34805 wxPyEndAllowThreads(__tstate
);
34806 if (PyErr_Occurred()) SWIG_fail
;
34808 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34815 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34816 PyObject
*resultobj
= 0;
34817 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34818 wxTreeItemId
*arg2
= 0 ;
34824 PyObject
* obj0
= 0 ;
34825 PyObject
* obj1
= 0 ;
34826 char * kwnames
[] = {
34827 (char *) "self",(char *) "item", NULL
34830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34832 if (!SWIG_IsOK(res1
)) {
34833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34835 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34836 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34837 if (!SWIG_IsOK(res2
)) {
34838 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34841 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34843 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34846 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
34847 wxPyEndAllowThreads(__tstate
);
34848 if (PyErr_Occurred()) SWIG_fail
;
34850 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
34857 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34858 PyObject
*resultobj
= 0;
34859 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34860 wxTreeItemId
*arg2
= 0 ;
34861 wxString
*arg3
= 0 ;
34866 bool temp3
= false ;
34867 PyObject
* obj0
= 0 ;
34868 PyObject
* obj1
= 0 ;
34869 PyObject
* obj2
= 0 ;
34870 char * kwnames
[] = {
34871 (char *) "self",(char *) "item",(char *) "text", NULL
34874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34876 if (!SWIG_IsOK(res1
)) {
34877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34879 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34880 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34881 if (!SWIG_IsOK(res2
)) {
34882 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34885 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34887 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34889 arg3
= wxString_in_helper(obj2
);
34890 if (arg3
== NULL
) SWIG_fail
;
34894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34895 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
34896 wxPyEndAllowThreads(__tstate
);
34897 if (PyErr_Occurred()) SWIG_fail
;
34899 resultobj
= SWIG_Py_Void();
34914 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34915 PyObject
*resultobj
= 0;
34916 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34917 wxTreeItemId
*arg2
= 0 ;
34919 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34928 PyObject
* obj0
= 0 ;
34929 PyObject
* obj1
= 0 ;
34930 PyObject
* obj2
= 0 ;
34931 PyObject
* obj3
= 0 ;
34932 char * kwnames
[] = {
34933 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
34936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34938 if (!SWIG_IsOK(res1
)) {
34939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34941 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34942 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34943 if (!SWIG_IsOK(res2
)) {
34944 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34947 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34949 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34950 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34951 if (!SWIG_IsOK(ecode3
)) {
34952 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
34954 arg3
= static_cast< int >(val3
);
34956 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34957 if (!SWIG_IsOK(ecode4
)) {
34958 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
34960 arg4
= static_cast< wxTreeItemIcon
>(val4
);
34963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34964 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,arg4
);
34965 wxPyEndAllowThreads(__tstate
);
34966 if (PyErr_Occurred()) SWIG_fail
;
34968 resultobj
= SWIG_Py_Void();
34975 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34976 PyObject
*resultobj
= 0;
34977 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34978 wxTreeItemId
*arg2
= 0 ;
34979 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
34985 PyObject
* obj0
= 0 ;
34986 PyObject
* obj1
= 0 ;
34987 PyObject
* obj2
= 0 ;
34988 char * kwnames
[] = {
34989 (char *) "self",(char *) "item",(char *) "data", NULL
34992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34994 if (!SWIG_IsOK(res1
)) {
34995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34997 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34998 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34999 if (!SWIG_IsOK(res2
)) {
35000 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35003 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35005 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35006 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35007 if (!SWIG_IsOK(res3
)) {
35008 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
35011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35012 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35013 wxPyEndAllowThreads(__tstate
);
35014 if (PyErr_Occurred()) SWIG_fail
;
35016 resultobj
= SWIG_Py_Void();
35023 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35024 PyObject
*resultobj
= 0;
35025 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35026 wxTreeItemId
*arg2
= 0 ;
35027 PyObject
*arg3
= (PyObject
*) 0 ;
35032 PyObject
* obj0
= 0 ;
35033 PyObject
* obj1
= 0 ;
35034 PyObject
* obj2
= 0 ;
35035 char * kwnames
[] = {
35036 (char *) "self",(char *) "item",(char *) "obj", NULL
35039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",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_SetItemPyData" "', 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_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35050 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35052 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35056 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35057 wxPyEndAllowThreads(__tstate
);
35058 if (PyErr_Occurred()) SWIG_fail
;
35060 resultobj
= SWIG_Py_Void();
35067 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35068 PyObject
*resultobj
= 0;
35069 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35070 wxTreeItemId
*arg2
= 0 ;
35071 bool arg3
= (bool) true ;
35078 PyObject
* obj0
= 0 ;
35079 PyObject
* obj1
= 0 ;
35080 PyObject
* obj2
= 0 ;
35081 char * kwnames
[] = {
35082 (char *) "self",(char *) "item",(char *) "has", NULL
35085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35087 if (!SWIG_IsOK(res1
)) {
35088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35090 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35091 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35092 if (!SWIG_IsOK(res2
)) {
35093 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35096 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35098 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35100 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35101 if (!SWIG_IsOK(ecode3
)) {
35102 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
35104 arg3
= static_cast< bool >(val3
);
35107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35108 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
35109 wxPyEndAllowThreads(__tstate
);
35110 if (PyErr_Occurred()) SWIG_fail
;
35112 resultobj
= SWIG_Py_Void();
35119 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35120 PyObject
*resultobj
= 0;
35121 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35122 wxTreeItemId
*arg2
= 0 ;
35123 bool arg3
= (bool) true ;
35130 PyObject
* obj0
= 0 ;
35131 PyObject
* obj1
= 0 ;
35132 PyObject
* obj2
= 0 ;
35133 char * kwnames
[] = {
35134 (char *) "self",(char *) "item",(char *) "bold", NULL
35137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35139 if (!SWIG_IsOK(res1
)) {
35140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35142 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35143 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35144 if (!SWIG_IsOK(res2
)) {
35145 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35148 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35150 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35152 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35153 if (!SWIG_IsOK(ecode3
)) {
35154 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
35156 arg3
= static_cast< bool >(val3
);
35159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35160 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
35161 wxPyEndAllowThreads(__tstate
);
35162 if (PyErr_Occurred()) SWIG_fail
;
35164 resultobj
= SWIG_Py_Void();
35171 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35172 PyObject
*resultobj
= 0;
35173 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35174 wxTreeItemId
*arg2
= 0 ;
35175 bool arg3
= (bool) true ;
35182 PyObject
* obj0
= 0 ;
35183 PyObject
* obj1
= 0 ;
35184 PyObject
* obj2
= 0 ;
35185 char * kwnames
[] = {
35186 (char *) "self",(char *) "item",(char *) "highlight", NULL
35189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35191 if (!SWIG_IsOK(res1
)) {
35192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35194 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35195 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35196 if (!SWIG_IsOK(res2
)) {
35197 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35200 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35202 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35204 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35205 if (!SWIG_IsOK(ecode3
)) {
35206 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
35208 arg3
= static_cast< bool >(val3
);
35211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35212 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
35213 wxPyEndAllowThreads(__tstate
);
35214 if (PyErr_Occurred()) SWIG_fail
;
35216 resultobj
= SWIG_Py_Void();
35223 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35224 PyObject
*resultobj
= 0;
35225 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35226 wxTreeItemId
*arg2
= 0 ;
35227 wxColour
*arg3
= 0 ;
35233 PyObject
* obj0
= 0 ;
35234 PyObject
* obj1
= 0 ;
35235 PyObject
* obj2
= 0 ;
35236 char * kwnames
[] = {
35237 (char *) "self",(char *) "item",(char *) "col", NULL
35240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35242 if (!SWIG_IsOK(res1
)) {
35243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35245 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35246 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35247 if (!SWIG_IsOK(res2
)) {
35248 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35251 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35253 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35256 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35260 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
35261 wxPyEndAllowThreads(__tstate
);
35262 if (PyErr_Occurred()) SWIG_fail
;
35264 resultobj
= SWIG_Py_Void();
35271 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35272 PyObject
*resultobj
= 0;
35273 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35274 wxTreeItemId
*arg2
= 0 ;
35275 wxColour
*arg3
= 0 ;
35281 PyObject
* obj0
= 0 ;
35282 PyObject
* obj1
= 0 ;
35283 PyObject
* obj2
= 0 ;
35284 char * kwnames
[] = {
35285 (char *) "self",(char *) "item",(char *) "col", NULL
35288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35290 if (!SWIG_IsOK(res1
)) {
35291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35293 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35294 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35295 if (!SWIG_IsOK(res2
)) {
35296 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35299 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35301 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35304 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35308 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
35309 wxPyEndAllowThreads(__tstate
);
35310 if (PyErr_Occurred()) SWIG_fail
;
35312 resultobj
= SWIG_Py_Void();
35319 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35320 PyObject
*resultobj
= 0;
35321 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35322 wxTreeItemId
*arg2
= 0 ;
35330 PyObject
* obj0
= 0 ;
35331 PyObject
* obj1
= 0 ;
35332 PyObject
* obj2
= 0 ;
35333 char * kwnames
[] = {
35334 (char *) "self",(char *) "item",(char *) "font", NULL
35337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35339 if (!SWIG_IsOK(res1
)) {
35340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35342 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35343 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35344 if (!SWIG_IsOK(res2
)) {
35345 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35348 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35350 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35351 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
35352 if (!SWIG_IsOK(res3
)) {
35353 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35356 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35358 arg3
= reinterpret_cast< wxFont
* >(argp3
);
35360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35361 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
35362 wxPyEndAllowThreads(__tstate
);
35363 if (PyErr_Occurred()) SWIG_fail
;
35365 resultobj
= SWIG_Py_Void();
35372 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35373 PyObject
*resultobj
= 0;
35374 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35375 wxTreeItemId
*arg2
= 0 ;
35381 PyObject
* obj0
= 0 ;
35382 PyObject
* obj1
= 0 ;
35383 char * kwnames
[] = {
35384 (char *) "self",(char *) "item", NULL
35387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35389 if (!SWIG_IsOK(res1
)) {
35390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35392 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35393 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35394 if (!SWIG_IsOK(res2
)) {
35395 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35398 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35400 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35403 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
35404 wxPyEndAllowThreads(__tstate
);
35405 if (PyErr_Occurred()) SWIG_fail
;
35408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35416 SWIGINTERN PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35417 PyObject
*resultobj
= 0;
35418 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35419 wxTreeItemId
*arg2
= 0 ;
35425 PyObject
* obj0
= 0 ;
35426 PyObject
* obj1
= 0 ;
35427 char * kwnames
[] = {
35428 (char *) "self",(char *) "item", NULL
35431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35433 if (!SWIG_IsOK(res1
)) {
35434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35436 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35437 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35438 if (!SWIG_IsOK(res2
)) {
35439 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35442 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35444 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35447 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
35448 wxPyEndAllowThreads(__tstate
);
35449 if (PyErr_Occurred()) SWIG_fail
;
35452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35460 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35461 PyObject
*resultobj
= 0;
35462 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35463 wxTreeItemId
*arg2
= 0 ;
35469 PyObject
* obj0
= 0 ;
35470 PyObject
* obj1
= 0 ;
35471 char * kwnames
[] = {
35472 (char *) "self",(char *) "item", NULL
35475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35477 if (!SWIG_IsOK(res1
)) {
35478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35480 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35481 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35482 if (!SWIG_IsOK(res2
)) {
35483 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35486 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35488 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35491 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
35492 wxPyEndAllowThreads(__tstate
);
35493 if (PyErr_Occurred()) SWIG_fail
;
35496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35504 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35505 PyObject
*resultobj
= 0;
35506 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35507 wxTreeItemId
*arg2
= 0 ;
35513 PyObject
* obj0
= 0 ;
35514 PyObject
* obj1
= 0 ;
35515 char * kwnames
[] = {
35516 (char *) "self",(char *) "item", NULL
35519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35521 if (!SWIG_IsOK(res1
)) {
35522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35524 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35525 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35526 if (!SWIG_IsOK(res2
)) {
35527 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35530 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35532 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35535 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
35536 wxPyEndAllowThreads(__tstate
);
35537 if (PyErr_Occurred()) SWIG_fail
;
35540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35548 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35549 PyObject
*resultobj
= 0;
35550 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35551 wxTreeItemId
*arg2
= 0 ;
35557 PyObject
* obj0
= 0 ;
35558 PyObject
* obj1
= 0 ;
35559 char * kwnames
[] = {
35560 (char *) "self",(char *) "item", NULL
35563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35565 if (!SWIG_IsOK(res1
)) {
35566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35568 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35569 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35570 if (!SWIG_IsOK(res2
)) {
35571 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35574 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35576 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35579 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
35580 wxPyEndAllowThreads(__tstate
);
35581 if (PyErr_Occurred()) SWIG_fail
;
35584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35592 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35593 PyObject
*resultobj
= 0;
35594 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35595 wxTreeItemId
*arg2
= 0 ;
35596 bool arg3
= (bool) true ;
35604 PyObject
* obj0
= 0 ;
35605 PyObject
* obj1
= 0 ;
35606 PyObject
* obj2
= 0 ;
35607 char * kwnames
[] = {
35608 (char *) "self",(char *) "item",(char *) "recursively", NULL
35611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35613 if (!SWIG_IsOK(res1
)) {
35614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35616 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35617 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35618 if (!SWIG_IsOK(res2
)) {
35619 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35622 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35624 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35626 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35627 if (!SWIG_IsOK(ecode3
)) {
35628 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
35630 arg3
= static_cast< bool >(val3
);
35633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35634 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
35635 wxPyEndAllowThreads(__tstate
);
35636 if (PyErr_Occurred()) SWIG_fail
;
35638 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
35645 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35646 PyObject
*resultobj
= 0;
35647 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35648 wxTreeItemId result
;
35651 PyObject
*swig_obj
[1] ;
35653 if (!args
) SWIG_fail
;
35654 swig_obj
[0] = args
;
35655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35656 if (!SWIG_IsOK(res1
)) {
35657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35659 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35662 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
35663 wxPyEndAllowThreads(__tstate
);
35664 if (PyErr_Occurred()) SWIG_fail
;
35666 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35673 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35674 PyObject
*resultobj
= 0;
35675 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35676 wxTreeItemId result
;
35679 PyObject
*swig_obj
[1] ;
35681 if (!args
) SWIG_fail
;
35682 swig_obj
[0] = args
;
35683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35684 if (!SWIG_IsOK(res1
)) {
35685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35687 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35690 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
35691 wxPyEndAllowThreads(__tstate
);
35692 if (PyErr_Occurred()) SWIG_fail
;
35694 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35701 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35702 PyObject
*resultobj
= 0;
35703 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35704 PyObject
*result
= 0 ;
35707 PyObject
*swig_obj
[1] ;
35709 if (!args
) SWIG_fail
;
35710 swig_obj
[0] = args
;
35711 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35712 if (!SWIG_IsOK(res1
)) {
35713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35715 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35718 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
35719 wxPyEndAllowThreads(__tstate
);
35720 if (PyErr_Occurred()) SWIG_fail
;
35722 resultobj
= result
;
35729 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35730 PyObject
*resultobj
= 0;
35731 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35732 wxTreeItemId
*arg2
= 0 ;
35733 wxTreeItemId result
;
35738 PyObject
* obj0
= 0 ;
35739 PyObject
* obj1
= 0 ;
35740 char * kwnames
[] = {
35741 (char *) "self",(char *) "item", NULL
35744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35746 if (!SWIG_IsOK(res1
)) {
35747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35749 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35750 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35751 if (!SWIG_IsOK(res2
)) {
35752 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35755 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35757 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35760 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
35761 wxPyEndAllowThreads(__tstate
);
35762 if (PyErr_Occurred()) SWIG_fail
;
35764 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35771 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35772 PyObject
*resultobj
= 0;
35773 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35774 wxTreeItemId
*arg2
= 0 ;
35775 PyObject
*result
= 0 ;
35780 PyObject
* obj0
= 0 ;
35781 PyObject
* obj1
= 0 ;
35782 char * kwnames
[] = {
35783 (char *) "self",(char *) "item", NULL
35786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35788 if (!SWIG_IsOK(res1
)) {
35789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35791 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35792 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35793 if (!SWIG_IsOK(res2
)) {
35794 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35797 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35799 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35802 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
35803 wxPyEndAllowThreads(__tstate
);
35804 if (PyErr_Occurred()) SWIG_fail
;
35806 resultobj
= result
;
35813 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35814 PyObject
*resultobj
= 0;
35815 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35816 wxTreeItemId
*arg2
= 0 ;
35817 void *arg3
= (void *) 0 ;
35818 PyObject
*result
= 0 ;
35824 PyObject
* obj0
= 0 ;
35825 PyObject
* obj1
= 0 ;
35826 PyObject
* obj2
= 0 ;
35827 char * kwnames
[] = {
35828 (char *) "self",(char *) "item",(char *) "cookie", NULL
35831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35833 if (!SWIG_IsOK(res1
)) {
35834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35836 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35837 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35838 if (!SWIG_IsOK(res2
)) {
35839 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35842 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35844 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35845 res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
), 0, 0);
35846 if (!SWIG_IsOK(res3
)) {
35847 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
35850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35851 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35852 wxPyEndAllowThreads(__tstate
);
35853 if (PyErr_Occurred()) SWIG_fail
;
35855 resultobj
= result
;
35862 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35863 PyObject
*resultobj
= 0;
35864 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35865 wxTreeItemId
*arg2
= 0 ;
35866 wxTreeItemId result
;
35871 PyObject
* obj0
= 0 ;
35872 PyObject
* obj1
= 0 ;
35873 char * kwnames
[] = {
35874 (char *) "self",(char *) "item", NULL
35877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35879 if (!SWIG_IsOK(res1
)) {
35880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35882 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35883 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35884 if (!SWIG_IsOK(res2
)) {
35885 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35888 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35890 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35893 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
35894 wxPyEndAllowThreads(__tstate
);
35895 if (PyErr_Occurred()) SWIG_fail
;
35897 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35904 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35905 PyObject
*resultobj
= 0;
35906 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35907 wxTreeItemId
*arg2
= 0 ;
35908 wxTreeItemId result
;
35913 PyObject
* obj0
= 0 ;
35914 PyObject
* obj1
= 0 ;
35915 char * kwnames
[] = {
35916 (char *) "self",(char *) "item", NULL
35919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35921 if (!SWIG_IsOK(res1
)) {
35922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35924 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35925 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35926 if (!SWIG_IsOK(res2
)) {
35927 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35930 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35932 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35935 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
35936 wxPyEndAllowThreads(__tstate
);
35937 if (PyErr_Occurred()) SWIG_fail
;
35939 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35946 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35947 PyObject
*resultobj
= 0;
35948 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35949 wxTreeItemId
*arg2
= 0 ;
35950 wxTreeItemId result
;
35955 PyObject
* obj0
= 0 ;
35956 PyObject
* obj1
= 0 ;
35957 char * kwnames
[] = {
35958 (char *) "self",(char *) "item", NULL
35961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35963 if (!SWIG_IsOK(res1
)) {
35964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35966 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35967 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35968 if (!SWIG_IsOK(res2
)) {
35969 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35972 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35974 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35977 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
35978 wxPyEndAllowThreads(__tstate
);
35979 if (PyErr_Occurred()) SWIG_fail
;
35981 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35988 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35989 PyObject
*resultobj
= 0;
35990 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35991 wxTreeItemId result
;
35994 PyObject
*swig_obj
[1] ;
35996 if (!args
) SWIG_fail
;
35997 swig_obj
[0] = args
;
35998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35999 if (!SWIG_IsOK(res1
)) {
36000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36002 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36005 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
36006 wxPyEndAllowThreads(__tstate
);
36007 if (PyErr_Occurred()) SWIG_fail
;
36009 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36016 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36017 PyObject
*resultobj
= 0;
36018 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36019 wxTreeItemId
*arg2
= 0 ;
36020 wxTreeItemId result
;
36025 PyObject
* obj0
= 0 ;
36026 PyObject
* obj1
= 0 ;
36027 char * kwnames
[] = {
36028 (char *) "self",(char *) "item", NULL
36031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36033 if (!SWIG_IsOK(res1
)) {
36034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36036 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36037 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36038 if (!SWIG_IsOK(res2
)) {
36039 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36042 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36044 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36047 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
36048 wxPyEndAllowThreads(__tstate
);
36049 if (PyErr_Occurred()) SWIG_fail
;
36051 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36058 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36059 PyObject
*resultobj
= 0;
36060 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36061 wxTreeItemId
*arg2
= 0 ;
36062 wxTreeItemId result
;
36067 PyObject
* obj0
= 0 ;
36068 PyObject
* obj1
= 0 ;
36069 char * kwnames
[] = {
36070 (char *) "self",(char *) "item", NULL
36073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36075 if (!SWIG_IsOK(res1
)) {
36076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36078 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36079 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36080 if (!SWIG_IsOK(res2
)) {
36081 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36084 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36086 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36089 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
36090 wxPyEndAllowThreads(__tstate
);
36091 if (PyErr_Occurred()) SWIG_fail
;
36093 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36100 SWIGINTERN PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36101 PyObject
*resultobj
= 0;
36102 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36103 wxString
*arg2
= 0 ;
36104 int arg3
= (int) -1 ;
36105 int arg4
= (int) -1 ;
36106 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
36107 wxTreeItemId result
;
36110 bool temp2
= false ;
36116 PyObject
* obj0
= 0 ;
36117 PyObject
* obj1
= 0 ;
36118 PyObject
* obj2
= 0 ;
36119 PyObject
* obj3
= 0 ;
36120 PyObject
* obj4
= 0 ;
36121 char * kwnames
[] = {
36122 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36127 if (!SWIG_IsOK(res1
)) {
36128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36130 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36132 arg2
= wxString_in_helper(obj1
);
36133 if (arg2
== NULL
) SWIG_fail
;
36137 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36138 if (!SWIG_IsOK(ecode3
)) {
36139 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
36141 arg3
= static_cast< int >(val3
);
36144 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36145 if (!SWIG_IsOK(ecode4
)) {
36146 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
36148 arg4
= static_cast< int >(val4
);
36151 res5
= SWIG_ConvertPtr(obj4
, SWIG_as_voidptrptr(&arg5
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36152 if (!SWIG_IsOK(res5
)) {
36153 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
36157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36158 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
36159 wxPyEndAllowThreads(__tstate
);
36160 if (PyErr_Occurred()) SWIG_fail
;
36162 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36177 SWIGINTERN PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36178 PyObject
*resultobj
= 0;
36179 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36180 wxTreeItemId
*arg2
= 0 ;
36181 wxString
*arg3
= 0 ;
36182 int arg4
= (int) -1 ;
36183 int arg5
= (int) -1 ;
36184 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
36185 wxTreeItemId result
;
36190 bool temp3
= false ;
36196 PyObject
* obj0
= 0 ;
36197 PyObject
* obj1
= 0 ;
36198 PyObject
* obj2
= 0 ;
36199 PyObject
* obj3
= 0 ;
36200 PyObject
* obj4
= 0 ;
36201 PyObject
* obj5
= 0 ;
36202 char * kwnames
[] = {
36203 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36208 if (!SWIG_IsOK(res1
)) {
36209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36211 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36212 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36213 if (!SWIG_IsOK(res2
)) {
36214 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36217 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36219 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36221 arg3
= wxString_in_helper(obj2
);
36222 if (arg3
== NULL
) SWIG_fail
;
36226 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36227 if (!SWIG_IsOK(ecode4
)) {
36228 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
36230 arg4
= static_cast< int >(val4
);
36233 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36234 if (!SWIG_IsOK(ecode5
)) {
36235 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
36237 arg5
= static_cast< int >(val5
);
36240 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36241 if (!SWIG_IsOK(res6
)) {
36242 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36247 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
36248 wxPyEndAllowThreads(__tstate
);
36249 if (PyErr_Occurred()) SWIG_fail
;
36251 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36266 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36267 PyObject
*resultobj
= 0;
36268 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36269 wxTreeItemId
*arg2
= 0 ;
36270 wxTreeItemId
*arg3
= 0 ;
36271 wxString
*arg4
= 0 ;
36272 int arg5
= (int) -1 ;
36273 int arg6
= (int) -1 ;
36274 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
36275 wxTreeItemId result
;
36282 bool temp4
= false ;
36288 PyObject
* obj0
= 0 ;
36289 PyObject
* obj1
= 0 ;
36290 PyObject
* obj2
= 0 ;
36291 PyObject
* obj3
= 0 ;
36292 PyObject
* obj4
= 0 ;
36293 PyObject
* obj5
= 0 ;
36294 PyObject
* obj6
= 0 ;
36295 char * kwnames
[] = {
36296 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36301 if (!SWIG_IsOK(res1
)) {
36302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36304 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36305 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36306 if (!SWIG_IsOK(res2
)) {
36307 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36310 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36312 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36313 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36314 if (!SWIG_IsOK(res3
)) {
36315 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36318 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36320 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
36322 arg4
= wxString_in_helper(obj3
);
36323 if (arg4
== NULL
) SWIG_fail
;
36327 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36328 if (!SWIG_IsOK(ecode5
)) {
36329 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
36331 arg5
= static_cast< int >(val5
);
36334 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36335 if (!SWIG_IsOK(ecode6
)) {
36336 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
36338 arg6
= static_cast< int >(val6
);
36341 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36342 if (!SWIG_IsOK(res7
)) {
36343 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36348 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36349 wxPyEndAllowThreads(__tstate
);
36350 if (PyErr_Occurred()) SWIG_fail
;
36352 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36367 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36368 PyObject
*resultobj
= 0;
36369 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36370 wxTreeItemId
*arg2
= 0 ;
36372 wxString
*arg4
= 0 ;
36373 int arg5
= (int) -1 ;
36374 int arg6
= (int) -1 ;
36375 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
36376 wxTreeItemId result
;
36383 bool temp4
= false ;
36389 PyObject
* obj0
= 0 ;
36390 PyObject
* obj1
= 0 ;
36391 PyObject
* obj2
= 0 ;
36392 PyObject
* obj3
= 0 ;
36393 PyObject
* obj4
= 0 ;
36394 PyObject
* obj5
= 0 ;
36395 PyObject
* obj6
= 0 ;
36396 char * kwnames
[] = {
36397 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36402 if (!SWIG_IsOK(res1
)) {
36403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36405 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36406 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36407 if (!SWIG_IsOK(res2
)) {
36408 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36411 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36413 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36414 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
36415 if (!SWIG_IsOK(ecode3
)) {
36416 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
36418 arg3
= static_cast< size_t >(val3
);
36420 arg4
= wxString_in_helper(obj3
);
36421 if (arg4
== NULL
) SWIG_fail
;
36425 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36426 if (!SWIG_IsOK(ecode5
)) {
36427 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
36429 arg5
= static_cast< int >(val5
);
36432 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36433 if (!SWIG_IsOK(ecode6
)) {
36434 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
36436 arg6
= static_cast< int >(val6
);
36439 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36440 if (!SWIG_IsOK(res7
)) {
36441 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36446 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36447 wxPyEndAllowThreads(__tstate
);
36448 if (PyErr_Occurred()) SWIG_fail
;
36450 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36465 SWIGINTERN PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36466 PyObject
*resultobj
= 0;
36467 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36468 wxTreeItemId
*arg2
= 0 ;
36469 wxString
*arg3
= 0 ;
36470 int arg4
= (int) -1 ;
36471 int arg5
= (int) -1 ;
36472 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
36473 wxTreeItemId result
;
36478 bool temp3
= false ;
36484 PyObject
* obj0
= 0 ;
36485 PyObject
* obj1
= 0 ;
36486 PyObject
* obj2
= 0 ;
36487 PyObject
* obj3
= 0 ;
36488 PyObject
* obj4
= 0 ;
36489 PyObject
* obj5
= 0 ;
36490 char * kwnames
[] = {
36491 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36496 if (!SWIG_IsOK(res1
)) {
36497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36499 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36500 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36501 if (!SWIG_IsOK(res2
)) {
36502 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36505 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36507 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36509 arg3
= wxString_in_helper(obj2
);
36510 if (arg3
== NULL
) SWIG_fail
;
36514 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36515 if (!SWIG_IsOK(ecode4
)) {
36516 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
36518 arg4
= static_cast< int >(val4
);
36521 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36522 if (!SWIG_IsOK(ecode5
)) {
36523 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
36525 arg5
= static_cast< int >(val5
);
36528 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36529 if (!SWIG_IsOK(res6
)) {
36530 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36535 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
36536 wxPyEndAllowThreads(__tstate
);
36537 if (PyErr_Occurred()) SWIG_fail
;
36539 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36554 SWIGINTERN PyObject
*_wrap_TreeCtrl_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36555 PyObject
*resultobj
= 0;
36556 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36557 wxTreeItemId
*arg2
= 0 ;
36562 PyObject
* obj0
= 0 ;
36563 PyObject
* obj1
= 0 ;
36564 char * kwnames
[] = {
36565 (char *) "self",(char *) "item", NULL
36568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36570 if (!SWIG_IsOK(res1
)) {
36571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36573 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36574 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36575 if (!SWIG_IsOK(res2
)) {
36576 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36579 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36581 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36584 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
36585 wxPyEndAllowThreads(__tstate
);
36586 if (PyErr_Occurred()) SWIG_fail
;
36588 resultobj
= SWIG_Py_Void();
36595 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36596 PyObject
*resultobj
= 0;
36597 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36598 wxTreeItemId
*arg2
= 0 ;
36603 PyObject
* obj0
= 0 ;
36604 PyObject
* obj1
= 0 ;
36605 char * kwnames
[] = {
36606 (char *) "self",(char *) "item", NULL
36609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36611 if (!SWIG_IsOK(res1
)) {
36612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36614 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36615 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36616 if (!SWIG_IsOK(res2
)) {
36617 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36620 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36622 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36625 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
36626 wxPyEndAllowThreads(__tstate
);
36627 if (PyErr_Occurred()) SWIG_fail
;
36629 resultobj
= SWIG_Py_Void();
36636 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36637 PyObject
*resultobj
= 0;
36638 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36641 PyObject
*swig_obj
[1] ;
36643 if (!args
) SWIG_fail
;
36644 swig_obj
[0] = args
;
36645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36646 if (!SWIG_IsOK(res1
)) {
36647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36649 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36652 (arg1
)->DeleteAllItems();
36653 wxPyEndAllowThreads(__tstate
);
36654 if (PyErr_Occurred()) SWIG_fail
;
36656 resultobj
= SWIG_Py_Void();
36663 SWIGINTERN PyObject
*_wrap_TreeCtrl_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36664 PyObject
*resultobj
= 0;
36665 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36666 wxTreeItemId
*arg2
= 0 ;
36671 PyObject
* obj0
= 0 ;
36672 PyObject
* obj1
= 0 ;
36673 char * kwnames
[] = {
36674 (char *) "self",(char *) "item", NULL
36677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36679 if (!SWIG_IsOK(res1
)) {
36680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36682 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36683 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36684 if (!SWIG_IsOK(res2
)) {
36685 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36688 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36690 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36693 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
36694 wxPyEndAllowThreads(__tstate
);
36695 if (PyErr_Occurred()) SWIG_fail
;
36697 resultobj
= SWIG_Py_Void();
36704 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAllChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36705 PyObject
*resultobj
= 0;
36706 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36707 wxTreeItemId
*arg2
= 0 ;
36712 PyObject
* obj0
= 0 ;
36713 PyObject
* obj1
= 0 ;
36714 char * kwnames
[] = {
36715 (char *) "self",(char *) "item", NULL
36718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ExpandAllChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36720 if (!SWIG_IsOK(res1
)) {
36721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36723 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36724 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36725 if (!SWIG_IsOK(res2
)) {
36726 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36729 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36731 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36734 (arg1
)->ExpandAllChildren((wxTreeItemId
const &)*arg2
);
36735 wxPyEndAllowThreads(__tstate
);
36736 if (PyErr_Occurred()) SWIG_fail
;
36738 resultobj
= SWIG_Py_Void();
36745 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36746 PyObject
*resultobj
= 0;
36747 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36750 PyObject
*swig_obj
[1] ;
36752 if (!args
) SWIG_fail
;
36753 swig_obj
[0] = args
;
36754 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36755 if (!SWIG_IsOK(res1
)) {
36756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36758 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36761 (arg1
)->ExpandAll();
36762 wxPyEndAllowThreads(__tstate
);
36763 if (PyErr_Occurred()) SWIG_fail
;
36765 resultobj
= SWIG_Py_Void();
36772 SWIGINTERN PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36773 PyObject
*resultobj
= 0;
36774 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36775 wxTreeItemId
*arg2
= 0 ;
36780 PyObject
* obj0
= 0 ;
36781 PyObject
* obj1
= 0 ;
36782 char * kwnames
[] = {
36783 (char *) "self",(char *) "item", NULL
36786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36788 if (!SWIG_IsOK(res1
)) {
36789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36791 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36792 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36793 if (!SWIG_IsOK(res2
)) {
36794 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36797 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36799 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36802 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
36803 wxPyEndAllowThreads(__tstate
);
36804 if (PyErr_Occurred()) SWIG_fail
;
36806 resultobj
= SWIG_Py_Void();
36813 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36814 PyObject
*resultobj
= 0;
36815 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36816 wxTreeItemId
*arg2
= 0 ;
36821 PyObject
* obj0
= 0 ;
36822 PyObject
* obj1
= 0 ;
36823 char * kwnames
[] = {
36824 (char *) "self",(char *) "item", NULL
36827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36829 if (!SWIG_IsOK(res1
)) {
36830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36832 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36833 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36834 if (!SWIG_IsOK(res2
)) {
36835 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36838 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36840 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36843 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
36844 wxPyEndAllowThreads(__tstate
);
36845 if (PyErr_Occurred()) SWIG_fail
;
36847 resultobj
= SWIG_Py_Void();
36854 SWIGINTERN PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36855 PyObject
*resultobj
= 0;
36856 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36857 wxTreeItemId
*arg2
= 0 ;
36862 PyObject
* obj0
= 0 ;
36863 PyObject
* obj1
= 0 ;
36864 char * kwnames
[] = {
36865 (char *) "self",(char *) "item", NULL
36868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36870 if (!SWIG_IsOK(res1
)) {
36871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36873 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36874 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36875 if (!SWIG_IsOK(res2
)) {
36876 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36879 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36881 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36884 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
36885 wxPyEndAllowThreads(__tstate
);
36886 if (PyErr_Occurred()) SWIG_fail
;
36888 resultobj
= SWIG_Py_Void();
36895 SWIGINTERN PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36896 PyObject
*resultobj
= 0;
36897 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36900 PyObject
*swig_obj
[1] ;
36902 if (!args
) SWIG_fail
;
36903 swig_obj
[0] = args
;
36904 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36905 if (!SWIG_IsOK(res1
)) {
36906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36908 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36911 (arg1
)->Unselect();
36912 wxPyEndAllowThreads(__tstate
);
36913 if (PyErr_Occurred()) SWIG_fail
;
36915 resultobj
= SWIG_Py_Void();
36922 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36923 PyObject
*resultobj
= 0;
36924 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36925 wxTreeItemId
*arg2
= 0 ;
36930 PyObject
* obj0
= 0 ;
36931 PyObject
* obj1
= 0 ;
36932 char * kwnames
[] = {
36933 (char *) "self",(char *) "item", NULL
36936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36938 if (!SWIG_IsOK(res1
)) {
36939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36941 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36942 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36943 if (!SWIG_IsOK(res2
)) {
36944 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36947 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36949 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36952 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
36953 wxPyEndAllowThreads(__tstate
);
36954 if (PyErr_Occurred()) SWIG_fail
;
36956 resultobj
= SWIG_Py_Void();
36963 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36964 PyObject
*resultobj
= 0;
36965 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36968 PyObject
*swig_obj
[1] ;
36970 if (!args
) SWIG_fail
;
36971 swig_obj
[0] = args
;
36972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36973 if (!SWIG_IsOK(res1
)) {
36974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36976 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36979 (arg1
)->UnselectAll();
36980 wxPyEndAllowThreads(__tstate
);
36981 if (PyErr_Occurred()) SWIG_fail
;
36983 resultobj
= SWIG_Py_Void();
36990 SWIGINTERN PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36991 PyObject
*resultobj
= 0;
36992 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36993 wxTreeItemId
*arg2
= 0 ;
36994 bool arg3
= (bool) true ;
37001 PyObject
* obj0
= 0 ;
37002 PyObject
* obj1
= 0 ;
37003 PyObject
* obj2
= 0 ;
37004 char * kwnames
[] = {
37005 (char *) "self",(char *) "item",(char *) "select", NULL
37008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37010 if (!SWIG_IsOK(res1
)) {
37011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37013 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37014 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37015 if (!SWIG_IsOK(res2
)) {
37016 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37019 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37021 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37023 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37024 if (!SWIG_IsOK(ecode3
)) {
37025 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
37027 arg3
= static_cast< bool >(val3
);
37030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37031 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
37032 wxPyEndAllowThreads(__tstate
);
37033 if (PyErr_Occurred()) SWIG_fail
;
37035 resultobj
= SWIG_Py_Void();
37042 SWIGINTERN PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37043 PyObject
*resultobj
= 0;
37044 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37045 wxTreeItemId
*arg2
= 0 ;
37050 PyObject
* obj0
= 0 ;
37051 PyObject
* obj1
= 0 ;
37052 char * kwnames
[] = {
37053 (char *) "self",(char *) "item", NULL
37056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37058 if (!SWIG_IsOK(res1
)) {
37059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37061 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37062 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37063 if (!SWIG_IsOK(res2
)) {
37064 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37067 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37069 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37072 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
37073 wxPyEndAllowThreads(__tstate
);
37074 if (PyErr_Occurred()) SWIG_fail
;
37076 resultobj
= SWIG_Py_Void();
37083 SWIGINTERN PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37084 PyObject
*resultobj
= 0;
37085 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37086 wxTreeItemId
*arg2
= 0 ;
37091 PyObject
* obj0
= 0 ;
37092 PyObject
* obj1
= 0 ;
37093 char * kwnames
[] = {
37094 (char *) "self",(char *) "item", NULL
37097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37099 if (!SWIG_IsOK(res1
)) {
37100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37102 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37103 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37104 if (!SWIG_IsOK(res2
)) {
37105 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37108 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37110 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37113 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
37114 wxPyEndAllowThreads(__tstate
);
37115 if (PyErr_Occurred()) SWIG_fail
;
37117 resultobj
= SWIG_Py_Void();
37124 SWIGINTERN PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37125 PyObject
*resultobj
= 0;
37126 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37127 wxTreeItemId
*arg2
= 0 ;
37132 PyObject
* obj0
= 0 ;
37133 PyObject
* obj1
= 0 ;
37134 char * kwnames
[] = {
37135 (char *) "self",(char *) "item", NULL
37138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37140 if (!SWIG_IsOK(res1
)) {
37141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37143 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37144 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37145 if (!SWIG_IsOK(res2
)) {
37146 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37149 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37151 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37154 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
37155 wxPyEndAllowThreads(__tstate
);
37156 if (PyErr_Occurred()) SWIG_fail
;
37158 resultobj
= SWIG_Py_Void();
37165 SWIGINTERN PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37166 PyObject
*resultobj
= 0;
37167 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37168 wxTreeItemId
*arg2
= 0 ;
37173 PyObject
* obj0
= 0 ;
37174 PyObject
* obj1
= 0 ;
37175 char * kwnames
[] = {
37176 (char *) "self",(char *) "item", NULL
37179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37181 if (!SWIG_IsOK(res1
)) {
37182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37184 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37185 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37186 if (!SWIG_IsOK(res2
)) {
37187 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37190 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37192 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37195 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
37196 wxPyEndAllowThreads(__tstate
);
37197 if (PyErr_Occurred()) SWIG_fail
;
37199 resultobj
= SWIG_Py_Void();
37206 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37207 PyObject
*resultobj
= 0;
37208 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37209 wxTextCtrl
*result
= 0 ;
37212 PyObject
*swig_obj
[1] ;
37214 if (!args
) SWIG_fail
;
37215 swig_obj
[0] = args
;
37216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37217 if (!SWIG_IsOK(res1
)) {
37218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37220 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37223 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
37224 wxPyEndAllowThreads(__tstate
);
37225 if (PyErr_Occurred()) SWIG_fail
;
37228 resultobj
= wxPyMake_wxObject(result
, 0);
37236 SWIGINTERN PyObject
*_wrap_TreeCtrl_EndEditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37237 PyObject
*resultobj
= 0;
37238 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37239 wxTreeItemId
*arg2
= 0 ;
37240 bool arg3
= (bool) false ;
37247 PyObject
* obj0
= 0 ;
37248 PyObject
* obj1
= 0 ;
37249 PyObject
* obj2
= 0 ;
37250 char * kwnames
[] = {
37251 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
37254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37256 if (!SWIG_IsOK(res1
)) {
37257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37259 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37260 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37261 if (!SWIG_IsOK(res2
)) {
37262 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37265 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37267 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37269 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37270 if (!SWIG_IsOK(ecode3
)) {
37271 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "3"" of type '" "bool""'");
37273 arg3
= static_cast< bool >(val3
);
37276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37277 (arg1
)->EndEditLabel((wxTreeItemId
const &)*arg2
,arg3
);
37278 wxPyEndAllowThreads(__tstate
);
37279 if (PyErr_Occurred()) SWIG_fail
;
37281 resultobj
= SWIG_Py_Void();
37288 SWIGINTERN PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37289 PyObject
*resultobj
= 0;
37290 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37291 wxTreeItemId
*arg2
= 0 ;
37296 PyObject
* obj0
= 0 ;
37297 PyObject
* obj1
= 0 ;
37298 char * kwnames
[] = {
37299 (char *) "self",(char *) "item", NULL
37302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37304 if (!SWIG_IsOK(res1
)) {
37305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37307 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37308 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37309 if (!SWIG_IsOK(res2
)) {
37310 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37313 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37315 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37318 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
37319 wxPyEndAllowThreads(__tstate
);
37320 if (PyErr_Occurred()) SWIG_fail
;
37322 resultobj
= SWIG_Py_Void();
37329 SWIGINTERN PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37330 PyObject
*resultobj
= 0;
37331 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37332 wxPoint
*arg2
= 0 ;
37334 wxTreeItemId result
;
37339 int res3
= SWIG_TMPOBJ
;
37340 PyObject
* obj0
= 0 ;
37341 PyObject
* obj1
= 0 ;
37342 char * kwnames
[] = {
37343 (char *) "self",(char *) "point", NULL
37347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37349 if (!SWIG_IsOK(res1
)) {
37350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37352 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37355 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37359 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
37360 wxPyEndAllowThreads(__tstate
);
37361 if (PyErr_Occurred()) SWIG_fail
;
37363 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37364 if (SWIG_IsTmpObj(res3
)) {
37365 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
37367 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
37368 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
37376 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37377 PyObject
*resultobj
= 0;
37378 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37379 wxTreeItemId
*arg2
= 0 ;
37380 bool arg3
= (bool) false ;
37381 PyObject
*result
= 0 ;
37388 PyObject
* obj0
= 0 ;
37389 PyObject
* obj1
= 0 ;
37390 PyObject
* obj2
= 0 ;
37391 char * kwnames
[] = {
37392 (char *) "self",(char *) "item",(char *) "textOnly", NULL
37395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37397 if (!SWIG_IsOK(res1
)) {
37398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37400 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37401 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37402 if (!SWIG_IsOK(res2
)) {
37403 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37406 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37408 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37410 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37411 if (!SWIG_IsOK(ecode3
)) {
37412 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
37414 arg3
= static_cast< bool >(val3
);
37417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37418 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
37419 wxPyEndAllowThreads(__tstate
);
37420 if (PyErr_Occurred()) SWIG_fail
;
37422 resultobj
= result
;
37429 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37430 PyObject
*resultobj
= 0;
37431 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37432 wxTreeItemId
*arg2
= 0 ;
37440 PyObject
* obj0
= 0 ;
37441 PyObject
* obj1
= 0 ;
37442 PyObject
* obj2
= 0 ;
37443 char * kwnames
[] = {
37444 (char *) "self",(char *) "node",(char *) "state", NULL
37447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37449 if (!SWIG_IsOK(res1
)) {
37450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetState" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37452 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37453 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37454 if (!SWIG_IsOK(res2
)) {
37455 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37458 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37460 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37461 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37462 if (!SWIG_IsOK(ecode3
)) {
37463 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetState" "', expected argument " "3"" of type '" "int""'");
37465 arg3
= static_cast< int >(val3
);
37467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37468 (arg1
)->SetState((wxTreeItemId
const &)*arg2
,arg3
);
37469 wxPyEndAllowThreads(__tstate
);
37470 if (PyErr_Occurred()) SWIG_fail
;
37472 resultobj
= SWIG_Py_Void();
37479 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37480 PyObject
*resultobj
= 0;
37481 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37482 wxTreeItemId
*arg2
= 0 ;
37488 PyObject
* obj0
= 0 ;
37489 PyObject
* obj1
= 0 ;
37490 char * kwnames
[] = {
37491 (char *) "self",(char *) "node", NULL
37494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37496 if (!SWIG_IsOK(res1
)) {
37497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetState" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37499 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37500 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37501 if (!SWIG_IsOK(res2
)) {
37502 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37505 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37507 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37510 result
= (int)(arg1
)->GetState((wxTreeItemId
const &)*arg2
);
37511 wxPyEndAllowThreads(__tstate
);
37512 if (PyErr_Occurred()) SWIG_fail
;
37514 resultobj
= SWIG_From_int(static_cast< int >(result
));
37521 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37522 PyObject
*resultobj
= 0;
37523 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
37524 SwigValueWrapper
<wxVisualAttributes
> result
;
37527 PyObject
* obj0
= 0 ;
37528 char * kwnames
[] = {
37529 (char *) "variant", NULL
37532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
37534 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
37535 if (!SWIG_IsOK(ecode1
)) {
37536 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
37538 arg1
= static_cast< wxWindowVariant
>(val1
);
37541 if (!wxPyCheckForApp()) SWIG_fail
;
37542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37543 result
= wxPyTreeCtrl::GetClassDefaultAttributes(arg1
);
37544 wxPyEndAllowThreads(__tstate
);
37545 if (PyErr_Occurred()) SWIG_fail
;
37547 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
37554 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37555 PyObject
*resultobj
= 0;
37556 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37562 PyObject
* obj0
= 0 ;
37563 PyObject
* obj1
= 0 ;
37564 char * kwnames
[] = {
37565 (char *) "self",(char *) "q", NULL
37568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetQuickBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37570 if (!SWIG_IsOK(res1
)) {
37571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37573 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37574 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37575 if (!SWIG_IsOK(ecode2
)) {
37576 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "2"" of type '" "bool""'");
37578 arg2
= static_cast< bool >(val2
);
37580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37581 (arg1
)->SetQuickBestSize(arg2
);
37582 wxPyEndAllowThreads(__tstate
);
37583 if (PyErr_Occurred()) SWIG_fail
;
37585 resultobj
= SWIG_Py_Void();
37592 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37593 PyObject
*resultobj
= 0;
37594 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37598 PyObject
*swig_obj
[1] ;
37600 if (!args
) SWIG_fail
;
37601 swig_obj
[0] = args
;
37602 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37603 if (!SWIG_IsOK(res1
)) {
37604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37606 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37609 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->GetQuickBestSize();
37610 wxPyEndAllowThreads(__tstate
);
37611 if (PyErr_Occurred()) SWIG_fail
;
37614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37622 SWIGINTERN PyObject
*TreeCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37624 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37625 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl
, SWIG_NewClientData(obj
));
37626 return SWIG_Py_Void();
37629 SWIGINTERN PyObject
*TreeCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37630 return SWIG_Python_InitShadowInstance(args
);
37633 SWIGINTERN
int DirDialogDefaultFolderStr_set(PyObject
*) {
37634 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogDefaultFolderStr is read-only.");
37639 SWIGINTERN PyObject
*DirDialogDefaultFolderStr_get(void) {
37640 PyObject
*pyobj
= 0;
37644 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37646 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37653 SWIGINTERN PyObject
*_wrap_new_GenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37654 PyObject
*resultobj
= 0;
37655 wxWindow
*arg1
= (wxWindow
*) 0 ;
37656 int arg2
= (int) (int)-1 ;
37657 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
37658 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
37659 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37660 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37661 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37662 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37663 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37664 wxString
const &arg7_defvalue
= wxPyEmptyString
;
37665 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
37666 int arg8
= (int) 0 ;
37667 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
37668 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
37669 wxGenericDirCtrl
*result
= 0 ;
37674 bool temp3
= false ;
37679 bool temp7
= false ;
37682 bool temp9
= false ;
37683 PyObject
* obj0
= 0 ;
37684 PyObject
* obj1
= 0 ;
37685 PyObject
* obj2
= 0 ;
37686 PyObject
* obj3
= 0 ;
37687 PyObject
* obj4
= 0 ;
37688 PyObject
* obj5
= 0 ;
37689 PyObject
* obj6
= 0 ;
37690 PyObject
* obj7
= 0 ;
37691 PyObject
* obj8
= 0 ;
37692 char * kwnames
[] = {
37693 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
37697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37698 if (!SWIG_IsOK(res1
)) {
37699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
37701 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37703 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37704 if (!SWIG_IsOK(ecode2
)) {
37705 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
37707 arg2
= static_cast< int >(val2
);
37711 arg3
= wxString_in_helper(obj2
);
37712 if (arg3
== NULL
) SWIG_fail
;
37719 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37725 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37729 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
37730 if (!SWIG_IsOK(ecode6
)) {
37731 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
37733 arg6
= static_cast< long >(val6
);
37737 arg7
= wxString_in_helper(obj6
);
37738 if (arg7
== NULL
) SWIG_fail
;
37743 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
37744 if (!SWIG_IsOK(ecode8
)) {
37745 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
37747 arg8
= static_cast< int >(val8
);
37751 arg9
= wxString_in_helper(obj8
);
37752 if (arg9
== NULL
) SWIG_fail
;
37757 if (!wxPyCheckForApp()) SWIG_fail
;
37758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37759 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
37760 wxPyEndAllowThreads(__tstate
);
37761 if (PyErr_Occurred()) SWIG_fail
;
37763 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_NEW
| 0 );
37794 SWIGINTERN PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37795 PyObject
*resultobj
= 0;
37796 wxGenericDirCtrl
*result
= 0 ;
37798 if (!SWIG_Python_UnpackTuple(args
,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail
;
37800 if (!wxPyCheckForApp()) SWIG_fail
;
37801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37802 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
37803 wxPyEndAllowThreads(__tstate
);
37804 if (PyErr_Occurred()) SWIG_fail
;
37806 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_OWN
| 0 );
37813 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37814 PyObject
*resultobj
= 0;
37815 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37816 wxWindow
*arg2
= (wxWindow
*) 0 ;
37817 int arg3
= (int) (int)-1 ;
37818 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
37819 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
37820 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
37821 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
37822 wxSize
const &arg6_defvalue
= wxDefaultSize
;
37823 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
37824 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37825 wxString
const &arg8_defvalue
= wxPyEmptyString
;
37826 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
37827 int arg9
= (int) 0 ;
37828 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
37829 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
37837 bool temp4
= false ;
37842 bool temp8
= false ;
37845 bool temp10
= false ;
37846 PyObject
* obj0
= 0 ;
37847 PyObject
* obj1
= 0 ;
37848 PyObject
* obj2
= 0 ;
37849 PyObject
* obj3
= 0 ;
37850 PyObject
* obj4
= 0 ;
37851 PyObject
* obj5
= 0 ;
37852 PyObject
* obj6
= 0 ;
37853 PyObject
* obj7
= 0 ;
37854 PyObject
* obj8
= 0 ;
37855 PyObject
* obj9
= 0 ;
37856 char * kwnames
[] = {
37857 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
37861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37862 if (!SWIG_IsOK(res1
)) {
37863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37865 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37866 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37867 if (!SWIG_IsOK(res2
)) {
37868 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
37870 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
37872 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37873 if (!SWIG_IsOK(ecode3
)) {
37874 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
37876 arg3
= static_cast< int >(val3
);
37880 arg4
= wxString_in_helper(obj3
);
37881 if (arg4
== NULL
) SWIG_fail
;
37888 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
37894 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
37898 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
37899 if (!SWIG_IsOK(ecode7
)) {
37900 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
37902 arg7
= static_cast< long >(val7
);
37906 arg8
= wxString_in_helper(obj7
);
37907 if (arg8
== NULL
) SWIG_fail
;
37912 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
37913 if (!SWIG_IsOK(ecode9
)) {
37914 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
37916 arg9
= static_cast< int >(val9
);
37920 arg10
= wxString_in_helper(obj9
);
37921 if (arg10
== NULL
) SWIG_fail
;
37926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37927 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
37928 wxPyEndAllowThreads(__tstate
);
37929 if (PyErr_Occurred()) SWIG_fail
;
37932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37964 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37965 PyObject
*resultobj
= 0;
37966 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37967 wxString
*arg2
= 0 ;
37971 bool temp2
= false ;
37972 PyObject
* obj0
= 0 ;
37973 PyObject
* obj1
= 0 ;
37974 char * kwnames
[] = {
37975 (char *) "self",(char *) "path", NULL
37978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37980 if (!SWIG_IsOK(res1
)) {
37981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37983 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37985 arg2
= wxString_in_helper(obj1
);
37986 if (arg2
== NULL
) SWIG_fail
;
37990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37991 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
37992 wxPyEndAllowThreads(__tstate
);
37993 if (PyErr_Occurred()) SWIG_fail
;
37996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38012 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_CollapsePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38013 PyObject
*resultobj
= 0;
38014 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38015 wxString
*arg2
= 0 ;
38019 bool temp2
= false ;
38020 PyObject
* obj0
= 0 ;
38021 PyObject
* obj1
= 0 ;
38022 char * kwnames
[] = {
38023 (char *) "self",(char *) "path", NULL
38026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_CollapsePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38028 if (!SWIG_IsOK(res1
)) {
38029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_CollapsePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38031 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38033 arg2
= wxString_in_helper(obj1
);
38034 if (arg2
== NULL
) SWIG_fail
;
38038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38039 result
= (bool)(arg1
)->CollapsePath((wxString
const &)*arg2
);
38040 wxPyEndAllowThreads(__tstate
);
38041 if (PyErr_Occurred()) SWIG_fail
;
38044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38060 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38061 PyObject
*resultobj
= 0;
38062 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38066 PyObject
*swig_obj
[1] ;
38068 if (!args
) SWIG_fail
;
38069 swig_obj
[0] = args
;
38070 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38071 if (!SWIG_IsOK(res1
)) {
38072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38074 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38077 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
38078 wxPyEndAllowThreads(__tstate
);
38079 if (PyErr_Occurred()) SWIG_fail
;
38083 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38085 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38094 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38095 PyObject
*resultobj
= 0;
38096 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38097 wxString
*arg2
= 0 ;
38100 bool temp2
= false ;
38101 PyObject
* obj0
= 0 ;
38102 PyObject
* obj1
= 0 ;
38103 char * kwnames
[] = {
38104 (char *) "self",(char *) "path", NULL
38107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38109 if (!SWIG_IsOK(res1
)) {
38110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38112 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38114 arg2
= wxString_in_helper(obj1
);
38115 if (arg2
== NULL
) SWIG_fail
;
38119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38120 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
38121 wxPyEndAllowThreads(__tstate
);
38122 if (PyErr_Occurred()) SWIG_fail
;
38124 resultobj
= SWIG_Py_Void();
38139 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38140 PyObject
*resultobj
= 0;
38141 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38145 PyObject
*swig_obj
[1] ;
38147 if (!args
) SWIG_fail
;
38148 swig_obj
[0] = args
;
38149 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38150 if (!SWIG_IsOK(res1
)) {
38151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38153 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38156 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
38157 wxPyEndAllowThreads(__tstate
);
38158 if (PyErr_Occurred()) SWIG_fail
;
38162 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38164 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38173 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38174 PyObject
*resultobj
= 0;
38175 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38179 PyObject
*swig_obj
[1] ;
38181 if (!args
) SWIG_fail
;
38182 swig_obj
[0] = args
;
38183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38184 if (!SWIG_IsOK(res1
)) {
38185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38187 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38190 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
38191 wxPyEndAllowThreads(__tstate
);
38192 if (PyErr_Occurred()) SWIG_fail
;
38196 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38198 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38207 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38208 PyObject
*resultobj
= 0;
38209 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38210 wxString
*arg2
= 0 ;
38213 bool temp2
= false ;
38214 PyObject
* obj0
= 0 ;
38215 PyObject
* obj1
= 0 ;
38216 char * kwnames
[] = {
38217 (char *) "self",(char *) "path", NULL
38220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38222 if (!SWIG_IsOK(res1
)) {
38223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38225 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38227 arg2
= wxString_in_helper(obj1
);
38228 if (arg2
== NULL
) SWIG_fail
;
38232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38233 (arg1
)->SetPath((wxString
const &)*arg2
);
38234 wxPyEndAllowThreads(__tstate
);
38235 if (PyErr_Occurred()) SWIG_fail
;
38237 resultobj
= SWIG_Py_Void();
38252 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38253 PyObject
*resultobj
= 0;
38254 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38260 PyObject
* obj0
= 0 ;
38261 PyObject
* obj1
= 0 ;
38262 char * kwnames
[] = {
38263 (char *) "self",(char *) "show", NULL
38266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38268 if (!SWIG_IsOK(res1
)) {
38269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38271 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38272 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
38273 if (!SWIG_IsOK(ecode2
)) {
38274 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
38276 arg2
= static_cast< bool >(val2
);
38278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38279 (arg1
)->ShowHidden(arg2
);
38280 wxPyEndAllowThreads(__tstate
);
38281 if (PyErr_Occurred()) SWIG_fail
;
38283 resultobj
= SWIG_Py_Void();
38290 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38291 PyObject
*resultobj
= 0;
38292 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38296 PyObject
*swig_obj
[1] ;
38298 if (!args
) SWIG_fail
;
38299 swig_obj
[0] = args
;
38300 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38301 if (!SWIG_IsOK(res1
)) {
38302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38304 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38307 result
= (bool)(arg1
)->GetShowHidden();
38308 wxPyEndAllowThreads(__tstate
);
38309 if (PyErr_Occurred()) SWIG_fail
;
38312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38320 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38321 PyObject
*resultobj
= 0;
38322 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38326 PyObject
*swig_obj
[1] ;
38328 if (!args
) SWIG_fail
;
38329 swig_obj
[0] = args
;
38330 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38331 if (!SWIG_IsOK(res1
)) {
38332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38334 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38337 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
38338 wxPyEndAllowThreads(__tstate
);
38339 if (PyErr_Occurred()) SWIG_fail
;
38343 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38345 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38354 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38355 PyObject
*resultobj
= 0;
38356 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38357 wxString
*arg2
= 0 ;
38360 bool temp2
= false ;
38361 PyObject
* obj0
= 0 ;
38362 PyObject
* obj1
= 0 ;
38363 char * kwnames
[] = {
38364 (char *) "self",(char *) "filter", NULL
38367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38369 if (!SWIG_IsOK(res1
)) {
38370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38372 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38374 arg2
= wxString_in_helper(obj1
);
38375 if (arg2
== NULL
) SWIG_fail
;
38379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38380 (arg1
)->SetFilter((wxString
const &)*arg2
);
38381 wxPyEndAllowThreads(__tstate
);
38382 if (PyErr_Occurred()) SWIG_fail
;
38384 resultobj
= SWIG_Py_Void();
38399 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38400 PyObject
*resultobj
= 0;
38401 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38405 PyObject
*swig_obj
[1] ;
38407 if (!args
) SWIG_fail
;
38408 swig_obj
[0] = args
;
38409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38410 if (!SWIG_IsOK(res1
)) {
38411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38413 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38416 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
38417 wxPyEndAllowThreads(__tstate
);
38418 if (PyErr_Occurred()) SWIG_fail
;
38420 resultobj
= SWIG_From_int(static_cast< int >(result
));
38427 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38428 PyObject
*resultobj
= 0;
38429 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38435 PyObject
* obj0
= 0 ;
38436 PyObject
* obj1
= 0 ;
38437 char * kwnames
[] = {
38438 (char *) "self",(char *) "n", NULL
38441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38443 if (!SWIG_IsOK(res1
)) {
38444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38446 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38447 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38448 if (!SWIG_IsOK(ecode2
)) {
38449 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
38451 arg2
= static_cast< int >(val2
);
38453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38454 (arg1
)->SetFilterIndex(arg2
);
38455 wxPyEndAllowThreads(__tstate
);
38456 if (PyErr_Occurred()) SWIG_fail
;
38458 resultobj
= SWIG_Py_Void();
38465 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38466 PyObject
*resultobj
= 0;
38467 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38468 wxTreeItemId result
;
38471 PyObject
*swig_obj
[1] ;
38473 if (!args
) SWIG_fail
;
38474 swig_obj
[0] = args
;
38475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38476 if (!SWIG_IsOK(res1
)) {
38477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38479 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38482 result
= (arg1
)->GetRootId();
38483 wxPyEndAllowThreads(__tstate
);
38484 if (PyErr_Occurred()) SWIG_fail
;
38486 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38493 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38494 PyObject
*resultobj
= 0;
38495 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38496 wxPyTreeCtrl
*result
= 0 ;
38499 PyObject
*swig_obj
[1] ;
38501 if (!args
) SWIG_fail
;
38502 swig_obj
[0] = args
;
38503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38504 if (!SWIG_IsOK(res1
)) {
38505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38507 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38510 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
38511 wxPyEndAllowThreads(__tstate
);
38512 if (PyErr_Occurred()) SWIG_fail
;
38515 resultobj
= wxPyMake_wxObject(result
, 0);
38523 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38524 PyObject
*resultobj
= 0;
38525 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38526 wxDirFilterListCtrl
*result
= 0 ;
38529 PyObject
*swig_obj
[1] ;
38531 if (!args
) SWIG_fail
;
38532 swig_obj
[0] = args
;
38533 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38534 if (!SWIG_IsOK(res1
)) {
38535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38537 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38540 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
38541 wxPyEndAllowThreads(__tstate
);
38542 if (PyErr_Occurred()) SWIG_fail
;
38544 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38551 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38552 PyObject
*resultobj
= 0;
38553 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38554 wxTreeItemId arg2
;
38555 wxString
*arg3
= 0 ;
38557 wxTreeItemId result
;
38562 bool temp3
= false ;
38564 int res4
= SWIG_TMPOBJ
;
38565 PyObject
* obj0
= 0 ;
38566 PyObject
* obj1
= 0 ;
38567 PyObject
* obj2
= 0 ;
38568 char * kwnames
[] = {
38569 (char *) "self",(char *) "parentId",(char *) "path", NULL
38573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38575 if (!SWIG_IsOK(res1
)) {
38576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38578 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38580 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
38581 if (!SWIG_IsOK(res2
)) {
38582 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38585 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38587 wxTreeItemId
* temp
= reinterpret_cast< wxTreeItemId
* >(argp2
);
38589 if (SWIG_IsNewObj(res2
)) delete temp
;
38593 arg3
= wxString_in_helper(obj2
);
38594 if (arg3
== NULL
) SWIG_fail
;
38598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38599 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
38600 wxPyEndAllowThreads(__tstate
);
38601 if (PyErr_Occurred()) SWIG_fail
;
38603 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38604 if (SWIG_IsTmpObj(res4
)) {
38605 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
38607 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38608 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
38624 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38625 PyObject
*resultobj
= 0;
38626 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38629 PyObject
*swig_obj
[1] ;
38631 if (!args
) SWIG_fail
;
38632 swig_obj
[0] = args
;
38633 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38634 if (!SWIG_IsOK(res1
)) {
38635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38637 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38640 (arg1
)->DoResize();
38641 wxPyEndAllowThreads(__tstate
);
38642 if (PyErr_Occurred()) SWIG_fail
;
38644 resultobj
= SWIG_Py_Void();
38651 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38652 PyObject
*resultobj
= 0;
38653 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38656 PyObject
*swig_obj
[1] ;
38658 if (!args
) SWIG_fail
;
38659 swig_obj
[0] = args
;
38660 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38661 if (!SWIG_IsOK(res1
)) {
38662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38664 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38667 (arg1
)->ReCreateTree();
38668 wxPyEndAllowThreads(__tstate
);
38669 if (PyErr_Occurred()) SWIG_fail
;
38671 resultobj
= SWIG_Py_Void();
38678 SWIGINTERN PyObject
*GenericDirCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38680 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38681 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl
, SWIG_NewClientData(obj
));
38682 return SWIG_Py_Void();
38685 SWIGINTERN PyObject
*GenericDirCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38686 return SWIG_Python_InitShadowInstance(args
);
38689 SWIGINTERN PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38690 PyObject
*resultobj
= 0;
38691 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38692 int arg2
= (int) (int)-1 ;
38693 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38694 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38695 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38696 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38697 long arg5
= (long) 0 ;
38698 wxDirFilterListCtrl
*result
= 0 ;
38707 PyObject
* obj0
= 0 ;
38708 PyObject
* obj1
= 0 ;
38709 PyObject
* obj2
= 0 ;
38710 PyObject
* obj3
= 0 ;
38711 PyObject
* obj4
= 0 ;
38712 char * kwnames
[] = {
38713 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38718 if (!SWIG_IsOK(res1
)) {
38719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38721 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38723 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38724 if (!SWIG_IsOK(ecode2
)) {
38725 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirFilterListCtrl" "', 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_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
38746 arg5
= static_cast< long >(val5
);
38749 if (!wxPyCheckForApp()) SWIG_fail
;
38750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38751 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
38752 wxPyEndAllowThreads(__tstate
);
38753 if (PyErr_Occurred()) SWIG_fail
;
38755 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_NEW
| 0 );
38762 SWIGINTERN PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38763 PyObject
*resultobj
= 0;
38764 wxDirFilterListCtrl
*result
= 0 ;
38766 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail
;
38768 if (!wxPyCheckForApp()) SWIG_fail
;
38769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38770 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
38771 wxPyEndAllowThreads(__tstate
);
38772 if (PyErr_Occurred()) SWIG_fail
;
38774 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_OWN
| 0 );
38781 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38782 PyObject
*resultobj
= 0;
38783 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38784 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
38785 int arg3
= (int) (int)-1 ;
38786 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
38787 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
38788 wxSize
const &arg5_defvalue
= wxDefaultSize
;
38789 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
38790 long arg6
= (long) 0 ;
38802 PyObject
* obj0
= 0 ;
38803 PyObject
* obj1
= 0 ;
38804 PyObject
* obj2
= 0 ;
38805 PyObject
* obj3
= 0 ;
38806 PyObject
* obj4
= 0 ;
38807 PyObject
* obj5
= 0 ;
38808 char * kwnames
[] = {
38809 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38814 if (!SWIG_IsOK(res1
)) {
38815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38817 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38818 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38819 if (!SWIG_IsOK(res2
)) {
38820 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
38822 arg2
= reinterpret_cast< wxGenericDirCtrl
* >(argp2
);
38824 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38825 if (!SWIG_IsOK(ecode3
)) {
38826 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
38828 arg3
= static_cast< int >(val3
);
38833 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
38839 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
38843 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
38844 if (!SWIG_IsOK(ecode6
)) {
38845 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
38847 arg6
= static_cast< long >(val6
);
38850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38851 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
38852 wxPyEndAllowThreads(__tstate
);
38853 if (PyErr_Occurred()) SWIG_fail
;
38856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38864 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38865 PyObject
*resultobj
= 0;
38866 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38867 wxString
*arg2
= 0 ;
38871 bool temp2
= false ;
38874 PyObject
* obj0
= 0 ;
38875 PyObject
* obj1
= 0 ;
38876 PyObject
* obj2
= 0 ;
38877 char * kwnames
[] = {
38878 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
38881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38883 if (!SWIG_IsOK(res1
)) {
38884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38886 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38888 arg2
= wxString_in_helper(obj1
);
38889 if (arg2
== NULL
) SWIG_fail
;
38892 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38893 if (!SWIG_IsOK(ecode3
)) {
38894 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
38896 arg3
= static_cast< int >(val3
);
38898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38899 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
38900 wxPyEndAllowThreads(__tstate
);
38901 if (PyErr_Occurred()) SWIG_fail
;
38903 resultobj
= SWIG_Py_Void();
38918 SWIGINTERN PyObject
*DirFilterListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38920 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38921 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_NewClientData(obj
));
38922 return SWIG_Py_Void();
38925 SWIGINTERN PyObject
*DirFilterListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38926 return SWIG_Python_InitShadowInstance(args
);
38929 SWIGINTERN PyObject
*_wrap_new_PyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38930 PyObject
*resultobj
= 0;
38931 wxWindow
*arg1
= (wxWindow
*) 0 ;
38932 int arg2
= (int) (int)-1 ;
38933 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38934 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38935 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38936 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38937 long arg5
= (long) 0 ;
38938 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
38939 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
38940 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
38941 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
38942 wxPyControl
*result
= 0 ;
38953 bool temp7
= false ;
38954 PyObject
* obj0
= 0 ;
38955 PyObject
* obj1
= 0 ;
38956 PyObject
* obj2
= 0 ;
38957 PyObject
* obj3
= 0 ;
38958 PyObject
* obj4
= 0 ;
38959 PyObject
* obj5
= 0 ;
38960 PyObject
* obj6
= 0 ;
38961 char * kwnames
[] = {
38962 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
38965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
38966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38967 if (!SWIG_IsOK(res1
)) {
38968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
38970 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38972 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38973 if (!SWIG_IsOK(ecode2
)) {
38974 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
38976 arg2
= static_cast< int >(val2
);
38981 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38987 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38991 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38992 if (!SWIG_IsOK(ecode5
)) {
38993 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
38995 arg5
= static_cast< long >(val5
);
38998 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
38999 if (!SWIG_IsOK(res6
)) {
39000 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
39003 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
39005 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
39009 arg7
= wxString_in_helper(obj6
);
39010 if (arg7
== NULL
) SWIG_fail
;
39015 if (!wxPyCheckForApp()) SWIG_fail
;
39016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39017 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
39018 wxPyEndAllowThreads(__tstate
);
39019 if (PyErr_Occurred()) SWIG_fail
;
39021 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_NEW
| 0 );
39036 SWIGINTERN PyObject
*_wrap_new_PrePyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39037 PyObject
*resultobj
= 0;
39038 wxPyControl
*result
= 0 ;
39040 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyControl",0,0,0)) SWIG_fail
;
39042 if (!wxPyCheckForApp()) SWIG_fail
;
39043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39044 result
= (wxPyControl
*)new wxPyControl();
39045 wxPyEndAllowThreads(__tstate
);
39046 if (PyErr_Occurred()) SWIG_fail
;
39048 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_OWN
| 0 );
39055 SWIGINTERN PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39056 PyObject
*resultobj
= 0;
39057 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39058 PyObject
*arg2
= (PyObject
*) 0 ;
39059 PyObject
*arg3
= (PyObject
*) 0 ;
39062 PyObject
* obj0
= 0 ;
39063 PyObject
* obj1
= 0 ;
39064 PyObject
* obj2
= 0 ;
39065 char * kwnames
[] = {
39066 (char *) "self",(char *) "self",(char *) "_class", NULL
39069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39071 if (!SWIG_IsOK(res1
)) {
39072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
39074 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39079 (arg1
)->_setCallbackInfo(arg2
,arg3
);
39080 wxPyEndAllowThreads(__tstate
);
39081 if (PyErr_Occurred()) SWIG_fail
;
39083 resultobj
= SWIG_Py_Void();
39090 SWIGINTERN PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39091 PyObject
*resultobj
= 0;
39092 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39093 wxDC
*arg2
= (wxDC
*) 0 ;
39099 PyObject
* obj0
= 0 ;
39100 PyObject
* obj1
= 0 ;
39101 char * kwnames
[] = {
39102 (char *) "self",(char *) "dc", NULL
39105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39107 if (!SWIG_IsOK(res1
)) {
39108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
39110 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39111 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
39112 if (!SWIG_IsOK(res2
)) {
39113 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
39115 arg2
= reinterpret_cast< wxDC
* >(argp2
);
39117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39118 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
39119 wxPyEndAllowThreads(__tstate
);
39120 if (PyErr_Occurred()) SWIG_fail
;
39123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39131 SWIGINTERN PyObject
*_wrap_PyControl_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39132 PyObject
*resultobj
= 0;
39133 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39148 PyObject
* obj0
= 0 ;
39149 PyObject
* obj1
= 0 ;
39150 PyObject
* obj2
= 0 ;
39151 PyObject
* obj3
= 0 ;
39152 PyObject
* obj4
= 0 ;
39153 char * kwnames
[] = {
39154 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
39157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39159 if (!SWIG_IsOK(res1
)) {
39160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
39162 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39163 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39164 if (!SWIG_IsOK(ecode2
)) {
39165 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
39167 arg2
= static_cast< int >(val2
);
39168 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39169 if (!SWIG_IsOK(ecode3
)) {
39170 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
39172 arg3
= static_cast< int >(val3
);
39173 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39174 if (!SWIG_IsOK(ecode4
)) {
39175 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
39177 arg4
= static_cast< int >(val4
);
39178 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
39179 if (!SWIG_IsOK(ecode5
)) {
39180 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
39182 arg5
= static_cast< int >(val5
);
39184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39185 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
39186 wxPyEndAllowThreads(__tstate
);
39187 if (PyErr_Occurred()) SWIG_fail
;
39189 resultobj
= SWIG_Py_Void();
39196 SWIGINTERN PyObject
*_wrap_PyControl_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39197 PyObject
*resultobj
= 0;
39198 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39203 int arg6
= (int) wxSIZE_AUTO
;
39216 PyObject
* obj0
= 0 ;
39217 PyObject
* obj1
= 0 ;
39218 PyObject
* obj2
= 0 ;
39219 PyObject
* obj3
= 0 ;
39220 PyObject
* obj4
= 0 ;
39221 PyObject
* obj5
= 0 ;
39222 char * kwnames
[] = {
39223 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
39226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
39227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39228 if (!SWIG_IsOK(res1
)) {
39229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39231 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39232 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39233 if (!SWIG_IsOK(ecode2
)) {
39234 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
39236 arg2
= static_cast< int >(val2
);
39237 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39238 if (!SWIG_IsOK(ecode3
)) {
39239 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
39241 arg3
= static_cast< int >(val3
);
39242 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39243 if (!SWIG_IsOK(ecode4
)) {
39244 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
39246 arg4
= static_cast< int >(val4
);
39247 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
39248 if (!SWIG_IsOK(ecode5
)) {
39249 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
39251 arg5
= static_cast< int >(val5
);
39253 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
39254 if (!SWIG_IsOK(ecode6
)) {
39255 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
39257 arg6
= static_cast< int >(val6
);
39260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39261 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
39262 wxPyEndAllowThreads(__tstate
);
39263 if (PyErr_Occurred()) SWIG_fail
;
39265 resultobj
= SWIG_Py_Void();
39272 SWIGINTERN PyObject
*_wrap_PyControl_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39273 PyObject
*resultobj
= 0;
39274 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39283 PyObject
* obj0
= 0 ;
39284 PyObject
* obj1
= 0 ;
39285 PyObject
* obj2
= 0 ;
39286 char * kwnames
[] = {
39287 (char *) "self",(char *) "width",(char *) "height", NULL
39290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39292 if (!SWIG_IsOK(res1
)) {
39293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39295 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39296 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39297 if (!SWIG_IsOK(ecode2
)) {
39298 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
39300 arg2
= static_cast< int >(val2
);
39301 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39302 if (!SWIG_IsOK(ecode3
)) {
39303 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
39305 arg3
= static_cast< int >(val3
);
39307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39308 (arg1
)->DoSetClientSize(arg2
,arg3
);
39309 wxPyEndAllowThreads(__tstate
);
39310 if (PyErr_Occurred()) SWIG_fail
;
39312 resultobj
= SWIG_Py_Void();
39319 SWIGINTERN PyObject
*_wrap_PyControl_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39320 PyObject
*resultobj
= 0;
39321 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39330 PyObject
* obj0
= 0 ;
39331 PyObject
* obj1
= 0 ;
39332 PyObject
* obj2
= 0 ;
39333 char * kwnames
[] = {
39334 (char *) "self",(char *) "x",(char *) "y", NULL
39337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39339 if (!SWIG_IsOK(res1
)) {
39340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39342 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39343 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39344 if (!SWIG_IsOK(ecode2
)) {
39345 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
39347 arg2
= static_cast< int >(val2
);
39348 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39349 if (!SWIG_IsOK(ecode3
)) {
39350 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
39352 arg3
= static_cast< int >(val3
);
39354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39355 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
39356 wxPyEndAllowThreads(__tstate
);
39357 if (PyErr_Occurred()) SWIG_fail
;
39359 resultobj
= SWIG_Py_Void();
39366 SWIGINTERN PyObject
*_wrap_PyControl_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39367 PyObject
*resultobj
= 0;
39368 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39369 int *arg2
= (int *) 0 ;
39370 int *arg3
= (int *) 0 ;
39374 int res2
= SWIG_TMPOBJ
;
39376 int res3
= SWIG_TMPOBJ
;
39377 PyObject
*swig_obj
[1] ;
39381 if (!args
) SWIG_fail
;
39382 swig_obj
[0] = args
;
39383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39384 if (!SWIG_IsOK(res1
)) {
39385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39387 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39390 ((wxPyControl
const *)arg1
)->DoGetSize(arg2
,arg3
);
39391 wxPyEndAllowThreads(__tstate
);
39392 if (PyErr_Occurred()) SWIG_fail
;
39394 resultobj
= SWIG_Py_Void();
39395 if (SWIG_IsTmpObj(res2
)) {
39396 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39398 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39399 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39401 if (SWIG_IsTmpObj(res3
)) {
39402 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39404 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39405 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39413 SWIGINTERN PyObject
*_wrap_PyControl_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39414 PyObject
*resultobj
= 0;
39415 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39416 int *arg2
= (int *) 0 ;
39417 int *arg3
= (int *) 0 ;
39421 int res2
= SWIG_TMPOBJ
;
39423 int res3
= SWIG_TMPOBJ
;
39424 PyObject
*swig_obj
[1] ;
39428 if (!args
) SWIG_fail
;
39429 swig_obj
[0] = args
;
39430 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39431 if (!SWIG_IsOK(res1
)) {
39432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39434 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39437 ((wxPyControl
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
39438 wxPyEndAllowThreads(__tstate
);
39439 if (PyErr_Occurred()) SWIG_fail
;
39441 resultobj
= SWIG_Py_Void();
39442 if (SWIG_IsTmpObj(res2
)) {
39443 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39445 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39446 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39448 if (SWIG_IsTmpObj(res3
)) {
39449 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39451 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39452 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39460 SWIGINTERN PyObject
*_wrap_PyControl_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39461 PyObject
*resultobj
= 0;
39462 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39463 int *arg2
= (int *) 0 ;
39464 int *arg3
= (int *) 0 ;
39468 int res2
= SWIG_TMPOBJ
;
39470 int res3
= SWIG_TMPOBJ
;
39471 PyObject
*swig_obj
[1] ;
39475 if (!args
) SWIG_fail
;
39476 swig_obj
[0] = args
;
39477 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39478 if (!SWIG_IsOK(res1
)) {
39479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39481 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39484 ((wxPyControl
const *)arg1
)->DoGetPosition(arg2
,arg3
);
39485 wxPyEndAllowThreads(__tstate
);
39486 if (PyErr_Occurred()) SWIG_fail
;
39488 resultobj
= SWIG_Py_Void();
39489 if (SWIG_IsTmpObj(res2
)) {
39490 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39492 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39493 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39495 if (SWIG_IsTmpObj(res3
)) {
39496 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39498 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39499 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39507 SWIGINTERN PyObject
*_wrap_PyControl_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39508 PyObject
*resultobj
= 0;
39509 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39513 PyObject
*swig_obj
[1] ;
39515 if (!args
) SWIG_fail
;
39516 swig_obj
[0] = args
;
39517 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39518 if (!SWIG_IsOK(res1
)) {
39519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39521 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39524 result
= ((wxPyControl
const *)arg1
)->DoGetVirtualSize();
39525 wxPyEndAllowThreads(__tstate
);
39526 if (PyErr_Occurred()) SWIG_fail
;
39528 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39535 SWIGINTERN PyObject
*_wrap_PyControl_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39536 PyObject
*resultobj
= 0;
39537 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39541 PyObject
*swig_obj
[1] ;
39543 if (!args
) SWIG_fail
;
39544 swig_obj
[0] = args
;
39545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39546 if (!SWIG_IsOK(res1
)) {
39547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39549 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39552 result
= ((wxPyControl
const *)arg1
)->DoGetBestSize();
39553 wxPyEndAllowThreads(__tstate
);
39554 if (PyErr_Occurred()) SWIG_fail
;
39556 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39563 SWIGINTERN PyObject
*_wrap_PyControl_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39564 PyObject
*resultobj
= 0;
39565 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39566 SwigValueWrapper
<wxVisualAttributes
> result
;
39569 PyObject
*swig_obj
[1] ;
39571 if (!args
) SWIG_fail
;
39572 swig_obj
[0] = args
;
39573 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39574 if (!SWIG_IsOK(res1
)) {
39575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
39577 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39580 result
= (arg1
)->GetDefaultAttributes();
39581 wxPyEndAllowThreads(__tstate
);
39582 if (PyErr_Occurred()) SWIG_fail
;
39584 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
39591 SWIGINTERN PyObject
*_wrap_PyControl_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39592 PyObject
*resultobj
= 0;
39593 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39596 PyObject
*swig_obj
[1] ;
39598 if (!args
) SWIG_fail
;
39599 swig_obj
[0] = args
;
39600 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39601 if (!SWIG_IsOK(res1
)) {
39602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
39604 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39607 (arg1
)->OnInternalIdle();
39608 wxPyEndAllowThreads(__tstate
);
39609 if (PyErr_Occurred()) SWIG_fail
;
39611 resultobj
= SWIG_Py_Void();
39618 SWIGINTERN PyObject
*PyControl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39620 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39621 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl
, SWIG_NewClientData(obj
));
39622 return SWIG_Py_Void();
39625 SWIGINTERN PyObject
*PyControl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39626 return SWIG_Python_InitShadowInstance(args
);
39629 SWIGINTERN PyObject
*_wrap_new_HelpEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39630 PyObject
*resultobj
= 0;
39631 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
39632 int arg2
= (int) 0 ;
39633 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39634 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39635 wxHelpEvent::Origin arg4
= (wxHelpEvent::Origin
) wxHelpEvent::Origin_Unknown
;
39636 wxHelpEvent
*result
= 0 ;
39644 PyObject
* obj0
= 0 ;
39645 PyObject
* obj1
= 0 ;
39646 PyObject
* obj2
= 0 ;
39647 PyObject
* obj3
= 0 ;
39648 char * kwnames
[] = {
39649 (char *) "type",(char *) "winid",(char *) "pt",(char *) "origin", NULL
39652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39654 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
39655 if (!SWIG_IsOK(ecode1
)) {
39656 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
39658 arg1
= static_cast< wxEventType
>(val1
);
39661 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39662 if (!SWIG_IsOK(ecode2
)) {
39663 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
39665 arg2
= static_cast< int >(val2
);
39670 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39674 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39675 if (!SWIG_IsOK(ecode4
)) {
39676 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HelpEvent" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
39678 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
39681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39682 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
,arg4
);
39683 wxPyEndAllowThreads(__tstate
);
39684 if (PyErr_Occurred()) SWIG_fail
;
39686 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_NEW
| 0 );
39693 SWIGINTERN PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39694 PyObject
*resultobj
= 0;
39695 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39699 PyObject
*swig_obj
[1] ;
39701 if (!args
) SWIG_fail
;
39702 swig_obj
[0] = args
;
39703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39704 if (!SWIG_IsOK(res1
)) {
39705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39707 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39710 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
39711 wxPyEndAllowThreads(__tstate
);
39712 if (PyErr_Occurred()) SWIG_fail
;
39714 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
39721 SWIGINTERN PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39722 PyObject
*resultobj
= 0;
39723 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39724 wxPoint
*arg2
= 0 ;
39728 PyObject
* obj0
= 0 ;
39729 PyObject
* obj1
= 0 ;
39730 char * kwnames
[] = {
39731 (char *) "self",(char *) "pos", NULL
39734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39736 if (!SWIG_IsOK(res1
)) {
39737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39739 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39742 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39746 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
39747 wxPyEndAllowThreads(__tstate
);
39748 if (PyErr_Occurred()) SWIG_fail
;
39750 resultobj
= SWIG_Py_Void();
39757 SWIGINTERN PyObject
*_wrap_HelpEvent_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39758 PyObject
*resultobj
= 0;
39759 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39760 wxString
*result
= 0 ;
39763 PyObject
*swig_obj
[1] ;
39765 if (!args
) SWIG_fail
;
39766 swig_obj
[0] = args
;
39767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39768 if (!SWIG_IsOK(res1
)) {
39769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39771 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39775 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
39776 result
= (wxString
*) &_result_ref
;
39778 wxPyEndAllowThreads(__tstate
);
39779 if (PyErr_Occurred()) SWIG_fail
;
39783 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39785 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39794 SWIGINTERN PyObject
*_wrap_HelpEvent_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39795 PyObject
*resultobj
= 0;
39796 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39797 wxString
*arg2
= 0 ;
39800 bool temp2
= false ;
39801 PyObject
* obj0
= 0 ;
39802 PyObject
* obj1
= 0 ;
39803 char * kwnames
[] = {
39804 (char *) "self",(char *) "link", NULL
39807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39809 if (!SWIG_IsOK(res1
)) {
39810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39812 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39814 arg2
= wxString_in_helper(obj1
);
39815 if (arg2
== NULL
) SWIG_fail
;
39819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39820 (arg1
)->SetLink((wxString
const &)*arg2
);
39821 wxPyEndAllowThreads(__tstate
);
39822 if (PyErr_Occurred()) SWIG_fail
;
39824 resultobj
= SWIG_Py_Void();
39839 SWIGINTERN PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39840 PyObject
*resultobj
= 0;
39841 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39842 wxString
*result
= 0 ;
39845 PyObject
*swig_obj
[1] ;
39847 if (!args
) SWIG_fail
;
39848 swig_obj
[0] = args
;
39849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39850 if (!SWIG_IsOK(res1
)) {
39851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39853 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39857 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
39858 result
= (wxString
*) &_result_ref
;
39860 wxPyEndAllowThreads(__tstate
);
39861 if (PyErr_Occurred()) SWIG_fail
;
39865 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39867 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39876 SWIGINTERN PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39877 PyObject
*resultobj
= 0;
39878 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39879 wxString
*arg2
= 0 ;
39882 bool temp2
= false ;
39883 PyObject
* obj0
= 0 ;
39884 PyObject
* obj1
= 0 ;
39885 char * kwnames
[] = {
39886 (char *) "self",(char *) "target", NULL
39889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39891 if (!SWIG_IsOK(res1
)) {
39892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39894 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39896 arg2
= wxString_in_helper(obj1
);
39897 if (arg2
== NULL
) SWIG_fail
;
39901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39902 (arg1
)->SetTarget((wxString
const &)*arg2
);
39903 wxPyEndAllowThreads(__tstate
);
39904 if (PyErr_Occurred()) SWIG_fail
;
39906 resultobj
= SWIG_Py_Void();
39921 SWIGINTERN PyObject
*_wrap_HelpEvent_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39922 PyObject
*resultobj
= 0;
39923 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39924 wxHelpEvent::Origin result
;
39927 PyObject
*swig_obj
[1] ;
39929 if (!args
) SWIG_fail
;
39930 swig_obj
[0] = args
;
39931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39932 if (!SWIG_IsOK(res1
)) {
39933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39935 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39938 result
= (wxHelpEvent::Origin
)((wxHelpEvent
const *)arg1
)->GetOrigin();
39939 wxPyEndAllowThreads(__tstate
);
39940 if (PyErr_Occurred()) SWIG_fail
;
39942 resultobj
= SWIG_From_int(static_cast< int >(result
));
39949 SWIGINTERN PyObject
*_wrap_HelpEvent_SetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39950 PyObject
*resultobj
= 0;
39951 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39952 wxHelpEvent::Origin arg2
;
39957 PyObject
* obj0
= 0 ;
39958 PyObject
* obj1
= 0 ;
39959 char * kwnames
[] = {
39960 (char *) "self",(char *) "origin", NULL
39963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetOrigin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39965 if (!SWIG_IsOK(res1
)) {
39966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39968 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39969 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39970 if (!SWIG_IsOK(ecode2
)) {
39971 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "2"" of type '" "wxHelpEvent::Origin""'");
39973 arg2
= static_cast< wxHelpEvent::Origin
>(val2
);
39975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39976 (arg1
)->SetOrigin(arg2
);
39977 wxPyEndAllowThreads(__tstate
);
39978 if (PyErr_Occurred()) SWIG_fail
;
39980 resultobj
= SWIG_Py_Void();
39987 SWIGINTERN PyObject
*HelpEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39989 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39990 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent
, SWIG_NewClientData(obj
));
39991 return SWIG_Py_Void();
39994 SWIGINTERN PyObject
*HelpEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39995 return SWIG_Python_InitShadowInstance(args
);
39998 SWIGINTERN PyObject
*_wrap_new_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39999 PyObject
*resultobj
= 0;
40000 wxWindow
*arg1
= (wxWindow
*) NULL
;
40001 bool arg2
= (bool) true ;
40002 wxContextHelp
*result
= 0 ;
40007 PyObject
* obj0
= 0 ;
40008 PyObject
* obj1
= 0 ;
40009 char * kwnames
[] = {
40010 (char *) "window",(char *) "doNow", NULL
40013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40016 if (!SWIG_IsOK(res1
)) {
40017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
40019 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40022 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
40023 if (!SWIG_IsOK(ecode2
)) {
40024 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
40026 arg2
= static_cast< bool >(val2
);
40029 if (!wxPyCheckForApp()) SWIG_fail
;
40030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40031 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
40032 wxPyEndAllowThreads(__tstate
);
40033 if (PyErr_Occurred()) SWIG_fail
;
40035 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_NEW
| 0 );
40042 SWIGINTERN PyObject
*_wrap_delete_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40043 PyObject
*resultobj
= 0;
40044 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
40047 PyObject
*swig_obj
[1] ;
40049 if (!args
) SWIG_fail
;
40050 swig_obj
[0] = args
;
40051 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_DISOWN
| 0 );
40052 if (!SWIG_IsOK(res1
)) {
40053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
40055 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
40057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40060 wxPyEndAllowThreads(__tstate
);
40061 if (PyErr_Occurred()) SWIG_fail
;
40063 resultobj
= SWIG_Py_Void();
40070 SWIGINTERN PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40071 PyObject
*resultobj
= 0;
40072 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
40073 wxWindow
*arg2
= (wxWindow
*) NULL
;
40079 PyObject
* obj0
= 0 ;
40080 PyObject
* obj1
= 0 ;
40081 char * kwnames
[] = {
40082 (char *) "self",(char *) "window", NULL
40085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
40087 if (!SWIG_IsOK(res1
)) {
40088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
40090 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
40092 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40093 if (!SWIG_IsOK(res2
)) {
40094 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40096 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40100 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
40101 wxPyEndAllowThreads(__tstate
);
40102 if (PyErr_Occurred()) SWIG_fail
;
40105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40113 SWIGINTERN PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40114 PyObject
*resultobj
= 0;
40115 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
40119 PyObject
*swig_obj
[1] ;
40121 if (!args
) SWIG_fail
;
40122 swig_obj
[0] = args
;
40123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
40124 if (!SWIG_IsOK(res1
)) {
40125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
40127 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
40129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40130 result
= (bool)(arg1
)->EndContextHelp();
40131 wxPyEndAllowThreads(__tstate
);
40132 if (PyErr_Occurred()) SWIG_fail
;
40135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40143 SWIGINTERN PyObject
*ContextHelp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40145 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40146 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp
, SWIG_NewClientData(obj
));
40147 return SWIG_Py_Void();
40150 SWIGINTERN PyObject
*ContextHelp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40151 return SWIG_Python_InitShadowInstance(args
);
40154 SWIGINTERN PyObject
*_wrap_new_ContextHelpButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40155 PyObject
*resultobj
= 0;
40156 wxWindow
*arg1
= (wxWindow
*) 0 ;
40157 int arg2
= (int) wxID_CONTEXT_HELP
;
40158 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
40159 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
40160 wxSize
const &arg4_defvalue
= wxDefaultSize
;
40161 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
40162 long arg5
= (long) wxBU_AUTODRAW
;
40163 wxContextHelpButton
*result
= 0 ;
40172 PyObject
* obj0
= 0 ;
40173 PyObject
* obj1
= 0 ;
40174 PyObject
* obj2
= 0 ;
40175 PyObject
* obj3
= 0 ;
40176 PyObject
* obj4
= 0 ;
40177 char * kwnames
[] = {
40178 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
40181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40183 if (!SWIG_IsOK(res1
)) {
40184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
40186 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40188 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40189 if (!SWIG_IsOK(ecode2
)) {
40190 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
40192 arg2
= static_cast< int >(val2
);
40197 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40203 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
40207 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
40208 if (!SWIG_IsOK(ecode5
)) {
40209 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
40211 arg5
= static_cast< long >(val5
);
40214 if (!wxPyCheckForApp()) SWIG_fail
;
40215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40216 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
40217 wxPyEndAllowThreads(__tstate
);
40218 if (PyErr_Occurred()) SWIG_fail
;
40220 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelpButton
, SWIG_POINTER_NEW
| 0 );
40227 SWIGINTERN PyObject
*ContextHelpButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40229 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40230 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton
, SWIG_NewClientData(obj
));
40231 return SWIG_Py_Void();
40234 SWIGINTERN PyObject
*ContextHelpButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40235 return SWIG_Python_InitShadowInstance(args
);
40238 SWIGINTERN PyObject
*_wrap_delete_HelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40239 PyObject
*resultobj
= 0;
40240 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40243 PyObject
*swig_obj
[1] ;
40245 if (!args
) SWIG_fail
;
40246 swig_obj
[0] = args
;
40247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
40248 if (!SWIG_IsOK(res1
)) {
40249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40251 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40256 wxPyEndAllowThreads(__tstate
);
40257 if (PyErr_Occurred()) SWIG_fail
;
40259 resultobj
= SWIG_Py_Void();
40266 SWIGINTERN PyObject
*_wrap_HelpProvider_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40267 PyObject
*resultobj
= 0;
40268 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40269 wxHelpProvider
*result
= 0 ;
40271 PyObject
* obj0
= 0 ;
40272 char * kwnames
[] = {
40273 (char *) "helpProvider", NULL
40276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) SWIG_fail
;
40277 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
40278 if (!SWIG_IsOK(res1
)) {
40279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40283 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
40284 wxPyEndAllowThreads(__tstate
);
40285 if (PyErr_Occurred()) SWIG_fail
;
40287 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_OWN
| 0 );
40294 SWIGINTERN PyObject
*_wrap_HelpProvider_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40295 PyObject
*resultobj
= 0;
40296 wxHelpProvider
*result
= 0 ;
40298 if (!SWIG_Python_UnpackTuple(args
,"HelpProvider_Get",0,0,0)) SWIG_fail
;
40300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40301 result
= (wxHelpProvider
*)wxHelpProvider::Get();
40302 wxPyEndAllowThreads(__tstate
);
40303 if (PyErr_Occurred()) SWIG_fail
;
40305 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40312 SWIGINTERN PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40313 PyObject
*resultobj
= 0;
40314 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40315 wxWindow
*arg2
= (wxWindow
*) 0 ;
40321 PyObject
* obj0
= 0 ;
40322 PyObject
* obj1
= 0 ;
40323 char * kwnames
[] = {
40324 (char *) "self",(char *) "window", NULL
40327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40329 if (!SWIG_IsOK(res1
)) {
40330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40332 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40333 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40334 if (!SWIG_IsOK(res2
)) {
40335 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
40337 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40340 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
40341 wxPyEndAllowThreads(__tstate
);
40342 if (PyErr_Occurred()) SWIG_fail
;
40346 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
40348 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
40357 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40358 PyObject
*resultobj
= 0;
40359 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40360 wxWindow
*arg2
= (wxWindow
*) 0 ;
40366 PyObject
* obj0
= 0 ;
40367 PyObject
* obj1
= 0 ;
40368 char * kwnames
[] = {
40369 (char *) "self",(char *) "window", NULL
40372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40374 if (!SWIG_IsOK(res1
)) {
40375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40377 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40378 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40379 if (!SWIG_IsOK(res2
)) {
40380 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40382 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40385 result
= (bool)(arg1
)->ShowHelp(arg2
);
40386 wxPyEndAllowThreads(__tstate
);
40387 if (PyErr_Occurred()) SWIG_fail
;
40390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40398 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelpAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40399 PyObject
*resultobj
= 0;
40400 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40401 wxWindowBase
*arg2
= (wxWindowBase
*) 0 ;
40402 wxPoint
*arg3
= 0 ;
40403 wxHelpEvent::Origin arg4
;
40412 PyObject
* obj0
= 0 ;
40413 PyObject
* obj1
= 0 ;
40414 PyObject
* obj2
= 0 ;
40415 PyObject
* obj3
= 0 ;
40416 char * kwnames
[] = {
40417 (char *) "self",(char *) "window",(char *) "pt",(char *) "origin", NULL
40420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HelpProvider_ShowHelpAtPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40422 if (!SWIG_IsOK(res1
)) {
40423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40425 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40426 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindowBase
, 0 | 0 );
40427 if (!SWIG_IsOK(res2
)) {
40428 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "2"" of type '" "wxWindowBase *""'");
40430 arg2
= reinterpret_cast< wxWindowBase
* >(argp2
);
40433 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40435 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
40436 if (!SWIG_IsOK(ecode4
)) {
40437 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
40439 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
40441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40442 result
= (bool)(arg1
)->ShowHelpAtPoint(arg2
,(wxPoint
const &)*arg3
,arg4
);
40443 wxPyEndAllowThreads(__tstate
);
40444 if (PyErr_Occurred()) SWIG_fail
;
40447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40455 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40456 PyObject
*resultobj
= 0;
40457 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40458 wxWindow
*arg2
= (wxWindow
*) 0 ;
40459 wxString
*arg3
= 0 ;
40464 bool temp3
= false ;
40465 PyObject
* obj0
= 0 ;
40466 PyObject
* obj1
= 0 ;
40467 PyObject
* obj2
= 0 ;
40468 char * kwnames
[] = {
40469 (char *) "self",(char *) "window",(char *) "text", NULL
40472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40474 if (!SWIG_IsOK(res1
)) {
40475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40477 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40478 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40479 if (!SWIG_IsOK(res2
)) {
40480 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40482 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40484 arg3
= wxString_in_helper(obj2
);
40485 if (arg3
== NULL
) SWIG_fail
;
40489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40490 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40491 wxPyEndAllowThreads(__tstate
);
40492 if (PyErr_Occurred()) SWIG_fail
;
40494 resultobj
= SWIG_Py_Void();
40509 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40510 PyObject
*resultobj
= 0;
40511 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40513 wxString
*arg3
= 0 ;
40518 bool temp3
= false ;
40519 PyObject
* obj0
= 0 ;
40520 PyObject
* obj1
= 0 ;
40521 PyObject
* obj2
= 0 ;
40522 char * kwnames
[] = {
40523 (char *) "self",(char *) "id",(char *) "text", NULL
40526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40528 if (!SWIG_IsOK(res1
)) {
40529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40531 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40532 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40533 if (!SWIG_IsOK(ecode2
)) {
40534 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
40536 arg2
= static_cast< int >(val2
);
40538 arg3
= wxString_in_helper(obj2
);
40539 if (arg3
== NULL
) SWIG_fail
;
40543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40544 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40545 wxPyEndAllowThreads(__tstate
);
40546 if (PyErr_Occurred()) SWIG_fail
;
40548 resultobj
= SWIG_Py_Void();
40563 SWIGINTERN PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40564 PyObject
*resultobj
= 0;
40565 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40566 wxWindow
*arg2
= (wxWindow
*) 0 ;
40571 PyObject
* obj0
= 0 ;
40572 PyObject
* obj1
= 0 ;
40573 char * kwnames
[] = {
40574 (char *) "self",(char *) "window", NULL
40577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40579 if (!SWIG_IsOK(res1
)) {
40580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40582 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40583 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40584 if (!SWIG_IsOK(res2
)) {
40585 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40587 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40590 (arg1
)->RemoveHelp(arg2
);
40591 wxPyEndAllowThreads(__tstate
);
40592 if (PyErr_Occurred()) SWIG_fail
;
40594 resultobj
= SWIG_Py_Void();
40601 SWIGINTERN PyObject
*_wrap_HelpProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40602 PyObject
*resultobj
= 0;
40603 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40606 PyObject
*swig_obj
[1] ;
40608 if (!args
) SWIG_fail
;
40609 swig_obj
[0] = args
;
40610 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40611 if (!SWIG_IsOK(res1
)) {
40612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40614 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40617 wxHelpProvider_Destroy(arg1
);
40618 wxPyEndAllowThreads(__tstate
);
40619 if (PyErr_Occurred()) SWIG_fail
;
40621 resultobj
= SWIG_Py_Void();
40628 SWIGINTERN PyObject
*HelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40630 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40631 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider
, SWIG_NewClientData(obj
));
40632 return SWIG_Py_Void();
40635 SWIGINTERN PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40636 PyObject
*resultobj
= 0;
40637 wxSimpleHelpProvider
*result
= 0 ;
40639 if (!SWIG_Python_UnpackTuple(args
,"new_SimpleHelpProvider",0,0,0)) SWIG_fail
;
40641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40642 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
40643 wxPyEndAllowThreads(__tstate
);
40644 if (PyErr_Occurred()) SWIG_fail
;
40646 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_POINTER_NEW
| 0 );
40653 SWIGINTERN PyObject
*SimpleHelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40655 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40656 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_NewClientData(obj
));
40657 return SWIG_Py_Void();
40660 SWIGINTERN PyObject
*SimpleHelpProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40661 return SWIG_Python_InitShadowInstance(args
);
40664 SWIGINTERN PyObject
*_wrap_new_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40665 PyObject
*resultobj
= 0;
40666 wxBitmap
*arg1
= 0 ;
40667 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40668 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40669 wxGenericDragImage
*result
= 0 ;
40674 PyObject
* obj0
= 0 ;
40675 PyObject
* obj1
= 0 ;
40676 char * kwnames
[] = {
40677 (char *) "image",(char *) "cursor", NULL
40680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40681 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
40682 if (!SWIG_IsOK(res1
)) {
40683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40686 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40688 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
40690 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40691 if (!SWIG_IsOK(res2
)) {
40692 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40695 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40697 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40700 if (!wxPyCheckForApp()) SWIG_fail
;
40701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40702 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
40703 wxPyEndAllowThreads(__tstate
);
40704 if (PyErr_Occurred()) SWIG_fail
;
40706 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_NEW
| 0 );
40713 SWIGINTERN PyObject
*_wrap_new_DragIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40714 PyObject
*resultobj
= 0;
40716 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40717 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40718 wxGenericDragImage
*result
= 0 ;
40723 PyObject
* obj0
= 0 ;
40724 PyObject
* obj1
= 0 ;
40725 char * kwnames
[] = {
40726 (char *) "image",(char *) "cursor", NULL
40729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40730 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
40731 if (!SWIG_IsOK(res1
)) {
40732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40735 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40737 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
40739 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40740 if (!SWIG_IsOK(res2
)) {
40741 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40744 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40746 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40749 if (!wxPyCheckForApp()) SWIG_fail
;
40750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40751 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
40752 wxPyEndAllowThreads(__tstate
);
40753 if (PyErr_Occurred()) SWIG_fail
;
40755 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40762 SWIGINTERN PyObject
*_wrap_new_DragString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40763 PyObject
*resultobj
= 0;
40764 wxString
*arg1
= 0 ;
40765 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40766 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40767 wxGenericDragImage
*result
= 0 ;
40768 bool temp1
= false ;
40771 PyObject
* obj0
= 0 ;
40772 PyObject
* obj1
= 0 ;
40773 char * kwnames
[] = {
40774 (char *) "str",(char *) "cursor", NULL
40777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40779 arg1
= wxString_in_helper(obj0
);
40780 if (arg1
== NULL
) SWIG_fail
;
40784 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40785 if (!SWIG_IsOK(res2
)) {
40786 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40789 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40791 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40794 if (!wxPyCheckForApp()) SWIG_fail
;
40795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40796 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
40797 wxPyEndAllowThreads(__tstate
);
40798 if (PyErr_Occurred()) SWIG_fail
;
40800 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40815 SWIGINTERN PyObject
*_wrap_new_DragTreeItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40816 PyObject
*resultobj
= 0;
40817 wxPyTreeCtrl
*arg1
= 0 ;
40818 wxTreeItemId
*arg2
= 0 ;
40819 wxGenericDragImage
*result
= 0 ;
40824 PyObject
* obj0
= 0 ;
40825 PyObject
* obj1
= 0 ;
40826 char * kwnames
[] = {
40827 (char *) "treeCtrl",(char *) "id", NULL
40830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40831 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0);
40832 if (!SWIG_IsOK(res1
)) {
40833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40836 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40838 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
40839 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 );
40840 if (!SWIG_IsOK(res2
)) {
40841 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40844 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40846 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
40848 if (!wxPyCheckForApp()) SWIG_fail
;
40849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40850 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
40851 wxPyEndAllowThreads(__tstate
);
40852 if (PyErr_Occurred()) SWIG_fail
;
40854 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40861 SWIGINTERN PyObject
*_wrap_new_DragListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40862 PyObject
*resultobj
= 0;
40863 wxPyListCtrl
*arg1
= 0 ;
40865 wxGenericDragImage
*result
= 0 ;
40870 PyObject
* obj0
= 0 ;
40871 PyObject
* obj1
= 0 ;
40872 char * kwnames
[] = {
40873 (char *) "listCtrl",(char *) "id", NULL
40876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40877 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyListCtrl
, 0 | 0);
40878 if (!SWIG_IsOK(res1
)) {
40879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40882 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40884 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
40885 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
40886 if (!SWIG_IsOK(ecode2
)) {
40887 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
40889 arg2
= static_cast< long >(val2
);
40891 if (!wxPyCheckForApp()) SWIG_fail
;
40892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40893 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
40894 wxPyEndAllowThreads(__tstate
);
40895 if (PyErr_Occurred()) SWIG_fail
;
40897 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40904 SWIGINTERN PyObject
*_wrap_delete_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40905 PyObject
*resultobj
= 0;
40906 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40909 PyObject
*swig_obj
[1] ;
40911 if (!args
) SWIG_fail
;
40912 swig_obj
[0] = args
;
40913 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_DISOWN
| 0 );
40914 if (!SWIG_IsOK(res1
)) {
40915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40917 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40922 wxPyEndAllowThreads(__tstate
);
40923 if (PyErr_Occurred()) SWIG_fail
;
40925 resultobj
= SWIG_Py_Void();
40932 SWIGINTERN PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40933 PyObject
*resultobj
= 0;
40934 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40935 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
40940 PyObject
* obj0
= 0 ;
40941 PyObject
* obj1
= 0 ;
40942 char * kwnames
[] = {
40943 (char *) "self",(char *) "bitmap", NULL
40946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40948 if (!SWIG_IsOK(res1
)) {
40949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40951 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40952 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
40953 if (!SWIG_IsOK(res2
)) {
40954 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
40956 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
40958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40959 (arg1
)->SetBackingBitmap(arg2
);
40960 wxPyEndAllowThreads(__tstate
);
40961 if (PyErr_Occurred()) SWIG_fail
;
40963 resultobj
= SWIG_Py_Void();
40970 SWIGINTERN PyObject
*_wrap_DragImage_BeginDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40971 PyObject
*resultobj
= 0;
40972 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40973 wxPoint
*arg2
= 0 ;
40974 wxWindow
*arg3
= (wxWindow
*) 0 ;
40975 bool arg4
= (bool) false ;
40976 wxRect
*arg5
= (wxRect
*) NULL
;
40987 PyObject
* obj0
= 0 ;
40988 PyObject
* obj1
= 0 ;
40989 PyObject
* obj2
= 0 ;
40990 PyObject
* obj3
= 0 ;
40991 PyObject
* obj4
= 0 ;
40992 char * kwnames
[] = {
40993 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
40996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40998 if (!SWIG_IsOK(res1
)) {
40999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41001 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41004 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41006 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41007 if (!SWIG_IsOK(res3
)) {
41008 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
41010 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
41012 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
41013 if (!SWIG_IsOK(ecode4
)) {
41014 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
41016 arg4
= static_cast< bool >(val4
);
41019 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxRect
, 0 | 0 );
41020 if (!SWIG_IsOK(res5
)) {
41021 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
41023 arg5
= reinterpret_cast< wxRect
* >(argp5
);
41026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41027 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
41028 wxPyEndAllowThreads(__tstate
);
41029 if (PyErr_Occurred()) SWIG_fail
;
41032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41040 SWIGINTERN PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41041 PyObject
*resultobj
= 0;
41042 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41043 wxPoint
*arg2
= 0 ;
41044 wxWindow
*arg3
= (wxWindow
*) 0 ;
41045 wxWindow
*arg4
= (wxWindow
*) 0 ;
41054 PyObject
* obj0
= 0 ;
41055 PyObject
* obj1
= 0 ;
41056 PyObject
* obj2
= 0 ;
41057 PyObject
* obj3
= 0 ;
41058 char * kwnames
[] = {
41059 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
41062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
41063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41064 if (!SWIG_IsOK(res1
)) {
41065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41067 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41070 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41072 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41073 if (!SWIG_IsOK(res3
)) {
41074 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
41076 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
41077 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41078 if (!SWIG_IsOK(res4
)) {
41079 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
41081 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
41083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41084 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
41085 wxPyEndAllowThreads(__tstate
);
41086 if (PyErr_Occurred()) SWIG_fail
;
41089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41097 SWIGINTERN PyObject
*_wrap_DragImage_EndDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41098 PyObject
*resultobj
= 0;
41099 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41103 PyObject
*swig_obj
[1] ;
41105 if (!args
) SWIG_fail
;
41106 swig_obj
[0] = args
;
41107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41108 if (!SWIG_IsOK(res1
)) {
41109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41111 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41114 result
= (bool)(arg1
)->EndDrag();
41115 wxPyEndAllowThreads(__tstate
);
41116 if (PyErr_Occurred()) SWIG_fail
;
41119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41127 SWIGINTERN PyObject
*_wrap_DragImage_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41128 PyObject
*resultobj
= 0;
41129 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41130 wxPoint
*arg2
= 0 ;
41135 PyObject
* obj0
= 0 ;
41136 PyObject
* obj1
= 0 ;
41137 char * kwnames
[] = {
41138 (char *) "self",(char *) "pt", NULL
41141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41143 if (!SWIG_IsOK(res1
)) {
41144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41146 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41149 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41153 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
41154 wxPyEndAllowThreads(__tstate
);
41155 if (PyErr_Occurred()) SWIG_fail
;
41158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41166 SWIGINTERN PyObject
*_wrap_DragImage_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41167 PyObject
*resultobj
= 0;
41168 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41172 PyObject
*swig_obj
[1] ;
41174 if (!args
) SWIG_fail
;
41175 swig_obj
[0] = args
;
41176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41177 if (!SWIG_IsOK(res1
)) {
41178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41180 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41183 result
= (bool)(arg1
)->Show();
41184 wxPyEndAllowThreads(__tstate
);
41185 if (PyErr_Occurred()) SWIG_fail
;
41188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41196 SWIGINTERN PyObject
*_wrap_DragImage_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41197 PyObject
*resultobj
= 0;
41198 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41202 PyObject
*swig_obj
[1] ;
41204 if (!args
) SWIG_fail
;
41205 swig_obj
[0] = args
;
41206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41207 if (!SWIG_IsOK(res1
)) {
41208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41210 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41213 result
= (bool)(arg1
)->Hide();
41214 wxPyEndAllowThreads(__tstate
);
41215 if (PyErr_Occurred()) SWIG_fail
;
41218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41226 SWIGINTERN PyObject
*_wrap_DragImage_GetImageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41227 PyObject
*resultobj
= 0;
41228 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41229 wxPoint
*arg2
= 0 ;
41234 PyObject
* obj0
= 0 ;
41235 PyObject
* obj1
= 0 ;
41236 char * kwnames
[] = {
41237 (char *) "self",(char *) "pos", NULL
41240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41242 if (!SWIG_IsOK(res1
)) {
41243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41245 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41248 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41252 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
41253 wxPyEndAllowThreads(__tstate
);
41254 if (PyErr_Occurred()) SWIG_fail
;
41256 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
41263 SWIGINTERN PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41264 PyObject
*resultobj
= 0;
41265 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41267 wxPoint
*arg3
= 0 ;
41274 PyObject
* obj0
= 0 ;
41275 PyObject
* obj1
= 0 ;
41276 PyObject
* obj2
= 0 ;
41277 char * kwnames
[] = {
41278 (char *) "self",(char *) "dc",(char *) "pos", NULL
41281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41283 if (!SWIG_IsOK(res1
)) {
41284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41286 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41287 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
41288 if (!SWIG_IsOK(res2
)) {
41289 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41292 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41294 arg2
= reinterpret_cast< wxDC
* >(argp2
);
41297 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
41300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41301 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
41302 wxPyEndAllowThreads(__tstate
);
41303 if (PyErr_Occurred()) SWIG_fail
;
41306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41314 SWIGINTERN PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41315 PyObject
*resultobj
= 0;
41316 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41318 wxMemoryDC
*arg3
= 0 ;
41330 PyObject
* obj0
= 0 ;
41331 PyObject
* obj1
= 0 ;
41332 PyObject
* obj2
= 0 ;
41333 PyObject
* obj3
= 0 ;
41334 PyObject
* obj4
= 0 ;
41335 char * kwnames
[] = {
41336 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
41339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41341 if (!SWIG_IsOK(res1
)) {
41342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41344 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41345 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
41346 if (!SWIG_IsOK(res2
)) {
41347 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41350 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41352 arg2
= reinterpret_cast< wxDC
* >(argp2
);
41353 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxMemoryDC
, 0 );
41354 if (!SWIG_IsOK(res3
)) {
41355 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41358 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41360 arg3
= reinterpret_cast< wxMemoryDC
* >(argp3
);
41363 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
41367 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
41370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41371 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
41372 wxPyEndAllowThreads(__tstate
);
41373 if (PyErr_Occurred()) SWIG_fail
;
41376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41384 SWIGINTERN PyObject
*_wrap_DragImage_RedrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41385 PyObject
*resultobj
= 0;
41386 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41387 wxPoint
*arg2
= 0 ;
41388 wxPoint
*arg3
= 0 ;
41400 PyObject
* obj0
= 0 ;
41401 PyObject
* obj1
= 0 ;
41402 PyObject
* obj2
= 0 ;
41403 PyObject
* obj3
= 0 ;
41404 PyObject
* obj4
= 0 ;
41405 char * kwnames
[] = {
41406 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
41409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41411 if (!SWIG_IsOK(res1
)) {
41412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41414 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41417 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41421 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
41423 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
41424 if (!SWIG_IsOK(ecode4
)) {
41425 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
41427 arg4
= static_cast< bool >(val4
);
41428 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
41429 if (!SWIG_IsOK(ecode5
)) {
41430 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
41432 arg5
= static_cast< bool >(val5
);
41434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41435 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
41436 wxPyEndAllowThreads(__tstate
);
41437 if (PyErr_Occurred()) SWIG_fail
;
41440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41448 SWIGINTERN PyObject
*DragImage_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41450 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41451 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage
, SWIG_NewClientData(obj
));
41452 return SWIG_Py_Void();
41455 SWIGINTERN PyObject
*DragImage_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41456 return SWIG_Python_InitShadowInstance(args
);
41459 SWIGINTERN
int DatePickerCtrlNameStr_set(PyObject
*) {
41460 SWIG_Error(SWIG_AttributeError
,"Variable DatePickerCtrlNameStr is read-only.");
41465 SWIGINTERN PyObject
*DatePickerCtrlNameStr_get(void) {
41466 PyObject
*pyobj
= 0;
41470 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
41472 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
41479 SWIGINTERN PyObject
*_wrap_new_DatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41480 PyObject
*resultobj
= 0;
41481 wxWindow
*arg1
= (wxWindow
*) 0 ;
41482 int arg2
= (int) -1 ;
41483 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
41484 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
41485 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
41486 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
41487 wxSize
const &arg5_defvalue
= wxDefaultSize
;
41488 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
41489 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41490 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
41491 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
41492 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
41493 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41494 wxDatePickerCtrl
*result
= 0 ;
41507 bool temp8
= false ;
41508 PyObject
* obj0
= 0 ;
41509 PyObject
* obj1
= 0 ;
41510 PyObject
* obj2
= 0 ;
41511 PyObject
* obj3
= 0 ;
41512 PyObject
* obj4
= 0 ;
41513 PyObject
* obj5
= 0 ;
41514 PyObject
* obj6
= 0 ;
41515 PyObject
* obj7
= 0 ;
41516 char * kwnames
[] = {
41517 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41522 if (!SWIG_IsOK(res1
)) {
41523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41525 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41527 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41528 if (!SWIG_IsOK(ecode2
)) {
41529 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
41531 arg2
= static_cast< int >(val2
);
41534 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41535 if (!SWIG_IsOK(res3
)) {
41536 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41539 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41541 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41546 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
41552 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
41556 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
41557 if (!SWIG_IsOK(ecode6
)) {
41558 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
41560 arg6
= static_cast< long >(val6
);
41563 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
41564 if (!SWIG_IsOK(res7
)) {
41565 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41568 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41570 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
41574 arg8
= wxString_in_helper(obj7
);
41575 if (arg8
== NULL
) SWIG_fail
;
41580 if (!wxPyCheckForApp()) SWIG_fail
;
41581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41582 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
41583 wxPyEndAllowThreads(__tstate
);
41584 if (PyErr_Occurred()) SWIG_fail
;
41586 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_NEW
| 0 );
41601 SWIGINTERN PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41602 PyObject
*resultobj
= 0;
41603 wxDatePickerCtrl
*result
= 0 ;
41605 if (!SWIG_Python_UnpackTuple(args
,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail
;
41607 if (!wxPyCheckForApp()) SWIG_fail
;
41608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41609 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
41610 wxPyEndAllowThreads(__tstate
);
41611 if (PyErr_Occurred()) SWIG_fail
;
41613 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_OWN
| 0 );
41620 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41621 PyObject
*resultobj
= 0;
41622 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41623 wxWindow
*arg2
= (wxWindow
*) 0 ;
41624 int arg3
= (int) -1 ;
41625 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
41626 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
41627 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41628 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41629 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41630 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41631 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41632 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
41633 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
41634 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
41635 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41651 bool temp9
= false ;
41652 PyObject
* obj0
= 0 ;
41653 PyObject
* obj1
= 0 ;
41654 PyObject
* obj2
= 0 ;
41655 PyObject
* obj3
= 0 ;
41656 PyObject
* obj4
= 0 ;
41657 PyObject
* obj5
= 0 ;
41658 PyObject
* obj6
= 0 ;
41659 PyObject
* obj7
= 0 ;
41660 PyObject
* obj8
= 0 ;
41661 char * kwnames
[] = {
41662 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41667 if (!SWIG_IsOK(res1
)) {
41668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41670 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41671 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41672 if (!SWIG_IsOK(res2
)) {
41673 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41675 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41677 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41678 if (!SWIG_IsOK(ecode3
)) {
41679 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41681 arg3
= static_cast< int >(val3
);
41684 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41685 if (!SWIG_IsOK(res4
)) {
41686 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41689 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41691 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
41696 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41702 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41706 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41707 if (!SWIG_IsOK(ecode7
)) {
41708 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
41710 arg7
= static_cast< long >(val7
);
41713 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
41714 if (!SWIG_IsOK(res8
)) {
41715 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41718 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41720 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
41724 arg9
= wxString_in_helper(obj8
);
41725 if (arg9
== NULL
) SWIG_fail
;
41730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41731 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
41732 wxPyEndAllowThreads(__tstate
);
41733 if (PyErr_Occurred()) SWIG_fail
;
41736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41752 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41753 PyObject
*resultobj
= 0;
41754 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41755 wxDateTime
*arg2
= 0 ;
41760 PyObject
* obj0
= 0 ;
41761 PyObject
* obj1
= 0 ;
41762 char * kwnames
[] = {
41763 (char *) "self",(char *) "dt", NULL
41766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41768 if (!SWIG_IsOK(res1
)) {
41769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41771 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41772 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41773 if (!SWIG_IsOK(res2
)) {
41774 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41777 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41779 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41782 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
41783 wxPyEndAllowThreads(__tstate
);
41784 if (PyErr_Occurred()) SWIG_fail
;
41786 resultobj
= SWIG_Py_Void();
41793 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41794 PyObject
*resultobj
= 0;
41795 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41799 PyObject
*swig_obj
[1] ;
41801 if (!args
) SWIG_fail
;
41802 swig_obj
[0] = args
;
41803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41804 if (!SWIG_IsOK(res1
)) {
41805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
41807 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41810 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
41811 wxPyEndAllowThreads(__tstate
);
41812 if (PyErr_Occurred()) SWIG_fail
;
41814 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41821 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41822 PyObject
*resultobj
= 0;
41823 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41824 wxDateTime
*arg2
= 0 ;
41825 wxDateTime
*arg3
= 0 ;
41832 PyObject
* obj0
= 0 ;
41833 PyObject
* obj1
= 0 ;
41834 PyObject
* obj2
= 0 ;
41835 char * kwnames
[] = {
41836 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
41839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41841 if (!SWIG_IsOK(res1
)) {
41842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41844 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41845 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41846 if (!SWIG_IsOK(res2
)) {
41847 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41850 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41852 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41853 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41854 if (!SWIG_IsOK(res3
)) {
41855 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41858 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41860 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41863 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
41864 wxPyEndAllowThreads(__tstate
);
41865 if (PyErr_Occurred()) SWIG_fail
;
41867 resultobj
= SWIG_Py_Void();
41874 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41875 PyObject
*resultobj
= 0;
41876 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41880 PyObject
*swig_obj
[1] ;
41882 if (!args
) SWIG_fail
;
41883 swig_obj
[0] = args
;
41884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41885 if (!SWIG_IsOK(res1
)) {
41886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41888 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41891 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
41892 wxPyEndAllowThreads(__tstate
);
41893 if (PyErr_Occurred()) SWIG_fail
;
41895 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41902 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41903 PyObject
*resultobj
= 0;
41904 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41908 PyObject
*swig_obj
[1] ;
41910 if (!args
) SWIG_fail
;
41911 swig_obj
[0] = args
;
41912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41913 if (!SWIG_IsOK(res1
)) {
41914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41916 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41919 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
41920 wxPyEndAllowThreads(__tstate
);
41921 if (PyErr_Occurred()) SWIG_fail
;
41923 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41930 SWIGINTERN PyObject
*DatePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41932 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41933 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl
, SWIG_NewClientData(obj
));
41934 return SWIG_Py_Void();
41937 SWIGINTERN PyObject
*DatePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41938 return SWIG_Python_InitShadowInstance(args
);
41941 SWIGINTERN
int HyperlinkCtrlNameStr_set(PyObject
*) {
41942 SWIG_Error(SWIG_AttributeError
,"Variable HyperlinkCtrlNameStr is read-only.");
41947 SWIGINTERN PyObject
*HyperlinkCtrlNameStr_get(void) {
41948 PyObject
*pyobj
= 0;
41952 pyobj
= PyUnicode_FromWideChar((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41954 pyobj
= PyString_FromStringAndSize((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41961 SWIGINTERN PyObject
*_wrap_new_HyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41962 PyObject
*resultobj
= 0;
41963 wxWindow
*arg1
= (wxWindow
*) 0 ;
41965 wxString
*arg3
= 0 ;
41966 wxString
*arg4
= 0 ;
41967 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41968 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41969 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41970 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41971 long arg7
= (long) wxHL_DEFAULT_STYLE
;
41972 wxString
const &arg8_defvalue
= wxPyHyperlinkCtrlNameStr
;
41973 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41974 wxHyperlinkCtrl
*result
= 0 ;
41979 bool temp3
= false ;
41980 bool temp4
= false ;
41985 bool temp8
= false ;
41986 PyObject
* obj0
= 0 ;
41987 PyObject
* obj1
= 0 ;
41988 PyObject
* obj2
= 0 ;
41989 PyObject
* obj3
= 0 ;
41990 PyObject
* obj4
= 0 ;
41991 PyObject
* obj5
= 0 ;
41992 PyObject
* obj6
= 0 ;
41993 PyObject
* obj7
= 0 ;
41994 char * kwnames
[] = {
41995 (char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_HyperlinkCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42000 if (!SWIG_IsOK(res1
)) {
42001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
42003 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
42004 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42005 if (!SWIG_IsOK(ecode2
)) {
42006 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkCtrl" "', expected argument " "2"" of type '" "int""'");
42008 arg2
= static_cast< int >(val2
);
42010 arg3
= wxString_in_helper(obj2
);
42011 if (arg3
== NULL
) SWIG_fail
;
42015 arg4
= wxString_in_helper(obj3
);
42016 if (arg4
== NULL
) SWIG_fail
;
42022 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
42028 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
42032 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
42033 if (!SWIG_IsOK(ecode7
)) {
42034 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_HyperlinkCtrl" "', expected argument " "7"" of type '" "long""'");
42036 arg7
= static_cast< long >(val7
);
42040 arg8
= wxString_in_helper(obj7
);
42041 if (arg8
== NULL
) SWIG_fail
;
42046 if (!wxPyCheckForApp()) SWIG_fail
;
42047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42048 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
42049 wxPyEndAllowThreads(__tstate
);
42050 if (PyErr_Occurred()) SWIG_fail
;
42052 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_NEW
| 0 );
42083 SWIGINTERN PyObject
*_wrap_new_PreHyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42084 PyObject
*resultobj
= 0;
42085 wxHyperlinkCtrl
*result
= 0 ;
42087 if (!SWIG_Python_UnpackTuple(args
,"new_PreHyperlinkCtrl",0,0,0)) SWIG_fail
;
42089 if (!wxPyCheckForApp()) SWIG_fail
;
42090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42091 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl();
42092 wxPyEndAllowThreads(__tstate
);
42093 if (PyErr_Occurred()) SWIG_fail
;
42095 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_OWN
| 0 );
42102 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42103 PyObject
*resultobj
= 0;
42104 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42105 wxWindow
*arg2
= (wxWindow
*) 0 ;
42107 wxString
*arg4
= 0 ;
42108 wxString
*arg5
= 0 ;
42109 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
42110 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
42111 wxSize
const &arg7_defvalue
= wxDefaultSize
;
42112 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
42113 long arg8
= (long) wxHL_DEFAULT_STYLE
;
42114 wxString
const &arg9_defvalue
= wxPyHyperlinkCtrlNameStr
;
42115 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
42123 bool temp4
= false ;
42124 bool temp5
= false ;
42129 bool temp9
= false ;
42130 PyObject
* obj0
= 0 ;
42131 PyObject
* obj1
= 0 ;
42132 PyObject
* obj2
= 0 ;
42133 PyObject
* obj3
= 0 ;
42134 PyObject
* obj4
= 0 ;
42135 PyObject
* obj5
= 0 ;
42136 PyObject
* obj6
= 0 ;
42137 PyObject
* obj7
= 0 ;
42138 PyObject
* obj8
= 0 ;
42139 char * kwnames
[] = {
42140 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
42143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOO:HyperlinkCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
42144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42145 if (!SWIG_IsOK(res1
)) {
42146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42148 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42149 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42150 if (!SWIG_IsOK(res2
)) {
42151 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
42153 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
42154 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42155 if (!SWIG_IsOK(ecode3
)) {
42156 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "3"" of type '" "int""'");
42158 arg3
= static_cast< int >(val3
);
42160 arg4
= wxString_in_helper(obj3
);
42161 if (arg4
== NULL
) SWIG_fail
;
42165 arg5
= wxString_in_helper(obj4
);
42166 if (arg5
== NULL
) SWIG_fail
;
42172 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
42178 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
42182 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
42183 if (!SWIG_IsOK(ecode8
)) {
42184 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "8"" of type '" "long""'");
42186 arg8
= static_cast< long >(val8
);
42190 arg9
= wxString_in_helper(obj8
);
42191 if (arg9
== NULL
) SWIG_fail
;
42196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42197 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
42198 wxPyEndAllowThreads(__tstate
);
42199 if (PyErr_Occurred()) SWIG_fail
;
42202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42234 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42235 PyObject
*resultobj
= 0;
42236 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42240 PyObject
*swig_obj
[1] ;
42242 if (!args
) SWIG_fail
;
42243 swig_obj
[0] = args
;
42244 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42245 if (!SWIG_IsOK(res1
)) {
42246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42248 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42251 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetHoverColour();
42252 wxPyEndAllowThreads(__tstate
);
42253 if (PyErr_Occurred()) SWIG_fail
;
42255 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42262 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42263 PyObject
*resultobj
= 0;
42264 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42265 wxColour
*arg2
= 0 ;
42269 PyObject
* obj0
= 0 ;
42270 PyObject
* obj1
= 0 ;
42271 char * kwnames
[] = {
42272 (char *) "self",(char *) "colour", NULL
42275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetHoverColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42277 if (!SWIG_IsOK(res1
)) {
42278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42280 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42283 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42287 (arg1
)->SetHoverColour((wxColour
const &)*arg2
);
42288 wxPyEndAllowThreads(__tstate
);
42289 if (PyErr_Occurred()) SWIG_fail
;
42291 resultobj
= SWIG_Py_Void();
42298 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42299 PyObject
*resultobj
= 0;
42300 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42304 PyObject
*swig_obj
[1] ;
42306 if (!args
) SWIG_fail
;
42307 swig_obj
[0] = args
;
42308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42309 if (!SWIG_IsOK(res1
)) {
42310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42312 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42315 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetNormalColour();
42316 wxPyEndAllowThreads(__tstate
);
42317 if (PyErr_Occurred()) SWIG_fail
;
42319 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42326 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42327 PyObject
*resultobj
= 0;
42328 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42329 wxColour
*arg2
= 0 ;
42333 PyObject
* obj0
= 0 ;
42334 PyObject
* obj1
= 0 ;
42335 char * kwnames
[] = {
42336 (char *) "self",(char *) "colour", NULL
42339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetNormalColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42341 if (!SWIG_IsOK(res1
)) {
42342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42344 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42347 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42351 (arg1
)->SetNormalColour((wxColour
const &)*arg2
);
42352 wxPyEndAllowThreads(__tstate
);
42353 if (PyErr_Occurred()) SWIG_fail
;
42355 resultobj
= SWIG_Py_Void();
42362 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42363 PyObject
*resultobj
= 0;
42364 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42368 PyObject
*swig_obj
[1] ;
42370 if (!args
) SWIG_fail
;
42371 swig_obj
[0] = args
;
42372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42373 if (!SWIG_IsOK(res1
)) {
42374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42376 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42379 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetVisitedColour();
42380 wxPyEndAllowThreads(__tstate
);
42381 if (PyErr_Occurred()) SWIG_fail
;
42383 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42390 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42391 PyObject
*resultobj
= 0;
42392 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42393 wxColour
*arg2
= 0 ;
42397 PyObject
* obj0
= 0 ;
42398 PyObject
* obj1
= 0 ;
42399 char * kwnames
[] = {
42400 (char *) "self",(char *) "colour", NULL
42403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetVisitedColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42405 if (!SWIG_IsOK(res1
)) {
42406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42408 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42411 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42415 (arg1
)->SetVisitedColour((wxColour
const &)*arg2
);
42416 wxPyEndAllowThreads(__tstate
);
42417 if (PyErr_Occurred()) SWIG_fail
;
42419 resultobj
= SWIG_Py_Void();
42426 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42427 PyObject
*resultobj
= 0;
42428 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42432 PyObject
*swig_obj
[1] ;
42434 if (!args
) SWIG_fail
;
42435 swig_obj
[0] = args
;
42436 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42437 if (!SWIG_IsOK(res1
)) {
42438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42440 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42443 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetURL();
42444 wxPyEndAllowThreads(__tstate
);
42445 if (PyErr_Occurred()) SWIG_fail
;
42449 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42451 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42460 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42461 PyObject
*resultobj
= 0;
42462 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42463 wxString
*arg2
= 0 ;
42466 bool temp2
= false ;
42467 PyObject
* obj0
= 0 ;
42468 PyObject
* obj1
= 0 ;
42469 char * kwnames
[] = {
42470 (char *) "self",(char *) "url", NULL
42473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42475 if (!SWIG_IsOK(res1
)) {
42476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42478 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42480 arg2
= wxString_in_helper(obj1
);
42481 if (arg2
== NULL
) SWIG_fail
;
42485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42486 (arg1
)->SetURL((wxString
const &)*arg2
);
42487 wxPyEndAllowThreads(__tstate
);
42488 if (PyErr_Occurred()) SWIG_fail
;
42490 resultobj
= SWIG_Py_Void();
42505 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42506 PyObject
*resultobj
= 0;
42507 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42508 bool arg2
= (bool) true ;
42513 PyObject
* obj0
= 0 ;
42514 PyObject
* obj1
= 0 ;
42515 char * kwnames
[] = {
42516 (char *) "self",(char *) "visited", NULL
42519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HyperlinkCtrl_SetVisited",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42521 if (!SWIG_IsOK(res1
)) {
42522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42524 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42526 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42527 if (!SWIG_IsOK(ecode2
)) {
42528 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "2"" of type '" "bool""'");
42530 arg2
= static_cast< bool >(val2
);
42533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42534 (arg1
)->SetVisited(arg2
);
42535 wxPyEndAllowThreads(__tstate
);
42536 if (PyErr_Occurred()) SWIG_fail
;
42538 resultobj
= SWIG_Py_Void();
42545 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42546 PyObject
*resultobj
= 0;
42547 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42551 PyObject
*swig_obj
[1] ;
42553 if (!args
) SWIG_fail
;
42554 swig_obj
[0] = args
;
42555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42556 if (!SWIG_IsOK(res1
)) {
42557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42559 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42562 result
= (bool)((wxHyperlinkCtrl
const *)arg1
)->GetVisited();
42563 wxPyEndAllowThreads(__tstate
);
42564 if (PyErr_Occurred()) SWIG_fail
;
42567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42575 SWIGINTERN PyObject
*HyperlinkCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42577 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42578 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_NewClientData(obj
));
42579 return SWIG_Py_Void();
42582 SWIGINTERN PyObject
*HyperlinkCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42583 return SWIG_Python_InitShadowInstance(args
);
42586 SWIGINTERN PyObject
*_wrap_new_HyperlinkEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42587 PyObject
*resultobj
= 0;
42588 wxObject
*arg1
= (wxObject
*) 0 ;
42590 wxString
*arg3
= 0 ;
42591 wxHyperlinkEvent
*result
= 0 ;
42596 bool temp3
= false ;
42597 PyObject
* obj0
= 0 ;
42598 PyObject
* obj1
= 0 ;
42599 PyObject
* obj2
= 0 ;
42600 char * kwnames
[] = {
42601 (char *) "generator",(char *) "id",(char *) "url", NULL
42604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_HyperlinkEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
42605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
42606 if (!SWIG_IsOK(res1
)) {
42607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkEvent" "', expected argument " "1"" of type '" "wxObject *""'");
42609 arg1
= reinterpret_cast< wxObject
* >(argp1
);
42610 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42611 if (!SWIG_IsOK(ecode2
)) {
42612 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkEvent" "', expected argument " "2"" of type '" "int""'");
42614 arg2
= static_cast< int >(val2
);
42616 arg3
= wxString_in_helper(obj2
);
42617 if (arg3
== NULL
) SWIG_fail
;
42621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42622 result
= (wxHyperlinkEvent
*)new wxHyperlinkEvent(arg1
,arg2
,(wxString
const &)*arg3
);
42623 wxPyEndAllowThreads(__tstate
);
42624 if (PyErr_Occurred()) SWIG_fail
;
42626 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkEvent
, SWIG_POINTER_NEW
| 0 );
42641 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42642 PyObject
*resultobj
= 0;
42643 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42647 PyObject
*swig_obj
[1] ;
42649 if (!args
) SWIG_fail
;
42650 swig_obj
[0] = args
;
42651 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42652 if (!SWIG_IsOK(res1
)) {
42653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent const *""'");
42655 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42658 result
= ((wxHyperlinkEvent
const *)arg1
)->GetURL();
42659 wxPyEndAllowThreads(__tstate
);
42660 if (PyErr_Occurred()) SWIG_fail
;
42664 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42666 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42675 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42676 PyObject
*resultobj
= 0;
42677 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42678 wxString
*arg2
= 0 ;
42681 bool temp2
= false ;
42682 PyObject
* obj0
= 0 ;
42683 PyObject
* obj1
= 0 ;
42684 char * kwnames
[] = {
42685 (char *) "self",(char *) "url", NULL
42688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkEvent_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42690 if (!SWIG_IsOK(res1
)) {
42691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent *""'");
42693 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42695 arg2
= wxString_in_helper(obj1
);
42696 if (arg2
== NULL
) SWIG_fail
;
42700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42701 (arg1
)->SetURL((wxString
const &)*arg2
);
42702 wxPyEndAllowThreads(__tstate
);
42703 if (PyErr_Occurred()) SWIG_fail
;
42705 resultobj
= SWIG_Py_Void();
42720 SWIGINTERN PyObject
*HyperlinkEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42722 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42723 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkEvent
, SWIG_NewClientData(obj
));
42724 return SWIG_Py_Void();
42727 SWIGINTERN PyObject
*HyperlinkEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42728 return SWIG_Python_InitShadowInstance(args
);
42731 SWIGINTERN PyObject
*_wrap_PickerBase_CreateBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42732 PyObject
*resultobj
= 0;
42733 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42734 wxWindow
*arg2
= (wxWindow
*) 0 ;
42736 wxString
const &arg4_defvalue
= wxEmptyString
;
42737 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
42738 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
42739 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
42740 wxSize
const &arg6_defvalue
= wxDefaultSize
;
42741 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
42742 long arg7
= (long) 0 ;
42743 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
42744 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
42745 wxString
const &arg9_defvalue
= wxButtonNameStr
;
42746 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
42754 bool temp4
= false ;
42761 bool temp9
= false ;
42762 PyObject
* obj0
= 0 ;
42763 PyObject
* obj1
= 0 ;
42764 PyObject
* obj2
= 0 ;
42765 PyObject
* obj3
= 0 ;
42766 PyObject
* obj4
= 0 ;
42767 PyObject
* obj5
= 0 ;
42768 PyObject
* obj6
= 0 ;
42769 PyObject
* obj7
= 0 ;
42770 PyObject
* obj8
= 0 ;
42771 char * kwnames
[] = {
42772 (char *) "self",(char *) "parent",(char *) "id",(char *) "text",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:PickerBase_CreateBase",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
42776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42777 if (!SWIG_IsOK(res1
)) {
42778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_CreateBase" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42780 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42781 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42782 if (!SWIG_IsOK(res2
)) {
42783 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PickerBase_CreateBase" "', expected argument " "2"" of type '" "wxWindow *""'");
42785 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
42786 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42787 if (!SWIG_IsOK(ecode3
)) {
42788 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PickerBase_CreateBase" "', expected argument " "3"" of type '" "int""'");
42790 arg3
= static_cast< int >(val3
);
42793 arg4
= wxString_in_helper(obj3
);
42794 if (arg4
== NULL
) SWIG_fail
;
42801 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
42807 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
42811 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
42812 if (!SWIG_IsOK(ecode7
)) {
42813 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PickerBase_CreateBase" "', expected argument " "7"" of type '" "long""'");
42815 arg7
= static_cast< long >(val7
);
42818 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
42819 if (!SWIG_IsOK(res8
)) {
42820 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42823 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42825 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
42829 arg9
= wxString_in_helper(obj8
);
42830 if (arg9
== NULL
) SWIG_fail
;
42835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42836 result
= (bool)(arg1
)->CreateBase(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
42837 wxPyEndAllowThreads(__tstate
);
42838 if (PyErr_Occurred()) SWIG_fail
;
42841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42865 SWIGINTERN PyObject
*_wrap_PickerBase_SetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42866 PyObject
*resultobj
= 0;
42867 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42873 PyObject
* obj0
= 0 ;
42874 PyObject
* obj1
= 0 ;
42875 char * kwnames
[] = {
42876 (char *) "self",(char *) "newmargin", NULL
42879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetInternalMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42881 if (!SWIG_IsOK(res1
)) {
42882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42884 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42885 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42886 if (!SWIG_IsOK(ecode2
)) {
42887 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "2"" of type '" "int""'");
42889 arg2
= static_cast< int >(val2
);
42891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42892 (arg1
)->SetInternalMargin(arg2
);
42893 wxPyEndAllowThreads(__tstate
);
42894 if (PyErr_Occurred()) SWIG_fail
;
42896 resultobj
= SWIG_Py_Void();
42903 SWIGINTERN PyObject
*_wrap_PickerBase_GetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42904 PyObject
*resultobj
= 0;
42905 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42909 PyObject
*swig_obj
[1] ;
42911 if (!args
) SWIG_fail
;
42912 swig_obj
[0] = args
;
42913 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42914 if (!SWIG_IsOK(res1
)) {
42915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42917 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42920 result
= (int)((wxPickerBase
const *)arg1
)->GetInternalMargin();
42921 wxPyEndAllowThreads(__tstate
);
42922 if (PyErr_Occurred()) SWIG_fail
;
42924 resultobj
= SWIG_From_int(static_cast< int >(result
));
42931 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42932 PyObject
*resultobj
= 0;
42933 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42939 PyObject
* obj0
= 0 ;
42940 PyObject
* obj1
= 0 ;
42941 char * kwnames
[] = {
42942 (char *) "self",(char *) "prop", NULL
42945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetTextCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42947 if (!SWIG_IsOK(res1
)) {
42948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42950 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42951 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42952 if (!SWIG_IsOK(ecode2
)) {
42953 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42955 arg2
= static_cast< int >(val2
);
42957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42958 (arg1
)->SetTextCtrlProportion(arg2
);
42959 wxPyEndAllowThreads(__tstate
);
42960 if (PyErr_Occurred()) SWIG_fail
;
42962 resultobj
= SWIG_Py_Void();
42969 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42970 PyObject
*resultobj
= 0;
42971 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42975 PyObject
*swig_obj
[1] ;
42977 if (!args
) SWIG_fail
;
42978 swig_obj
[0] = args
;
42979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42980 if (!SWIG_IsOK(res1
)) {
42981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42983 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42986 result
= (int)((wxPickerBase
const *)arg1
)->GetTextCtrlProportion();
42987 wxPyEndAllowThreads(__tstate
);
42988 if (PyErr_Occurred()) SWIG_fail
;
42990 resultobj
= SWIG_From_int(static_cast< int >(result
));
42997 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42998 PyObject
*resultobj
= 0;
42999 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43005 PyObject
* obj0
= 0 ;
43006 PyObject
* obj1
= 0 ;
43007 char * kwnames
[] = {
43008 (char *) "self",(char *) "prop", NULL
43011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetPickerCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43013 if (!SWIG_IsOK(res1
)) {
43014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43016 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43017 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43018 if (!SWIG_IsOK(ecode2
)) {
43019 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "2"" of type '" "int""'");
43021 arg2
= static_cast< int >(val2
);
43023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43024 (arg1
)->SetPickerCtrlProportion(arg2
);
43025 wxPyEndAllowThreads(__tstate
);
43026 if (PyErr_Occurred()) SWIG_fail
;
43028 resultobj
= SWIG_Py_Void();
43035 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43036 PyObject
*resultobj
= 0;
43037 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43041 PyObject
*swig_obj
[1] ;
43043 if (!args
) SWIG_fail
;
43044 swig_obj
[0] = args
;
43045 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43046 if (!SWIG_IsOK(res1
)) {
43047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43049 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43052 result
= (int)((wxPickerBase
const *)arg1
)->GetPickerCtrlProportion();
43053 wxPyEndAllowThreads(__tstate
);
43054 if (PyErr_Occurred()) SWIG_fail
;
43056 resultobj
= SWIG_From_int(static_cast< int >(result
));
43063 SWIGINTERN PyObject
*_wrap_PickerBase_IsTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43064 PyObject
*resultobj
= 0;
43065 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43069 PyObject
*swig_obj
[1] ;
43071 if (!args
) SWIG_fail
;
43072 swig_obj
[0] = args
;
43073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43074 if (!SWIG_IsOK(res1
)) {
43075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43077 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43080 result
= (bool)((wxPickerBase
const *)arg1
)->IsTextCtrlGrowable();
43081 wxPyEndAllowThreads(__tstate
);
43082 if (PyErr_Occurred()) SWIG_fail
;
43085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43093 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43094 PyObject
*resultobj
= 0;
43095 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43096 bool arg2
= (bool) true ;
43101 PyObject
* obj0
= 0 ;
43102 PyObject
* obj1
= 0 ;
43103 char * kwnames
[] = {
43104 (char *) "self",(char *) "grow", NULL
43107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetTextCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43109 if (!SWIG_IsOK(res1
)) {
43110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43112 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43114 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
43115 if (!SWIG_IsOK(ecode2
)) {
43116 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
43118 arg2
= static_cast< bool >(val2
);
43121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43122 (arg1
)->SetTextCtrlGrowable(arg2
);
43123 wxPyEndAllowThreads(__tstate
);
43124 if (PyErr_Occurred()) SWIG_fail
;
43126 resultobj
= SWIG_Py_Void();
43133 SWIGINTERN PyObject
*_wrap_PickerBase_IsPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43134 PyObject
*resultobj
= 0;
43135 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43139 PyObject
*swig_obj
[1] ;
43141 if (!args
) SWIG_fail
;
43142 swig_obj
[0] = args
;
43143 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43144 if (!SWIG_IsOK(res1
)) {
43145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43147 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43150 result
= (bool)((wxPickerBase
const *)arg1
)->IsPickerCtrlGrowable();
43151 wxPyEndAllowThreads(__tstate
);
43152 if (PyErr_Occurred()) SWIG_fail
;
43155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43163 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43164 PyObject
*resultobj
= 0;
43165 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43166 bool arg2
= (bool) true ;
43171 PyObject
* obj0
= 0 ;
43172 PyObject
* obj1
= 0 ;
43173 char * kwnames
[] = {
43174 (char *) "self",(char *) "grow", NULL
43177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetPickerCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43178 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43179 if (!SWIG_IsOK(res1
)) {
43180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43182 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43184 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
43185 if (!SWIG_IsOK(ecode2
)) {
43186 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
43188 arg2
= static_cast< bool >(val2
);
43191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43192 (arg1
)->SetPickerCtrlGrowable(arg2
);
43193 wxPyEndAllowThreads(__tstate
);
43194 if (PyErr_Occurred()) SWIG_fail
;
43196 resultobj
= SWIG_Py_Void();
43203 SWIGINTERN PyObject
*_wrap_PickerBase_HasTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43204 PyObject
*resultobj
= 0;
43205 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43209 PyObject
*swig_obj
[1] ;
43211 if (!args
) SWIG_fail
;
43212 swig_obj
[0] = args
;
43213 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43214 if (!SWIG_IsOK(res1
)) {
43215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_HasTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43217 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43220 result
= (bool)((wxPickerBase
const *)arg1
)->HasTextCtrl();
43221 wxPyEndAllowThreads(__tstate
);
43222 if (PyErr_Occurred()) SWIG_fail
;
43225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43233 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43234 PyObject
*resultobj
= 0;
43235 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43236 wxTextCtrl
*result
= 0 ;
43239 PyObject
*swig_obj
[1] ;
43241 if (!args
) SWIG_fail
;
43242 swig_obj
[0] = args
;
43243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43244 if (!SWIG_IsOK(res1
)) {
43245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43247 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43250 result
= (wxTextCtrl
*)(arg1
)->GetTextCtrl();
43251 wxPyEndAllowThreads(__tstate
);
43252 if (PyErr_Occurred()) SWIG_fail
;
43255 resultobj
= wxPyMake_wxObject(result
, 0);
43263 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43264 PyObject
*resultobj
= 0;
43265 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43266 wxControl
*result
= 0 ;
43269 PyObject
*swig_obj
[1] ;
43271 if (!args
) SWIG_fail
;
43272 swig_obj
[0] = args
;
43273 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43274 if (!SWIG_IsOK(res1
)) {
43275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43277 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43280 result
= (wxControl
*)(arg1
)->GetPickerCtrl();
43281 wxPyEndAllowThreads(__tstate
);
43282 if (PyErr_Occurred()) SWIG_fail
;
43285 resultobj
= wxPyMake_wxObject(result
, 0);
43293 SWIGINTERN PyObject
*PickerBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43295 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43296 SWIG_TypeNewClientData(SWIGTYPE_p_wxPickerBase
, SWIG_NewClientData(obj
));
43297 return SWIG_Py_Void();
43300 SWIGINTERN
int ColourPickerCtrlNameStr_set(PyObject
*) {
43301 SWIG_Error(SWIG_AttributeError
,"Variable ColourPickerCtrlNameStr is read-only.");
43306 SWIGINTERN PyObject
*ColourPickerCtrlNameStr_get(void) {
43307 PyObject
*pyobj
= 0;
43311 pyobj
= PyUnicode_FromWideChar((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
43313 pyobj
= PyString_FromStringAndSize((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
43320 SWIGINTERN PyObject
*_wrap_new_ColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43321 PyObject
*resultobj
= 0;
43322 wxWindow
*arg1
= (wxWindow
*) 0 ;
43323 int arg2
= (int) -1 ;
43324 wxColour
const &arg3_defvalue
= *wxBLACK
;
43325 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
43326 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
43327 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
43328 wxSize
const &arg5_defvalue
= wxDefaultSize
;
43329 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
43330 long arg6
= (long) wxCLRP_DEFAULT_STYLE
;
43331 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
43332 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
43333 wxString
const &arg8_defvalue
= wxPyColourPickerCtrlNameStr
;
43334 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
43335 wxColourPickerCtrl
*result
= 0 ;
43347 bool temp8
= false ;
43348 PyObject
* obj0
= 0 ;
43349 PyObject
* obj1
= 0 ;
43350 PyObject
* obj2
= 0 ;
43351 PyObject
* obj3
= 0 ;
43352 PyObject
* obj4
= 0 ;
43353 PyObject
* obj5
= 0 ;
43354 PyObject
* obj6
= 0 ;
43355 PyObject
* obj7
= 0 ;
43356 char * kwnames
[] = {
43357 (char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ColourPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
43361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43362 if (!SWIG_IsOK(res1
)) {
43363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43365 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43367 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43368 if (!SWIG_IsOK(ecode2
)) {
43369 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerCtrl" "', expected argument " "2"" of type '" "int""'");
43371 arg2
= static_cast< int >(val2
);
43376 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43382 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
43388 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
43392 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
43393 if (!SWIG_IsOK(ecode6
)) {
43394 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ColourPickerCtrl" "', expected argument " "6"" of type '" "long""'");
43396 arg6
= static_cast< long >(val6
);
43399 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
43400 if (!SWIG_IsOK(res7
)) {
43401 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43404 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43406 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
43410 arg8
= wxString_in_helper(obj7
);
43411 if (arg8
== NULL
) SWIG_fail
;
43416 if (!wxPyCheckForApp()) SWIG_fail
;
43417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43418 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl(arg1
,arg2
,(wxColour
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
43419 wxPyEndAllowThreads(__tstate
);
43420 if (PyErr_Occurred()) SWIG_fail
;
43422 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_NEW
| 0 );
43437 SWIGINTERN PyObject
*_wrap_new_PreColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43438 PyObject
*resultobj
= 0;
43439 wxColourPickerCtrl
*result
= 0 ;
43441 if (!SWIG_Python_UnpackTuple(args
,"new_PreColourPickerCtrl",0,0,0)) SWIG_fail
;
43443 if (!wxPyCheckForApp()) SWIG_fail
;
43444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43445 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl();
43446 wxPyEndAllowThreads(__tstate
);
43447 if (PyErr_Occurred()) SWIG_fail
;
43449 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_OWN
| 0 );
43456 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43457 PyObject
*resultobj
= 0;
43458 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43459 wxWindow
*arg2
= (wxWindow
*) 0 ;
43461 wxColour
const &arg4_defvalue
= *wxBLACK
;
43462 wxColour
*arg4
= (wxColour
*) &arg4_defvalue
;
43463 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
43464 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
43465 wxSize
const &arg6_defvalue
= wxDefaultSize
;
43466 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
43467 long arg7
= (long) wxCLRP_DEFAULT_STYLE
;
43468 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
43469 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
43470 wxString
const &arg9_defvalue
= wxPyColourPickerCtrlNameStr
;
43471 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
43486 bool temp9
= false ;
43487 PyObject
* obj0
= 0 ;
43488 PyObject
* obj1
= 0 ;
43489 PyObject
* obj2
= 0 ;
43490 PyObject
* obj3
= 0 ;
43491 PyObject
* obj4
= 0 ;
43492 PyObject
* obj5
= 0 ;
43493 PyObject
* obj6
= 0 ;
43494 PyObject
* obj7
= 0 ;
43495 PyObject
* obj8
= 0 ;
43496 char * kwnames
[] = {
43497 (char *) "self",(char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ColourPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
43501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43502 if (!SWIG_IsOK(res1
)) {
43503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43505 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43506 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43507 if (!SWIG_IsOK(res2
)) {
43508 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43510 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43511 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43512 if (!SWIG_IsOK(ecode3
)) {
43513 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43515 arg3
= static_cast< int >(val3
);
43519 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
43525 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
43531 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
43535 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
43536 if (!SWIG_IsOK(ecode7
)) {
43537 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
43539 arg7
= static_cast< long >(val7
);
43542 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
43543 if (!SWIG_IsOK(res8
)) {
43544 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43547 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43549 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
43553 arg9
= wxString_in_helper(obj8
);
43554 if (arg9
== NULL
) SWIG_fail
;
43559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43560 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
43561 wxPyEndAllowThreads(__tstate
);
43562 if (PyErr_Occurred()) SWIG_fail
;
43565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43581 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43582 PyObject
*resultobj
= 0;
43583 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43587 PyObject
*swig_obj
[1] ;
43589 if (!args
) SWIG_fail
;
43590 swig_obj
[0] = args
;
43591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43592 if (!SWIG_IsOK(res1
)) {
43593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_GetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl const *""'");
43595 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43598 result
= ((wxColourPickerCtrl
const *)arg1
)->GetColour();
43599 wxPyEndAllowThreads(__tstate
);
43600 if (PyErr_Occurred()) SWIG_fail
;
43602 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43609 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43610 PyObject
*resultobj
= 0;
43611 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43612 wxColour
*arg2
= 0 ;
43616 PyObject
* obj0
= 0 ;
43617 PyObject
* obj1
= 0 ;
43618 char * kwnames
[] = {
43619 (char *) "self",(char *) "col", NULL
43622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerCtrl_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43624 if (!SWIG_IsOK(res1
)) {
43625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_SetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43627 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43630 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43634 (arg1
)->SetColour((wxColour
const &)*arg2
);
43635 wxPyEndAllowThreads(__tstate
);
43636 if (PyErr_Occurred()) SWIG_fail
;
43638 resultobj
= SWIG_Py_Void();
43645 SWIGINTERN PyObject
*ColourPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43647 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43648 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerCtrl
, SWIG_NewClientData(obj
));
43649 return SWIG_Py_Void();
43652 SWIGINTERN PyObject
*ColourPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43653 return SWIG_Python_InitShadowInstance(args
);
43656 SWIGINTERN PyObject
*_wrap_new_ColourPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43657 PyObject
*resultobj
= 0;
43658 wxObject
*arg1
= (wxObject
*) 0 ;
43660 wxColour
*arg3
= 0 ;
43661 wxColourPickerEvent
*result
= 0 ;
43667 PyObject
* obj0
= 0 ;
43668 PyObject
* obj1
= 0 ;
43669 PyObject
* obj2
= 0 ;
43670 char * kwnames
[] = {
43671 (char *) "generator",(char *) "id",(char *) "col", NULL
43674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ColourPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
43675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
43676 if (!SWIG_IsOK(res1
)) {
43677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
43679 arg1
= reinterpret_cast< wxObject
* >(argp1
);
43680 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43681 if (!SWIG_IsOK(ecode2
)) {
43682 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerEvent" "', expected argument " "2"" of type '" "int""'");
43684 arg2
= static_cast< int >(val2
);
43687 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43691 result
= (wxColourPickerEvent
*)new wxColourPickerEvent(arg1
,arg2
,(wxColour
const &)*arg3
);
43692 wxPyEndAllowThreads(__tstate
);
43693 if (PyErr_Occurred()) SWIG_fail
;
43695 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerEvent
, SWIG_POINTER_NEW
| 0 );
43702 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43703 PyObject
*resultobj
= 0;
43704 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43708 PyObject
*swig_obj
[1] ;
43710 if (!args
) SWIG_fail
;
43711 swig_obj
[0] = args
;
43712 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43713 if (!SWIG_IsOK(res1
)) {
43714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_GetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent const *""'");
43716 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43719 result
= ((wxColourPickerEvent
const *)arg1
)->GetColour();
43720 wxPyEndAllowThreads(__tstate
);
43721 if (PyErr_Occurred()) SWIG_fail
;
43723 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43730 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43731 PyObject
*resultobj
= 0;
43732 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43733 wxColour
*arg2
= 0 ;
43737 PyObject
* obj0
= 0 ;
43738 PyObject
* obj1
= 0 ;
43739 char * kwnames
[] = {
43740 (char *) "self",(char *) "c", NULL
43743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerEvent_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43744 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43745 if (!SWIG_IsOK(res1
)) {
43746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_SetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent *""'");
43748 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43751 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43755 (arg1
)->SetColour((wxColour
const &)*arg2
);
43756 wxPyEndAllowThreads(__tstate
);
43757 if (PyErr_Occurred()) SWIG_fail
;
43759 resultobj
= SWIG_Py_Void();
43766 SWIGINTERN PyObject
*ColourPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43768 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43769 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerEvent
, SWIG_NewClientData(obj
));
43770 return SWIG_Py_Void();
43773 SWIGINTERN PyObject
*ColourPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43774 return SWIG_Python_InitShadowInstance(args
);
43777 SWIGINTERN
int FilePickerCtrlNameStr_set(PyObject
*) {
43778 SWIG_Error(SWIG_AttributeError
,"Variable FilePickerCtrlNameStr is read-only.");
43783 SWIGINTERN PyObject
*FilePickerCtrlNameStr_get(void) {
43784 PyObject
*pyobj
= 0;
43788 pyobj
= PyUnicode_FromWideChar((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43790 pyobj
= PyString_FromStringAndSize((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43797 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
43798 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
43803 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
43804 PyObject
*pyobj
= 0;
43808 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43810 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43817 SWIGINTERN
int DirPickerCtrlNameStr_set(PyObject
*) {
43818 SWIG_Error(SWIG_AttributeError
,"Variable DirPickerCtrlNameStr is read-only.");
43823 SWIGINTERN PyObject
*DirPickerCtrlNameStr_get(void) {
43824 PyObject
*pyobj
= 0;
43828 pyobj
= PyUnicode_FromWideChar((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43830 pyobj
= PyString_FromStringAndSize((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43837 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
43838 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
43843 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
43844 PyObject
*pyobj
= 0;
43848 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43850 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43857 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
43858 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
43863 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
43864 PyObject
*pyobj
= 0;
43868 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43870 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43877 SWIGINTERN PyObject
*_wrap_new_FilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43878 PyObject
*resultobj
= 0;
43879 wxWindow
*arg1
= (wxWindow
*) 0 ;
43880 int arg2
= (int) -1 ;
43881 wxString
const &arg3_defvalue
= wxPyEmptyString
;
43882 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
43883 wxString
const &arg4_defvalue
= wxPyFileSelectorPromptStr
;
43884 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43885 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
43886 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43887 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
43888 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
43889 wxSize
const &arg7_defvalue
= wxDefaultSize
;
43890 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
43891 long arg8
= (long) wxFLP_DEFAULT_STYLE
;
43892 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
43893 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
43894 wxString
const &arg10_defvalue
= wxPyFilePickerCtrlNameStr
;
43895 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
43896 wxFilePickerCtrl
*result
= 0 ;
43901 bool temp3
= false ;
43902 bool temp4
= false ;
43903 bool temp5
= false ;
43910 bool temp10
= false ;
43911 PyObject
* obj0
= 0 ;
43912 PyObject
* obj1
= 0 ;
43913 PyObject
* obj2
= 0 ;
43914 PyObject
* obj3
= 0 ;
43915 PyObject
* obj4
= 0 ;
43916 PyObject
* obj5
= 0 ;
43917 PyObject
* obj6
= 0 ;
43918 PyObject
* obj7
= 0 ;
43919 PyObject
* obj8
= 0 ;
43920 PyObject
* obj9
= 0 ;
43921 char * kwnames
[] = {
43922 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_FilePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
43926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43927 if (!SWIG_IsOK(res1
)) {
43928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FilePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43930 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43932 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43933 if (!SWIG_IsOK(ecode2
)) {
43934 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FilePickerCtrl" "', expected argument " "2"" of type '" "int""'");
43936 arg2
= static_cast< int >(val2
);
43940 arg3
= wxString_in_helper(obj2
);
43941 if (arg3
== NULL
) SWIG_fail
;
43947 arg4
= wxString_in_helper(obj3
);
43948 if (arg4
== NULL
) SWIG_fail
;
43954 arg5
= wxString_in_helper(obj4
);
43955 if (arg5
== NULL
) SWIG_fail
;
43962 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
43968 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
43972 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
43973 if (!SWIG_IsOK(ecode8
)) {
43974 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_FilePickerCtrl" "', expected argument " "8"" of type '" "long""'");
43976 arg8
= static_cast< long >(val8
);
43979 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
43980 if (!SWIG_IsOK(res9
)) {
43981 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43984 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43986 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
43990 arg10
= wxString_in_helper(obj9
);
43991 if (arg10
== NULL
) SWIG_fail
;
43996 if (!wxPyCheckForApp()) SWIG_fail
;
43997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43998 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
);
43999 wxPyEndAllowThreads(__tstate
);
44000 if (PyErr_Occurred()) SWIG_fail
;
44002 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_NEW
| 0 );
44041 SWIGINTERN PyObject
*_wrap_new_PreFilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44042 PyObject
*resultobj
= 0;
44043 wxFilePickerCtrl
*result
= 0 ;
44045 if (!SWIG_Python_UnpackTuple(args
,"new_PreFilePickerCtrl",0,0,0)) SWIG_fail
;
44047 if (!wxPyCheckForApp()) SWIG_fail
;
44048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44049 result
= (wxFilePickerCtrl
*)new wxFilePickerCtrl();
44050 wxPyEndAllowThreads(__tstate
);
44051 if (PyErr_Occurred()) SWIG_fail
;
44053 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_OWN
| 0 );
44060 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44061 PyObject
*resultobj
= 0;
44062 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44063 wxWindow
*arg2
= (wxWindow
*) 0 ;
44064 int arg3
= (int) -1 ;
44065 wxString
const &arg4_defvalue
= wxPyEmptyString
;
44066 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44067 wxString
const &arg5_defvalue
= wxPyFileSelectorPromptStr
;
44068 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
44069 wxString
const &arg6_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
44070 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
44071 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
44072 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
44073 wxSize
const &arg8_defvalue
= wxDefaultSize
;
44074 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
44075 long arg9
= (long) wxFLP_DEFAULT_STYLE
;
44076 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
44077 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
44078 wxString
const &arg11_defvalue
= wxPyFilePickerCtrlNameStr
;
44079 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
44087 bool temp4
= false ;
44088 bool temp5
= false ;
44089 bool temp6
= false ;
44096 bool temp11
= false ;
44097 PyObject
* obj0
= 0 ;
44098 PyObject
* obj1
= 0 ;
44099 PyObject
* obj2
= 0 ;
44100 PyObject
* obj3
= 0 ;
44101 PyObject
* obj4
= 0 ;
44102 PyObject
* obj5
= 0 ;
44103 PyObject
* obj6
= 0 ;
44104 PyObject
* obj7
= 0 ;
44105 PyObject
* obj8
= 0 ;
44106 PyObject
* obj9
= 0 ;
44107 PyObject
* obj10
= 0 ;
44108 char * kwnames
[] = {
44109 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:FilePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
44113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44114 if (!SWIG_IsOK(res1
)) {
44115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_Create" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
44117 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44118 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44119 if (!SWIG_IsOK(res2
)) {
44120 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FilePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44122 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44124 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44125 if (!SWIG_IsOK(ecode3
)) {
44126 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FilePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44128 arg3
= static_cast< int >(val3
);
44132 arg4
= wxString_in_helper(obj3
);
44133 if (arg4
== NULL
) SWIG_fail
;
44139 arg5
= wxString_in_helper(obj4
);
44140 if (arg5
== NULL
) SWIG_fail
;
44146 arg6
= wxString_in_helper(obj5
);
44147 if (arg6
== NULL
) SWIG_fail
;
44154 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
44160 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
44164 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
44165 if (!SWIG_IsOK(ecode9
)) {
44166 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "FilePickerCtrl_Create" "', expected argument " "9"" of type '" "long""'");
44168 arg9
= static_cast< long >(val9
);
44171 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
44172 if (!SWIG_IsOK(res10
)) {
44173 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
44176 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
44178 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
44182 arg11
= wxString_in_helper(obj10
);
44183 if (arg11
== NULL
) SWIG_fail
;
44188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44189 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
);
44190 wxPyEndAllowThreads(__tstate
);
44191 if (PyErr_Occurred()) SWIG_fail
;
44194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44234 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44235 PyObject
*resultobj
= 0;
44236 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44240 PyObject
*swig_obj
[1] ;
44242 if (!args
) SWIG_fail
;
44243 swig_obj
[0] = args
;
44244 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44245 if (!SWIG_IsOK(res1
)) {
44246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44248 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44251 result
= ((wxFilePickerCtrl
const *)arg1
)->GetPath();
44252 wxPyEndAllowThreads(__tstate
);
44253 if (PyErr_Occurred()) SWIG_fail
;
44257 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44259 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44268 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44269 PyObject
*resultobj
= 0;
44270 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44271 wxString
*arg2
= 0 ;
44274 bool temp2
= false ;
44275 PyObject
* obj0
= 0 ;
44276 PyObject
* obj1
= 0 ;
44277 char * kwnames
[] = {
44278 (char *) "self",(char *) "str", NULL
44281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44283 if (!SWIG_IsOK(res1
)) {
44284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
44286 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44288 arg2
= wxString_in_helper(obj1
);
44289 if (arg2
== NULL
) SWIG_fail
;
44293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44294 (arg1
)->SetPath((wxString
const &)*arg2
);
44295 wxPyEndAllowThreads(__tstate
);
44296 if (PyErr_Occurred()) SWIG_fail
;
44298 resultobj
= SWIG_Py_Void();
44313 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44314 PyObject
*resultobj
= 0;
44315 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44316 wxString
*arg2
= 0 ;
44320 bool temp2
= false ;
44321 PyObject
* obj0
= 0 ;
44322 PyObject
* obj1
= 0 ;
44323 char * kwnames
[] = {
44324 (char *) "self",(char *) "path", NULL
44327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44329 if (!SWIG_IsOK(res1
)) {
44330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44332 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44334 arg2
= wxString_in_helper(obj1
);
44335 if (arg2
== NULL
) SWIG_fail
;
44339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44340 result
= (bool)((wxFilePickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
44341 wxPyEndAllowThreads(__tstate
);
44342 if (PyErr_Occurred()) SWIG_fail
;
44345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44361 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44362 PyObject
*resultobj
= 0;
44363 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44367 PyObject
*swig_obj
[1] ;
44369 if (!args
) SWIG_fail
;
44370 swig_obj
[0] = args
;
44371 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44372 if (!SWIG_IsOK(res1
)) {
44373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44375 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44378 result
= ((wxFilePickerCtrl
const *)arg1
)->GetTextCtrlValue();
44379 wxPyEndAllowThreads(__tstate
);
44380 if (PyErr_Occurred()) SWIG_fail
;
44384 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44386 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44395 SWIGINTERN PyObject
*FilePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44397 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44398 SWIG_TypeNewClientData(SWIGTYPE_p_wxFilePickerCtrl
, SWIG_NewClientData(obj
));
44399 return SWIG_Py_Void();
44402 SWIGINTERN PyObject
*FilePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44403 return SWIG_Python_InitShadowInstance(args
);
44406 SWIGINTERN PyObject
*_wrap_new_DirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44407 PyObject
*resultobj
= 0;
44408 wxWindow
*arg1
= (wxWindow
*) 0 ;
44409 int arg2
= (int) -1 ;
44410 wxString
const &arg3_defvalue
= wxPyEmptyString
;
44411 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
44412 wxString
const &arg4_defvalue
= wxPyDirSelectorPromptStr
;
44413 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44414 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
44415 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
44416 wxSize
const &arg6_defvalue
= wxDefaultSize
;
44417 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
44418 long arg7
= (long) wxDIRP_DEFAULT_STYLE
;
44419 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
44420 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
44421 wxString
const &arg9_defvalue
= wxPyDirPickerCtrlNameStr
;
44422 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
44423 wxDirPickerCtrl
*result
= 0 ;
44428 bool temp3
= false ;
44429 bool temp4
= false ;
44436 bool temp9
= false ;
44437 PyObject
* obj0
= 0 ;
44438 PyObject
* obj1
= 0 ;
44439 PyObject
* obj2
= 0 ;
44440 PyObject
* obj3
= 0 ;
44441 PyObject
* obj4
= 0 ;
44442 PyObject
* obj5
= 0 ;
44443 PyObject
* obj6
= 0 ;
44444 PyObject
* obj7
= 0 ;
44445 PyObject
* obj8
= 0 ;
44446 char * kwnames
[] = {
44447 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_DirPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
44451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44452 if (!SWIG_IsOK(res1
)) {
44453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44455 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44457 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44458 if (!SWIG_IsOK(ecode2
)) {
44459 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44461 arg2
= static_cast< int >(val2
);
44465 arg3
= wxString_in_helper(obj2
);
44466 if (arg3
== NULL
) SWIG_fail
;
44472 arg4
= wxString_in_helper(obj3
);
44473 if (arg4
== NULL
) SWIG_fail
;
44480 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
44486 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
44490 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
44491 if (!SWIG_IsOK(ecode7
)) {
44492 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_DirPickerCtrl" "', expected argument " "7"" of type '" "long""'");
44494 arg7
= static_cast< long >(val7
);
44497 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
44498 if (!SWIG_IsOK(res8
)) {
44499 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44502 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44504 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
44508 arg9
= wxString_in_helper(obj8
);
44509 if (arg9
== NULL
) SWIG_fail
;
44514 if (!wxPyCheckForApp()) SWIG_fail
;
44515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44516 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
);
44517 wxPyEndAllowThreads(__tstate
);
44518 if (PyErr_Occurred()) SWIG_fail
;
44520 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_NEW
| 0 );
44551 SWIGINTERN PyObject
*_wrap_new_PreDirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44552 PyObject
*resultobj
= 0;
44553 wxDirPickerCtrl
*result
= 0 ;
44555 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirPickerCtrl",0,0,0)) SWIG_fail
;
44557 if (!wxPyCheckForApp()) SWIG_fail
;
44558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44559 result
= (wxDirPickerCtrl
*)new wxDirPickerCtrl();
44560 wxPyEndAllowThreads(__tstate
);
44561 if (PyErr_Occurred()) SWIG_fail
;
44563 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_OWN
| 0 );
44570 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44571 PyObject
*resultobj
= 0;
44572 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44573 wxWindow
*arg2
= (wxWindow
*) 0 ;
44574 int arg3
= (int) -1 ;
44575 wxString
const &arg4_defvalue
= wxPyEmptyString
;
44576 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44577 wxString
const &arg5_defvalue
= wxPyDirSelectorPromptStr
;
44578 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
44579 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
44580 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
44581 wxSize
const &arg7_defvalue
= wxDefaultSize
;
44582 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
44583 long arg8
= (long) wxDIRP_DEFAULT_STYLE
;
44584 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
44585 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
44586 wxString
const &arg10_defvalue
= wxPyDirPickerCtrlNameStr
;
44587 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
44595 bool temp4
= false ;
44596 bool temp5
= false ;
44603 bool temp10
= false ;
44604 PyObject
* obj0
= 0 ;
44605 PyObject
* obj1
= 0 ;
44606 PyObject
* obj2
= 0 ;
44607 PyObject
* obj3
= 0 ;
44608 PyObject
* obj4
= 0 ;
44609 PyObject
* obj5
= 0 ;
44610 PyObject
* obj6
= 0 ;
44611 PyObject
* obj7
= 0 ;
44612 PyObject
* obj8
= 0 ;
44613 PyObject
* obj9
= 0 ;
44614 char * kwnames
[] = {
44615 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:DirPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
44619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44620 if (!SWIG_IsOK(res1
)) {
44621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_Create" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44623 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44624 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44625 if (!SWIG_IsOK(res2
)) {
44626 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44628 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44630 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44631 if (!SWIG_IsOK(ecode3
)) {
44632 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44634 arg3
= static_cast< int >(val3
);
44638 arg4
= wxString_in_helper(obj3
);
44639 if (arg4
== NULL
) SWIG_fail
;
44645 arg5
= wxString_in_helper(obj4
);
44646 if (arg5
== NULL
) SWIG_fail
;
44653 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
44659 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
44663 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
44664 if (!SWIG_IsOK(ecode8
)) {
44665 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DirPickerCtrl_Create" "', expected argument " "8"" of type '" "long""'");
44667 arg8
= static_cast< long >(val8
);
44670 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
44671 if (!SWIG_IsOK(res9
)) {
44672 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44675 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44677 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
44681 arg10
= wxString_in_helper(obj9
);
44682 if (arg10
== NULL
) SWIG_fail
;
44687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44688 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
);
44689 wxPyEndAllowThreads(__tstate
);
44690 if (PyErr_Occurred()) SWIG_fail
;
44693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44725 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44726 PyObject
*resultobj
= 0;
44727 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44731 PyObject
*swig_obj
[1] ;
44733 if (!args
) SWIG_fail
;
44734 swig_obj
[0] = args
;
44735 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44736 if (!SWIG_IsOK(res1
)) {
44737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44739 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44742 result
= ((wxDirPickerCtrl
const *)arg1
)->GetPath();
44743 wxPyEndAllowThreads(__tstate
);
44744 if (PyErr_Occurred()) SWIG_fail
;
44748 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44750 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44759 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44760 PyObject
*resultobj
= 0;
44761 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44762 wxString
*arg2
= 0 ;
44765 bool temp2
= false ;
44766 PyObject
* obj0
= 0 ;
44767 PyObject
* obj1
= 0 ;
44768 char * kwnames
[] = {
44769 (char *) "self",(char *) "str", NULL
44772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44774 if (!SWIG_IsOK(res1
)) {
44775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44777 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44779 arg2
= wxString_in_helper(obj1
);
44780 if (arg2
== NULL
) SWIG_fail
;
44784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44785 (arg1
)->SetPath((wxString
const &)*arg2
);
44786 wxPyEndAllowThreads(__tstate
);
44787 if (PyErr_Occurred()) SWIG_fail
;
44789 resultobj
= SWIG_Py_Void();
44804 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44805 PyObject
*resultobj
= 0;
44806 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44807 wxString
*arg2
= 0 ;
44811 bool temp2
= false ;
44812 PyObject
* obj0
= 0 ;
44813 PyObject
* obj1
= 0 ;
44814 char * kwnames
[] = {
44815 (char *) "self",(char *) "path", NULL
44818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44820 if (!SWIG_IsOK(res1
)) {
44821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44823 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44825 arg2
= wxString_in_helper(obj1
);
44826 if (arg2
== NULL
) SWIG_fail
;
44830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44831 result
= (bool)((wxDirPickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
44832 wxPyEndAllowThreads(__tstate
);
44833 if (PyErr_Occurred()) SWIG_fail
;
44836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44852 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44853 PyObject
*resultobj
= 0;
44854 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44858 PyObject
*swig_obj
[1] ;
44860 if (!args
) SWIG_fail
;
44861 swig_obj
[0] = args
;
44862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44863 if (!SWIG_IsOK(res1
)) {
44864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44866 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44869 result
= ((wxDirPickerCtrl
const *)arg1
)->GetTextCtrlValue();
44870 wxPyEndAllowThreads(__tstate
);
44871 if (PyErr_Occurred()) SWIG_fail
;
44875 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44877 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44886 SWIGINTERN PyObject
*DirPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44888 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44889 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirPickerCtrl
, SWIG_NewClientData(obj
));
44890 return SWIG_Py_Void();
44893 SWIGINTERN PyObject
*DirPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44894 return SWIG_Python_InitShadowInstance(args
);
44897 SWIGINTERN PyObject
*_wrap_new_FileDirPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44898 PyObject
*resultobj
= 0;
44900 wxObject
*arg2
= (wxObject
*) 0 ;
44902 wxString
*arg4
= 0 ;
44903 wxFileDirPickerEvent
*result
= 0 ;
44910 bool temp4
= false ;
44911 PyObject
* obj0
= 0 ;
44912 PyObject
* obj1
= 0 ;
44913 PyObject
* obj2
= 0 ;
44914 PyObject
* obj3
= 0 ;
44915 char * kwnames
[] = {
44916 (char *) "type",(char *) "generator",(char *) "id",(char *) "path", NULL
44919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileDirPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
44920 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
44921 if (!SWIG_IsOK(ecode1
)) {
44922 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FileDirPickerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
44924 arg1
= static_cast< wxEventType
>(val1
);
44925 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxObject
, 0 | 0 );
44926 if (!SWIG_IsOK(res2
)) {
44927 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FileDirPickerEvent" "', expected argument " "2"" of type '" "wxObject *""'");
44929 arg2
= reinterpret_cast< wxObject
* >(argp2
);
44930 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44931 if (!SWIG_IsOK(ecode3
)) {
44932 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FileDirPickerEvent" "', expected argument " "3"" of type '" "int""'");
44934 arg3
= static_cast< int >(val3
);
44936 arg4
= wxString_in_helper(obj3
);
44937 if (arg4
== NULL
) SWIG_fail
;
44941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44942 result
= (wxFileDirPickerEvent
*)new wxFileDirPickerEvent(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
44943 wxPyEndAllowThreads(__tstate
);
44944 if (PyErr_Occurred()) SWIG_fail
;
44946 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_POINTER_NEW
| 0 );
44961 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44962 PyObject
*resultobj
= 0;
44963 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
44967 PyObject
*swig_obj
[1] ;
44969 if (!args
) SWIG_fail
;
44970 swig_obj
[0] = args
;
44971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
44972 if (!SWIG_IsOK(res1
)) {
44973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_GetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent const *""'");
44975 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
44977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44978 result
= ((wxFileDirPickerEvent
const *)arg1
)->GetPath();
44979 wxPyEndAllowThreads(__tstate
);
44980 if (PyErr_Occurred()) SWIG_fail
;
44984 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44986 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44995 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44996 PyObject
*resultobj
= 0;
44997 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
44998 wxString
*arg2
= 0 ;
45001 bool temp2
= false ;
45002 PyObject
* obj0
= 0 ;
45003 PyObject
* obj1
= 0 ;
45004 char * kwnames
[] = {
45005 (char *) "self",(char *) "p", NULL
45008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDirPickerEvent_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
45010 if (!SWIG_IsOK(res1
)) {
45011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_SetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent *""'");
45013 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
45015 arg2
= wxString_in_helper(obj1
);
45016 if (arg2
== NULL
) SWIG_fail
;
45020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45021 (arg1
)->SetPath((wxString
const &)*arg2
);
45022 wxPyEndAllowThreads(__tstate
);
45023 if (PyErr_Occurred()) SWIG_fail
;
45025 resultobj
= SWIG_Py_Void();
45040 SWIGINTERN PyObject
*FileDirPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45042 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45043 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_NewClientData(obj
));
45044 return SWIG_Py_Void();
45047 SWIGINTERN PyObject
*FileDirPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45048 return SWIG_Python_InitShadowInstance(args
);
45051 SWIGINTERN
int FontPickerCtrlNameStr_set(PyObject
*) {
45052 SWIG_Error(SWIG_AttributeError
,"Variable FontPickerCtrlNameStr is read-only.");
45057 SWIGINTERN PyObject
*FontPickerCtrlNameStr_get(void) {
45058 PyObject
*pyobj
= 0;
45062 pyobj
= PyUnicode_FromWideChar((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
45064 pyobj
= PyString_FromStringAndSize((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
45071 SWIGINTERN PyObject
*_wrap_new_FontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45072 PyObject
*resultobj
= 0;
45073 wxWindow
*arg1
= (wxWindow
*) 0 ;
45074 int arg2
= (int) -1 ;
45075 wxFont
const &arg3_defvalue
= wxNullFont
;
45076 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
45077 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
45078 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
45079 wxSize
const &arg5_defvalue
= wxDefaultSize
;
45080 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
45081 long arg6
= (long) wxFNTP_DEFAULT_STYLE
;
45082 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
45083 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
45084 wxString
const &arg8_defvalue
= wxPyFontPickerCtrlNameStr
;
45085 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
45086 wxFontPickerCtrl
*result
= 0 ;
45099 bool temp8
= false ;
45100 PyObject
* obj0
= 0 ;
45101 PyObject
* obj1
= 0 ;
45102 PyObject
* obj2
= 0 ;
45103 PyObject
* obj3
= 0 ;
45104 PyObject
* obj4
= 0 ;
45105 PyObject
* obj5
= 0 ;
45106 PyObject
* obj6
= 0 ;
45107 PyObject
* obj7
= 0 ;
45108 char * kwnames
[] = {
45109 (char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
45112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_FontPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
45113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45114 if (!SWIG_IsOK(res1
)) {
45115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
45117 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
45119 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45120 if (!SWIG_IsOK(ecode2
)) {
45121 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerCtrl" "', expected argument " "2"" of type '" "int""'");
45123 arg2
= static_cast< int >(val2
);
45126 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
45127 if (!SWIG_IsOK(res3
)) {
45128 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
45131 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
45133 arg3
= reinterpret_cast< wxFont
* >(argp3
);
45138 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
45144 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
45148 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
45149 if (!SWIG_IsOK(ecode6
)) {
45150 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FontPickerCtrl" "', expected argument " "6"" of type '" "long""'");
45152 arg6
= static_cast< long >(val6
);
45155 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
45156 if (!SWIG_IsOK(res7
)) {
45157 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
45160 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
45162 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
45166 arg8
= wxString_in_helper(obj7
);
45167 if (arg8
== NULL
) SWIG_fail
;
45172 if (!wxPyCheckForApp()) SWIG_fail
;
45173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45174 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl(arg1
,arg2
,(wxFont
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
45175 wxPyEndAllowThreads(__tstate
);
45176 if (PyErr_Occurred()) SWIG_fail
;
45178 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_NEW
| 0 );
45193 SWIGINTERN PyObject
*_wrap_new_PreFontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45194 PyObject
*resultobj
= 0;
45195 wxFontPickerCtrl
*result
= 0 ;
45197 if (!SWIG_Python_UnpackTuple(args
,"new_PreFontPickerCtrl",0,0,0)) SWIG_fail
;
45199 if (!wxPyCheckForApp()) SWIG_fail
;
45200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45201 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl();
45202 wxPyEndAllowThreads(__tstate
);
45203 if (PyErr_Occurred()) SWIG_fail
;
45205 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_OWN
| 0 );
45212 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45213 PyObject
*resultobj
= 0;
45214 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45215 wxWindow
*arg2
= (wxWindow
*) 0 ;
45216 int arg3
= (int) -1 ;
45217 wxFont
const &arg4_defvalue
= wxNullFont
;
45218 wxFont
*arg4
= (wxFont
*) &arg4_defvalue
;
45219 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
45220 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
45221 wxSize
const &arg6_defvalue
= wxDefaultSize
;
45222 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
45223 long arg7
= (long) wxFNTP_DEFAULT_STYLE
;
45224 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
45225 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
45226 wxString
const &arg9_defvalue
= wxPyFontPickerCtrlNameStr
;
45227 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
45243 bool temp9
= false ;
45244 PyObject
* obj0
= 0 ;
45245 PyObject
* obj1
= 0 ;
45246 PyObject
* obj2
= 0 ;
45247 PyObject
* obj3
= 0 ;
45248 PyObject
* obj4
= 0 ;
45249 PyObject
* obj5
= 0 ;
45250 PyObject
* obj6
= 0 ;
45251 PyObject
* obj7
= 0 ;
45252 PyObject
* obj8
= 0 ;
45253 char * kwnames
[] = {
45254 (char *) "self",(char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
45257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:FontPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
45258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45259 if (!SWIG_IsOK(res1
)) {
45260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_Create" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45262 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45263 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45264 if (!SWIG_IsOK(res2
)) {
45265 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
45267 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
45269 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45270 if (!SWIG_IsOK(ecode3
)) {
45271 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
45273 arg3
= static_cast< int >(val3
);
45276 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxFont
, 0 | 0);
45277 if (!SWIG_IsOK(res4
)) {
45278 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45281 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45283 arg4
= reinterpret_cast< wxFont
* >(argp4
);
45288 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
45294 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
45298 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
45299 if (!SWIG_IsOK(ecode7
)) {
45300 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "FontPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
45302 arg7
= static_cast< long >(val7
);
45305 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
45306 if (!SWIG_IsOK(res8
)) {
45307 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45310 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45312 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
45316 arg9
= wxString_in_helper(obj8
);
45317 if (arg9
== NULL
) SWIG_fail
;
45322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45323 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxFont
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
45324 wxPyEndAllowThreads(__tstate
);
45325 if (PyErr_Occurred()) SWIG_fail
;
45328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45344 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45345 PyObject
*resultobj
= 0;
45346 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45350 PyObject
*swig_obj
[1] ;
45352 if (!args
) SWIG_fail
;
45353 swig_obj
[0] = args
;
45354 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45355 if (!SWIG_IsOK(res1
)) {
45356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45358 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45361 result
= ((wxFontPickerCtrl
const *)arg1
)->GetSelectedFont();
45362 wxPyEndAllowThreads(__tstate
);
45363 if (PyErr_Occurred()) SWIG_fail
;
45365 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
45372 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45373 PyObject
*resultobj
= 0;
45374 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45380 PyObject
* obj0
= 0 ;
45381 PyObject
* obj1
= 0 ;
45382 char * kwnames
[] = {
45383 (char *) "self",(char *) "f", NULL
45386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetSelectedFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45388 if (!SWIG_IsOK(res1
)) {
45389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45391 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45392 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
45393 if (!SWIG_IsOK(res2
)) {
45394 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45397 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45399 arg2
= reinterpret_cast< wxFont
* >(argp2
);
45401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45402 (arg1
)->SetSelectedFont((wxFont
const &)*arg2
);
45403 wxPyEndAllowThreads(__tstate
);
45404 if (PyErr_Occurred()) SWIG_fail
;
45406 resultobj
= SWIG_Py_Void();
45413 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45414 PyObject
*resultobj
= 0;
45415 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45416 unsigned int arg2
;
45419 unsigned int val2
;
45421 PyObject
* obj0
= 0 ;
45422 PyObject
* obj1
= 0 ;
45423 char * kwnames
[] = {
45424 (char *) "self",(char *) "max", NULL
45427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetMaxPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45429 if (!SWIG_IsOK(res1
)) {
45430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45432 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45433 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
45434 if (!SWIG_IsOK(ecode2
)) {
45435 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "2"" of type '" "unsigned int""'");
45437 arg2
= static_cast< unsigned int >(val2
);
45439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45440 (arg1
)->SetMaxPointSize(arg2
);
45441 wxPyEndAllowThreads(__tstate
);
45442 if (PyErr_Occurred()) SWIG_fail
;
45444 resultobj
= SWIG_Py_Void();
45451 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45452 PyObject
*resultobj
= 0;
45453 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45454 unsigned int result
;
45457 PyObject
*swig_obj
[1] ;
45459 if (!args
) SWIG_fail
;
45460 swig_obj
[0] = args
;
45461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45462 if (!SWIG_IsOK(res1
)) {
45463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45465 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45468 result
= (unsigned int)((wxFontPickerCtrl
const *)arg1
)->GetMaxPointSize();
45469 wxPyEndAllowThreads(__tstate
);
45470 if (PyErr_Occurred()) SWIG_fail
;
45472 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
45479 SWIGINTERN PyObject
*FontPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45481 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45482 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerCtrl
, SWIG_NewClientData(obj
));
45483 return SWIG_Py_Void();
45486 SWIGINTERN PyObject
*FontPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45487 return SWIG_Python_InitShadowInstance(args
);
45490 SWIGINTERN PyObject
*_wrap_new_FontPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45491 PyObject
*resultobj
= 0;
45492 wxObject
*arg1
= (wxObject
*) 0 ;
45495 wxFontPickerEvent
*result
= 0 ;
45502 PyObject
* obj0
= 0 ;
45503 PyObject
* obj1
= 0 ;
45504 PyObject
* obj2
= 0 ;
45505 char * kwnames
[] = {
45506 (char *) "generator",(char *) "id",(char *) "f", NULL
45509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_FontPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45510 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
45511 if (!SWIG_IsOK(res1
)) {
45512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
45514 arg1
= reinterpret_cast< wxObject
* >(argp1
);
45515 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45516 if (!SWIG_IsOK(ecode2
)) {
45517 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerEvent" "', expected argument " "2"" of type '" "int""'");
45519 arg2
= static_cast< int >(val2
);
45520 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
45521 if (!SWIG_IsOK(res3
)) {
45522 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45525 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45527 arg3
= reinterpret_cast< wxFont
* >(argp3
);
45529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45530 result
= (wxFontPickerEvent
*)new wxFontPickerEvent(arg1
,arg2
,(wxFont
const &)*arg3
);
45531 wxPyEndAllowThreads(__tstate
);
45532 if (PyErr_Occurred()) SWIG_fail
;
45534 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerEvent
, SWIG_POINTER_NEW
| 0 );
45541 SWIGINTERN PyObject
*_wrap_FontPickerEvent_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45542 PyObject
*resultobj
= 0;
45543 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45547 PyObject
*swig_obj
[1] ;
45549 if (!args
) SWIG_fail
;
45550 swig_obj
[0] = args
;
45551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45552 if (!SWIG_IsOK(res1
)) {
45553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_GetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent const *""'");
45555 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45558 result
= ((wxFontPickerEvent
const *)arg1
)->GetFont();
45559 wxPyEndAllowThreads(__tstate
);
45560 if (PyErr_Occurred()) SWIG_fail
;
45562 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
45569 SWIGINTERN PyObject
*_wrap_FontPickerEvent_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45570 PyObject
*resultobj
= 0;
45571 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45577 PyObject
* obj0
= 0 ;
45578 PyObject
* obj1
= 0 ;
45579 char * kwnames
[] = {
45580 (char *) "self",(char *) "c", NULL
45583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerEvent_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45585 if (!SWIG_IsOK(res1
)) {
45586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent *""'");
45588 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45589 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
45590 if (!SWIG_IsOK(res2
)) {
45591 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45594 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45596 arg2
= reinterpret_cast< wxFont
* >(argp2
);
45598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45599 (arg1
)->SetFont((wxFont
const &)*arg2
);
45600 wxPyEndAllowThreads(__tstate
);
45601 if (PyErr_Occurred()) SWIG_fail
;
45603 resultobj
= SWIG_Py_Void();
45610 SWIGINTERN PyObject
*FontPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45612 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45613 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerEvent
, SWIG_NewClientData(obj
));
45614 return SWIG_Py_Void();
45617 SWIGINTERN PyObject
*FontPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45618 return SWIG_Python_InitShadowInstance(args
);
45621 static PyMethodDef SwigMethods
[] = {
45622 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45623 { (char *)"new_PreButton", (PyCFunction
)_wrap_new_PreButton
, METH_NOARGS
, NULL
},
45624 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45625 { (char *)"Button_SetDefault", (PyCFunction
)_wrap_Button_SetDefault
, METH_O
, NULL
},
45626 { (char *)"Button_GetDefaultSize", (PyCFunction
)_wrap_Button_GetDefaultSize
, METH_NOARGS
, NULL
},
45627 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45628 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
45629 { (char *)"Button_swiginit", Button_swiginit
, METH_VARARGS
, NULL
},
45630 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45631 { (char *)"new_PreBitmapButton", (PyCFunction
)_wrap_new_PreBitmapButton
, METH_NOARGS
, NULL
},
45632 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45633 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
)_wrap_BitmapButton_GetBitmapLabel
, METH_O
, NULL
},
45634 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
)_wrap_BitmapButton_GetBitmapDisabled
, METH_O
, NULL
},
45635 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
)_wrap_BitmapButton_GetBitmapFocus
, METH_O
, NULL
},
45636 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
)_wrap_BitmapButton_GetBitmapSelected
, METH_O
, NULL
},
45637 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction
)_wrap_BitmapButton_GetBitmapHover
, METH_O
, NULL
},
45638 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45639 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45640 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45641 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45642 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction
) _wrap_BitmapButton_SetBitmapHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45643 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45644 { (char *)"BitmapButton_GetMarginX", (PyCFunction
)_wrap_BitmapButton_GetMarginX
, METH_O
, NULL
},
45645 { (char *)"BitmapButton_GetMarginY", (PyCFunction
)_wrap_BitmapButton_GetMarginY
, METH_O
, NULL
},
45646 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
45647 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit
, METH_VARARGS
, NULL
},
45648 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45649 { (char *)"new_PreCheckBox", (PyCFunction
)_wrap_new_PreCheckBox
, METH_NOARGS
, NULL
},
45650 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45651 { (char *)"CheckBox_GetValue", (PyCFunction
)_wrap_CheckBox_GetValue
, METH_O
, NULL
},
45652 { (char *)"CheckBox_IsChecked", (PyCFunction
)_wrap_CheckBox_IsChecked
, METH_O
, NULL
},
45653 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45654 { (char *)"CheckBox_Get3StateValue", (PyCFunction
)_wrap_CheckBox_Get3StateValue
, METH_O
, NULL
},
45655 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45656 { (char *)"CheckBox_Is3State", (PyCFunction
)_wrap_CheckBox_Is3State
, METH_O
, NULL
},
45657 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
)_wrap_CheckBox_Is3rdStateAllowedForUser
, METH_O
, NULL
},
45658 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45659 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
45660 { (char *)"CheckBox_swiginit", CheckBox_swiginit
, METH_VARARGS
, NULL
},
45661 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45662 { (char *)"new_PreChoice", (PyCFunction
)_wrap_new_PreChoice
, METH_NOARGS
, NULL
},
45663 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45664 { (char *)"Choice_GetCurrentSelection", (PyCFunction
)_wrap_Choice_GetCurrentSelection
, METH_O
, NULL
},
45665 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45666 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
45667 { (char *)"Choice_swiginit", Choice_swiginit
, METH_VARARGS
, NULL
},
45668 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45669 { (char *)"new_PreComboBox", (PyCFunction
)_wrap_new_PreComboBox
, METH_NOARGS
, NULL
},
45670 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45671 { (char *)"ComboBox_GetValue", (PyCFunction
)_wrap_ComboBox_GetValue
, METH_O
, NULL
},
45672 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45673 { (char *)"ComboBox_Copy", (PyCFunction
)_wrap_ComboBox_Copy
, METH_O
, NULL
},
45674 { (char *)"ComboBox_Cut", (PyCFunction
)_wrap_ComboBox_Cut
, METH_O
, NULL
},
45675 { (char *)"ComboBox_Paste", (PyCFunction
)_wrap_ComboBox_Paste
, METH_O
, NULL
},
45676 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45677 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
)_wrap_ComboBox_GetInsertionPoint
, METH_O
, NULL
},
45678 { (char *)"ComboBox_GetLastPosition", (PyCFunction
)_wrap_ComboBox_GetLastPosition
, METH_O
, NULL
},
45679 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45680 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45681 { (char *)"ComboBox_GetMark", (PyCFunction
)_wrap_ComboBox_GetMark
, METH_O
, NULL
},
45682 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction
)_wrap_ComboBox_GetCurrentSelection
, METH_O
, NULL
},
45683 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45684 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45685 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45686 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
)_wrap_ComboBox_SetInsertionPointEnd
, METH_O
, NULL
},
45687 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45688 { (char *)"ComboBox_IsEditable", (PyCFunction
)_wrap_ComboBox_IsEditable
, METH_O
, NULL
},
45689 { (char *)"ComboBox_Undo", (PyCFunction
)_wrap_ComboBox_Undo
, METH_O
, NULL
},
45690 { (char *)"ComboBox_Redo", (PyCFunction
)_wrap_ComboBox_Redo
, METH_O
, NULL
},
45691 { (char *)"ComboBox_SelectAll", (PyCFunction
)_wrap_ComboBox_SelectAll
, METH_O
, NULL
},
45692 { (char *)"ComboBox_CanCopy", (PyCFunction
)_wrap_ComboBox_CanCopy
, METH_O
, NULL
},
45693 { (char *)"ComboBox_CanCut", (PyCFunction
)_wrap_ComboBox_CanCut
, METH_O
, NULL
},
45694 { (char *)"ComboBox_CanPaste", (PyCFunction
)_wrap_ComboBox_CanPaste
, METH_O
, NULL
},
45695 { (char *)"ComboBox_CanUndo", (PyCFunction
)_wrap_ComboBox_CanUndo
, METH_O
, NULL
},
45696 { (char *)"ComboBox_CanRedo", (PyCFunction
)_wrap_ComboBox_CanRedo
, METH_O
, NULL
},
45697 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45698 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
45699 { (char *)"ComboBox_swiginit", ComboBox_swiginit
, METH_VARARGS
, NULL
},
45700 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45701 { (char *)"new_PreGauge", (PyCFunction
)_wrap_new_PreGauge
, METH_NOARGS
, NULL
},
45702 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45703 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45704 { (char *)"Gauge_GetRange", (PyCFunction
)_wrap_Gauge_GetRange
, METH_O
, NULL
},
45705 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45706 { (char *)"Gauge_GetValue", (PyCFunction
)_wrap_Gauge_GetValue
, METH_O
, NULL
},
45707 { (char *)"Gauge_Pulse", (PyCFunction
)_wrap_Gauge_Pulse
, METH_O
, NULL
},
45708 { (char *)"Gauge_IsVertical", (PyCFunction
)_wrap_Gauge_IsVertical
, METH_O
, NULL
},
45709 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45710 { (char *)"Gauge_GetShadowWidth", (PyCFunction
)_wrap_Gauge_GetShadowWidth
, METH_O
, NULL
},
45711 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45712 { (char *)"Gauge_GetBezelFace", (PyCFunction
)_wrap_Gauge_GetBezelFace
, METH_O
, NULL
},
45713 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45714 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
45715 { (char *)"Gauge_swiginit", Gauge_swiginit
, METH_VARARGS
, NULL
},
45716 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45717 { (char *)"new_PreStaticBox", (PyCFunction
)_wrap_new_PreStaticBox
, METH_NOARGS
, NULL
},
45718 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45719 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45720 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
45721 { (char *)"StaticBox_swiginit", StaticBox_swiginit
, METH_VARARGS
, NULL
},
45722 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45723 { (char *)"new_PreStaticLine", (PyCFunction
)_wrap_new_PreStaticLine
, METH_NOARGS
, NULL
},
45724 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45725 { (char *)"StaticLine_IsVertical", (PyCFunction
)_wrap_StaticLine_IsVertical
, METH_O
, NULL
},
45726 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
)_wrap_StaticLine_GetDefaultSize
, METH_NOARGS
, NULL
},
45727 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45728 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
45729 { (char *)"StaticLine_swiginit", StaticLine_swiginit
, METH_VARARGS
, NULL
},
45730 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45731 { (char *)"new_PreStaticText", (PyCFunction
)_wrap_new_PreStaticText
, METH_NOARGS
, NULL
},
45732 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45733 { (char *)"StaticText_Wrap", (PyCFunction
) _wrap_StaticText_Wrap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45734 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45735 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
45736 { (char *)"StaticText_swiginit", StaticText_swiginit
, METH_VARARGS
, NULL
},
45737 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45738 { (char *)"new_PreStaticBitmap", (PyCFunction
)_wrap_new_PreStaticBitmap
, METH_NOARGS
, NULL
},
45739 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45740 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
)_wrap_StaticBitmap_GetBitmap
, METH_O
, NULL
},
45741 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45742 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45743 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45744 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
45745 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit
, METH_VARARGS
, NULL
},
45746 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45747 { (char *)"new_PreListBox", (PyCFunction
)_wrap_new_PreListBox
, METH_NOARGS
, NULL
},
45748 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45749 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45750 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45751 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45752 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45753 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45754 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45755 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45756 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45757 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45758 { (char *)"ListBox_GetSelections", (PyCFunction
)_wrap_ListBox_GetSelections
, METH_O
, NULL
},
45759 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45760 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45761 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45762 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45763 { (char *)"ListBox_IsSorted", (PyCFunction
)_wrap_ListBox_IsSorted
, METH_O
, NULL
},
45764 { (char *)"ListBox_HitTest", (PyCFunction
) _wrap_ListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45765 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45766 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45767 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45768 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45769 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
45770 { (char *)"ListBox_swiginit", ListBox_swiginit
, METH_VARARGS
, NULL
},
45771 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45772 { (char *)"new_PreCheckListBox", (PyCFunction
)_wrap_new_PreCheckListBox
, METH_NOARGS
, NULL
},
45773 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45774 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45775 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45776 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
)_wrap_CheckListBox_GetItemHeight
, METH_O
, NULL
},
45777 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
45778 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit
, METH_VARARGS
, NULL
},
45779 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45780 { (char *)"delete_TextAttr", (PyCFunction
)_wrap_delete_TextAttr
, METH_O
, NULL
},
45781 { (char *)"TextAttr_Init", (PyCFunction
)_wrap_TextAttr_Init
, METH_O
, NULL
},
45782 { (char *)"TextAttr_Merge", (PyCFunction
) _wrap_TextAttr_Merge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45783 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45784 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45785 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45786 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45787 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45788 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45789 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45790 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45791 { (char *)"TextAttr_HasTextColour", (PyCFunction
)_wrap_TextAttr_HasTextColour
, METH_O
, NULL
},
45792 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
)_wrap_TextAttr_HasBackgroundColour
, METH_O
, NULL
},
45793 { (char *)"TextAttr_HasFont", (PyCFunction
)_wrap_TextAttr_HasFont
, METH_O
, NULL
},
45794 { (char *)"TextAttr_HasAlignment", (PyCFunction
)_wrap_TextAttr_HasAlignment
, METH_O
, NULL
},
45795 { (char *)"TextAttr_HasTabs", (PyCFunction
)_wrap_TextAttr_HasTabs
, METH_O
, NULL
},
45796 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
)_wrap_TextAttr_HasLeftIndent
, METH_O
, NULL
},
45797 { (char *)"TextAttr_HasRightIndent", (PyCFunction
)_wrap_TextAttr_HasRightIndent
, METH_O
, NULL
},
45798 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45799 { (char *)"TextAttr_GetTextColour", (PyCFunction
)_wrap_TextAttr_GetTextColour
, METH_O
, NULL
},
45800 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
)_wrap_TextAttr_GetBackgroundColour
, METH_O
, NULL
},
45801 { (char *)"TextAttr_GetFont", (PyCFunction
)_wrap_TextAttr_GetFont
, METH_O
, NULL
},
45802 { (char *)"TextAttr_GetAlignment", (PyCFunction
)_wrap_TextAttr_GetAlignment
, METH_O
, NULL
},
45803 { (char *)"TextAttr_GetTabs", (PyCFunction
)_wrap_TextAttr_GetTabs
, METH_O
, NULL
},
45804 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
)_wrap_TextAttr_GetLeftIndent
, METH_O
, NULL
},
45805 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
)_wrap_TextAttr_GetLeftSubIndent
, METH_O
, NULL
},
45806 { (char *)"TextAttr_GetRightIndent", (PyCFunction
)_wrap_TextAttr_GetRightIndent
, METH_O
, NULL
},
45807 { (char *)"TextAttr_GetFlags", (PyCFunction
)_wrap_TextAttr_GetFlags
, METH_O
, NULL
},
45808 { (char *)"TextAttr_IsDefault", (PyCFunction
)_wrap_TextAttr_IsDefault
, METH_O
, NULL
},
45809 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45810 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
45811 { (char *)"TextAttr_swiginit", TextAttr_swiginit
, METH_VARARGS
, NULL
},
45812 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45813 { (char *)"new_PreTextCtrl", (PyCFunction
)_wrap_new_PreTextCtrl
, METH_NOARGS
, NULL
},
45814 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45815 { (char *)"TextCtrl_GetValue", (PyCFunction
)_wrap_TextCtrl_GetValue
, METH_O
, NULL
},
45816 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45817 { (char *)"TextCtrl_IsEmpty", (PyCFunction
)_wrap_TextCtrl_IsEmpty
, METH_O
, NULL
},
45818 { (char *)"TextCtrl_ChangeValue", (PyCFunction
) _wrap_TextCtrl_ChangeValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45819 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45820 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45821 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45822 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
)_wrap_TextCtrl_GetNumberOfLines
, METH_O
, NULL
},
45823 { (char *)"TextCtrl_IsModified", (PyCFunction
)_wrap_TextCtrl_IsModified
, METH_O
, NULL
},
45824 { (char *)"TextCtrl_IsEditable", (PyCFunction
)_wrap_TextCtrl_IsEditable
, METH_O
, NULL
},
45825 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
)_wrap_TextCtrl_IsSingleLine
, METH_O
, NULL
},
45826 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
)_wrap_TextCtrl_IsMultiLine
, METH_O
, NULL
},
45827 { (char *)"TextCtrl_GetSelection", (PyCFunction
)_wrap_TextCtrl_GetSelection
, METH_O
, NULL
},
45828 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
)_wrap_TextCtrl_GetStringSelection
, METH_O
, NULL
},
45829 { (char *)"TextCtrl_Clear", (PyCFunction
)_wrap_TextCtrl_Clear
, METH_O
, NULL
},
45830 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45831 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45832 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45833 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45834 { (char *)"TextCtrl_MarkDirty", (PyCFunction
)_wrap_TextCtrl_MarkDirty
, METH_O
, NULL
},
45835 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
)_wrap_TextCtrl_DiscardEdits
, METH_O
, NULL
},
45836 { (char *)"TextCtrl_SetModified", (PyCFunction
) _wrap_TextCtrl_SetModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45837 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45838 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45839 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45840 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45841 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45842 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45843 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45844 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
)_wrap_TextCtrl_GetDefaultStyle
, METH_O
, NULL
},
45845 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45846 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45847 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45848 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45849 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45850 { (char *)"TextCtrl_Copy", (PyCFunction
)_wrap_TextCtrl_Copy
, METH_O
, NULL
},
45851 { (char *)"TextCtrl_Cut", (PyCFunction
)_wrap_TextCtrl_Cut
, METH_O
, NULL
},
45852 { (char *)"TextCtrl_Paste", (PyCFunction
)_wrap_TextCtrl_Paste
, METH_O
, NULL
},
45853 { (char *)"TextCtrl_CanCopy", (PyCFunction
)_wrap_TextCtrl_CanCopy
, METH_O
, NULL
},
45854 { (char *)"TextCtrl_CanCut", (PyCFunction
)_wrap_TextCtrl_CanCut
, METH_O
, NULL
},
45855 { (char *)"TextCtrl_CanPaste", (PyCFunction
)_wrap_TextCtrl_CanPaste
, METH_O
, NULL
},
45856 { (char *)"TextCtrl_Undo", (PyCFunction
)_wrap_TextCtrl_Undo
, METH_O
, NULL
},
45857 { (char *)"TextCtrl_Redo", (PyCFunction
)_wrap_TextCtrl_Redo
, METH_O
, NULL
},
45858 { (char *)"TextCtrl_CanUndo", (PyCFunction
)_wrap_TextCtrl_CanUndo
, METH_O
, NULL
},
45859 { (char *)"TextCtrl_CanRedo", (PyCFunction
)_wrap_TextCtrl_CanRedo
, METH_O
, NULL
},
45860 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45861 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
)_wrap_TextCtrl_SetInsertionPointEnd
, METH_O
, NULL
},
45862 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
)_wrap_TextCtrl_GetInsertionPoint
, METH_O
, NULL
},
45863 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
)_wrap_TextCtrl_GetLastPosition
, METH_O
, NULL
},
45864 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45865 { (char *)"TextCtrl_SelectAll", (PyCFunction
)_wrap_TextCtrl_SelectAll
, METH_O
, NULL
},
45866 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45867 { (char *)"TextCtrl_SendTextUpdatedEvent", (PyCFunction
)_wrap_TextCtrl_SendTextUpdatedEvent
, METH_O
, NULL
},
45868 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction
) _wrap_TextCtrl_ShowNativeCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45869 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction
)_wrap_TextCtrl_HideNativeCaret
, METH_O
, NULL
},
45870 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45871 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45872 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45873 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
45874 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit
, METH_VARARGS
, NULL
},
45875 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45876 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
)_wrap_TextUrlEvent_GetMouseEvent
, METH_O
, NULL
},
45877 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
)_wrap_TextUrlEvent_GetURLStart
, METH_O
, NULL
},
45878 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
)_wrap_TextUrlEvent_GetURLEnd
, METH_O
, NULL
},
45879 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
45880 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit
, METH_VARARGS
, NULL
},
45881 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45882 { (char *)"new_PreScrollBar", (PyCFunction
)_wrap_new_PreScrollBar
, METH_NOARGS
, NULL
},
45883 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45884 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
)_wrap_ScrollBar_GetThumbPosition
, METH_O
, NULL
},
45885 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
)_wrap_ScrollBar_GetThumbSize
, METH_O
, NULL
},
45886 { (char *)"ScrollBar_GetPageSize", (PyCFunction
)_wrap_ScrollBar_GetPageSize
, METH_O
, NULL
},
45887 { (char *)"ScrollBar_GetRange", (PyCFunction
)_wrap_ScrollBar_GetRange
, METH_O
, NULL
},
45888 { (char *)"ScrollBar_IsVertical", (PyCFunction
)_wrap_ScrollBar_IsVertical
, METH_O
, NULL
},
45889 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45890 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45891 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
45892 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit
, METH_VARARGS
, NULL
},
45893 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45894 { (char *)"new_PreSpinButton", (PyCFunction
)_wrap_new_PreSpinButton
, METH_NOARGS
, NULL
},
45895 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45896 { (char *)"SpinButton_GetValue", (PyCFunction
)_wrap_SpinButton_GetValue
, METH_O
, NULL
},
45897 { (char *)"SpinButton_GetMin", (PyCFunction
)_wrap_SpinButton_GetMin
, METH_O
, NULL
},
45898 { (char *)"SpinButton_GetMax", (PyCFunction
)_wrap_SpinButton_GetMax
, METH_O
, NULL
},
45899 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45900 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45901 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45902 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45903 { (char *)"SpinButton_IsVertical", (PyCFunction
)_wrap_SpinButton_IsVertical
, METH_O
, NULL
},
45904 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45905 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
45906 { (char *)"SpinButton_swiginit", SpinButton_swiginit
, METH_VARARGS
, NULL
},
45907 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45908 { (char *)"new_PreSpinCtrl", (PyCFunction
)_wrap_new_PreSpinCtrl
, METH_NOARGS
, NULL
},
45909 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45910 { (char *)"SpinCtrl_GetValue", (PyCFunction
)_wrap_SpinCtrl_GetValue
, METH_O
, NULL
},
45911 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45912 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45913 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45914 { (char *)"SpinCtrl_GetMin", (PyCFunction
)_wrap_SpinCtrl_GetMin
, METH_O
, NULL
},
45915 { (char *)"SpinCtrl_GetMax", (PyCFunction
)_wrap_SpinCtrl_GetMax
, METH_O
, NULL
},
45916 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45917 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45918 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
45919 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit
, METH_VARARGS
, NULL
},
45920 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45921 { (char *)"SpinEvent_GetPosition", (PyCFunction
)_wrap_SpinEvent_GetPosition
, METH_O
, NULL
},
45922 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45923 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
45924 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit
, METH_VARARGS
, NULL
},
45925 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45926 { (char *)"new_PreRadioBox", (PyCFunction
)_wrap_new_PreRadioBox
, METH_NOARGS
, NULL
},
45927 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45928 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45929 { (char *)"RadioBox_GetSelection", (PyCFunction
)_wrap_RadioBox_GetSelection
, METH_O
, NULL
},
45930 { (char *)"RadioBox_GetStringSelection", (PyCFunction
)_wrap_RadioBox_GetStringSelection
, METH_O
, NULL
},
45931 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45932 { (char *)"RadioBox_GetCount", (PyCFunction
)_wrap_RadioBox_GetCount
, METH_O
, NULL
},
45933 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45934 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45935 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45936 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45937 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45938 { (char *)"RadioBox_IsItemEnabled", (PyCFunction
) _wrap_RadioBox_IsItemEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45939 { (char *)"RadioBox_IsItemShown", (PyCFunction
) _wrap_RadioBox_IsItemShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45940 { (char *)"RadioBox_GetColumnCount", (PyCFunction
)_wrap_RadioBox_GetColumnCount
, METH_O
, NULL
},
45941 { (char *)"RadioBox_GetRowCount", (PyCFunction
)_wrap_RadioBox_GetRowCount
, METH_O
, NULL
},
45942 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45943 { (char *)"RadioBox_SetItemToolTip", (PyCFunction
) _wrap_RadioBox_SetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45944 { (char *)"RadioBox_GetItemToolTip", (PyCFunction
) _wrap_RadioBox_GetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45945 { (char *)"RadioBox_SetItemHelpText", (PyCFunction
) _wrap_RadioBox_SetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45946 { (char *)"RadioBox_GetItemHelpText", (PyCFunction
) _wrap_RadioBox_GetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45947 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45948 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
45949 { (char *)"RadioBox_swiginit", RadioBox_swiginit
, METH_VARARGS
, NULL
},
45950 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45951 { (char *)"new_PreRadioButton", (PyCFunction
)_wrap_new_PreRadioButton
, METH_NOARGS
, NULL
},
45952 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45953 { (char *)"RadioButton_GetValue", (PyCFunction
)_wrap_RadioButton_GetValue
, METH_O
, NULL
},
45954 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45955 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45956 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
45957 { (char *)"RadioButton_swiginit", RadioButton_swiginit
, METH_VARARGS
, NULL
},
45958 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45959 { (char *)"new_PreSlider", (PyCFunction
)_wrap_new_PreSlider
, METH_NOARGS
, NULL
},
45960 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45961 { (char *)"Slider_GetValue", (PyCFunction
)_wrap_Slider_GetValue
, METH_O
, NULL
},
45962 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45963 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45964 { (char *)"Slider_GetMin", (PyCFunction
)_wrap_Slider_GetMin
, METH_O
, NULL
},
45965 { (char *)"Slider_GetMax", (PyCFunction
)_wrap_Slider_GetMax
, METH_O
, NULL
},
45966 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45967 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45968 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45969 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45970 { (char *)"Slider_GetLineSize", (PyCFunction
)_wrap_Slider_GetLineSize
, METH_O
, NULL
},
45971 { (char *)"Slider_GetPageSize", (PyCFunction
)_wrap_Slider_GetPageSize
, METH_O
, NULL
},
45972 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45973 { (char *)"Slider_GetThumbLength", (PyCFunction
)_wrap_Slider_GetThumbLength
, METH_O
, NULL
},
45974 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45975 { (char *)"Slider_GetTickFreq", (PyCFunction
)_wrap_Slider_GetTickFreq
, METH_O
, NULL
},
45976 { (char *)"Slider_ClearTicks", (PyCFunction
)_wrap_Slider_ClearTicks
, METH_O
, NULL
},
45977 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45978 { (char *)"Slider_ClearSel", (PyCFunction
)_wrap_Slider_ClearSel
, METH_O
, NULL
},
45979 { (char *)"Slider_GetSelEnd", (PyCFunction
)_wrap_Slider_GetSelEnd
, METH_O
, NULL
},
45980 { (char *)"Slider_GetSelStart", (PyCFunction
)_wrap_Slider_GetSelStart
, METH_O
, NULL
},
45981 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45982 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45983 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
45984 { (char *)"Slider_swiginit", Slider_swiginit
, METH_VARARGS
, NULL
},
45985 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45986 { (char *)"new_PreToggleButton", (PyCFunction
)_wrap_new_PreToggleButton
, METH_NOARGS
, NULL
},
45987 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45988 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45989 { (char *)"ToggleButton_GetValue", (PyCFunction
)_wrap_ToggleButton_GetValue
, METH_O
, NULL
},
45990 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45991 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
45992 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit
, METH_VARARGS
, NULL
},
45993 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
)_wrap_BookCtrlBase_GetPageCount
, METH_O
, NULL
},
45994 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45995 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetCurrentPage
, METH_O
, NULL
},
45996 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
)_wrap_BookCtrlBase_GetSelection
, METH_O
, NULL
},
45997 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45998 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45999 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46000 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46001 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
)_wrap_BookCtrlBase_GetImageList
, METH_O
, NULL
},
46002 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46003 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46004 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46005 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46006 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction
)_wrap_BookCtrlBase_GetInternalBorder
, METH_O
, NULL
},
46007 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction
) _wrap_BookCtrlBase_SetInternalBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46008 { (char *)"BookCtrlBase_IsVertical", (PyCFunction
)_wrap_BookCtrlBase_IsVertical
, METH_O
, NULL
},
46009 { (char *)"BookCtrlBase_SetControlMargin", (PyCFunction
) _wrap_BookCtrlBase_SetControlMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46010 { (char *)"BookCtrlBase_GetControlMargin", (PyCFunction
)_wrap_BookCtrlBase_GetControlMargin
, METH_O
, NULL
},
46011 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_SetFitToCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46012 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetFitToCurrentPage
, METH_O
, NULL
},
46013 { (char *)"BookCtrlBase_GetControlSizer", (PyCFunction
)_wrap_BookCtrlBase_GetControlSizer
, METH_O
, NULL
},
46014 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46015 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46016 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
)_wrap_BookCtrlBase_DeleteAllPages
, METH_O
, NULL
},
46017 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46018 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46019 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46020 { (char *)"BookCtrlBase_ChangeSelection", (PyCFunction
) _wrap_BookCtrlBase_ChangeSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46021 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46022 { (char *)"BookCtrlBase_HitTest", (PyCFunction
) _wrap_BookCtrlBase_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46023 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46024 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
46025 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46026 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetSelection
, METH_O
, NULL
},
46027 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46028 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetOldSelection
, METH_O
, NULL
},
46029 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46030 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
46031 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit
, METH_VARARGS
, NULL
},
46032 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46033 { (char *)"new_PreNotebook", (PyCFunction
)_wrap_new_PreNotebook
, METH_NOARGS
, NULL
},
46034 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46035 { (char *)"Notebook_GetRowCount", (PyCFunction
)_wrap_Notebook_GetRowCount
, METH_O
, NULL
},
46036 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46037 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46038 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
)_wrap_Notebook_GetThemeBackgroundColour
, METH_O
, NULL
},
46039 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46040 { (char *)"Notebook_SendPageChangingEvent", (PyCFunction
) _wrap_Notebook_SendPageChangingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46041 { (char *)"Notebook_SendPageChangedEvent", (PyCFunction
) _wrap_Notebook_SendPageChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46042 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
46043 { (char *)"Notebook_swiginit", Notebook_swiginit
, METH_VARARGS
, NULL
},
46044 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46045 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
46046 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit
, METH_VARARGS
, NULL
},
46047 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46048 { (char *)"new_PreListbook", (PyCFunction
)_wrap_new_PreListbook
, METH_NOARGS
, NULL
},
46049 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46050 { (char *)"Listbook_GetListView", (PyCFunction
)_wrap_Listbook_GetListView
, METH_O
, NULL
},
46051 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
46052 { (char *)"Listbook_swiginit", Listbook_swiginit
, METH_VARARGS
, NULL
},
46053 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46054 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
46055 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit
, METH_VARARGS
, NULL
},
46056 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46057 { (char *)"new_PreChoicebook", (PyCFunction
)_wrap_new_PreChoicebook
, METH_NOARGS
, NULL
},
46058 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46059 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
)_wrap_Choicebook_GetChoiceCtrl
, METH_O
, NULL
},
46060 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
46061 { (char *)"Choicebook_swiginit", Choicebook_swiginit
, METH_VARARGS
, NULL
},
46062 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46063 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
46064 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit
, METH_VARARGS
, NULL
},
46065 { (char *)"new_Treebook", (PyCFunction
) _wrap_new_Treebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46066 { (char *)"new_PreTreebook", (PyCFunction
)_wrap_new_PreTreebook
, METH_NOARGS
, NULL
},
46067 { (char *)"Treebook_Create", (PyCFunction
) _wrap_Treebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46068 { (char *)"Treebook_InsertSubPage", (PyCFunction
) _wrap_Treebook_InsertSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46069 { (char *)"Treebook_AddSubPage", (PyCFunction
) _wrap_Treebook_AddSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46070 { (char *)"Treebook_IsNodeExpanded", (PyCFunction
) _wrap_Treebook_IsNodeExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46071 { (char *)"Treebook_ExpandNode", (PyCFunction
) _wrap_Treebook_ExpandNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46072 { (char *)"Treebook_CollapseNode", (PyCFunction
) _wrap_Treebook_CollapseNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46073 { (char *)"Treebook_GetPageParent", (PyCFunction
) _wrap_Treebook_GetPageParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46074 { (char *)"Treebook_GetTreeCtrl", (PyCFunction
)_wrap_Treebook_GetTreeCtrl
, METH_O
, NULL
},
46075 { (char *)"Treebook_swigregister", Treebook_swigregister
, METH_VARARGS
, NULL
},
46076 { (char *)"Treebook_swiginit", Treebook_swiginit
, METH_VARARGS
, NULL
},
46077 { (char *)"new_TreebookEvent", (PyCFunction
) _wrap_new_TreebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46078 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister
, METH_VARARGS
, NULL
},
46079 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit
, METH_VARARGS
, NULL
},
46080 { (char *)"new_Toolbook", (PyCFunction
) _wrap_new_Toolbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46081 { (char *)"new_PreToolbook", (PyCFunction
)_wrap_new_PreToolbook
, METH_NOARGS
, NULL
},
46082 { (char *)"Toolbook_Create", (PyCFunction
) _wrap_Toolbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46083 { (char *)"Toolbook_GetToolBar", (PyCFunction
)_wrap_Toolbook_GetToolBar
, METH_O
, NULL
},
46084 { (char *)"Toolbook_Realize", (PyCFunction
)_wrap_Toolbook_Realize
, METH_O
, NULL
},
46085 { (char *)"Toolbook_swigregister", Toolbook_swigregister
, METH_VARARGS
, NULL
},
46086 { (char *)"Toolbook_swiginit", Toolbook_swiginit
, METH_VARARGS
, NULL
},
46087 { (char *)"new_ToolbookEvent", (PyCFunction
) _wrap_new_ToolbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46088 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister
, METH_VARARGS
, NULL
},
46089 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit
, METH_VARARGS
, NULL
},
46090 { (char *)"ToolBarToolBase_GetId", (PyCFunction
)_wrap_ToolBarToolBase_GetId
, METH_O
, NULL
},
46091 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
)_wrap_ToolBarToolBase_GetControl
, METH_O
, NULL
},
46092 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
)_wrap_ToolBarToolBase_GetToolBar
, METH_O
, NULL
},
46093 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
)_wrap_ToolBarToolBase_IsButton
, METH_O
, NULL
},
46094 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
)_wrap_ToolBarToolBase_IsControl
, METH_O
, NULL
},
46095 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
)_wrap_ToolBarToolBase_IsSeparator
, METH_O
, NULL
},
46096 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
)_wrap_ToolBarToolBase_GetStyle
, METH_O
, NULL
},
46097 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
)_wrap_ToolBarToolBase_GetKind
, METH_O
, NULL
},
46098 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
)_wrap_ToolBarToolBase_IsEnabled
, METH_O
, NULL
},
46099 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
)_wrap_ToolBarToolBase_IsToggled
, METH_O
, NULL
},
46100 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
)_wrap_ToolBarToolBase_CanBeToggled
, METH_O
, NULL
},
46101 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetNormalBitmap
, METH_O
, NULL
},
46102 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetDisabledBitmap
, METH_O
, NULL
},
46103 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetBitmap
, METH_O
, NULL
},
46104 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
)_wrap_ToolBarToolBase_GetLabel
, METH_O
, NULL
},
46105 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetShortHelp
, METH_O
, NULL
},
46106 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetLongHelp
, METH_O
, NULL
},
46107 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46108 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
)_wrap_ToolBarToolBase_Toggle
, METH_O
, NULL
},
46109 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46110 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46111 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46112 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46113 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46114 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46115 { (char *)"ToolBarToolBase_Detach", (PyCFunction
)_wrap_ToolBarToolBase_Detach
, METH_O
, NULL
},
46116 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46117 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
)_wrap_ToolBarToolBase_GetClientData
, METH_O
, NULL
},
46118 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46119 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
46120 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46121 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46122 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46123 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46124 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46125 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46126 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46127 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
)_wrap_ToolBarBase_AddSeparator
, METH_O
, NULL
},
46128 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46129 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46130 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46131 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46132 { (char *)"ToolBarBase_ClearTools", (PyCFunction
)_wrap_ToolBarBase_ClearTools
, METH_O
, NULL
},
46133 { (char *)"ToolBarBase_Realize", (PyCFunction
)_wrap_ToolBarBase_Realize
, METH_O
, NULL
},
46134 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46135 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46136 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46137 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46138 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46139 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46140 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46141 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46142 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46143 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46144 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46145 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46146 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46147 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46148 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46149 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46150 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
)_wrap_ToolBarBase_GetToolMargins
, METH_O
, NULL
},
46151 { (char *)"ToolBarBase_GetMargins", (PyCFunction
)_wrap_ToolBarBase_GetMargins
, METH_O
, NULL
},
46152 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
)_wrap_ToolBarBase_GetToolPacking
, METH_O
, NULL
},
46153 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
)_wrap_ToolBarBase_GetToolSeparation
, METH_O
, NULL
},
46154 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46155 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46156 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
)_wrap_ToolBarBase_GetMaxRows
, METH_O
, NULL
},
46157 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
)_wrap_ToolBarBase_GetMaxCols
, METH_O
, NULL
},
46158 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46159 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
)_wrap_ToolBarBase_GetToolBitmapSize
, METH_O
, NULL
},
46160 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
)_wrap_ToolBarBase_GetToolSize
, METH_O
, NULL
},
46161 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46162 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46163 { (char *)"ToolBarBase_IsVertical", (PyCFunction
)_wrap_ToolBarBase_IsVertical
, METH_O
, NULL
},
46164 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction
)_wrap_ToolBarBase_GetToolsCount
, METH_O
, NULL
},
46165 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
46166 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46167 { (char *)"new_PreToolBar", (PyCFunction
)_wrap_new_PreToolBar
, METH_NOARGS
, NULL
},
46168 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46169 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46170 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
46171 { (char *)"ToolBar_swiginit", ToolBar_swiginit
, METH_VARARGS
, NULL
},
46172 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46173 { (char *)"delete_ListItemAttr", (PyCFunction
)_wrap_delete_ListItemAttr
, METH_O
, NULL
},
46174 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46175 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46176 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46177 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
)_wrap_ListItemAttr_HasTextColour
, METH_O
, NULL
},
46178 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_HasBackgroundColour
, METH_O
, NULL
},
46179 { (char *)"ListItemAttr_HasFont", (PyCFunction
)_wrap_ListItemAttr_HasFont
, METH_O
, NULL
},
46180 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
)_wrap_ListItemAttr_GetTextColour
, METH_O
, NULL
},
46181 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_GetBackgroundColour
, METH_O
, NULL
},
46182 { (char *)"ListItemAttr_GetFont", (PyCFunction
)_wrap_ListItemAttr_GetFont
, METH_O
, NULL
},
46183 { (char *)"ListItemAttr_AssignFrom", (PyCFunction
) _wrap_ListItemAttr_AssignFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46184 { (char *)"ListItemAttr_Destroy", (PyCFunction
)_wrap_ListItemAttr_Destroy
, METH_O
, NULL
},
46185 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
46186 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit
, METH_VARARGS
, NULL
},
46187 { (char *)"new_ListItem", (PyCFunction
)_wrap_new_ListItem
, METH_NOARGS
, NULL
},
46188 { (char *)"delete_ListItem", (PyCFunction
)_wrap_delete_ListItem
, METH_O
, NULL
},
46189 { (char *)"ListItem_Clear", (PyCFunction
)_wrap_ListItem_Clear
, METH_O
, NULL
},
46190 { (char *)"ListItem_ClearAttributes", (PyCFunction
)_wrap_ListItem_ClearAttributes
, METH_O
, NULL
},
46191 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46192 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46193 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46194 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46195 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46196 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46197 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46198 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46199 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46200 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46201 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46202 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46203 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46204 { (char *)"ListItem_GetMask", (PyCFunction
)_wrap_ListItem_GetMask
, METH_O
, NULL
},
46205 { (char *)"ListItem_GetId", (PyCFunction
)_wrap_ListItem_GetId
, METH_O
, NULL
},
46206 { (char *)"ListItem_GetColumn", (PyCFunction
)_wrap_ListItem_GetColumn
, METH_O
, NULL
},
46207 { (char *)"ListItem_GetState", (PyCFunction
)_wrap_ListItem_GetState
, METH_O
, NULL
},
46208 { (char *)"ListItem_GetText", (PyCFunction
)_wrap_ListItem_GetText
, METH_O
, NULL
},
46209 { (char *)"ListItem_GetImage", (PyCFunction
)_wrap_ListItem_GetImage
, METH_O
, NULL
},
46210 { (char *)"ListItem_GetData", (PyCFunction
)_wrap_ListItem_GetData
, METH_O
, NULL
},
46211 { (char *)"ListItem_GetWidth", (PyCFunction
)_wrap_ListItem_GetWidth
, METH_O
, NULL
},
46212 { (char *)"ListItem_GetAlign", (PyCFunction
)_wrap_ListItem_GetAlign
, METH_O
, NULL
},
46213 { (char *)"ListItem_GetAttributes", (PyCFunction
)_wrap_ListItem_GetAttributes
, METH_O
, NULL
},
46214 { (char *)"ListItem_HasAttributes", (PyCFunction
)_wrap_ListItem_HasAttributes
, METH_O
, NULL
},
46215 { (char *)"ListItem_GetTextColour", (PyCFunction
)_wrap_ListItem_GetTextColour
, METH_O
, NULL
},
46216 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
)_wrap_ListItem_GetBackgroundColour
, METH_O
, NULL
},
46217 { (char *)"ListItem_GetFont", (PyCFunction
)_wrap_ListItem_GetFont
, METH_O
, NULL
},
46218 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set
, METH_VARARGS
, NULL
},
46219 { (char *)"ListItem_m_mask_get", (PyCFunction
)_wrap_ListItem_m_mask_get
, METH_O
, NULL
},
46220 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set
, METH_VARARGS
, NULL
},
46221 { (char *)"ListItem_m_itemId_get", (PyCFunction
)_wrap_ListItem_m_itemId_get
, METH_O
, NULL
},
46222 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set
, METH_VARARGS
, NULL
},
46223 { (char *)"ListItem_m_col_get", (PyCFunction
)_wrap_ListItem_m_col_get
, METH_O
, NULL
},
46224 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set
, METH_VARARGS
, NULL
},
46225 { (char *)"ListItem_m_state_get", (PyCFunction
)_wrap_ListItem_m_state_get
, METH_O
, NULL
},
46226 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set
, METH_VARARGS
, NULL
},
46227 { (char *)"ListItem_m_stateMask_get", (PyCFunction
)_wrap_ListItem_m_stateMask_get
, METH_O
, NULL
},
46228 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set
, METH_VARARGS
, NULL
},
46229 { (char *)"ListItem_m_text_get", (PyCFunction
)_wrap_ListItem_m_text_get
, METH_O
, NULL
},
46230 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set
, METH_VARARGS
, NULL
},
46231 { (char *)"ListItem_m_image_get", (PyCFunction
)_wrap_ListItem_m_image_get
, METH_O
, NULL
},
46232 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set
, METH_VARARGS
, NULL
},
46233 { (char *)"ListItem_m_data_get", (PyCFunction
)_wrap_ListItem_m_data_get
, METH_O
, NULL
},
46234 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set
, METH_VARARGS
, NULL
},
46235 { (char *)"ListItem_m_format_get", (PyCFunction
)_wrap_ListItem_m_format_get
, METH_O
, NULL
},
46236 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set
, METH_VARARGS
, NULL
},
46237 { (char *)"ListItem_m_width_get", (PyCFunction
)_wrap_ListItem_m_width_get
, METH_O
, NULL
},
46238 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
46239 { (char *)"ListItem_swiginit", ListItem_swiginit
, METH_VARARGS
, NULL
},
46240 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46241 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set
, METH_VARARGS
, NULL
},
46242 { (char *)"ListEvent_m_code_get", (PyCFunction
)_wrap_ListEvent_m_code_get
, METH_O
, NULL
},
46243 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
, NULL
},
46244 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
)_wrap_ListEvent_m_oldItemIndex_get
, METH_O
, NULL
},
46245 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
, NULL
},
46246 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
)_wrap_ListEvent_m_itemIndex_get
, METH_O
, NULL
},
46247 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set
, METH_VARARGS
, NULL
},
46248 { (char *)"ListEvent_m_col_get", (PyCFunction
)_wrap_ListEvent_m_col_get
, METH_O
, NULL
},
46249 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
, NULL
},
46250 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
)_wrap_ListEvent_m_pointDrag_get
, METH_O
, NULL
},
46251 { (char *)"ListEvent_m_item_get", (PyCFunction
)_wrap_ListEvent_m_item_get
, METH_O
, NULL
},
46252 { (char *)"ListEvent_GetKeyCode", (PyCFunction
)_wrap_ListEvent_GetKeyCode
, METH_O
, NULL
},
46253 { (char *)"ListEvent_GetIndex", (PyCFunction
)_wrap_ListEvent_GetIndex
, METH_O
, NULL
},
46254 { (char *)"ListEvent_GetColumn", (PyCFunction
)_wrap_ListEvent_GetColumn
, METH_O
, NULL
},
46255 { (char *)"ListEvent_GetPoint", (PyCFunction
)_wrap_ListEvent_GetPoint
, METH_O
, NULL
},
46256 { (char *)"ListEvent_GetLabel", (PyCFunction
)_wrap_ListEvent_GetLabel
, METH_O
, NULL
},
46257 { (char *)"ListEvent_GetText", (PyCFunction
)_wrap_ListEvent_GetText
, METH_O
, NULL
},
46258 { (char *)"ListEvent_GetImage", (PyCFunction
)_wrap_ListEvent_GetImage
, METH_O
, NULL
},
46259 { (char *)"ListEvent_GetData", (PyCFunction
)_wrap_ListEvent_GetData
, METH_O
, NULL
},
46260 { (char *)"ListEvent_GetMask", (PyCFunction
)_wrap_ListEvent_GetMask
, METH_O
, NULL
},
46261 { (char *)"ListEvent_GetItem", (PyCFunction
)_wrap_ListEvent_GetItem
, METH_O
, NULL
},
46262 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
)_wrap_ListEvent_GetCacheFrom
, METH_O
, NULL
},
46263 { (char *)"ListEvent_GetCacheTo", (PyCFunction
)_wrap_ListEvent_GetCacheTo
, METH_O
, NULL
},
46264 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
)_wrap_ListEvent_IsEditCancelled
, METH_O
, NULL
},
46265 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46266 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
46267 { (char *)"ListEvent_swiginit", ListEvent_swiginit
, METH_VARARGS
, NULL
},
46268 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46269 { (char *)"new_PreListCtrl", (PyCFunction
)_wrap_new_PreListCtrl
, METH_NOARGS
, NULL
},
46270 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46271 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46272 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46273 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46274 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46275 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46276 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
)_wrap_ListCtrl_GetCountPerPage
, METH_O
, NULL
},
46277 { (char *)"ListCtrl_GetViewRect", (PyCFunction
)_wrap_ListCtrl_GetViewRect
, METH_O
, NULL
},
46278 { (char *)"ListCtrl_GetEditControl", (PyCFunction
)_wrap_ListCtrl_GetEditControl
, METH_O
, NULL
},
46279 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46280 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46281 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46282 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46283 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46284 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46285 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction
) _wrap_ListCtrl_SetItemColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46286 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46287 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46288 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46289 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46290 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46291 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46292 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46293 { (char *)"ListCtrl_GetItemCount", (PyCFunction
)_wrap_ListCtrl_GetItemCount
, METH_O
, NULL
},
46294 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
)_wrap_ListCtrl_GetColumnCount
, METH_O
, NULL
},
46295 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
)_wrap_ListCtrl_GetItemSpacing
, METH_O
, NULL
},
46296 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
)_wrap_ListCtrl_GetSelectedItemCount
, METH_O
, NULL
},
46297 { (char *)"ListCtrl_GetTextColour", (PyCFunction
)_wrap_ListCtrl_GetTextColour
, METH_O
, NULL
},
46298 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46299 { (char *)"ListCtrl_GetTopItem", (PyCFunction
)_wrap_ListCtrl_GetTopItem
, METH_O
, NULL
},
46300 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46301 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46302 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46303 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46304 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46305 { (char *)"ListCtrl_InReportView", (PyCFunction
)_wrap_ListCtrl_InReportView
, METH_O
, NULL
},
46306 { (char *)"ListCtrl_IsVirtual", (PyCFunction
)_wrap_ListCtrl_IsVirtual
, METH_O
, NULL
},
46307 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46308 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46309 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46310 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46311 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
)_wrap_ListCtrl_DeleteAllItems
, METH_O
, NULL
},
46312 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46313 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
)_wrap_ListCtrl_DeleteAllColumns
, METH_O
, NULL
},
46314 { (char *)"ListCtrl_ClearAll", (PyCFunction
)_wrap_ListCtrl_ClearAll
, METH_O
, NULL
},
46315 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46316 { (char *)"ListCtrl_EndEditLabel", (PyCFunction
) _wrap_ListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46317 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46318 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46319 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46320 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46321 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46322 { (char *)"ListCtrl_HitTestSubItem", (PyCFunction
) _wrap_ListCtrl_HitTestSubItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46323 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46324 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46325 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46326 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46327 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46328 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46329 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46330 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46331 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46332 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46333 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46334 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46335 { (char *)"ListCtrl_SetItemFont", (PyCFunction
) _wrap_ListCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46336 { (char *)"ListCtrl_GetItemFont", (PyCFunction
) _wrap_ListCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46337 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46338 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
)_wrap_ListCtrl_GetMainWindow
, METH_O
, NULL
},
46339 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46340 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
46341 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit
, METH_VARARGS
, NULL
},
46342 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46343 { (char *)"new_PreListView", (PyCFunction
)_wrap_new_PreListView
, METH_NOARGS
, NULL
},
46344 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46345 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46346 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46347 { (char *)"ListView_GetFocusedItem", (PyCFunction
)_wrap_ListView_GetFocusedItem
, METH_O
, NULL
},
46348 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46349 { (char *)"ListView_GetFirstSelected", (PyCFunction
)_wrap_ListView_GetFirstSelected
, METH_O
, NULL
},
46350 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46351 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46352 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46353 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
46354 { (char *)"ListView_swiginit", ListView_swiginit
, METH_VARARGS
, NULL
},
46355 { (char *)"new_TreeItemId", (PyCFunction
)_wrap_new_TreeItemId
, METH_NOARGS
, NULL
},
46356 { (char *)"delete_TreeItemId", (PyCFunction
)_wrap_delete_TreeItemId
, METH_O
, NULL
},
46357 { (char *)"TreeItemId_IsOk", (PyCFunction
)_wrap_TreeItemId_IsOk
, METH_O
, NULL
},
46358 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46359 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46360 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
, NULL
},
46361 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
)_wrap_TreeItemId_m_pItem_get
, METH_O
, NULL
},
46362 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
46363 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit
, METH_VARARGS
, NULL
},
46364 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46365 { (char *)"delete_TreeItemData", (PyCFunction
)_wrap_delete_TreeItemData
, METH_O
, NULL
},
46366 { (char *)"TreeItemData_GetData", (PyCFunction
)_wrap_TreeItemData_GetData
, METH_O
, NULL
},
46367 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46368 { (char *)"TreeItemData_GetId", (PyCFunction
)_wrap_TreeItemData_GetId
, METH_O
, NULL
},
46369 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46370 { (char *)"TreeItemData_Destroy", (PyCFunction
)_wrap_TreeItemData_Destroy
, METH_O
, NULL
},
46371 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
46372 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit
, METH_VARARGS
, NULL
},
46373 { (char *)"new_TreeEvent", _wrap_new_TreeEvent
, METH_VARARGS
, NULL
},
46374 { (char *)"TreeEvent_GetItem", (PyCFunction
)_wrap_TreeEvent_GetItem
, METH_O
, NULL
},
46375 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46376 { (char *)"TreeEvent_GetOldItem", (PyCFunction
)_wrap_TreeEvent_GetOldItem
, METH_O
, NULL
},
46377 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46378 { (char *)"TreeEvent_GetPoint", (PyCFunction
)_wrap_TreeEvent_GetPoint
, METH_O
, NULL
},
46379 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46380 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
)_wrap_TreeEvent_GetKeyEvent
, METH_O
, NULL
},
46381 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
)_wrap_TreeEvent_GetKeyCode
, METH_O
, NULL
},
46382 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46383 { (char *)"TreeEvent_GetLabel", (PyCFunction
)_wrap_TreeEvent_GetLabel
, METH_O
, NULL
},
46384 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46385 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
)_wrap_TreeEvent_IsEditCancelled
, METH_O
, NULL
},
46386 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46387 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46388 { (char *)"TreeEvent_GetToolTip", (PyCFunction
)_wrap_TreeEvent_GetToolTip
, METH_O
, NULL
},
46389 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
46390 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit
, METH_VARARGS
, NULL
},
46391 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46392 { (char *)"new_PreTreeCtrl", (PyCFunction
)_wrap_new_PreTreeCtrl
, METH_NOARGS
, NULL
},
46393 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46394 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46395 { (char *)"TreeCtrl_GetCount", (PyCFunction
)_wrap_TreeCtrl_GetCount
, METH_O
, NULL
},
46396 { (char *)"TreeCtrl_GetIndent", (PyCFunction
)_wrap_TreeCtrl_GetIndent
, METH_O
, NULL
},
46397 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46398 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
)_wrap_TreeCtrl_GetSpacing
, METH_O
, NULL
},
46399 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46400 { (char *)"TreeCtrl_GetImageList", (PyCFunction
)_wrap_TreeCtrl_GetImageList
, METH_O
, NULL
},
46401 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
)_wrap_TreeCtrl_GetStateImageList
, METH_O
, NULL
},
46402 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46403 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46404 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46405 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46406 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46407 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46408 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46409 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46410 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46411 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46412 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46413 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46414 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46415 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46416 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46417 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46418 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46419 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46420 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46421 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46422 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46423 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46424 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46425 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46426 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46427 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46428 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46429 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
)_wrap_TreeCtrl_GetRootItem
, METH_O
, NULL
},
46430 { (char *)"TreeCtrl_GetSelection", (PyCFunction
)_wrap_TreeCtrl_GetSelection
, METH_O
, NULL
},
46431 { (char *)"TreeCtrl_GetSelections", (PyCFunction
)_wrap_TreeCtrl_GetSelections
, METH_O
, NULL
},
46432 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46433 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46434 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46435 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46436 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46437 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46438 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
)_wrap_TreeCtrl_GetFirstVisibleItem
, METH_O
, NULL
},
46439 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46440 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46441 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46442 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46443 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46444 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46445 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46446 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46447 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46448 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
)_wrap_TreeCtrl_DeleteAllItems
, METH_O
, NULL
},
46449 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46450 { (char *)"TreeCtrl_ExpandAllChildren", (PyCFunction
) _wrap_TreeCtrl_ExpandAllChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46451 { (char *)"TreeCtrl_ExpandAll", (PyCFunction
)_wrap_TreeCtrl_ExpandAll
, METH_O
, NULL
},
46452 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46453 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46454 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46455 { (char *)"TreeCtrl_Unselect", (PyCFunction
)_wrap_TreeCtrl_Unselect
, METH_O
, NULL
},
46456 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46457 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
)_wrap_TreeCtrl_UnselectAll
, METH_O
, NULL
},
46458 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46459 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46460 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46461 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46462 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46463 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
)_wrap_TreeCtrl_GetEditControl
, METH_O
, NULL
},
46464 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction
) _wrap_TreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46465 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46466 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46467 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46468 { (char *)"TreeCtrl_SetState", (PyCFunction
) _wrap_TreeCtrl_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46469 { (char *)"TreeCtrl_GetState", (PyCFunction
) _wrap_TreeCtrl_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46470 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46471 { (char *)"TreeCtrl_SetQuickBestSize", (PyCFunction
) _wrap_TreeCtrl_SetQuickBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46472 { (char *)"TreeCtrl_GetQuickBestSize", (PyCFunction
)_wrap_TreeCtrl_GetQuickBestSize
, METH_O
, NULL
},
46473 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
46474 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit
, METH_VARARGS
, NULL
},
46475 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46476 { (char *)"new_PreGenericDirCtrl", (PyCFunction
)_wrap_new_PreGenericDirCtrl
, METH_NOARGS
, NULL
},
46477 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46478 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46479 { (char *)"GenericDirCtrl_CollapsePath", (PyCFunction
) _wrap_GenericDirCtrl_CollapsePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46480 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
)_wrap_GenericDirCtrl_GetDefaultPath
, METH_O
, NULL
},
46481 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46482 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
)_wrap_GenericDirCtrl_GetPath
, METH_O
, NULL
},
46483 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
)_wrap_GenericDirCtrl_GetFilePath
, METH_O
, NULL
},
46484 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46485 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46486 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
)_wrap_GenericDirCtrl_GetShowHidden
, METH_O
, NULL
},
46487 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
)_wrap_GenericDirCtrl_GetFilter
, METH_O
, NULL
},
46488 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46489 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterIndex
, METH_O
, NULL
},
46490 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46491 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
)_wrap_GenericDirCtrl_GetRootId
, METH_O
, NULL
},
46492 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetTreeCtrl
, METH_O
, NULL
},
46493 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterListCtrl
, METH_O
, NULL
},
46494 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46495 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
)_wrap_GenericDirCtrl_DoResize
, METH_O
, NULL
},
46496 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
)_wrap_GenericDirCtrl_ReCreateTree
, METH_O
, NULL
},
46497 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
46498 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit
, METH_VARARGS
, NULL
},
46499 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46500 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
)_wrap_new_PreDirFilterListCtrl
, METH_NOARGS
, NULL
},
46501 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46502 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46503 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
46504 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit
, METH_VARARGS
, NULL
},
46505 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46506 { (char *)"new_PrePyControl", (PyCFunction
)_wrap_new_PrePyControl
, METH_NOARGS
, NULL
},
46507 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46508 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46509 { (char *)"PyControl_DoMoveWindow", (PyCFunction
) _wrap_PyControl_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46510 { (char *)"PyControl_DoSetSize", (PyCFunction
) _wrap_PyControl_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46511 { (char *)"PyControl_DoSetClientSize", (PyCFunction
) _wrap_PyControl_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46512 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46513 { (char *)"PyControl_DoGetSize", (PyCFunction
)_wrap_PyControl_DoGetSize
, METH_O
, NULL
},
46514 { (char *)"PyControl_DoGetClientSize", (PyCFunction
)_wrap_PyControl_DoGetClientSize
, METH_O
, NULL
},
46515 { (char *)"PyControl_DoGetPosition", (PyCFunction
)_wrap_PyControl_DoGetPosition
, METH_O
, NULL
},
46516 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction
)_wrap_PyControl_DoGetVirtualSize
, METH_O
, NULL
},
46517 { (char *)"PyControl_DoGetBestSize", (PyCFunction
)_wrap_PyControl_DoGetBestSize
, METH_O
, NULL
},
46518 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction
)_wrap_PyControl_GetDefaultAttributes
, METH_O
, NULL
},
46519 { (char *)"PyControl_OnInternalIdle", (PyCFunction
)_wrap_PyControl_OnInternalIdle
, METH_O
, NULL
},
46520 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
46521 { (char *)"PyControl_swiginit", PyControl_swiginit
, METH_VARARGS
, NULL
},
46522 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46523 { (char *)"HelpEvent_GetPosition", (PyCFunction
)_wrap_HelpEvent_GetPosition
, METH_O
, NULL
},
46524 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46525 { (char *)"HelpEvent_GetLink", (PyCFunction
)_wrap_HelpEvent_GetLink
, METH_O
, NULL
},
46526 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46527 { (char *)"HelpEvent_GetTarget", (PyCFunction
)_wrap_HelpEvent_GetTarget
, METH_O
, NULL
},
46528 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46529 { (char *)"HelpEvent_GetOrigin", (PyCFunction
)_wrap_HelpEvent_GetOrigin
, METH_O
, NULL
},
46530 { (char *)"HelpEvent_SetOrigin", (PyCFunction
) _wrap_HelpEvent_SetOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46531 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
46532 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit
, METH_VARARGS
, NULL
},
46533 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46534 { (char *)"delete_ContextHelp", (PyCFunction
)_wrap_delete_ContextHelp
, METH_O
, NULL
},
46535 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46536 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
)_wrap_ContextHelp_EndContextHelp
, METH_O
, NULL
},
46537 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
46538 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit
, METH_VARARGS
, NULL
},
46539 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46540 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
46541 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit
, METH_VARARGS
, NULL
},
46542 { (char *)"delete_HelpProvider", (PyCFunction
)_wrap_delete_HelpProvider
, METH_O
, NULL
},
46543 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46544 { (char *)"HelpProvider_Get", (PyCFunction
)_wrap_HelpProvider_Get
, METH_NOARGS
, NULL
},
46545 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46546 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46547 { (char *)"HelpProvider_ShowHelpAtPoint", (PyCFunction
) _wrap_HelpProvider_ShowHelpAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46548 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46549 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46550 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46551 { (char *)"HelpProvider_Destroy", (PyCFunction
)_wrap_HelpProvider_Destroy
, METH_O
, NULL
},
46552 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
46553 { (char *)"new_SimpleHelpProvider", (PyCFunction
)_wrap_new_SimpleHelpProvider
, METH_NOARGS
, NULL
},
46554 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
46555 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit
, METH_VARARGS
, NULL
},
46556 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46557 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46558 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46559 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46560 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46561 { (char *)"delete_DragImage", (PyCFunction
)_wrap_delete_DragImage
, METH_O
, NULL
},
46562 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46563 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46564 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46565 { (char *)"DragImage_EndDrag", (PyCFunction
)_wrap_DragImage_EndDrag
, METH_O
, NULL
},
46566 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46567 { (char *)"DragImage_Show", (PyCFunction
)_wrap_DragImage_Show
, METH_O
, NULL
},
46568 { (char *)"DragImage_Hide", (PyCFunction
)_wrap_DragImage_Hide
, METH_O
, NULL
},
46569 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46570 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46571 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46572 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46573 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
46574 { (char *)"DragImage_swiginit", DragImage_swiginit
, METH_VARARGS
, NULL
},
46575 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46576 { (char *)"new_PreDatePickerCtrl", (PyCFunction
)_wrap_new_PreDatePickerCtrl
, METH_NOARGS
, NULL
},
46577 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46578 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46579 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
)_wrap_DatePickerCtrl_GetValue
, METH_O
, NULL
},
46580 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46581 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetLowerLimit
, METH_O
, NULL
},
46582 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetUpperLimit
, METH_O
, NULL
},
46583 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46584 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46585 { (char *)"new_HyperlinkCtrl", (PyCFunction
) _wrap_new_HyperlinkCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46586 { (char *)"new_PreHyperlinkCtrl", (PyCFunction
)_wrap_new_PreHyperlinkCtrl
, METH_NOARGS
, NULL
},
46587 { (char *)"HyperlinkCtrl_Create", (PyCFunction
) _wrap_HyperlinkCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46588 { (char *)"HyperlinkCtrl_GetHoverColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetHoverColour
, METH_O
, NULL
},
46589 { (char *)"HyperlinkCtrl_SetHoverColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetHoverColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46590 { (char *)"HyperlinkCtrl_GetNormalColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetNormalColour
, METH_O
, NULL
},
46591 { (char *)"HyperlinkCtrl_SetNormalColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetNormalColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46592 { (char *)"HyperlinkCtrl_GetVisitedColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisitedColour
, METH_O
, NULL
},
46593 { (char *)"HyperlinkCtrl_SetVisitedColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisitedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46594 { (char *)"HyperlinkCtrl_GetURL", (PyCFunction
)_wrap_HyperlinkCtrl_GetURL
, METH_O
, NULL
},
46595 { (char *)"HyperlinkCtrl_SetURL", (PyCFunction
) _wrap_HyperlinkCtrl_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46596 { (char *)"HyperlinkCtrl_SetVisited", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisited
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46597 { (char *)"HyperlinkCtrl_GetVisited", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisited
, METH_O
, NULL
},
46598 { (char *)"HyperlinkCtrl_swigregister", HyperlinkCtrl_swigregister
, METH_VARARGS
, NULL
},
46599 { (char *)"HyperlinkCtrl_swiginit", HyperlinkCtrl_swiginit
, METH_VARARGS
, NULL
},
46600 { (char *)"new_HyperlinkEvent", (PyCFunction
) _wrap_new_HyperlinkEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46601 { (char *)"HyperlinkEvent_GetURL", (PyCFunction
)_wrap_HyperlinkEvent_GetURL
, METH_O
, NULL
},
46602 { (char *)"HyperlinkEvent_SetURL", (PyCFunction
) _wrap_HyperlinkEvent_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46603 { (char *)"HyperlinkEvent_swigregister", HyperlinkEvent_swigregister
, METH_VARARGS
, NULL
},
46604 { (char *)"HyperlinkEvent_swiginit", HyperlinkEvent_swiginit
, METH_VARARGS
, NULL
},
46605 { (char *)"PickerBase_CreateBase", (PyCFunction
) _wrap_PickerBase_CreateBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46606 { (char *)"PickerBase_SetInternalMargin", (PyCFunction
) _wrap_PickerBase_SetInternalMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46607 { (char *)"PickerBase_GetInternalMargin", (PyCFunction
)_wrap_PickerBase_GetInternalMargin
, METH_O
, NULL
},
46608 { (char *)"PickerBase_SetTextCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetTextCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46609 { (char *)"PickerBase_GetTextCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetTextCtrlProportion
, METH_O
, NULL
},
46610 { (char *)"PickerBase_SetPickerCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46611 { (char *)"PickerBase_GetPickerCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetPickerCtrlProportion
, METH_O
, NULL
},
46612 { (char *)"PickerBase_IsTextCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsTextCtrlGrowable
, METH_O
, NULL
},
46613 { (char *)"PickerBase_SetTextCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetTextCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46614 { (char *)"PickerBase_IsPickerCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsPickerCtrlGrowable
, METH_O
, NULL
},
46615 { (char *)"PickerBase_SetPickerCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46616 { (char *)"PickerBase_HasTextCtrl", (PyCFunction
)_wrap_PickerBase_HasTextCtrl
, METH_O
, NULL
},
46617 { (char *)"PickerBase_GetTextCtrl", (PyCFunction
)_wrap_PickerBase_GetTextCtrl
, METH_O
, NULL
},
46618 { (char *)"PickerBase_GetPickerCtrl", (PyCFunction
)_wrap_PickerBase_GetPickerCtrl
, METH_O
, NULL
},
46619 { (char *)"PickerBase_swigregister", PickerBase_swigregister
, METH_VARARGS
, NULL
},
46620 { (char *)"new_ColourPickerCtrl", (PyCFunction
) _wrap_new_ColourPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46621 { (char *)"new_PreColourPickerCtrl", (PyCFunction
)_wrap_new_PreColourPickerCtrl
, METH_NOARGS
, NULL
},
46622 { (char *)"ColourPickerCtrl_Create", (PyCFunction
) _wrap_ColourPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46623 { (char *)"ColourPickerCtrl_GetColour", (PyCFunction
)_wrap_ColourPickerCtrl_GetColour
, METH_O
, NULL
},
46624 { (char *)"ColourPickerCtrl_SetColour", (PyCFunction
) _wrap_ColourPickerCtrl_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46625 { (char *)"ColourPickerCtrl_swigregister", ColourPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46626 { (char *)"ColourPickerCtrl_swiginit", ColourPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46627 { (char *)"new_ColourPickerEvent", (PyCFunction
) _wrap_new_ColourPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46628 { (char *)"ColourPickerEvent_GetColour", (PyCFunction
)_wrap_ColourPickerEvent_GetColour
, METH_O
, NULL
},
46629 { (char *)"ColourPickerEvent_SetColour", (PyCFunction
) _wrap_ColourPickerEvent_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46630 { (char *)"ColourPickerEvent_swigregister", ColourPickerEvent_swigregister
, METH_VARARGS
, NULL
},
46631 { (char *)"ColourPickerEvent_swiginit", ColourPickerEvent_swiginit
, METH_VARARGS
, NULL
},
46632 { (char *)"new_FilePickerCtrl", (PyCFunction
) _wrap_new_FilePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46633 { (char *)"new_PreFilePickerCtrl", (PyCFunction
)_wrap_new_PreFilePickerCtrl
, METH_NOARGS
, NULL
},
46634 { (char *)"FilePickerCtrl_Create", (PyCFunction
) _wrap_FilePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46635 { (char *)"FilePickerCtrl_GetPath", (PyCFunction
)_wrap_FilePickerCtrl_GetPath
, METH_O
, NULL
},
46636 { (char *)"FilePickerCtrl_SetPath", (PyCFunction
) _wrap_FilePickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46637 { (char *)"FilePickerCtrl_CheckPath", (PyCFunction
) _wrap_FilePickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46638 { (char *)"FilePickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_FilePickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
46639 { (char *)"FilePickerCtrl_swigregister", FilePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46640 { (char *)"FilePickerCtrl_swiginit", FilePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46641 { (char *)"new_DirPickerCtrl", (PyCFunction
) _wrap_new_DirPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46642 { (char *)"new_PreDirPickerCtrl", (PyCFunction
)_wrap_new_PreDirPickerCtrl
, METH_NOARGS
, NULL
},
46643 { (char *)"DirPickerCtrl_Create", (PyCFunction
) _wrap_DirPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46644 { (char *)"DirPickerCtrl_GetPath", (PyCFunction
)_wrap_DirPickerCtrl_GetPath
, METH_O
, NULL
},
46645 { (char *)"DirPickerCtrl_SetPath", (PyCFunction
) _wrap_DirPickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46646 { (char *)"DirPickerCtrl_CheckPath", (PyCFunction
) _wrap_DirPickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46647 { (char *)"DirPickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_DirPickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
46648 { (char *)"DirPickerCtrl_swigregister", DirPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46649 { (char *)"DirPickerCtrl_swiginit", DirPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46650 { (char *)"new_FileDirPickerEvent", (PyCFunction
) _wrap_new_FileDirPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46651 { (char *)"FileDirPickerEvent_GetPath", (PyCFunction
)_wrap_FileDirPickerEvent_GetPath
, METH_O
, NULL
},
46652 { (char *)"FileDirPickerEvent_SetPath", (PyCFunction
) _wrap_FileDirPickerEvent_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46653 { (char *)"FileDirPickerEvent_swigregister", FileDirPickerEvent_swigregister
, METH_VARARGS
, NULL
},
46654 { (char *)"FileDirPickerEvent_swiginit", FileDirPickerEvent_swiginit
, METH_VARARGS
, NULL
},
46655 { (char *)"new_FontPickerCtrl", (PyCFunction
) _wrap_new_FontPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46656 { (char *)"new_PreFontPickerCtrl", (PyCFunction
)_wrap_new_PreFontPickerCtrl
, METH_NOARGS
, NULL
},
46657 { (char *)"FontPickerCtrl_Create", (PyCFunction
) _wrap_FontPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46658 { (char *)"FontPickerCtrl_GetSelectedFont", (PyCFunction
)_wrap_FontPickerCtrl_GetSelectedFont
, METH_O
, NULL
},
46659 { (char *)"FontPickerCtrl_SetSelectedFont", (PyCFunction
) _wrap_FontPickerCtrl_SetSelectedFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46660 { (char *)"FontPickerCtrl_SetMaxPointSize", (PyCFunction
) _wrap_FontPickerCtrl_SetMaxPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46661 { (char *)"FontPickerCtrl_GetMaxPointSize", (PyCFunction
)_wrap_FontPickerCtrl_GetMaxPointSize
, METH_O
, NULL
},
46662 { (char *)"FontPickerCtrl_swigregister", FontPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46663 { (char *)"FontPickerCtrl_swiginit", FontPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46664 { (char *)"new_FontPickerEvent", (PyCFunction
) _wrap_new_FontPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46665 { (char *)"FontPickerEvent_GetFont", (PyCFunction
)_wrap_FontPickerEvent_GetFont
, METH_O
, NULL
},
46666 { (char *)"FontPickerEvent_SetFont", (PyCFunction
) _wrap_FontPickerEvent_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46667 { (char *)"FontPickerEvent_swigregister", FontPickerEvent_swigregister
, METH_VARARGS
, NULL
},
46668 { (char *)"FontPickerEvent_swiginit", FontPickerEvent_swiginit
, METH_VARARGS
, NULL
},
46669 { NULL
, NULL
, 0, NULL
}
46673 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
46675 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
46676 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46678 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
46679 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
46681 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
46682 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
46684 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
46685 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
46687 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
46688 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
46690 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
46691 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
46693 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
46694 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
46696 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
46697 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
46699 static void *_p_wxColourPickerEventTo_p_wxEvent(void *x
) {
46700 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
46702 static void *_p_wxFileDirPickerEventTo_p_wxEvent(void *x
) {
46703 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
46705 static void *_p_wxFontPickerEventTo_p_wxEvent(void *x
) {
46706 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
46708 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
46709 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
46711 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
46712 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
46714 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
46715 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
46717 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
46718 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46720 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
46721 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
46723 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
46724 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
46726 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
46727 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
46729 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
46730 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
46732 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
46733 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
46735 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
46736 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
46738 static void *_p_wxTreebookEventTo_p_wxEvent(void *x
) {
46739 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
46741 static void *_p_wxToolbookEventTo_p_wxEvent(void *x
) {
46742 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
46744 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
46745 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
46747 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
46748 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
46750 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
46751 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46753 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
46754 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46756 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
46757 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
46759 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
46760 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
46762 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
46763 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
46765 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
46766 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
46768 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
46769 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
46771 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
46772 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
46774 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
46775 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
46777 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
46778 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
46780 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
46781 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
46783 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
46784 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46786 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
46787 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46789 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
46790 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46792 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
46793 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46795 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
46796 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46798 static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x
) {
46799 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
46801 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
46802 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
46804 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
46805 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
46807 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
46808 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46810 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
46811 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
46813 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
46814 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
46816 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
46817 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46819 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
46820 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46822 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
46823 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
46825 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
46826 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
46828 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
46829 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
46831 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
46832 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
46834 static void *_p_wxColourPickerCtrlTo_p_wxPickerBase(void *x
) {
46835 return (void *)((wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
46837 static void *_p_wxFilePickerCtrlTo_p_wxPickerBase(void *x
) {
46838 return (void *)((wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
46840 static void *_p_wxDirPickerCtrlTo_p_wxPickerBase(void *x
) {
46841 return (void *)((wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
46843 static void *_p_wxFontPickerCtrlTo_p_wxPickerBase(void *x
) {
46844 return (void *)((wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
46846 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
46847 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
46849 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
46850 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46852 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
46853 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
46855 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
46856 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
46858 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
46859 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
46861 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
46862 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
46864 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
46865 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
46867 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
46868 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
46870 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
46871 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
46873 static void *_p_wxPickerBaseTo_p_wxControl(void *x
) {
46874 return (void *)((wxControl
*) ((wxPickerBase
*) x
));
46876 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
46877 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
46879 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
46880 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
46882 static void *_p_wxToolbookTo_p_wxControl(void *x
) {
46883 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxToolbook
*) x
));
46885 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
46886 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
46888 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
46889 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46891 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
46892 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
46894 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
46895 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
46897 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
46898 return (void *)((wxControl
*) ((wxPyControl
*) x
));
46900 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
46901 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
46903 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
46904 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
46906 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
46907 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
46909 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
46910 return (void *)((wxControl
*) ((wxGauge
*) x
));
46912 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
46913 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
46915 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
46916 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
46918 static void *_p_wxListbookTo_p_wxControl(void *x
) {
46919 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
46921 static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x
) {
46922 return (void *)((wxControl
*) ((wxHyperlinkCtrl
*) x
));
46924 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
46925 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
46927 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
46928 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
46930 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
46931 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
46933 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
46934 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
46936 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
46937 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
46939 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
46940 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
46942 static void *_p_wxListViewTo_p_wxControl(void *x
) {
46943 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
46945 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
46946 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
46948 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
46949 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
46951 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
46952 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
46954 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
46955 return (void *)((wxControl
*) ((wxStaticText
*) x
));
46957 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
46958 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
46960 static void *_p_wxSliderTo_p_wxControl(void *x
) {
46961 return (void *)((wxControl
*) ((wxSlider
*) x
));
46963 static void *_p_wxTreebookTo_p_wxControl(void *x
) {
46964 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxTreebook
*) x
));
46966 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
46967 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
46969 static void *_p_wxButtonTo_p_wxControl(void *x
) {
46970 return (void *)((wxControl
*) ((wxButton
*) x
));
46972 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
46973 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
46975 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
46976 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46978 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
46979 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
46981 static void *_p_wxColourPickerCtrlTo_p_wxControl(void *x
) {
46982 return (void *)((wxControl
*) (wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
46984 static void *_p_wxFilePickerCtrlTo_p_wxControl(void *x
) {
46985 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
46987 static void *_p_wxDirPickerCtrlTo_p_wxControl(void *x
) {
46988 return (void *)((wxControl
*) (wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
46990 static void *_p_wxFontPickerCtrlTo_p_wxControl(void *x
) {
46991 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
46993 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
46994 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
46996 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
46997 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
46999 static void *_p_wxComboBoxTo_p_wxChoice(void *x
) {
47000 return (void *)((wxChoice
*) ((wxComboBox
*) x
));
47002 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
47003 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47005 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
47006 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
47008 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
47009 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
47011 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
47012 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
47014 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
47015 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
47017 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
47018 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
47020 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
47021 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
47023 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
47024 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
47026 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x
) {
47027 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
47029 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x
) {
47030 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
47032 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
47033 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
47035 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
47036 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
47038 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x
) {
47039 return (void *)((wxBookCtrlBase
*) ((wxToolbook
*) x
));
47041 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x
) {
47042 return (void *)((wxBookCtrlBase
*) ((wxTreebook
*) x
));
47044 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
47045 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
47047 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
47048 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
47050 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
47051 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
47053 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
47054 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
47056 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
47057 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
47059 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
47060 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
47062 static void *_p_wxPickerBaseTo_p_wxEvtHandler(void *x
) {
47063 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
47065 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
47066 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
47068 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
47069 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
47071 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
47072 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
47074 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x
) {
47075 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
47077 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
47078 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
47080 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
47081 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
47083 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
47084 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
47086 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
47087 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
47089 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
47090 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
47092 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
47093 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47095 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
47096 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
47098 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
47099 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
47101 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
47102 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
47104 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
47105 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
47107 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
47108 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
47110 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
47111 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
47113 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
47114 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
47116 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
47117 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
47119 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
47120 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
47122 static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x
) {
47123 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
47125 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
47126 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
47128 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
47129 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
47131 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
47132 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
47134 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
47135 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
47137 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
47138 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
47140 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
47141 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
47143 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
47144 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
47146 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
47147 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
47149 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
47150 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
47152 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
47153 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
47155 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
47156 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
47158 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
47159 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
47161 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
47162 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
47164 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x
) {
47165 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
47167 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
47168 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
47170 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
47171 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
47173 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
47174 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
47176 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
47177 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
47179 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
47180 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
47182 static void *_p_wxColourPickerCtrlTo_p_wxEvtHandler(void *x
) {
47183 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
47185 static void *_p_wxFilePickerCtrlTo_p_wxEvtHandler(void *x
) {
47186 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
47188 static void *_p_wxDirPickerCtrlTo_p_wxEvtHandler(void *x
) {
47189 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
47191 static void *_p_wxFontPickerCtrlTo_p_wxEvtHandler(void *x
) {
47192 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
47194 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
47195 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
47197 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
47198 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
47200 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
47201 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
47203 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
47204 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
47206 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
47207 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
47209 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
47210 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
47212 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
47213 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
47215 static void *_p_wxToolbookTo_p_wxObject(void *x
) {
47216 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
47218 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
47219 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
47221 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
47222 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
47224 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
47225 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
47227 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
47228 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
47230 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
47231 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
47233 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
47234 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
47236 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
47237 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
47239 static void *_p_wxSizerTo_p_wxObject(void *x
) {
47240 return (void *)((wxObject
*) ((wxSizer
*) x
));
47242 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
47243 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
47245 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
47246 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
47248 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
47249 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
47251 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
47252 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
47254 static void *_p_wxEventTo_p_wxObject(void *x
) {
47255 return (void *)((wxObject
*) ((wxEvent
*) x
));
47257 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
47258 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
47260 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
47261 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
47263 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
47264 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
47266 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
47267 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
47269 static void *_p_wxPickerBaseTo_p_wxObject(void *x
) {
47270 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
47272 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
47273 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
47275 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
47276 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47278 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
47279 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
47281 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
47282 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
47284 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
47285 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
47287 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
47288 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
47290 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
47291 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
47293 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
47294 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
47296 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
47297 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
47299 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
47300 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
47302 static void *_p_wxControlTo_p_wxObject(void *x
) {
47303 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
47305 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
47306 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
47308 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
47309 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
47311 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
47312 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
47314 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
47315 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
47317 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
47318 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
47320 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
47321 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
47323 static void *_p_wxColourPickerEventTo_p_wxObject(void *x
) {
47324 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
47326 static void *_p_wxFileDirPickerEventTo_p_wxObject(void *x
) {
47327 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
47329 static void *_p_wxFontPickerEventTo_p_wxObject(void *x
) {
47330 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
47332 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
47333 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
47335 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
47336 return (void *)((wxObject
*) ((wxFSFile
*) x
));
47338 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
47339 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
47341 static void *_p_wxTreebookTo_p_wxObject(void *x
) {
47342 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
47344 static void *_p_wxListViewTo_p_wxObject(void *x
) {
47345 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
47347 static void *_p_wxHyperlinkEventTo_p_wxObject(void *x
) {
47348 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
47350 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
47351 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
47353 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
47354 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
47356 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
47357 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
47359 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
47360 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47362 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
47363 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
47365 static void *_p_wxListbookTo_p_wxObject(void *x
) {
47366 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
47368 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
47369 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
47371 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
47372 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
47374 static void *_p_wxSliderTo_p_wxObject(void *x
) {
47375 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
47377 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
47378 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
47380 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
47381 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
47383 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
47384 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
47386 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
47387 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47389 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
47390 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
47392 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
47393 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
47395 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
47396 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
47398 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
47399 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
47401 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
47402 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
47404 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
47405 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
47407 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
47408 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
47410 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
47411 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
47413 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
47414 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
47416 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
47417 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
47419 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
47420 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
47422 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
47423 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
47425 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
47426 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
47428 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
47429 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
47431 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
47432 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
47434 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
47435 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
47437 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
47438 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
47440 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
47441 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
47443 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
47444 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
47446 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
47447 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
47449 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
47450 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
47452 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
47453 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
47455 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
47456 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
47458 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
47459 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
47461 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
47462 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
47464 static void *_p_wxListEventTo_p_wxObject(void *x
) {
47465 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
47467 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
47468 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
47470 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
47471 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
47473 static void *_p_wxButtonTo_p_wxObject(void *x
) {
47474 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
47476 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
47477 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
47479 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
47480 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
47482 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
47483 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
47485 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
47486 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
47488 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
47489 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
47491 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
47492 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
47494 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
47495 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
47497 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
47498 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
47500 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
47501 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
47503 static void *_p_wxListItemTo_p_wxObject(void *x
) {
47504 return (void *)((wxObject
*) ((wxListItem
*) x
));
47506 static void *_p_wxImageTo_p_wxObject(void *x
) {
47507 return (void *)((wxObject
*) ((wxImage
*) x
));
47509 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
47510 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
47512 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
47513 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
47515 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
47516 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
47518 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
47519 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
47521 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
47522 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
47524 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
47525 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
47527 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
47528 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
47530 static void *_p_wxTreebookEventTo_p_wxObject(void *x
) {
47531 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
47533 static void *_p_wxToolbookEventTo_p_wxObject(void *x
) {
47534 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
47536 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
47537 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47539 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
47540 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
47542 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
47543 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
47545 static void *_p_wxWindowTo_p_wxObject(void *x
) {
47546 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
47548 static void *_p_wxMenuTo_p_wxObject(void *x
) {
47549 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
47551 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
47552 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
47554 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
47555 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
47557 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
47558 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47560 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
47561 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
47563 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
47564 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
47566 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
47567 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
47569 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
47570 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
47572 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
47573 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
47575 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
47576 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
47578 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
47579 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
47581 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
47582 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47584 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
47585 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
47587 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
47588 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
47590 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
47591 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
47593 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
47594 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
47596 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
47597 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47599 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
47600 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
47602 static void *_p_wxColourPickerCtrlTo_p_wxObject(void *x
) {
47603 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
47605 static void *_p_wxFilePickerCtrlTo_p_wxObject(void *x
) {
47606 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
47608 static void *_p_wxDirPickerCtrlTo_p_wxObject(void *x
) {
47609 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
47611 static void *_p_wxFontPickerCtrlTo_p_wxObject(void *x
) {
47612 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
47614 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
47615 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
47617 static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x
) {
47618 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
47620 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
47621 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
47623 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
47624 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
47626 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
47627 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
47629 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
47630 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
47632 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
47633 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
47635 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
47636 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
47638 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
47639 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
47641 static void *_p_wxPickerBaseTo_p_wxWindow(void *x
) {
47642 return (void *)((wxWindow
*) (wxControl
*) ((wxPickerBase
*) x
));
47644 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
47645 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
47647 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
47648 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
47650 static void *_p_wxToolbookTo_p_wxWindow(void *x
) {
47651 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
47653 static void *_p_wxControlTo_p_wxWindow(void *x
) {
47654 return (void *)((wxWindow
*) ((wxControl
*) x
));
47656 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
47657 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
47659 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
47660 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
47662 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
47663 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
47665 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
47666 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47668 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
47669 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
47671 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
47672 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
47674 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
47675 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
47677 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
47678 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
47680 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
47681 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
47683 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
47684 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
47686 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
47687 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
47689 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
47690 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
47692 static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x
) {
47693 return (void *)((wxWindow
*) (wxControl
*) ((wxHyperlinkCtrl
*) x
));
47695 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
47696 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
47698 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
47699 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
47701 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
47702 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
47704 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
47705 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
47707 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
47708 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
47710 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
47711 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
47713 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
47714 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
47716 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
47717 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
47719 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
47720 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
47722 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
47723 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
47725 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
47726 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
47728 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
47729 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
47731 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
47732 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
47734 static void *_p_wxTreebookTo_p_wxWindow(void *x
) {
47735 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
47737 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
47738 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
47740 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
47741 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
47743 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
47744 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
47746 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
47747 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
47749 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
47750 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
47752 static void *_p_wxColourPickerCtrlTo_p_wxWindow(void *x
) {
47753 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
47755 static void *_p_wxFilePickerCtrlTo_p_wxWindow(void *x
) {
47756 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
47758 static void *_p_wxDirPickerCtrlTo_p_wxWindow(void *x
) {
47759 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
47761 static void *_p_wxFontPickerCtrlTo_p_wxWindow(void *x
) {
47762 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
47764 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
47765 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
47767 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47768 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
47770 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47771 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
47773 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47774 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
47776 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47777 return (void *)((wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
47779 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47780 return (void *)((wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
47782 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
47783 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47785 static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x
) {
47786 return (void *)((wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
47788 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
47789 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
47791 static void *_p_wxColourPickerEventTo_p_wxCommandEvent(void *x
) {
47792 return (void *)((wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
47794 static void *_p_wxFileDirPickerEventTo_p_wxCommandEvent(void *x
) {
47795 return (void *)((wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
47797 static void *_p_wxFontPickerEventTo_p_wxCommandEvent(void *x
) {
47798 return (void *)((wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
47800 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
47801 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
47803 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
47804 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
47806 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
47807 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47809 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
47810 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47812 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
47813 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47815 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
47816 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
47818 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
47819 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
47821 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
47822 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
47824 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x
) {
47825 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
47827 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x
) {
47828 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
47830 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
47831 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
47833 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
47834 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47836 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
47837 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
47839 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
47840 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
47842 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
47843 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
47845 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
47846 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
47848 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
47849 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
47851 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
47852 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47854 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
47855 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
47857 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x
) {
47858 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxComboBox
*) x
));
47860 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
47861 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47863 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
47864 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
47866 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
47867 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
47869 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
47870 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
47872 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
47873 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
47875 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
47876 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
47877 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};
47878 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
47879 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
47880 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
47881 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
47882 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
47883 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
47884 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
47885 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
47886 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
47887 static swig_type_info _swigt__p_wxBitmapButton
= {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
47888 static swig_type_info _swigt__p_wxBookCtrlBase
= {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
47889 static swig_type_info _swigt__p_wxBookCtrlBaseEvent
= {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
47890 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
47891 static swig_type_info _swigt__p_wxCheckBox
= {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
47892 static swig_type_info _swigt__p_wxCheckListBox
= {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
47893 static swig_type_info _swigt__p_wxChoice
= {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
47894 static swig_type_info _swigt__p_wxChoicebook
= {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
47895 static swig_type_info _swigt__p_wxChoicebookEvent
= {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
47896 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
47897 static swig_type_info _swigt__p_wxColourPickerCtrl
= {"_p_wxColourPickerCtrl", "wxColourPickerCtrl *", 0, 0, (void*)0, 0};
47898 static swig_type_info _swigt__p_wxColourPickerEvent
= {"_p_wxColourPickerEvent", "wxColourPickerEvent *", 0, 0, (void*)0, 0};
47899 static swig_type_info _swigt__p_wxComboBox
= {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
47900 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
47901 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
47902 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
47903 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
47904 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
47905 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
47906 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
47907 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
47908 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
47909 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
47910 static swig_type_info _swigt__p_wxContextHelp
= {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
47911 static swig_type_info _swigt__p_wxContextHelpButton
= {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
47912 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
47913 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
47914 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
47915 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
47916 static swig_type_info _swigt__p_wxDatePickerCtrl
= {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
47917 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
47918 static swig_type_info _swigt__p_wxDirFilterListCtrl
= {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
47919 static swig_type_info _swigt__p_wxDirPickerCtrl
= {"_p_wxDirPickerCtrl", "wxDirPickerCtrl *", 0, 0, (void*)0, 0};
47920 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
47921 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
47922 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
47923 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
47924 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
47925 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
47926 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
47927 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
47928 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
47929 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
47930 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
47931 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
47932 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
47933 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
47934 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
47935 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
47936 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
47937 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
47938 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
47939 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
47940 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
47941 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
47942 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
47943 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
47944 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
47945 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
47946 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
47947 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
47948 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
47949 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
47950 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
47951 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
47952 static swig_type_info _swigt__p_wxFileDirPickerEvent
= {"_p_wxFileDirPickerEvent", "wxFileDirPickerEvent *", 0, 0, (void*)0, 0};
47953 static swig_type_info _swigt__p_wxFilePickerCtrl
= {"_p_wxFilePickerCtrl", "wxFilePickerCtrl *", 0, 0, (void*)0, 0};
47954 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
47955 static swig_type_info _swigt__p_wxFontPickerCtrl
= {"_p_wxFontPickerCtrl", "wxFontPickerCtrl *", 0, 0, (void*)0, 0};
47956 static swig_type_info _swigt__p_wxFontPickerEvent
= {"_p_wxFontPickerEvent", "wxFontPickerEvent *", 0, 0, (void*)0, 0};
47957 static swig_type_info _swigt__p_wxGauge
= {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
47958 static swig_type_info _swigt__p_wxGenericDirCtrl
= {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
47959 static swig_type_info _swigt__p_wxGenericDragImage
= {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
47960 static swig_type_info _swigt__p_wxHelpEvent
= {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
47961 static swig_type_info _swigt__p_wxHelpProvider
= {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
47962 static swig_type_info _swigt__p_wxHyperlinkCtrl
= {"_p_wxHyperlinkCtrl", "wxHyperlinkCtrl *", 0, 0, (void*)0, 0};
47963 static swig_type_info _swigt__p_wxHyperlinkEvent
= {"_p_wxHyperlinkEvent", "wxHyperlinkEvent *", 0, 0, (void*)0, 0};
47964 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
47965 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
47966 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
47967 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
47968 static swig_type_info _swigt__p_wxListBox
= {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
47969 static swig_type_info _swigt__p_wxListEvent
= {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
47970 static swig_type_info _swigt__p_wxListItem
= {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
47971 static swig_type_info _swigt__p_wxListItemAttr
= {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
47972 static swig_type_info _swigt__p_wxListView
= {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
47973 static swig_type_info _swigt__p_wxListbook
= {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
47974 static swig_type_info _swigt__p_wxListbookEvent
= {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
47975 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
47976 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
47977 static swig_type_info _swigt__p_wxNotebook
= {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
47978 static swig_type_info _swigt__p_wxNotebookEvent
= {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
47979 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
47980 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
47981 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
47982 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
47983 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
47984 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
47985 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
47986 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
47987 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
47988 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
47989 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
47990 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
47991 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
47992 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
47993 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
47994 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
47995 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
47996 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
47997 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
47998 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
47999 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
48000 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
48001 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
48002 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
48003 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
48004 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
48005 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
48006 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
48007 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
48008 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
48009 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
48010 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
48011 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
48012 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
48013 static swig_type_info _swigt__p_wxPickerBase
= {"_p_wxPickerBase", "wxPickerBase *", 0, 0, (void*)0, 0};
48014 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
48015 static swig_type_info _swigt__p_wxPyControl
= {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
48016 static swig_type_info _swigt__p_wxPyListCtrl
= {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
48017 static swig_type_info _swigt__p_wxPyTreeCtrl
= {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
48018 static swig_type_info _swigt__p_wxPyTreeItemData
= {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
48019 static swig_type_info _swigt__p_wxRadioBox
= {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
48020 static swig_type_info _swigt__p_wxRadioButton
= {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
48021 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
48022 static swig_type_info _swigt__p_wxScrollBar
= {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
48023 static swig_type_info _swigt__p_wxSimpleHelpProvider
= {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
48024 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
48025 static swig_type_info _swigt__p_wxSlider
= {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
48026 static swig_type_info _swigt__p_wxSpinButton
= {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
48027 static swig_type_info _swigt__p_wxSpinCtrl
= {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
48028 static swig_type_info _swigt__p_wxSpinEvent
= {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
48029 static swig_type_info _swigt__p_wxStaticBitmap
= {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
48030 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
48031 static swig_type_info _swigt__p_wxStaticLine
= {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
48032 static swig_type_info _swigt__p_wxStaticText
= {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
48033 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
48034 static swig_type_info _swigt__p_wxTextAttr
= {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
48035 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
48036 static swig_type_info _swigt__p_wxTextUrlEvent
= {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
48037 static swig_type_info _swigt__p_wxToggleButton
= {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
48038 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
48039 static swig_type_info _swigt__p_wxToolBarBase
= {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
48040 static swig_type_info _swigt__p_wxToolBarToolBase
= {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
48041 static swig_type_info _swigt__p_wxToolbook
= {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
48042 static swig_type_info _swigt__p_wxToolbookEvent
= {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
48043 static swig_type_info _swigt__p_wxTreeEvent
= {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
48044 static swig_type_info _swigt__p_wxTreeItemId
= {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
48045 static swig_type_info _swigt__p_wxTreebook
= {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
48046 static swig_type_info _swigt__p_wxTreebookEvent
= {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
48047 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
48048 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
48049 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
48050 static swig_type_info _swigt__p_wxWindowBase
= {"_p_wxWindowBase", "wxWindowBase *", 0, 0, (void*)0, 0};
48052 static swig_type_info
*swig_type_initial
[] = {
48055 &_swigt__p_form_ops_t
,
48058 &_swigt__p_unsigned_char
,
48059 &_swigt__p_unsigned_int
,
48060 &_swigt__p_unsigned_long
,
48062 &_swigt__p_wxANIHandler
,
48063 &_swigt__p_wxAcceleratorTable
,
48064 &_swigt__p_wxActivateEvent
,
48065 &_swigt__p_wxArrayInt
,
48066 &_swigt__p_wxArrayString
,
48067 &_swigt__p_wxBMPHandler
,
48068 &_swigt__p_wxBitmap
,
48069 &_swigt__p_wxBitmapButton
,
48070 &_swigt__p_wxBookCtrlBase
,
48071 &_swigt__p_wxBookCtrlBaseEvent
,
48072 &_swigt__p_wxBoxSizer
,
48073 &_swigt__p_wxButton
,
48074 &_swigt__p_wxCURHandler
,
48075 &_swigt__p_wxCheckBox
,
48076 &_swigt__p_wxCheckListBox
,
48077 &_swigt__p_wxChildFocusEvent
,
48078 &_swigt__p_wxChoice
,
48079 &_swigt__p_wxChoicebook
,
48080 &_swigt__p_wxChoicebookEvent
,
48081 &_swigt__p_wxClipboardTextEvent
,
48082 &_swigt__p_wxCloseEvent
,
48083 &_swigt__p_wxColour
,
48084 &_swigt__p_wxColourPickerCtrl
,
48085 &_swigt__p_wxColourPickerEvent
,
48086 &_swigt__p_wxComboBox
,
48087 &_swigt__p_wxCommandEvent
,
48088 &_swigt__p_wxContextHelp
,
48089 &_swigt__p_wxContextHelpButton
,
48090 &_swigt__p_wxContextMenuEvent
,
48091 &_swigt__p_wxControl
,
48092 &_swigt__p_wxControlWithItems
,
48093 &_swigt__p_wxCursor
,
48095 &_swigt__p_wxDateEvent
,
48096 &_swigt__p_wxDatePickerCtrl
,
48097 &_swigt__p_wxDateTime
,
48098 &_swigt__p_wxDirFilterListCtrl
,
48099 &_swigt__p_wxDirPickerCtrl
,
48100 &_swigt__p_wxDisplayChangedEvent
,
48101 &_swigt__p_wxDropFilesEvent
,
48102 &_swigt__p_wxDuplexMode
,
48103 &_swigt__p_wxEraseEvent
,
48104 &_swigt__p_wxEvent
,
48105 &_swigt__p_wxEvtHandler
,
48106 &_swigt__p_wxFSFile
,
48107 &_swigt__p_wxFileDirPickerEvent
,
48108 &_swigt__p_wxFilePickerCtrl
,
48109 &_swigt__p_wxFileSystem
,
48110 &_swigt__p_wxFlexGridSizer
,
48111 &_swigt__p_wxFocusEvent
,
48113 &_swigt__p_wxFontPickerCtrl
,
48114 &_swigt__p_wxFontPickerEvent
,
48115 &_swigt__p_wxGBSizerItem
,
48116 &_swigt__p_wxGIFHandler
,
48117 &_swigt__p_wxGauge
,
48118 &_swigt__p_wxGenericDirCtrl
,
48119 &_swigt__p_wxGenericDragImage
,
48120 &_swigt__p_wxGridBagSizer
,
48121 &_swigt__p_wxGridSizer
,
48122 &_swigt__p_wxHelpEvent
,
48123 &_swigt__p_wxHelpProvider
,
48124 &_swigt__p_wxHyperlinkCtrl
,
48125 &_swigt__p_wxHyperlinkEvent
,
48126 &_swigt__p_wxICOHandler
,
48128 &_swigt__p_wxIconizeEvent
,
48129 &_swigt__p_wxIdleEvent
,
48130 &_swigt__p_wxImage
,
48131 &_swigt__p_wxImageHandler
,
48132 &_swigt__p_wxImageList
,
48133 &_swigt__p_wxIndividualLayoutConstraint
,
48134 &_swigt__p_wxInitDialogEvent
,
48135 &_swigt__p_wxItemContainer
,
48136 &_swigt__p_wxJPEGHandler
,
48137 &_swigt__p_wxKeyEvent
,
48138 &_swigt__p_wxLayoutConstraints
,
48139 &_swigt__p_wxListBox
,
48140 &_swigt__p_wxListEvent
,
48141 &_swigt__p_wxListItem
,
48142 &_swigt__p_wxListItemAttr
,
48143 &_swigt__p_wxListView
,
48144 &_swigt__p_wxListbook
,
48145 &_swigt__p_wxListbookEvent
,
48146 &_swigt__p_wxMaximizeEvent
,
48147 &_swigt__p_wxMemoryDC
,
48149 &_swigt__p_wxMenuBar
,
48150 &_swigt__p_wxMenuEvent
,
48151 &_swigt__p_wxMenuItem
,
48152 &_swigt__p_wxMouseCaptureChangedEvent
,
48153 &_swigt__p_wxMouseCaptureLostEvent
,
48154 &_swigt__p_wxMouseEvent
,
48155 &_swigt__p_wxMoveEvent
,
48156 &_swigt__p_wxNavigationKeyEvent
,
48157 &_swigt__p_wxNcPaintEvent
,
48158 &_swigt__p_wxNotebook
,
48159 &_swigt__p_wxNotebookEvent
,
48160 &_swigt__p_wxNotifyEvent
,
48161 &_swigt__p_wxObject
,
48162 &_swigt__p_wxPCXHandler
,
48163 &_swigt__p_wxPNGHandler
,
48164 &_swigt__p_wxPNMHandler
,
48165 &_swigt__p_wxPaintEvent
,
48166 &_swigt__p_wxPaletteChangedEvent
,
48167 &_swigt__p_wxPaperSize
,
48168 &_swigt__p_wxPickerBase
,
48169 &_swigt__p_wxPoint
,
48170 &_swigt__p_wxPyApp
,
48171 &_swigt__p_wxPyCommandEvent
,
48172 &_swigt__p_wxPyControl
,
48173 &_swigt__p_wxPyEvent
,
48174 &_swigt__p_wxPyImageHandler
,
48175 &_swigt__p_wxPyListCtrl
,
48176 &_swigt__p_wxPySizer
,
48177 &_swigt__p_wxPyTreeCtrl
,
48178 &_swigt__p_wxPyTreeItemData
,
48179 &_swigt__p_wxPyValidator
,
48180 &_swigt__p_wxQueryNewPaletteEvent
,
48181 &_swigt__p_wxRadioBox
,
48182 &_swigt__p_wxRadioButton
,
48184 &_swigt__p_wxScrollBar
,
48185 &_swigt__p_wxScrollEvent
,
48186 &_swigt__p_wxScrollWinEvent
,
48187 &_swigt__p_wxSetCursorEvent
,
48188 &_swigt__p_wxShowEvent
,
48189 &_swigt__p_wxSimpleHelpProvider
,
48191 &_swigt__p_wxSizeEvent
,
48192 &_swigt__p_wxSizer
,
48193 &_swigt__p_wxSizerItem
,
48194 &_swigt__p_wxSlider
,
48195 &_swigt__p_wxSpinButton
,
48196 &_swigt__p_wxSpinCtrl
,
48197 &_swigt__p_wxSpinEvent
,
48198 &_swigt__p_wxStaticBitmap
,
48199 &_swigt__p_wxStaticBox
,
48200 &_swigt__p_wxStaticBoxSizer
,
48201 &_swigt__p_wxStaticLine
,
48202 &_swigt__p_wxStaticText
,
48203 &_swigt__p_wxStdDialogButtonSizer
,
48204 &_swigt__p_wxString
,
48205 &_swigt__p_wxSysColourChangedEvent
,
48206 &_swigt__p_wxTGAHandler
,
48207 &_swigt__p_wxTIFFHandler
,
48208 &_swigt__p_wxTextAttr
,
48209 &_swigt__p_wxTextCtrl
,
48210 &_swigt__p_wxTextUrlEvent
,
48211 &_swigt__p_wxToggleButton
,
48212 &_swigt__p_wxToolBar
,
48213 &_swigt__p_wxToolBarBase
,
48214 &_swigt__p_wxToolBarToolBase
,
48215 &_swigt__p_wxToolbook
,
48216 &_swigt__p_wxToolbookEvent
,
48217 &_swigt__p_wxTreeEvent
,
48218 &_swigt__p_wxTreeItemId
,
48219 &_swigt__p_wxTreebook
,
48220 &_swigt__p_wxTreebookEvent
,
48221 &_swigt__p_wxUpdateUIEvent
,
48222 &_swigt__p_wxValidator
,
48223 &_swigt__p_wxVisualAttributes
,
48224 &_swigt__p_wxWindow
,
48225 &_swigt__p_wxWindowBase
,
48226 &_swigt__p_wxWindowCreateEvent
,
48227 &_swigt__p_wxWindowDestroyEvent
,
48228 &_swigt__p_wxXPMHandler
,
48231 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
48232 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
48233 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
48234 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
48235 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
48236 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
48237 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
48238 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
48239 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
48240 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
48241 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
48242 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
48243 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}};
48244 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}};
48245 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}};
48246 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}};
48247 static swig_cast_info _swigc__p_wxCheckBox
[] = { {&_swigt__p_wxCheckBox
, 0, 0, 0},{0, 0, 0, 0}};
48248 static swig_cast_info _swigc__p_wxCheckListBox
[] = { {&_swigt__p_wxCheckListBox
, 0, 0, 0},{0, 0, 0, 0}};
48249 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}};
48250 static swig_cast_info _swigc__p_wxChoicebook
[] = { {&_swigt__p_wxChoicebook
, 0, 0, 0},{0, 0, 0, 0}};
48251 static swig_cast_info _swigc__p_wxChoicebookEvent
[] = { {&_swigt__p_wxChoicebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
48252 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
48253 static swig_cast_info _swigc__p_wxColourPickerCtrl
[] = { {&_swigt__p_wxColourPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48254 static swig_cast_info _swigc__p_wxColourPickerEvent
[] = { {&_swigt__p_wxColourPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
48255 static swig_cast_info _swigc__p_wxComboBox
[] = { {&_swigt__p_wxComboBox
, 0, 0, 0},{0, 0, 0, 0}};
48256 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
48257 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
48258 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
48259 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
48260 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
48261 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
48262 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
48263 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
48264 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
48265 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}};
48266 static swig_cast_info _swigc__p_wxContextHelp
[] = { {&_swigt__p_wxContextHelp
, 0, 0, 0},{0, 0, 0, 0}};
48267 static swig_cast_info _swigc__p_wxContextHelpButton
[] = { {&_swigt__p_wxContextHelpButton
, 0, 0, 0},{0, 0, 0, 0}};
48268 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}};
48269 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}};
48270 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
48271 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
48272 static swig_cast_info _swigc__p_wxDatePickerCtrl
[] = { {&_swigt__p_wxDatePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48273 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
48274 static swig_cast_info _swigc__p_wxDirFilterListCtrl
[] = { {&_swigt__p_wxDirFilterListCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48275 static swig_cast_info _swigc__p_wxDirPickerCtrl
[] = { {&_swigt__p_wxDirPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48276 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
48277 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
48278 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
48279 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
48280 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
48281 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
48282 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
48283 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
48284 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
48285 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
48286 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
48287 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
48288 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
48289 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
48290 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
48291 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
48292 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
48293 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
48294 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
48295 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
48296 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
48297 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
48298 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
48299 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
48300 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
48301 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
48302 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}};
48303 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
48304 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
48305 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
48306 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
48307 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}};
48308 static swig_cast_info _swigc__p_wxFileDirPickerEvent
[] = { {&_swigt__p_wxFileDirPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
48309 static swig_cast_info _swigc__p_wxFilePickerCtrl
[] = { {&_swigt__p_wxFilePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48310 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
48311 static swig_cast_info _swigc__p_wxFontPickerCtrl
[] = { {&_swigt__p_wxFontPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48312 static swig_cast_info _swigc__p_wxFontPickerEvent
[] = { {&_swigt__p_wxFontPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
48313 static swig_cast_info _swigc__p_wxGauge
[] = { {&_swigt__p_wxGauge
, 0, 0, 0},{0, 0, 0, 0}};
48314 static swig_cast_info _swigc__p_wxGenericDirCtrl
[] = { {&_swigt__p_wxGenericDirCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48315 static swig_cast_info _swigc__p_wxGenericDragImage
[] = { {&_swigt__p_wxGenericDragImage
, 0, 0, 0},{0, 0, 0, 0}};
48316 static swig_cast_info _swigc__p_wxHelpEvent
[] = { {&_swigt__p_wxHelpEvent
, 0, 0, 0},{0, 0, 0, 0}};
48317 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}};
48318 static swig_cast_info _swigc__p_wxHyperlinkCtrl
[] = { {&_swigt__p_wxHyperlinkCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48319 static swig_cast_info _swigc__p_wxHyperlinkEvent
[] = { {&_swigt__p_wxHyperlinkEvent
, 0, 0, 0},{0, 0, 0, 0}};
48320 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
48321 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
48322 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}};
48323 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
48324 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}};
48325 static swig_cast_info _swigc__p_wxListEvent
[] = { {&_swigt__p_wxListEvent
, 0, 0, 0},{0, 0, 0, 0}};
48326 static swig_cast_info _swigc__p_wxListItem
[] = { {&_swigt__p_wxListItem
, 0, 0, 0},{0, 0, 0, 0}};
48327 static swig_cast_info _swigc__p_wxListItemAttr
[] = { {&_swigt__p_wxListItemAttr
, 0, 0, 0},{0, 0, 0, 0}};
48328 static swig_cast_info _swigc__p_wxListView
[] = { {&_swigt__p_wxListView
, 0, 0, 0},{0, 0, 0, 0}};
48329 static swig_cast_info _swigc__p_wxListbook
[] = { {&_swigt__p_wxListbook
, 0, 0, 0},{0, 0, 0, 0}};
48330 static swig_cast_info _swigc__p_wxListbookEvent
[] = { {&_swigt__p_wxListbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
48331 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxMemoryDC
, 0, 0, 0},{0, 0, 0, 0}};
48332 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
48333 static swig_cast_info _swigc__p_wxNotebook
[] = { {&_swigt__p_wxNotebook
, 0, 0, 0},{0, 0, 0, 0}};
48334 static swig_cast_info _swigc__p_wxNotebookEvent
[] = { {&_swigt__p_wxNotebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
48335 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}};
48336 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
48337 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
48338 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
48339 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
48340 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
48341 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
48342 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
48343 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
48344 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
48345 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
48346 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
48347 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
48348 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
48349 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
48350 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
48351 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
48352 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
48353 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
48354 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
48355 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
48356 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
48357 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
48358 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
48359 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
48360 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
48361 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
48362 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
48363 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
48364 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
48365 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
48366 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
48367 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPickerBase
, _p_wxPickerBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourPickerEvent
, _p_wxColourPickerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDirPickerEvent
, _p_wxFileDirPickerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontPickerEvent
, _p_wxFontPickerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHyperlinkEvent
, _p_wxHyperlinkEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextHelp
, _p_wxContextHelpTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTGAHandler
, _p_wxTGAHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListItem
, _p_wxListItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGenericDragImage
, _p_wxGenericDragImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBarToolBase
, _p_wxToolBarToolBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
48368 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
48369 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}};
48370 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
48371 static swig_cast_info _swigc__p_wxPyControl
[] = { {&_swigt__p_wxPyControl
, 0, 0, 0},{0, 0, 0, 0}};
48372 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}};
48373 static swig_cast_info _swigc__p_wxPyTreeCtrl
[] = { {&_swigt__p_wxPyTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48374 static swig_cast_info _swigc__p_wxPyTreeItemData
[] = { {&_swigt__p_wxPyTreeItemData
, 0, 0, 0},{0, 0, 0, 0}};
48375 static swig_cast_info _swigc__p_wxRadioBox
[] = { {&_swigt__p_wxRadioBox
, 0, 0, 0},{0, 0, 0, 0}};
48376 static swig_cast_info _swigc__p_wxRadioButton
[] = { {&_swigt__p_wxRadioButton
, 0, 0, 0},{0, 0, 0, 0}};
48377 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
48378 static swig_cast_info _swigc__p_wxScrollBar
[] = { {&_swigt__p_wxScrollBar
, 0, 0, 0},{0, 0, 0, 0}};
48379 static swig_cast_info _swigc__p_wxSimpleHelpProvider
[] = { {&_swigt__p_wxSimpleHelpProvider
, 0, 0, 0},{0, 0, 0, 0}};
48380 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
48381 static swig_cast_info _swigc__p_wxSlider
[] = { {&_swigt__p_wxSlider
, 0, 0, 0},{0, 0, 0, 0}};
48382 static swig_cast_info _swigc__p_wxSpinButton
[] = { {&_swigt__p_wxSpinButton
, 0, 0, 0},{0, 0, 0, 0}};
48383 static swig_cast_info _swigc__p_wxSpinCtrl
[] = { {&_swigt__p_wxSpinCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48384 static swig_cast_info _swigc__p_wxSpinEvent
[] = { {&_swigt__p_wxSpinEvent
, 0, 0, 0},{0, 0, 0, 0}};
48385 static swig_cast_info _swigc__p_wxStaticBitmap
[] = { {&_swigt__p_wxStaticBitmap
, 0, 0, 0},{0, 0, 0, 0}};
48386 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
48387 static swig_cast_info _swigc__p_wxStaticLine
[] = { {&_swigt__p_wxStaticLine
, 0, 0, 0},{0, 0, 0, 0}};
48388 static swig_cast_info _swigc__p_wxStaticText
[] = { {&_swigt__p_wxStaticText
, 0, 0, 0},{0, 0, 0, 0}};
48389 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
48390 static swig_cast_info _swigc__p_wxTextAttr
[] = { {&_swigt__p_wxTextAttr
, 0, 0, 0},{0, 0, 0, 0}};
48391 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48392 static swig_cast_info _swigc__p_wxTextUrlEvent
[] = { {&_swigt__p_wxTextUrlEvent
, 0, 0, 0},{0, 0, 0, 0}};
48393 static swig_cast_info _swigc__p_wxToggleButton
[] = { {&_swigt__p_wxToggleButton
, 0, 0, 0},{0, 0, 0, 0}};
48394 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
48395 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}};
48396 static swig_cast_info _swigc__p_wxToolBarToolBase
[] = { {&_swigt__p_wxToolBarToolBase
, 0, 0, 0},{0, 0, 0, 0}};
48397 static swig_cast_info _swigc__p_wxToolbook
[] = { {&_swigt__p_wxToolbook
, 0, 0, 0},{0, 0, 0, 0}};
48398 static swig_cast_info _swigc__p_wxToolbookEvent
[] = { {&_swigt__p_wxToolbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
48399 static swig_cast_info _swigc__p_wxTreeEvent
[] = { {&_swigt__p_wxTreeEvent
, 0, 0, 0},{0, 0, 0, 0}};
48400 static swig_cast_info _swigc__p_wxTreeItemId
[] = { {&_swigt__p_wxTreeItemId
, 0, 0, 0},{0, 0, 0, 0}};
48401 static swig_cast_info _swigc__p_wxTreebook
[] = { {&_swigt__p_wxTreebook
, 0, 0, 0},{0, 0, 0, 0}};
48402 static swig_cast_info _swigc__p_wxTreebookEvent
[] = { {&_swigt__p_wxTreebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
48403 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}};
48404 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
48405 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}};
48406 static swig_cast_info _swigc__p_wxWindowBase
[] = { {&_swigt__p_wxWindowBase
, 0, 0, 0},{0, 0, 0, 0}};
48408 static swig_cast_info
*swig_cast_initial
[] = {
48411 _swigc__p_form_ops_t
,
48414 _swigc__p_unsigned_char
,
48415 _swigc__p_unsigned_int
,
48416 _swigc__p_unsigned_long
,
48418 _swigc__p_wxANIHandler
,
48419 _swigc__p_wxAcceleratorTable
,
48420 _swigc__p_wxActivateEvent
,
48421 _swigc__p_wxArrayInt
,
48422 _swigc__p_wxArrayString
,
48423 _swigc__p_wxBMPHandler
,
48424 _swigc__p_wxBitmap
,
48425 _swigc__p_wxBitmapButton
,
48426 _swigc__p_wxBookCtrlBase
,
48427 _swigc__p_wxBookCtrlBaseEvent
,
48428 _swigc__p_wxBoxSizer
,
48429 _swigc__p_wxButton
,
48430 _swigc__p_wxCURHandler
,
48431 _swigc__p_wxCheckBox
,
48432 _swigc__p_wxCheckListBox
,
48433 _swigc__p_wxChildFocusEvent
,
48434 _swigc__p_wxChoice
,
48435 _swigc__p_wxChoicebook
,
48436 _swigc__p_wxChoicebookEvent
,
48437 _swigc__p_wxClipboardTextEvent
,
48438 _swigc__p_wxCloseEvent
,
48439 _swigc__p_wxColour
,
48440 _swigc__p_wxColourPickerCtrl
,
48441 _swigc__p_wxColourPickerEvent
,
48442 _swigc__p_wxComboBox
,
48443 _swigc__p_wxCommandEvent
,
48444 _swigc__p_wxContextHelp
,
48445 _swigc__p_wxContextHelpButton
,
48446 _swigc__p_wxContextMenuEvent
,
48447 _swigc__p_wxControl
,
48448 _swigc__p_wxControlWithItems
,
48449 _swigc__p_wxCursor
,
48451 _swigc__p_wxDateEvent
,
48452 _swigc__p_wxDatePickerCtrl
,
48453 _swigc__p_wxDateTime
,
48454 _swigc__p_wxDirFilterListCtrl
,
48455 _swigc__p_wxDirPickerCtrl
,
48456 _swigc__p_wxDisplayChangedEvent
,
48457 _swigc__p_wxDropFilesEvent
,
48458 _swigc__p_wxDuplexMode
,
48459 _swigc__p_wxEraseEvent
,
48461 _swigc__p_wxEvtHandler
,
48462 _swigc__p_wxFSFile
,
48463 _swigc__p_wxFileDirPickerEvent
,
48464 _swigc__p_wxFilePickerCtrl
,
48465 _swigc__p_wxFileSystem
,
48466 _swigc__p_wxFlexGridSizer
,
48467 _swigc__p_wxFocusEvent
,
48469 _swigc__p_wxFontPickerCtrl
,
48470 _swigc__p_wxFontPickerEvent
,
48471 _swigc__p_wxGBSizerItem
,
48472 _swigc__p_wxGIFHandler
,
48474 _swigc__p_wxGenericDirCtrl
,
48475 _swigc__p_wxGenericDragImage
,
48476 _swigc__p_wxGridBagSizer
,
48477 _swigc__p_wxGridSizer
,
48478 _swigc__p_wxHelpEvent
,
48479 _swigc__p_wxHelpProvider
,
48480 _swigc__p_wxHyperlinkCtrl
,
48481 _swigc__p_wxHyperlinkEvent
,
48482 _swigc__p_wxICOHandler
,
48484 _swigc__p_wxIconizeEvent
,
48485 _swigc__p_wxIdleEvent
,
48487 _swigc__p_wxImageHandler
,
48488 _swigc__p_wxImageList
,
48489 _swigc__p_wxIndividualLayoutConstraint
,
48490 _swigc__p_wxInitDialogEvent
,
48491 _swigc__p_wxItemContainer
,
48492 _swigc__p_wxJPEGHandler
,
48493 _swigc__p_wxKeyEvent
,
48494 _swigc__p_wxLayoutConstraints
,
48495 _swigc__p_wxListBox
,
48496 _swigc__p_wxListEvent
,
48497 _swigc__p_wxListItem
,
48498 _swigc__p_wxListItemAttr
,
48499 _swigc__p_wxListView
,
48500 _swigc__p_wxListbook
,
48501 _swigc__p_wxListbookEvent
,
48502 _swigc__p_wxMaximizeEvent
,
48503 _swigc__p_wxMemoryDC
,
48505 _swigc__p_wxMenuBar
,
48506 _swigc__p_wxMenuEvent
,
48507 _swigc__p_wxMenuItem
,
48508 _swigc__p_wxMouseCaptureChangedEvent
,
48509 _swigc__p_wxMouseCaptureLostEvent
,
48510 _swigc__p_wxMouseEvent
,
48511 _swigc__p_wxMoveEvent
,
48512 _swigc__p_wxNavigationKeyEvent
,
48513 _swigc__p_wxNcPaintEvent
,
48514 _swigc__p_wxNotebook
,
48515 _swigc__p_wxNotebookEvent
,
48516 _swigc__p_wxNotifyEvent
,
48517 _swigc__p_wxObject
,
48518 _swigc__p_wxPCXHandler
,
48519 _swigc__p_wxPNGHandler
,
48520 _swigc__p_wxPNMHandler
,
48521 _swigc__p_wxPaintEvent
,
48522 _swigc__p_wxPaletteChangedEvent
,
48523 _swigc__p_wxPaperSize
,
48524 _swigc__p_wxPickerBase
,
48527 _swigc__p_wxPyCommandEvent
,
48528 _swigc__p_wxPyControl
,
48529 _swigc__p_wxPyEvent
,
48530 _swigc__p_wxPyImageHandler
,
48531 _swigc__p_wxPyListCtrl
,
48532 _swigc__p_wxPySizer
,
48533 _swigc__p_wxPyTreeCtrl
,
48534 _swigc__p_wxPyTreeItemData
,
48535 _swigc__p_wxPyValidator
,
48536 _swigc__p_wxQueryNewPaletteEvent
,
48537 _swigc__p_wxRadioBox
,
48538 _swigc__p_wxRadioButton
,
48540 _swigc__p_wxScrollBar
,
48541 _swigc__p_wxScrollEvent
,
48542 _swigc__p_wxScrollWinEvent
,
48543 _swigc__p_wxSetCursorEvent
,
48544 _swigc__p_wxShowEvent
,
48545 _swigc__p_wxSimpleHelpProvider
,
48547 _swigc__p_wxSizeEvent
,
48549 _swigc__p_wxSizerItem
,
48550 _swigc__p_wxSlider
,
48551 _swigc__p_wxSpinButton
,
48552 _swigc__p_wxSpinCtrl
,
48553 _swigc__p_wxSpinEvent
,
48554 _swigc__p_wxStaticBitmap
,
48555 _swigc__p_wxStaticBox
,
48556 _swigc__p_wxStaticBoxSizer
,
48557 _swigc__p_wxStaticLine
,
48558 _swigc__p_wxStaticText
,
48559 _swigc__p_wxStdDialogButtonSizer
,
48560 _swigc__p_wxString
,
48561 _swigc__p_wxSysColourChangedEvent
,
48562 _swigc__p_wxTGAHandler
,
48563 _swigc__p_wxTIFFHandler
,
48564 _swigc__p_wxTextAttr
,
48565 _swigc__p_wxTextCtrl
,
48566 _swigc__p_wxTextUrlEvent
,
48567 _swigc__p_wxToggleButton
,
48568 _swigc__p_wxToolBar
,
48569 _swigc__p_wxToolBarBase
,
48570 _swigc__p_wxToolBarToolBase
,
48571 _swigc__p_wxToolbook
,
48572 _swigc__p_wxToolbookEvent
,
48573 _swigc__p_wxTreeEvent
,
48574 _swigc__p_wxTreeItemId
,
48575 _swigc__p_wxTreebook
,
48576 _swigc__p_wxTreebookEvent
,
48577 _swigc__p_wxUpdateUIEvent
,
48578 _swigc__p_wxValidator
,
48579 _swigc__p_wxVisualAttributes
,
48580 _swigc__p_wxWindow
,
48581 _swigc__p_wxWindowBase
,
48582 _swigc__p_wxWindowCreateEvent
,
48583 _swigc__p_wxWindowDestroyEvent
,
48584 _swigc__p_wxXPMHandler
,
48588 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
48590 static swig_const_info swig_const_table
[] = {
48591 {0, 0, 0, 0.0, 0, 0}};
48596 /* -----------------------------------------------------------------------------
48597 * Type initialization:
48598 * This problem is tough by the requirement that no dynamic
48599 * memory is used. Also, since swig_type_info structures store pointers to
48600 * swig_cast_info structures and swig_cast_info structures store pointers back
48601 * to swig_type_info structures, we need some lookup code at initialization.
48602 * The idea is that swig generates all the structures that are needed.
48603 * The runtime then collects these partially filled structures.
48604 * The SWIG_InitializeModule function takes these initial arrays out of
48605 * swig_module, and does all the lookup, filling in the swig_module.types
48606 * array with the correct data and linking the correct swig_cast_info
48607 * structures together.
48609 * The generated swig_type_info structures are assigned staticly to an initial
48610 * array. We just loop though that array, and handle each type individually.
48611 * First we lookup if this type has been already loaded, and if so, use the
48612 * loaded structure instead of the generated one. Then we have to fill in the
48613 * cast linked list. The cast data is initially stored in something like a
48614 * two-dimensional array. Each row corresponds to a type (there are the same
48615 * number of rows as there are in the swig_type_initial array). Each entry in
48616 * a column is one of the swig_cast_info structures for that type.
48617 * The cast_initial array is actually an array of arrays, because each row has
48618 * a variable number of columns. So to actually build the cast linked list,
48619 * we find the array of casts associated with the type, and loop through it
48620 * adding the casts to the list. The one last trick we need to do is making
48621 * sure the type pointer in the swig_cast_info struct is correct.
48623 * First off, we lookup the cast->type name to see if it is already loaded.
48624 * There are three cases to handle:
48625 * 1) If the cast->type has already been loaded AND the type we are adding
48626 * casting info to has not been loaded (it is in this module), THEN we
48627 * replace the cast->type pointer with the type pointer that has already
48629 * 2) If BOTH types (the one we are adding casting info to, and the
48630 * cast->type) are loaded, THEN the cast info has already been loaded by
48631 * the previous module so we just ignore it.
48632 * 3) Finally, if cast->type has not already been loaded, then we add that
48633 * swig_cast_info to the linked list (because the cast->type) pointer will
48635 * ----------------------------------------------------------------------------- */
48645 #define SWIGRUNTIME_DEBUG
48649 SWIG_InitializeModule(void *clientdata
) {
48651 swig_module_info
*module_head
;
48652 static int init_run
= 0;
48654 clientdata
= clientdata
;
48656 if (init_run
) return;
48659 /* Initialize the swig_module */
48660 swig_module
.type_initial
= swig_type_initial
;
48661 swig_module
.cast_initial
= swig_cast_initial
;
48663 /* Try and load any already created modules */
48664 module_head
= SWIG_GetModule(clientdata
);
48666 swig_module
.next
= module_head
->next
;
48667 module_head
->next
= &swig_module
;
48669 /* This is the first module loaded */
48670 swig_module
.next
= &swig_module
;
48671 SWIG_SetModule(clientdata
, &swig_module
);
48674 /* Now work on filling in swig_module.types */
48675 #ifdef SWIGRUNTIME_DEBUG
48676 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
48678 for (i
= 0; i
< swig_module
.size
; ++i
) {
48679 swig_type_info
*type
= 0;
48680 swig_type_info
*ret
;
48681 swig_cast_info
*cast
;
48683 #ifdef SWIGRUNTIME_DEBUG
48684 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
48687 /* if there is another module already loaded */
48688 if (swig_module
.next
!= &swig_module
) {
48689 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
48692 /* Overwrite clientdata field */
48693 #ifdef SWIGRUNTIME_DEBUG
48694 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
48696 if (swig_module
.type_initial
[i
]->clientdata
) {
48697 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
48698 #ifdef SWIGRUNTIME_DEBUG
48699 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
48703 type
= swig_module
.type_initial
[i
];
48706 /* Insert casting types */
48707 cast
= swig_module
.cast_initial
[i
];
48708 while (cast
->type
) {
48709 /* Don't need to add information already in the list */
48711 #ifdef SWIGRUNTIME_DEBUG
48712 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
48714 if (swig_module
.next
!= &swig_module
) {
48715 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
48716 #ifdef SWIGRUNTIME_DEBUG
48717 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
48721 if (type
== swig_module
.type_initial
[i
]) {
48722 #ifdef SWIGRUNTIME_DEBUG
48723 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
48728 /* Check for casting already in the list */
48729 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
48730 #ifdef SWIGRUNTIME_DEBUG
48731 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
48733 if (!ocast
) ret
= 0;
48738 #ifdef SWIGRUNTIME_DEBUG
48739 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
48742 type
->cast
->prev
= cast
;
48743 cast
->next
= type
->cast
;
48749 /* Set entry in modules->types array equal to the type */
48750 swig_module
.types
[i
] = type
;
48752 swig_module
.types
[i
] = 0;
48754 #ifdef SWIGRUNTIME_DEBUG
48755 printf("**** SWIG_InitializeModule: Cast List ******\n");
48756 for (i
= 0; i
< swig_module
.size
; ++i
) {
48758 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
48759 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
48760 while (cast
->type
) {
48761 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
48765 printf("---- Total casts: %d\n",j
);
48767 printf("**** SWIG_InitializeModule: Cast List ******\n");
48771 /* This function will propagate the clientdata field of type to
48772 * any new swig_type_info structures that have been added into the list
48773 * of equivalent types. It is like calling
48774 * SWIG_TypeClientData(type, clientdata) a second time.
48777 SWIG_PropagateClientData(void) {
48779 swig_cast_info
*equiv
;
48780 static int init_run
= 0;
48782 if (init_run
) return;
48785 for (i
= 0; i
< swig_module
.size
; i
++) {
48786 if (swig_module
.types
[i
]->clientdata
) {
48787 equiv
= swig_module
.types
[i
]->cast
;
48789 if (!equiv
->converter
) {
48790 if (equiv
->type
&& !equiv
->type
->clientdata
)
48791 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
48793 equiv
= equiv
->next
;
48813 /* Python-specific SWIG API */
48814 #define SWIG_newvarlink() SWIG_Python_newvarlink()
48815 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
48816 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
48818 /* -----------------------------------------------------------------------------
48819 * global variable support code.
48820 * ----------------------------------------------------------------------------- */
48822 typedef struct swig_globalvar
{
48823 char *name
; /* Name of global variable */
48824 PyObject
*(*get_attr
)(void); /* Return the current value */
48825 int (*set_attr
)(PyObject
*); /* Set the value */
48826 struct swig_globalvar
*next
;
48829 typedef struct swig_varlinkobject
{
48831 swig_globalvar
*vars
;
48832 } swig_varlinkobject
;
48834 SWIGINTERN PyObject
*
48835 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
48836 return PyString_FromString("<Swig global variables>");
48839 SWIGINTERN PyObject
*
48840 swig_varlink_str(swig_varlinkobject
*v
) {
48841 PyObject
*str
= PyString_FromString("(");
48842 swig_globalvar
*var
;
48843 for (var
= v
->vars
; var
; var
=var
->next
) {
48844 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
48845 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
48847 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
48852 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
48853 PyObject
*str
= swig_varlink_str(v
);
48854 fprintf(fp
,"Swig global variables ");
48855 fprintf(fp
,"%s\n", PyString_AsString(str
));
48861 swig_varlink_dealloc(swig_varlinkobject
*v
) {
48862 swig_globalvar
*var
= v
->vars
;
48864 swig_globalvar
*n
= var
->next
;
48871 SWIGINTERN PyObject
*
48872 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
48873 PyObject
*res
= NULL
;
48874 swig_globalvar
*var
= v
->vars
;
48876 if (strcmp(var
->name
,n
) == 0) {
48877 res
= (*var
->get_attr
)();
48882 if (res
== NULL
&& !PyErr_Occurred()) {
48883 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
48889 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
48891 swig_globalvar
*var
= v
->vars
;
48893 if (strcmp(var
->name
,n
) == 0) {
48894 res
= (*var
->set_attr
)(p
);
48899 if (res
== 1 && !PyErr_Occurred()) {
48900 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
48905 SWIGINTERN PyTypeObject
*
48906 swig_varlink_type(void) {
48907 static char varlink__doc__
[] = "Swig var link object";
48908 static PyTypeObject varlink_type
;
48909 static int type_init
= 0;
48911 const PyTypeObject tmp
48913 PyObject_HEAD_INIT(NULL
)
48914 0, /* Number of items in variable part (ob_size) */
48915 (char *)"swigvarlink", /* Type name (tp_name) */
48916 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
48917 0, /* Itemsize (tp_itemsize) */
48918 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
48919 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
48920 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
48921 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
48922 0, /* tp_compare */
48923 (reprfunc
) swig_varlink_repr
, /* tp_repr */
48924 0, /* tp_as_number */
48925 0, /* tp_as_sequence */
48926 0, /* tp_as_mapping */
48929 (reprfunc
)swig_varlink_str
, /* tp_str */
48930 0, /* tp_getattro */
48931 0, /* tp_setattro */
48932 0, /* tp_as_buffer */
48934 varlink__doc__
, /* tp_doc */
48935 0, /* tp_traverse */
48937 0, /* tp_richcompare */
48938 0, /* tp_weaklistoffset */
48939 #if PY_VERSION_HEX >= 0x02020000
48940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
48942 #if PY_VERSION_HEX >= 0x02030000
48945 #ifdef COUNT_ALLOCS
48946 0,0,0,0 /* tp_alloc -> tp_next */
48949 varlink_type
= tmp
;
48950 varlink_type
.ob_type
= &PyType_Type
;
48953 return &varlink_type
;
48956 /* Create a variable linking object for use later */
48957 SWIGINTERN PyObject
*
48958 SWIG_Python_newvarlink(void) {
48959 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
48963 return ((PyObject
*) result
);
48967 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
48968 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
48969 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
48971 size_t size
= strlen(name
)+1;
48972 gv
->name
= (char *)malloc(size
);
48974 strncpy(gv
->name
,name
,size
);
48975 gv
->get_attr
= get_attr
;
48976 gv
->set_attr
= set_attr
;
48977 gv
->next
= v
->vars
;
48983 SWIGINTERN PyObject
*
48985 static PyObject
*_SWIG_globals
= 0;
48986 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
48987 return _SWIG_globals
;
48990 /* -----------------------------------------------------------------------------
48991 * constants/methods manipulation
48992 * ----------------------------------------------------------------------------- */
48994 /* Install Constants */
48996 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
48999 for (i
= 0; constants
[i
].type
; ++i
) {
49000 switch(constants
[i
].type
) {
49001 case SWIG_PY_POINTER
:
49002 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
49004 case SWIG_PY_BINARY
:
49005 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
49012 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
49018 /* -----------------------------------------------------------------------------*/
49019 /* Fix SwigMethods to carry the callback ptrs when needed */
49020 /* -----------------------------------------------------------------------------*/
49023 SWIG_Python_FixMethods(PyMethodDef
*methods
,
49024 swig_const_info
*const_table
,
49025 swig_type_info
**types
,
49026 swig_type_info
**types_initial
) {
49028 for (i
= 0; methods
[i
].ml_name
; ++i
) {
49029 const char *c
= methods
[i
].ml_doc
;
49030 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
49032 swig_const_info
*ci
= 0;
49033 const char *name
= c
+ 10;
49034 for (j
= 0; const_table
[j
].type
; ++j
) {
49035 if (strncmp(const_table
[j
].name
, name
,
49036 strlen(const_table
[j
].name
)) == 0) {
49037 ci
= &(const_table
[j
]);
49042 size_t shift
= (ci
->ptype
) - types
;
49043 swig_type_info
*ty
= types_initial
[shift
];
49044 size_t ldoc
= (c
- methods
[i
].ml_doc
);
49045 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
49046 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
49049 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
49051 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
49053 strncpy(buff
, "swig_ptr: ", 10);
49055 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
49056 methods
[i
].ml_doc
= ndoc
;
49068 /* -----------------------------------------------------------------------------*
49069 * Partial Init method
49070 * -----------------------------------------------------------------------------*/
49075 SWIGEXPORT
void SWIG_init(void) {
49078 /* Fix SwigMethods to carry the callback ptrs when needed */
49079 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
49081 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
49082 d
= PyModule_GetDict(m
);
49084 SWIG_InitializeModule(0);
49085 SWIG_InstallConstants(d
,swig_const_table
);
49088 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
49089 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get
, ButtonNameStr_set
);
49090 SWIG_Python_SetConstant(d
, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT
)));
49091 SWIG_Python_SetConstant(d
, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP
)));
49092 SWIG_Python_SetConstant(d
, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT
)));
49093 SWIG_Python_SetConstant(d
, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM
)));
49094 SWIG_Python_SetConstant(d
, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK
)));
49095 SWIG_Python_SetConstant(d
, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT
)));
49096 SWIG_Python_SetConstant(d
, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW
)));
49097 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get
, CheckBoxNameStr_set
);
49098 SWIG_Python_SetConstant(d
, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE
)));
49099 SWIG_Python_SetConstant(d
, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE
)));
49100 SWIG_Python_SetConstant(d
, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
49101 SWIG_Python_SetConstant(d
, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED
)));
49102 SWIG_Python_SetConstant(d
, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED
)));
49103 SWIG_Python_SetConstant(d
, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED
)));
49104 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get
, ChoiceNameStr_set
);
49105 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get
, ComboBoxNameStr_set
);
49106 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get
, GaugeNameStr_set
);
49107 SWIG_Python_SetConstant(d
, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL
)));
49108 SWIG_Python_SetConstant(d
, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL
)));
49109 SWIG_Python_SetConstant(d
, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH
)));
49110 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get
, StaticBitmapNameStr_set
);
49111 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get
, StaticBoxNameStr_set
);
49112 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get
, StaticTextNameStr_set
);
49113 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get
, ListBoxNameStr_set
);
49114 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get
, TextCtrlNameStr_set
);
49115 SWIG_Python_SetConstant(d
, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL
)));
49116 SWIG_Python_SetConstant(d
, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL
)));
49117 SWIG_Python_SetConstant(d
, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY
)));
49118 SWIG_Python_SetConstant(d
, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE
)));
49119 SWIG_Python_SetConstant(d
, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB
)));
49120 SWIG_Python_SetConstant(d
, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT
)));
49121 SWIG_Python_SetConstant(d
, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER
)));
49122 SWIG_Python_SetConstant(d
, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT
)));
49123 SWIG_Python_SetConstant(d
, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE
)));
49124 SWIG_Python_SetConstant(d
, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH
)));
49125 SWIG_Python_SetConstant(d
, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER
)));
49126 SWIG_Python_SetConstant(d
, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD
)));
49127 SWIG_Python_SetConstant(d
, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL
)));
49128 SWIG_Python_SetConstant(d
, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL
)));
49129 SWIG_Python_SetConstant(d
, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP
)));
49130 SWIG_Python_SetConstant(d
, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP
)));
49131 SWIG_Python_SetConstant(d
, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP
)));
49132 SWIG_Python_SetConstant(d
, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP
)));
49133 SWIG_Python_SetConstant(d
, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2
)));
49134 SWIG_Python_SetConstant(d
, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE
)));
49135 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT
)));
49136 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT
)));
49137 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE
)));
49138 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER
)));
49139 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT
)));
49140 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED
)));
49141 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR
)));
49142 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
49143 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE
)));
49144 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE
)));
49145 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT
)));
49146 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC
)));
49147 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE
)));
49148 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT
)));
49149 SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT
)));
49150 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT
)));
49151 SWIG_Python_SetConstant(d
, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT
)));
49152 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS
)));
49153 SWIG_Python_SetConstant(d
, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN
)));
49154 SWIG_Python_SetConstant(d
, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE
)));
49155 SWIG_Python_SetConstant(d
, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT
)));
49156 SWIG_Python_SetConstant(d
, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW
)));
49157 SWIG_Python_SetConstant(d
, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND
)));
49158 SWIG_Python_SetConstant(d
, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord
)));
49159 SWIG_Python_SetConstant(d
, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord
)));
49160 SWIG_Python_SetConstant(d
, "TEXT_TYPE_ANY",SWIG_From_int(static_cast< int >(wxTEXT_TYPE_ANY
)));
49161 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
49162 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
49163 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
49164 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
49165 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get
, ScrollBarNameStr_set
);
49166 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get
, SPIN_BUTTON_NAME_set
);
49167 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get
, SpinCtrlNameStr_set
);
49168 SWIG_Python_SetConstant(d
, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL
)));
49169 SWIG_Python_SetConstant(d
, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL
)));
49170 SWIG_Python_SetConstant(d
, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS
)));
49171 SWIG_Python_SetConstant(d
, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP
)));
49172 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
49173 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get
, RadioBoxNameStr_set
);
49174 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get
, RadioButtonNameStr_set
);
49175 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get
, SliderNameStr_set
);
49176 SWIG_Python_SetConstant(d
, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL
)));
49177 SWIG_Python_SetConstant(d
, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL
)));
49178 SWIG_Python_SetConstant(d
, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS
)));
49179 SWIG_Python_SetConstant(d
, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS
)));
49180 SWIG_Python_SetConstant(d
, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS
)));
49181 SWIG_Python_SetConstant(d
, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT
)));
49182 SWIG_Python_SetConstant(d
, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP
)));
49183 SWIG_Python_SetConstant(d
, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT
)));
49184 SWIG_Python_SetConstant(d
, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM
)));
49185 SWIG_Python_SetConstant(d
, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH
)));
49186 SWIG_Python_SetConstant(d
, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE
)));
49187 SWIG_Python_SetConstant(d
, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE
)));
49188 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get
, ToggleButtonNameStr_set
);
49189 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
49190 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get
, NotebookNameStr_set
);
49191 SWIG_Python_SetConstant(d
, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT
)));
49192 SWIG_Python_SetConstant(d
, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP
)));
49193 SWIG_Python_SetConstant(d
, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM
)));
49194 SWIG_Python_SetConstant(d
, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT
)));
49195 SWIG_Python_SetConstant(d
, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT
)));
49196 SWIG_Python_SetConstant(d
, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK
)));
49197 SWIG_Python_SetConstant(d
, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR
)));
49198 SWIG_Python_SetConstant(d
, "BK_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_NOWHERE
)));
49199 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONICON
)));
49200 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONLABEL
)));
49201 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONITEM
)));
49202 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONPAGE
)));
49203 SWIG_Python_SetConstant(d
, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH
)));
49204 SWIG_Python_SetConstant(d
, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP
)));
49205 SWIG_Python_SetConstant(d
, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT
)));
49206 SWIG_Python_SetConstant(d
, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT
)));
49207 SWIG_Python_SetConstant(d
, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM
)));
49208 SWIG_Python_SetConstant(d
, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE
)));
49209 SWIG_Python_SetConstant(d
, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME
)));
49210 SWIG_Python_SetConstant(d
, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE
)));
49211 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON
)));
49212 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL
)));
49213 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM
)));
49214 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONPAGE
)));
49215 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
49216 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
49217 SWIG_Python_SetConstant(d
, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT
)));
49218 SWIG_Python_SetConstant(d
, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP
)));
49219 SWIG_Python_SetConstant(d
, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM
)));
49220 SWIG_Python_SetConstant(d
, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT
)));
49221 SWIG_Python_SetConstant(d
, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT
)));
49222 SWIG_Python_SetConstant(d
, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK
)));
49223 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
49224 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
49225 SWIG_Python_SetConstant(d
, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT
)));
49226 SWIG_Python_SetConstant(d
, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP
)));
49227 SWIG_Python_SetConstant(d
, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM
)));
49228 SWIG_Python_SetConstant(d
, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT
)));
49229 SWIG_Python_SetConstant(d
, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT
)));
49230 SWIG_Python_SetConstant(d
, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK
)));
49231 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
49232 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
49233 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED
));
49234 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING
));
49235 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED
));
49236 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED
));
49237 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED
));
49238 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING
));
49239 SWIG_Python_SetConstant(d
, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON
)));
49240 SWIG_Python_SetConstant(d
, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR
)));
49241 SWIG_Python_SetConstant(d
, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL
)));
49242 SWIG_Python_SetConstant(d
, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL
)));
49243 SWIG_Python_SetConstant(d
, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL
)));
49244 SWIG_Python_SetConstant(d
, "TB_TOP",SWIG_From_int(static_cast< int >(wxTB_TOP
)));
49245 SWIG_Python_SetConstant(d
, "TB_LEFT",SWIG_From_int(static_cast< int >(wxTB_LEFT
)));
49246 SWIG_Python_SetConstant(d
, "TB_BOTTOM",SWIG_From_int(static_cast< int >(wxTB_BOTTOM
)));
49247 SWIG_Python_SetConstant(d
, "TB_RIGHT",SWIG_From_int(static_cast< int >(wxTB_RIGHT
)));
49248 SWIG_Python_SetConstant(d
, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS
)));
49249 SWIG_Python_SetConstant(d
, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT
)));
49250 SWIG_Python_SetConstant(d
, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE
)));
49251 SWIG_Python_SetConstant(d
, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS
)));
49252 SWIG_Python_SetConstant(d
, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT
)));
49253 SWIG_Python_SetConstant(d
, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER
)));
49254 SWIG_Python_SetConstant(d
, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN
)));
49255 SWIG_Python_SetConstant(d
, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT
)));
49256 SWIG_Python_SetConstant(d
, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT
)));
49257 SWIG_Python_SetConstant(d
, "TB_NO_TOOLTIPS",SWIG_From_int(static_cast< int >(wxTB_NO_TOOLTIPS
)));
49258 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get
, ListCtrlNameStr_set
);
49259 SWIG_Python_SetConstant(d
, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES
)));
49260 SWIG_Python_SetConstant(d
, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES
)));
49261 SWIG_Python_SetConstant(d
, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON
)));
49262 SWIG_Python_SetConstant(d
, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON
)));
49263 SWIG_Python_SetConstant(d
, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST
)));
49264 SWIG_Python_SetConstant(d
, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT
)));
49265 SWIG_Python_SetConstant(d
, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP
)));
49266 SWIG_Python_SetConstant(d
, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT
)));
49267 SWIG_Python_SetConstant(d
, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE
)));
49268 SWIG_Python_SetConstant(d
, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL
)));
49269 SWIG_Python_SetConstant(d
, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS
)));
49270 SWIG_Python_SetConstant(d
, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER
)));
49271 SWIG_Python_SetConstant(d
, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER
)));
49272 SWIG_Python_SetConstant(d
, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL
)));
49273 SWIG_Python_SetConstant(d
, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING
)));
49274 SWIG_Python_SetConstant(d
, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING
)));
49275 SWIG_Python_SetConstant(d
, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE
)));
49276 SWIG_Python_SetConstant(d
, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN
)));
49277 SWIG_Python_SetConstant(d
, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT
)));
49278 SWIG_Python_SetConstant(d
, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE
)));
49279 SWIG_Python_SetConstant(d
, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT
)));
49280 SWIG_Python_SetConstant(d
, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE
)));
49281 SWIG_Python_SetConstant(d
, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA
)));
49282 SWIG_Python_SetConstant(d
, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM
)));
49283 SWIG_Python_SetConstant(d
, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH
)));
49284 SWIG_Python_SetConstant(d
, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT
)));
49285 SWIG_Python_SetConstant(d
, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE
)));
49286 SWIG_Python_SetConstant(d
, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED
)));
49287 SWIG_Python_SetConstant(d
, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED
)));
49288 SWIG_Python_SetConstant(d
, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED
)));
49289 SWIG_Python_SetConstant(d
, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT
)));
49290 SWIG_Python_SetConstant(d
, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED
)));
49291 SWIG_Python_SetConstant(d
, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED
)));
49292 SWIG_Python_SetConstant(d
, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE
)));
49293 SWIG_Python_SetConstant(d
, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED
)));
49294 SWIG_Python_SetConstant(d
, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE
)));
49295 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE
)));
49296 SWIG_Python_SetConstant(d
, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW
)));
49297 SWIG_Python_SetConstant(d
, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE
)));
49298 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON
)));
49299 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL
)));
49300 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT
)));
49301 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON
)));
49302 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT
)));
49303 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT
)));
49304 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM
)));
49305 SWIG_Python_SetConstant(d
, "LIST_GETSUBITEMRECT_WHOLEITEM",SWIG_From_int(static_cast< int >(wxLIST_GETSUBITEMRECT_WHOLEITEM
)));
49306 SWIG_Python_SetConstant(d
, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE
)));
49307 SWIG_Python_SetConstant(d
, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL
)));
49308 SWIG_Python_SetConstant(d
, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW
)));
49309 SWIG_Python_SetConstant(d
, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT
)));
49310 SWIG_Python_SetConstant(d
, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT
)));
49311 SWIG_Python_SetConstant(d
, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT
)));
49312 SWIG_Python_SetConstant(d
, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT
)));
49313 SWIG_Python_SetConstant(d
, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP
)));
49314 SWIG_Python_SetConstant(d
, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID
)));
49315 SWIG_Python_SetConstant(d
, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT
)));
49316 SWIG_Python_SetConstant(d
, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT
)));
49317 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE
)));
49318 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER
)));
49319 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE
)));
49320 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER
)));
49321 SWIG_Python_SetConstant(d
, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS
)));
49322 SWIG_Python_SetConstant(d
, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON
)));
49323 SWIG_Python_SetConstant(d
, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL
)));
49324 SWIG_Python_SetConstant(d
, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP
)));
49325 SWIG_Python_SetConstant(d
, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN
)));
49326 SWIG_Python_SetConstant(d
, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT
)));
49327 SWIG_Python_SetConstant(d
, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT
)));
49328 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
49329 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
49330 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
49331 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
49332 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
49333 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
49334 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
49335 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
49336 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
49337 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
49338 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
49339 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
49340 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
49341 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
49342 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
49343 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
49344 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
49345 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
49346 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
49347 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
49349 // Map renamed classes back to their common name for OOR
49350 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
49352 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get
, TreeCtrlNameStr_set
);
49353 SWIG_Python_SetConstant(d
, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS
)));
49354 SWIG_Python_SetConstant(d
, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS
)));
49355 SWIG_Python_SetConstant(d
, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES
)));
49356 SWIG_Python_SetConstant(d
, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT
)));
49357 SWIG_Python_SetConstant(d
, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE
)));
49358 SWIG_Python_SetConstant(d
, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE
)));
49359 SWIG_Python_SetConstant(d
, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED
)));
49360 SWIG_Python_SetConstant(d
, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
49361 SWIG_Python_SetConstant(d
, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS
)));
49362 SWIG_Python_SetConstant(d
, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT
)));
49363 SWIG_Python_SetConstant(d
, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES
)));
49364 SWIG_Python_SetConstant(d
, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT
)));
49365 SWIG_Python_SetConstant(d
, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE
)));
49366 SWIG_Python_SetConstant(d
, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS
)));
49367 SWIG_Python_SetConstant(d
, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal
)));
49368 SWIG_Python_SetConstant(d
, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected
)));
49369 SWIG_Python_SetConstant(d
, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded
)));
49370 SWIG_Python_SetConstant(d
, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded
)));
49371 SWIG_Python_SetConstant(d
, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max
)));
49372 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE
)));
49373 SWIG_Python_SetConstant(d
, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW
)));
49374 SWIG_Python_SetConstant(d
, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE
)));
49375 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON
)));
49376 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON
)));
49377 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT
)));
49378 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL
)));
49379 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT
)));
49380 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON
)));
49381 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT
)));
49382 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT
)));
49383 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART
)));
49384 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART
)));
49385 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM
)));
49386 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
49387 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
49388 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
49389 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
49390 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
49391 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
49392 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
49393 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
49394 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
49395 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
49396 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
49397 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
49398 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
49399 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
49400 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
49401 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
49402 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
49403 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
49404 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
49405 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
49406 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
49407 SWIG_addvarlink(SWIG_globals(),(char*)"NullTreeItemId",NullTreeItemId_get
, NullTreeItemId_set
);
49409 // Map renamed classes back to their common name for OOR
49410 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
49411 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
49413 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get
, DirDialogDefaultFolderStr_set
);
49414 SWIG_Python_SetConstant(d
, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY
)));
49415 SWIG_Python_SetConstant(d
, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST
)));
49416 SWIG_Python_SetConstant(d
, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS
)));
49417 SWIG_Python_SetConstant(d
, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL
)));
49418 SWIG_Python_SetConstant(d
, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS
)));
49419 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
49420 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
49421 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Unknown",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Unknown
)));
49422 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Keyboard",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Keyboard
)));
49423 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_HelpButton",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_HelpButton
)));
49425 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
49427 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get
, DatePickerCtrlNameStr_set
);
49428 SWIG_Python_SetConstant(d
, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT
)));
49429 SWIG_Python_SetConstant(d
, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN
)));
49430 SWIG_Python_SetConstant(d
, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN
)));
49431 SWIG_Python_SetConstant(d
, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY
)));
49432 SWIG_Python_SetConstant(d
, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE
)));
49433 SWIG_addvarlink(SWIG_globals(),(char*)"HyperlinkCtrlNameStr",HyperlinkCtrlNameStr_get
, HyperlinkCtrlNameStr_set
);
49434 SWIG_Python_SetConstant(d
, "HL_CONTEXTMENU",SWIG_From_int(static_cast< int >(wxHL_CONTEXTMENU
)));
49435 SWIG_Python_SetConstant(d
, "HL_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_LEFT
)));
49436 SWIG_Python_SetConstant(d
, "HL_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_RIGHT
)));
49437 SWIG_Python_SetConstant(d
, "HL_ALIGN_CENTRE",SWIG_From_int(static_cast< int >(wxHL_ALIGN_CENTRE
)));
49438 SWIG_Python_SetConstant(d
, "HL_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHL_DEFAULT_STYLE
)));
49439 PyDict_SetItemString(d
, "wxEVT_COMMAND_HYPERLINK", PyInt_FromLong(wxEVT_COMMAND_HYPERLINK
));
49440 SWIG_Python_SetConstant(d
, "PB_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxPB_USE_TEXTCTRL
)));
49441 SWIG_addvarlink(SWIG_globals(),(char*)"ColourPickerCtrlNameStr",ColourPickerCtrlNameStr_get
, ColourPickerCtrlNameStr_set
);
49442 SWIG_Python_SetConstant(d
, "CLRP_SHOW_LABEL",SWIG_From_int(static_cast< int >(wxCLRP_SHOW_LABEL
)));
49443 SWIG_Python_SetConstant(d
, "CLRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxCLRP_USE_TEXTCTRL
)));
49444 SWIG_Python_SetConstant(d
, "CLRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCLRP_DEFAULT_STYLE
)));
49445 PyDict_SetItemString(d
, "wxEVT_COMMAND_COLOURPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLOURPICKER_CHANGED
));
49446 SWIG_addvarlink(SWIG_globals(),(char*)"FilePickerCtrlNameStr",FilePickerCtrlNameStr_get
, FilePickerCtrlNameStr_set
);
49447 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
49448 SWIG_addvarlink(SWIG_globals(),(char*)"DirPickerCtrlNameStr",DirPickerCtrlNameStr_get
, DirPickerCtrlNameStr_set
);
49449 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
49450 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
49451 SWIG_Python_SetConstant(d
, "FLP_OPEN",SWIG_From_int(static_cast< int >(wxFLP_OPEN
)));
49452 SWIG_Python_SetConstant(d
, "FLP_SAVE",SWIG_From_int(static_cast< int >(wxFLP_SAVE
)));
49453 SWIG_Python_SetConstant(d
, "FLP_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFLP_OVERWRITE_PROMPT
)));
49454 SWIG_Python_SetConstant(d
, "FLP_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFLP_FILE_MUST_EXIST
)));
49455 SWIG_Python_SetConstant(d
, "FLP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFLP_CHANGE_DIR
)));
49456 SWIG_Python_SetConstant(d
, "DIRP_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDIRP_DIR_MUST_EXIST
)));
49457 SWIG_Python_SetConstant(d
, "DIRP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDIRP_CHANGE_DIR
)));
49458 SWIG_Python_SetConstant(d
, "FLP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFLP_USE_TEXTCTRL
)));
49459 SWIG_Python_SetConstant(d
, "FLP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFLP_DEFAULT_STYLE
)));
49460 SWIG_Python_SetConstant(d
, "DIRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxDIRP_USE_TEXTCTRL
)));
49461 SWIG_Python_SetConstant(d
, "DIRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDIRP_DEFAULT_STYLE
)));
49462 PyDict_SetItemString(d
, "wxEVT_COMMAND_FILEPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FILEPICKER_CHANGED
));
49463 PyDict_SetItemString(d
, "wxEVT_COMMAND_DIRPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_DIRPICKER_CHANGED
));
49464 SWIG_addvarlink(SWIG_globals(),(char*)"FontPickerCtrlNameStr",FontPickerCtrlNameStr_get
, FontPickerCtrlNameStr_set
);
49465 SWIG_Python_SetConstant(d
, "FNTP_FONTDESC_AS_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_FONTDESC_AS_LABEL
)));
49466 SWIG_Python_SetConstant(d
, "FNTP_USEFONT_FOR_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_USEFONT_FOR_LABEL
)));
49467 SWIG_Python_SetConstant(d
, "FNTP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFNTP_USE_TEXTCTRL
)));
49468 SWIG_Python_SetConstant(d
, "FNTP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFNTP_DEFAULT_STYLE
)));
49469 PyDict_SetItemString(d
, "wxEVT_COMMAND_FONTPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FONTPICKER_CHANGED
));