1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_long swig_types[4]
2471 #define SWIGTYPE_p_unsigned_char swig_types[5]
2472 #define SWIGTYPE_p_unsigned_int swig_types[6]
2473 #define SWIGTYPE_p_unsigned_long swig_types[7]
2474 #define SWIGTYPE_p_void swig_types[8]
2475 #define SWIGTYPE_p_wxANIHandler swig_types[9]
2476 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2477 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2478 #define SWIGTYPE_p_wxArrayInt swig_types[12]
2479 #define SWIGTYPE_p_wxArrayString swig_types[13]
2480 #define SWIGTYPE_p_wxBMPHandler swig_types[14]
2481 #define SWIGTYPE_p_wxBitmap swig_types[15]
2482 #define SWIGTYPE_p_wxBitmapButton swig_types[16]
2483 #define SWIGTYPE_p_wxBookCtrlBase swig_types[17]
2484 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[18]
2485 #define SWIGTYPE_p_wxBoxSizer swig_types[19]
2486 #define SWIGTYPE_p_wxButton swig_types[20]
2487 #define SWIGTYPE_p_wxCURHandler swig_types[21]
2488 #define SWIGTYPE_p_wxCheckBox swig_types[22]
2489 #define SWIGTYPE_p_wxCheckListBox swig_types[23]
2490 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2491 #define SWIGTYPE_p_wxChoice swig_types[25]
2492 #define SWIGTYPE_p_wxChoicebook swig_types[26]
2493 #define SWIGTYPE_p_wxChoicebookEvent swig_types[27]
2494 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[28]
2495 #define SWIGTYPE_p_wxCloseEvent swig_types[29]
2496 #define SWIGTYPE_p_wxColour swig_types[30]
2497 #define SWIGTYPE_p_wxColourPickerCtrl swig_types[31]
2498 #define SWIGTYPE_p_wxColourPickerEvent swig_types[32]
2499 #define SWIGTYPE_p_wxComboBox swig_types[33]
2500 #define SWIGTYPE_p_wxCommandEvent swig_types[34]
2501 #define SWIGTYPE_p_wxContextHelp swig_types[35]
2502 #define SWIGTYPE_p_wxContextHelpButton swig_types[36]
2503 #define SWIGTYPE_p_wxContextMenuEvent swig_types[37]
2504 #define SWIGTYPE_p_wxControl swig_types[38]
2505 #define SWIGTYPE_p_wxControlWithItems swig_types[39]
2506 #define SWIGTYPE_p_wxCursor swig_types[40]
2507 #define SWIGTYPE_p_wxDC swig_types[41]
2508 #define SWIGTYPE_p_wxDateEvent swig_types[42]
2509 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[43]
2510 #define SWIGTYPE_p_wxDateTime swig_types[44]
2511 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[45]
2512 #define SWIGTYPE_p_wxDirPickerCtrl swig_types[46]
2513 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[47]
2514 #define SWIGTYPE_p_wxDropFilesEvent swig_types[48]
2515 #define SWIGTYPE_p_wxDuplexMode swig_types[49]
2516 #define SWIGTYPE_p_wxEraseEvent swig_types[50]
2517 #define SWIGTYPE_p_wxEvent swig_types[51]
2518 #define SWIGTYPE_p_wxEvtHandler swig_types[52]
2519 #define SWIGTYPE_p_wxFSFile swig_types[53]
2520 #define SWIGTYPE_p_wxFileDirPickerEvent swig_types[54]
2521 #define SWIGTYPE_p_wxFilePickerCtrl swig_types[55]
2522 #define SWIGTYPE_p_wxFileSystem swig_types[56]
2523 #define SWIGTYPE_p_wxFlexGridSizer swig_types[57]
2524 #define SWIGTYPE_p_wxFocusEvent swig_types[58]
2525 #define SWIGTYPE_p_wxFont swig_types[59]
2526 #define SWIGTYPE_p_wxFontPickerCtrl swig_types[60]
2527 #define SWIGTYPE_p_wxFontPickerEvent swig_types[61]
2528 #define SWIGTYPE_p_wxGBSizerItem swig_types[62]
2529 #define SWIGTYPE_p_wxGIFHandler swig_types[63]
2530 #define SWIGTYPE_p_wxGauge swig_types[64]
2531 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[65]
2532 #define SWIGTYPE_p_wxGenericDragImage swig_types[66]
2533 #define SWIGTYPE_p_wxGridBagSizer swig_types[67]
2534 #define SWIGTYPE_p_wxGridSizer swig_types[68]
2535 #define SWIGTYPE_p_wxHelpEvent swig_types[69]
2536 #define SWIGTYPE_p_wxHelpProvider swig_types[70]
2537 #define SWIGTYPE_p_wxHyperlinkCtrl swig_types[71]
2538 #define SWIGTYPE_p_wxHyperlinkEvent swig_types[72]
2539 #define SWIGTYPE_p_wxICOHandler swig_types[73]
2540 #define SWIGTYPE_p_wxIcon swig_types[74]
2541 #define SWIGTYPE_p_wxIconizeEvent swig_types[75]
2542 #define SWIGTYPE_p_wxIdleEvent swig_types[76]
2543 #define SWIGTYPE_p_wxImage swig_types[77]
2544 #define SWIGTYPE_p_wxImageHandler swig_types[78]
2545 #define SWIGTYPE_p_wxImageList swig_types[79]
2546 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[80]
2547 #define SWIGTYPE_p_wxInitDialogEvent swig_types[81]
2548 #define SWIGTYPE_p_wxItemContainer swig_types[82]
2549 #define SWIGTYPE_p_wxJPEGHandler swig_types[83]
2550 #define SWIGTYPE_p_wxKeyEvent swig_types[84]
2551 #define SWIGTYPE_p_wxLayoutConstraints swig_types[85]
2552 #define SWIGTYPE_p_wxListBox swig_types[86]
2553 #define SWIGTYPE_p_wxListEvent swig_types[87]
2554 #define SWIGTYPE_p_wxListItem swig_types[88]
2555 #define SWIGTYPE_p_wxListItemAttr swig_types[89]
2556 #define SWIGTYPE_p_wxListView swig_types[90]
2557 #define SWIGTYPE_p_wxListbook swig_types[91]
2558 #define SWIGTYPE_p_wxListbookEvent swig_types[92]
2559 #define SWIGTYPE_p_wxMaximizeEvent swig_types[93]
2560 #define SWIGTYPE_p_wxMemoryDC swig_types[94]
2561 #define SWIGTYPE_p_wxMenu swig_types[95]
2562 #define SWIGTYPE_p_wxMenuBar swig_types[96]
2563 #define SWIGTYPE_p_wxMenuEvent swig_types[97]
2564 #define SWIGTYPE_p_wxMenuItem swig_types[98]
2565 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[99]
2566 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[100]
2567 #define SWIGTYPE_p_wxMouseEvent swig_types[101]
2568 #define SWIGTYPE_p_wxMoveEvent swig_types[102]
2569 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[103]
2570 #define SWIGTYPE_p_wxNcPaintEvent swig_types[104]
2571 #define SWIGTYPE_p_wxNotebook swig_types[105]
2572 #define SWIGTYPE_p_wxNotebookEvent swig_types[106]
2573 #define SWIGTYPE_p_wxNotifyEvent swig_types[107]
2574 #define SWIGTYPE_p_wxObject swig_types[108]
2575 #define SWIGTYPE_p_wxPCXHandler swig_types[109]
2576 #define SWIGTYPE_p_wxPNGHandler swig_types[110]
2577 #define SWIGTYPE_p_wxPNMHandler swig_types[111]
2578 #define SWIGTYPE_p_wxPaintEvent swig_types[112]
2579 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[113]
2580 #define SWIGTYPE_p_wxPaperSize swig_types[114]
2581 #define SWIGTYPE_p_wxPickerBase swig_types[115]
2582 #define SWIGTYPE_p_wxPoint swig_types[116]
2583 #define SWIGTYPE_p_wxPyApp swig_types[117]
2584 #define SWIGTYPE_p_wxPyCommandEvent swig_types[118]
2585 #define SWIGTYPE_p_wxPyControl swig_types[119]
2586 #define SWIGTYPE_p_wxPyEvent swig_types[120]
2587 #define SWIGTYPE_p_wxPyImageHandler swig_types[121]
2588 #define SWIGTYPE_p_wxPyListCtrl swig_types[122]
2589 #define SWIGTYPE_p_wxPySizer swig_types[123]
2590 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[124]
2591 #define SWIGTYPE_p_wxPyTreeItemData swig_types[125]
2592 #define SWIGTYPE_p_wxPyValidator swig_types[126]
2593 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[127]
2594 #define SWIGTYPE_p_wxRadioBox swig_types[128]
2595 #define SWIGTYPE_p_wxRadioButton swig_types[129]
2596 #define SWIGTYPE_p_wxRect swig_types[130]
2597 #define SWIGTYPE_p_wxScrollBar swig_types[131]
2598 #define SWIGTYPE_p_wxScrollEvent swig_types[132]
2599 #define SWIGTYPE_p_wxScrollWinEvent swig_types[133]
2600 #define SWIGTYPE_p_wxSetCursorEvent swig_types[134]
2601 #define SWIGTYPE_p_wxShowEvent swig_types[135]
2602 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[136]
2603 #define SWIGTYPE_p_wxSize swig_types[137]
2604 #define SWIGTYPE_p_wxSizeEvent swig_types[138]
2605 #define SWIGTYPE_p_wxSizer swig_types[139]
2606 #define SWIGTYPE_p_wxSizerItem swig_types[140]
2607 #define SWIGTYPE_p_wxSlider swig_types[141]
2608 #define SWIGTYPE_p_wxSpinButton swig_types[142]
2609 #define SWIGTYPE_p_wxSpinCtrl swig_types[143]
2610 #define SWIGTYPE_p_wxSpinEvent swig_types[144]
2611 #define SWIGTYPE_p_wxStaticBitmap swig_types[145]
2612 #define SWIGTYPE_p_wxStaticBox swig_types[146]
2613 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[147]
2614 #define SWIGTYPE_p_wxStaticLine swig_types[148]
2615 #define SWIGTYPE_p_wxStaticText swig_types[149]
2616 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[150]
2617 #define SWIGTYPE_p_wxString swig_types[151]
2618 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[152]
2619 #define SWIGTYPE_p_wxTIFFHandler swig_types[153]
2620 #define SWIGTYPE_p_wxTextAttr swig_types[154]
2621 #define SWIGTYPE_p_wxTextCtrl swig_types[155]
2622 #define SWIGTYPE_p_wxTextUrlEvent swig_types[156]
2623 #define SWIGTYPE_p_wxToggleButton swig_types[157]
2624 #define SWIGTYPE_p_wxToolBar swig_types[158]
2625 #define SWIGTYPE_p_wxToolBarBase swig_types[159]
2626 #define SWIGTYPE_p_wxToolBarToolBase swig_types[160]
2627 #define SWIGTYPE_p_wxToolbook swig_types[161]
2628 #define SWIGTYPE_p_wxToolbookEvent swig_types[162]
2629 #define SWIGTYPE_p_wxTreeEvent swig_types[163]
2630 #define SWIGTYPE_p_wxTreeItemId swig_types[164]
2631 #define SWIGTYPE_p_wxTreebook swig_types[165]
2632 #define SWIGTYPE_p_wxTreebookEvent swig_types[166]
2633 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[167]
2634 #define SWIGTYPE_p_wxValidator swig_types[168]
2635 #define SWIGTYPE_p_wxVisualAttributes swig_types[169]
2636 #define SWIGTYPE_p_wxWindow swig_types[170]
2637 #define SWIGTYPE_p_wxWindowBase swig_types[171]
2638 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[172]
2639 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[173]
2640 #define SWIGTYPE_p_wxXPMHandler swig_types[174]
2641 static swig_type_info
*swig_types
[176];
2642 static swig_module_info swig_module
= {swig_types
, 175, 0, 0, 0, 0};
2643 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2644 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2646 /* -------- TYPES TABLE (END) -------- */
2648 #if (PY_VERSION_HEX <= 0x02000000)
2649 # if !defined(SWIG_PYTHON_CLASSIC)
2650 # error "This python version requires to use swig with the '-classic' option"
2653 #if (PY_VERSION_HEX <= 0x02020000)
2654 # error "This python version requires to use swig with the '-nomodern' option"
2656 #if (PY_VERSION_HEX <= 0x02020000)
2657 # error "This python version requires to use swig with the '-nomodernargs' option"
2660 # error "This python version requires to use swig with the '-nofastunpack' option"
2663 /*-----------------------------------------------
2664 @(target):= _controls_.so
2665 ------------------------------------------------*/
2666 #define SWIG_init init_controls_
2668 #define SWIG_name "_controls_"
2670 #define SWIGVERSION 0x010329
2673 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2674 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2677 #include <stdexcept>
2681 class PyObject_ptr
{
2686 PyObject_ptr() :_obj(0)
2690 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2695 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2697 if (initial_ref
) Py_XINCREF(_obj
);
2700 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2702 Py_XINCREF(item
._obj
);
2713 operator PyObject
*() const
2718 PyObject
*operator->() const
2727 struct PyObject_var
: PyObject_ptr
{
2728 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2730 PyObject_var
& operator = (PyObject
* obj
)
2740 #include "wx/wxPython/wxPython.h"
2741 #include "wx/wxPython/pyclasses.h"
2743 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2744 static const wxString
wxPyEmptyString(wxEmptyString
);
2745 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2747 const wxArrayString wxPyEmptyStringArray
;
2749 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
2751 #define SWIG_From_long PyInt_FromLong
2754 SWIGINTERNINLINE PyObject
*
2755 SWIG_From_int (int value
)
2757 return SWIG_From_long (value
);
2763 # define LLONG_MIN LONG_LONG_MIN
2766 # define LLONG_MAX LONG_LONG_MAX
2769 # define ULLONG_MAX ULONG_LONG_MAX
2774 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2776 if (PyNumber_Check(obj
)) {
2777 if (val
) *val
= PyInt_AsLong(obj
);
2780 return SWIG_TypeError
;
2785 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2788 int res
= SWIG_AsVal_long (obj
, &v
);
2789 if (SWIG_IsOK(res
)) {
2790 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2791 return SWIG_OverflowError
;
2793 if (val
) *val
= static_cast< int >(v
);
2799 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
2802 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2804 if (obj
== Py_True
) {
2805 if (val
) *val
= true;
2807 } else if (obj
== Py_False
) {
2808 if (val
) *val
= false;
2812 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2813 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2818 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
2819 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
2820 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
2821 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
2822 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
2823 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
2825 #include <wx/checklst.h>
2827 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
2828 SWIGINTERN
void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2831 wxPyClientData
* data
= new wxPyClientData(clientData
);
2832 self
->Insert(item
, pos
, data
);
2835 self
->Insert(item
, pos
);
2839 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2842 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2843 return SWIG_TypeError
;
2846 *val
= (unsigned long)v
;
2852 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
2855 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2856 if (SWIG_IsOK(res
)) {
2857 if ((v
> UINT_MAX
)) {
2858 return SWIG_OverflowError
;
2860 if (val
) *val
= static_cast< unsigned int >(v
);
2866 SWIGINTERN PyObject
*wxListBox_GetSelections(wxListBox
*self
){
2867 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2869 self
->GetSelections(lst
);
2870 PyObject
*tup
= PyTuple_New(lst
.GetCount());
2871 for (size_t i
=0; i
<lst
.GetCount(); i
++)
2873 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
2875 wxPyEndBlockThreads(blocked
);
2878 SWIGINTERN
void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2880 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2881 self
->GetItem(item
)->SetTextColour(c
);
2884 SWIGINTERN
void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2886 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2887 self
->GetItem(item
)->SetBackgroundColour(c
);
2890 SWIGINTERN
void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
2892 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2893 self
->GetItem(item
)->SetFont(f
);
2896 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
2897 SWIGINTERN
void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
2898 self
->AppendText(text
);
2900 SWIGINTERN wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
2901 return self
->GetValue().Mid(from
, to
- from
);
2903 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
2904 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
2905 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
2906 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
2907 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
2909 SWIGINTERNINLINE PyObject
*
2910 SWIG_From_unsigned_SS_long (unsigned long value
)
2912 return (value
> LONG_MAX
) ?
2913 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2917 SWIGINTERNINLINE PyObject
*
2918 SWIG_From_size_t (size_t value
)
2920 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2924 SWIGINTERNINLINE PyObject
*
2925 SWIG_From_unsigned_SS_int (unsigned int value
)
2927 return SWIG_From_unsigned_SS_long (value
);
2931 #include <wx/slider.h>
2934 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
2935 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
2937 #if !wxUSE_TOGGLEBTN
2938 // implement dummy items for platforms that don't have this class
2940 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
2942 class wxToggleButton
: public wxControl
2945 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
2946 const wxPoint
&, const wxSize
&, long,
2947 const wxValidator
&, const wxString
&)
2948 { wxPyRaiseNotImplemented(); }
2951 { wxPyRaiseNotImplemented(); }
2955 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
2957 SWIGINTERNINLINE
int
2958 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2961 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2962 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2966 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2967 SWIGINTERN PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
2968 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
2970 Py_INCREF(udata
->m_obj
);
2971 return udata
->m_obj
;
2977 SWIGINTERN
void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
2978 self
->SetClientData(new wxPyUserData(clientData
));
2980 SWIGINTERN wxToolBarToolBase
*wxToolBarBase_DoAddTool(wxToolBarBase
*self
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
=wxNullBitmap
,wxItemKind kind
=wxITEM_NORMAL
,wxString
const &shortHelp
=wxPyEmptyString
,wxString
const &longHelp
=wxPyEmptyString
,PyObject
*clientData
=NULL
){
2981 wxPyUserData
* udata
= NULL
;
2982 if (clientData
&& clientData
!= Py_None
)
2983 udata
= new wxPyUserData(clientData
);
2984 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
2985 shortHelp
, longHelp
, udata
);
2987 SWIGINTERN wxToolBarToolBase
*wxToolBarBase_DoInsertTool(wxToolBarBase
*self
,size_t pos
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
=wxNullBitmap
,wxItemKind kind
=wxITEM_NORMAL
,wxString
const &shortHelp
=wxPyEmptyString
,wxString
const &longHelp
=wxPyEmptyString
,PyObject
*clientData
=NULL
){
2988 wxPyUserData
* udata
= NULL
;
2989 if (clientData
&& clientData
!= Py_None
)
2990 udata
= new wxPyUserData(clientData
);
2991 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
2992 shortHelp
, longHelp
, udata
);
2994 SWIGINTERN PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
2995 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
2997 Py_INCREF(udata
->m_obj
);
2998 return udata
->m_obj
;
3004 SWIGINTERN
void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
3005 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
3008 #include <wx/listctrl.h>
3010 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
3011 SWIGINTERN
void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
3012 // Python aware sorting function for wxPyListCtrl
3013 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
3015 PyObject
* func
= (PyObject
*)funcPtr
;
3016 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3018 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
3019 PyObject
* result
= PyEval_CallObject(func
, args
);
3022 retval
= PyInt_AsLong(result
);
3026 wxPyEndBlockThreads(blocked
);
3030 // C++ Version of a Python aware class
3031 class wxPyListCtrl
: public wxListCtrl
{
3032 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
)
3034 wxPyListCtrl() : wxListCtrl() {}
3035 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
3039 const wxValidator
& validator
,
3040 const wxString
& name
) :
3041 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3043 bool Create(wxWindow
* parent
, wxWindowID id
,
3047 const wxValidator
& validator
,
3048 const wxString
& name
) {
3049 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3052 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
3053 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
3055 // use the virtual version to avoid a confusing assert in the base class
3056 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
3057 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage
);
3062 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
3064 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
3065 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
3066 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
3067 IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemColumnImage
);
3070 SWIGINTERN wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
3072 item
.SetMask( wxLIST_MASK_STATE
|
3080 if (self
->GetColumn(col
, item
))
3081 return new wxListItem(item
);
3085 SWIGINTERN wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
3086 wxListItem
* info
= new wxListItem
;
3087 info
->m_itemId
= itemId
;
3089 info
->m_mask
= 0xFFFF;
3090 self
->GetItem(*info
);
3093 SWIGINTERN wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
3095 self
->GetItemPosition(item
, pos
);
3098 SWIGINTERN wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
3100 self
->GetItemRect(item
, rect
, code
);
3103 SWIGINTERN
bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
3104 if (!PyCallable_Check(func
))
3106 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
3108 SWIGINTERN wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
3112 return (wxWindow
*)self
->m_mainWin
;
3116 #include <wx/treectrl.h>
3117 #include "wx/wxPython/pytree.h"
3119 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
3120 SWIGINTERN
bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
3121 SWIGINTERN
bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
3122 SWIGINTERN
void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
3124 static wxTreeItemId wxNullTreeItemId
;
3126 // C++ version of Python aware wxTreeCtrl
3127 class wxPyTreeCtrl
: public wxTreeCtrl
{
3128 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
)
3130 wxPyTreeCtrl() : wxTreeCtrl() {}
3131 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
3135 const wxValidator
& validator
,
3136 const wxString
& name
) :
3137 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3139 bool Create(wxWindow
*parent
, wxWindowID id
,
3143 const wxValidator
& validator
,
3144 const wxString
& name
) {
3145 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3149 int OnCompareItems(const wxTreeItemId
& item1
,
3150 const wxTreeItemId
& item2
) {
3153 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3154 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
3155 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
3156 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
3157 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
3161 wxPyEndBlockThreads(blocked
);
3163 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
3169 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
3172 SWIGINTERN wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3173 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3175 data
= new wxPyTreeItemData();
3176 data
->SetId(item
); // set the id
3177 self
->SetItemData(item
, data
);
3181 SWIGINTERN PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3182 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3184 data
= new wxPyTreeItemData();
3185 data
->SetId(item
); // set the id
3186 self
->SetItemData(item
, data
);
3188 return data
->GetData();
3190 SWIGINTERN
void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
3191 data
->SetId(item
); // set the id
3192 self
->SetItemData(item
, data
);
3194 SWIGINTERN
void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
3195 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3197 data
= new wxPyTreeItemData(obj
);
3198 data
->SetId(item
); // set the id
3199 self
->SetItemData(item
, data
);
3203 SWIGINTERN PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
3204 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3205 PyObject
* rval
= PyList_New(0);
3206 wxArrayTreeItemIds array
;
3208 num
= self
->GetSelections(array
);
3209 for (x
=0; x
< num
; x
++) {
3210 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
3211 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
3212 PyList_Append(rval
, item
);
3215 wxPyEndBlockThreads(blocked
);
3218 SWIGINTERN PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3220 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
3221 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3222 PyObject
* tup
= PyTuple_New(2);
3223 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3224 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3225 wxPyEndBlockThreads(blocked
);
3228 SWIGINTERN PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
3229 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
3230 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3231 PyObject
* tup
= PyTuple_New(2);
3232 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3233 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3234 wxPyEndBlockThreads(blocked
);
3237 SWIGINTERN PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
3239 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
3240 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3241 wxRect
* r
= new wxRect(rect
);
3242 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
3243 wxPyEndBlockThreads(blocked
);
3249 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
3251 SWIGINTERNINLINE PyObject
*
3252 SWIG_From_bool (bool value
)
3254 return PyBool_FromLong(value
? 1 : 0);
3257 // C++ version of Python aware wxControl
3258 class wxPyControl
: public wxControl
3260 DECLARE_DYNAMIC_CLASS(wxPyControl
)
3262 wxPyControl() : wxControl() {}
3263 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
3264 const wxPoint
& pos
= wxDefaultPosition
,
3265 const wxSize
& size
= wxDefaultSize
,
3267 const wxValidator
& validator
=wxDefaultValidator
,
3268 const wxString
& name
= wxPyControlNameStr
)
3269 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3271 void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); }
3273 bool DoEraseBackground(wxDC
* dc
) {
3275 return wxWindow::DoEraseBackground(dc
->GetHDC());
3277 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3283 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3284 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3285 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3286 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3288 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3289 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3290 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3292 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3293 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3295 DEC_PYCALLBACK__(InitDialog
);
3296 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3297 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3298 DEC_PYCALLBACK_BOOL_(Validate
);
3300 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3301 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3302 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3304 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3305 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3307 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3308 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3310 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3312 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3317 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
3319 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
3320 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
3321 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
3322 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
3324 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
3325 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
3326 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
3328 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
3329 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
3331 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
3332 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
3333 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
3334 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
3336 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
3337 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
3338 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
3340 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
3341 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
3343 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
3344 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
3346 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
3348 IMP_PYCALLBACK_VOID_(wxPyControl
, wxControl
, OnInternalIdle
);
3352 SWIGINTERN
void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
3354 #include <wx/generic/dragimgg.h>
3356 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
3357 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
3359 self
->GetRange(&rv
, NULL
);
3362 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
3364 self
->GetRange(NULL
, &rv
);
3367 static const wxString
wxPyHyperlinkCtrlNameStr(wxHyperlinkCtrlNameStr
);
3368 static const wxString
wxPyColourPickerCtrlNameStr(wxColourPickerCtrlNameStr
);
3369 static const wxString
wxPyFilePickerCtrlNameStr(wxFilePickerCtrlNameStr
);
3370 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3371 static const wxString
wxPyDirPickerCtrlNameStr(wxDirPickerCtrlNameStr
);
3372 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3373 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3374 static const wxString
wxPyFontPickerCtrlNameStr(wxFontPickerCtrlNameStr
);
3378 SWIGINTERN
int ButtonNameStr_set(PyObject
*) {
3379 SWIG_Error(SWIG_AttributeError
,"Variable ButtonNameStr is read-only.");
3384 SWIGINTERN PyObject
*ButtonNameStr_get(void) {
3385 PyObject
*pyobj
= 0;
3389 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3391 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3398 SWIGINTERN PyObject
*_wrap_new_Button(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3399 PyObject
*resultobj
= 0;
3400 wxWindow
*arg1
= (wxWindow
*) 0 ;
3401 int arg2
= (int) -1 ;
3402 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3403 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3404 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3405 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3406 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3407 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3408 long arg6
= (long) 0 ;
3409 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3410 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3411 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3412 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3413 wxButton
*result
= 0 ;
3418 bool temp3
= false ;
3425 bool temp8
= false ;
3426 PyObject
* obj0
= 0 ;
3427 PyObject
* obj1
= 0 ;
3428 PyObject
* obj2
= 0 ;
3429 PyObject
* obj3
= 0 ;
3430 PyObject
* obj4
= 0 ;
3431 PyObject
* obj5
= 0 ;
3432 PyObject
* obj6
= 0 ;
3433 PyObject
* obj7
= 0 ;
3434 char * kwnames
[] = {
3435 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3440 if (!SWIG_IsOK(res1
)) {
3441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Button" "', expected argument " "1"" of type '" "wxWindow *""'");
3443 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3445 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3446 if (!SWIG_IsOK(ecode2
)) {
3447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Button" "', expected argument " "2"" of type '" "int""'");
3449 arg2
= static_cast< int >(val2
);
3453 arg3
= wxString_in_helper(obj2
);
3454 if (arg3
== NULL
) SWIG_fail
;
3461 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3467 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3471 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3472 if (!SWIG_IsOK(ecode6
)) {
3473 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Button" "', expected argument " "6"" of type '" "long""'");
3475 arg6
= static_cast< long >(val6
);
3478 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3479 if (!SWIG_IsOK(res7
)) {
3480 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3483 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3485 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3489 arg8
= wxString_in_helper(obj7
);
3490 if (arg8
== NULL
) SWIG_fail
;
3495 if (!wxPyCheckForApp()) SWIG_fail
;
3496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3497 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3498 wxPyEndAllowThreads(__tstate
);
3499 if (PyErr_Occurred()) SWIG_fail
;
3501 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_NEW
| 0 );
3524 SWIGINTERN PyObject
*_wrap_new_PreButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3525 PyObject
*resultobj
= 0;
3526 wxButton
*result
= 0 ;
3528 if (!SWIG_Python_UnpackTuple(args
,"new_PreButton",0,0,0)) SWIG_fail
;
3530 if (!wxPyCheckForApp()) SWIG_fail
;
3531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3532 result
= (wxButton
*)new wxButton();
3533 wxPyEndAllowThreads(__tstate
);
3534 if (PyErr_Occurred()) SWIG_fail
;
3536 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_OWN
| 0 );
3543 SWIGINTERN PyObject
*_wrap_Button_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3544 PyObject
*resultobj
= 0;
3545 wxButton
*arg1
= (wxButton
*) 0 ;
3546 wxWindow
*arg2
= (wxWindow
*) 0 ;
3547 int arg3
= (int) -1 ;
3548 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3549 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3550 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3551 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3552 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3553 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3554 long arg7
= (long) 0 ;
3555 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3556 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3557 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3558 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3566 bool temp4
= false ;
3573 bool temp9
= false ;
3574 PyObject
* obj0
= 0 ;
3575 PyObject
* obj1
= 0 ;
3576 PyObject
* obj2
= 0 ;
3577 PyObject
* obj3
= 0 ;
3578 PyObject
* obj4
= 0 ;
3579 PyObject
* obj5
= 0 ;
3580 PyObject
* obj6
= 0 ;
3581 PyObject
* obj7
= 0 ;
3582 PyObject
* obj8
= 0 ;
3583 char * kwnames
[] = {
3584 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3589 if (!SWIG_IsOK(res1
)) {
3590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_Create" "', expected argument " "1"" of type '" "wxButton *""'");
3592 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3593 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3594 if (!SWIG_IsOK(res2
)) {
3595 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Button_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3597 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3599 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3600 if (!SWIG_IsOK(ecode3
)) {
3601 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Button_Create" "', expected argument " "3"" of type '" "int""'");
3603 arg3
= static_cast< int >(val3
);
3607 arg4
= wxString_in_helper(obj3
);
3608 if (arg4
== NULL
) SWIG_fail
;
3615 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3621 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3625 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3626 if (!SWIG_IsOK(ecode7
)) {
3627 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Button_Create" "', expected argument " "7"" of type '" "long""'");
3629 arg7
= static_cast< long >(val7
);
3632 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
3633 if (!SWIG_IsOK(res8
)) {
3634 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3637 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3639 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
3643 arg9
= wxString_in_helper(obj8
);
3644 if (arg9
== NULL
) SWIG_fail
;
3649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3650 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3651 wxPyEndAllowThreads(__tstate
);
3652 if (PyErr_Occurred()) SWIG_fail
;
3655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3679 SWIGINTERN PyObject
*_wrap_Button_SetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3680 PyObject
*resultobj
= 0;
3681 wxButton
*arg1
= (wxButton
*) 0 ;
3684 PyObject
*swig_obj
[1] ;
3686 if (!args
) SWIG_fail
;
3688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3689 if (!SWIG_IsOK(res1
)) {
3690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_SetDefault" "', expected argument " "1"" of type '" "wxButton *""'");
3692 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3695 (arg1
)->SetDefault();
3696 wxPyEndAllowThreads(__tstate
);
3697 if (PyErr_Occurred()) SWIG_fail
;
3699 resultobj
= SWIG_Py_Void();
3706 SWIGINTERN PyObject
*_wrap_Button_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3707 PyObject
*resultobj
= 0;
3710 if (!SWIG_Python_UnpackTuple(args
,"Button_GetDefaultSize",0,0,0)) SWIG_fail
;
3712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3713 result
= wxButton::GetDefaultSize();
3714 wxPyEndAllowThreads(__tstate
);
3715 if (PyErr_Occurred()) SWIG_fail
;
3717 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
3724 SWIGINTERN PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3725 PyObject
*resultobj
= 0;
3726 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3727 SwigValueWrapper
<wxVisualAttributes
> result
;
3730 PyObject
* obj0
= 0 ;
3731 char * kwnames
[] = {
3732 (char *) "variant", NULL
3735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
3737 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3738 if (!SWIG_IsOK(ecode1
)) {
3739 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Button_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3741 arg1
= static_cast< wxWindowVariant
>(val1
);
3744 if (!wxPyCheckForApp()) SWIG_fail
;
3745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3746 result
= wxButton::GetClassDefaultAttributes(arg1
);
3747 wxPyEndAllowThreads(__tstate
);
3748 if (PyErr_Occurred()) SWIG_fail
;
3750 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
3757 SWIGINTERN PyObject
*Button_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3759 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3760 SWIG_TypeNewClientData(SWIGTYPE_p_wxButton
, SWIG_NewClientData(obj
));
3761 return SWIG_Py_Void();
3764 SWIGINTERN PyObject
*Button_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3765 return SWIG_Python_InitShadowInstance(args
);
3768 SWIGINTERN PyObject
*_wrap_new_BitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3769 PyObject
*resultobj
= 0;
3770 wxWindow
*arg1
= (wxWindow
*) 0 ;
3771 int arg2
= (int) -1 ;
3772 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
3773 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
3774 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3775 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3776 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3777 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3778 long arg6
= (long) wxBU_AUTODRAW
;
3779 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3780 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3781 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3782 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3783 wxBitmapButton
*result
= 0 ;
3796 bool temp8
= false ;
3797 PyObject
* obj0
= 0 ;
3798 PyObject
* obj1
= 0 ;
3799 PyObject
* obj2
= 0 ;
3800 PyObject
* obj3
= 0 ;
3801 PyObject
* obj4
= 0 ;
3802 PyObject
* obj5
= 0 ;
3803 PyObject
* obj6
= 0 ;
3804 PyObject
* obj7
= 0 ;
3805 char * kwnames
[] = {
3806 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3811 if (!SWIG_IsOK(res1
)) {
3812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapButton" "', expected argument " "1"" of type '" "wxWindow *""'");
3814 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3816 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3817 if (!SWIG_IsOK(ecode2
)) {
3818 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapButton" "', expected argument " "2"" of type '" "int""'");
3820 arg2
= static_cast< int >(val2
);
3823 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3824 if (!SWIG_IsOK(res3
)) {
3825 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3828 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3830 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
3835 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3841 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3845 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3846 if (!SWIG_IsOK(ecode6
)) {
3847 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_BitmapButton" "', expected argument " "6"" of type '" "long""'");
3849 arg6
= static_cast< long >(val6
);
3852 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3853 if (!SWIG_IsOK(res7
)) {
3854 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3857 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3859 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3863 arg8
= wxString_in_helper(obj7
);
3864 if (arg8
== NULL
) SWIG_fail
;
3869 if (!wxPyCheckForApp()) SWIG_fail
;
3870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3871 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3872 wxPyEndAllowThreads(__tstate
);
3873 if (PyErr_Occurred()) SWIG_fail
;
3875 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_NEW
| 0 );
3890 SWIGINTERN PyObject
*_wrap_new_PreBitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3891 PyObject
*resultobj
= 0;
3892 wxBitmapButton
*result
= 0 ;
3894 if (!SWIG_Python_UnpackTuple(args
,"new_PreBitmapButton",0,0,0)) SWIG_fail
;
3896 if (!wxPyCheckForApp()) SWIG_fail
;
3897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3898 result
= (wxBitmapButton
*)new wxBitmapButton();
3899 wxPyEndAllowThreads(__tstate
);
3900 if (PyErr_Occurred()) SWIG_fail
;
3902 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_OWN
| 0 );
3909 SWIGINTERN PyObject
*_wrap_BitmapButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3910 PyObject
*resultobj
= 0;
3911 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3912 wxWindow
*arg2
= (wxWindow
*) 0 ;
3913 int arg3
= (int) -1 ;
3914 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
3915 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
3916 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3917 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3918 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3919 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3920 long arg7
= (long) wxBU_AUTODRAW
;
3921 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3922 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3923 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3924 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3940 bool temp9
= false ;
3941 PyObject
* obj0
= 0 ;
3942 PyObject
* obj1
= 0 ;
3943 PyObject
* obj2
= 0 ;
3944 PyObject
* obj3
= 0 ;
3945 PyObject
* obj4
= 0 ;
3946 PyObject
* obj5
= 0 ;
3947 PyObject
* obj6
= 0 ;
3948 PyObject
* obj7
= 0 ;
3949 PyObject
* obj8
= 0 ;
3950 char * kwnames
[] = {
3951 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
3956 if (!SWIG_IsOK(res1
)) {
3957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_Create" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
3959 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
3960 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3961 if (!SWIG_IsOK(res2
)) {
3962 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3964 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3966 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3967 if (!SWIG_IsOK(ecode3
)) {
3968 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_Create" "', expected argument " "3"" of type '" "int""'");
3970 arg3
= static_cast< int >(val3
);
3973 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3974 if (!SWIG_IsOK(res4
)) {
3975 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3978 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3980 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
3985 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3991 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3995 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3996 if (!SWIG_IsOK(ecode7
)) {
3997 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "BitmapButton_Create" "', expected argument " "7"" of type '" "long""'");
3999 arg7
= static_cast< long >(val7
);
4002 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4003 if (!SWIG_IsOK(res8
)) {
4004 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4007 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4009 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4013 arg9
= wxString_in_helper(obj8
);
4014 if (arg9
== NULL
) SWIG_fail
;
4019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4020 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4021 wxPyEndAllowThreads(__tstate
);
4022 if (PyErr_Occurred()) SWIG_fail
;
4025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4041 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4042 PyObject
*resultobj
= 0;
4043 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4047 PyObject
*swig_obj
[1] ;
4049 if (!args
) SWIG_fail
;
4051 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4052 if (!SWIG_IsOK(res1
)) {
4053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4055 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4058 result
= (arg1
)->GetBitmapLabel();
4059 wxPyEndAllowThreads(__tstate
);
4060 if (PyErr_Occurred()) SWIG_fail
;
4062 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4069 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4070 PyObject
*resultobj
= 0;
4071 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4075 PyObject
*swig_obj
[1] ;
4077 if (!args
) SWIG_fail
;
4079 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4080 if (!SWIG_IsOK(res1
)) {
4081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4083 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4086 result
= (arg1
)->GetBitmapDisabled();
4087 wxPyEndAllowThreads(__tstate
);
4088 if (PyErr_Occurred()) SWIG_fail
;
4090 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4097 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4098 PyObject
*resultobj
= 0;
4099 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4103 PyObject
*swig_obj
[1] ;
4105 if (!args
) SWIG_fail
;
4107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4108 if (!SWIG_IsOK(res1
)) {
4109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4111 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4114 result
= (arg1
)->GetBitmapFocus();
4115 wxPyEndAllowThreads(__tstate
);
4116 if (PyErr_Occurred()) SWIG_fail
;
4118 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4125 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4126 PyObject
*resultobj
= 0;
4127 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4131 PyObject
*swig_obj
[1] ;
4133 if (!args
) SWIG_fail
;
4135 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4136 if (!SWIG_IsOK(res1
)) {
4137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4139 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4142 result
= (arg1
)->GetBitmapSelected();
4143 wxPyEndAllowThreads(__tstate
);
4144 if (PyErr_Occurred()) SWIG_fail
;
4146 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4153 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4154 PyObject
*resultobj
= 0;
4155 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4159 PyObject
*swig_obj
[1] ;
4161 if (!args
) SWIG_fail
;
4163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4164 if (!SWIG_IsOK(res1
)) {
4165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4167 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4170 result
= (arg1
)->GetBitmapHover();
4171 wxPyEndAllowThreads(__tstate
);
4172 if (PyErr_Occurred()) SWIG_fail
;
4174 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4181 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4182 PyObject
*resultobj
= 0;
4183 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4184 wxBitmap
*arg2
= 0 ;
4189 PyObject
* obj0
= 0 ;
4190 PyObject
* obj1
= 0 ;
4191 char * kwnames
[] = {
4192 (char *) "self",(char *) "bitmap", NULL
4195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4197 if (!SWIG_IsOK(res1
)) {
4198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4200 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4201 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4202 if (!SWIG_IsOK(res2
)) {
4203 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4206 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4208 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4211 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
4212 wxPyEndAllowThreads(__tstate
);
4213 if (PyErr_Occurred()) SWIG_fail
;
4215 resultobj
= SWIG_Py_Void();
4222 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4223 PyObject
*resultobj
= 0;
4224 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4225 wxBitmap
*arg2
= 0 ;
4230 PyObject
* obj0
= 0 ;
4231 PyObject
* obj1
= 0 ;
4232 char * kwnames
[] = {
4233 (char *) "self",(char *) "bitmap", NULL
4236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4238 if (!SWIG_IsOK(res1
)) {
4239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4241 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4242 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4243 if (!SWIG_IsOK(res2
)) {
4244 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4247 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4249 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4252 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
4253 wxPyEndAllowThreads(__tstate
);
4254 if (PyErr_Occurred()) SWIG_fail
;
4256 resultobj
= SWIG_Py_Void();
4263 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4264 PyObject
*resultobj
= 0;
4265 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4266 wxBitmap
*arg2
= 0 ;
4271 PyObject
* obj0
= 0 ;
4272 PyObject
* obj1
= 0 ;
4273 char * kwnames
[] = {
4274 (char *) "self",(char *) "bitmap", NULL
4277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4279 if (!SWIG_IsOK(res1
)) {
4280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4282 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4283 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4284 if (!SWIG_IsOK(res2
)) {
4285 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4288 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4290 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4293 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
4294 wxPyEndAllowThreads(__tstate
);
4295 if (PyErr_Occurred()) SWIG_fail
;
4297 resultobj
= SWIG_Py_Void();
4304 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4305 PyObject
*resultobj
= 0;
4306 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4307 wxBitmap
*arg2
= 0 ;
4312 PyObject
* obj0
= 0 ;
4313 PyObject
* obj1
= 0 ;
4314 char * kwnames
[] = {
4315 (char *) "self",(char *) "bitmap", NULL
4318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4320 if (!SWIG_IsOK(res1
)) {
4321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4323 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4324 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4325 if (!SWIG_IsOK(res2
)) {
4326 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4329 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4331 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4334 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
4335 wxPyEndAllowThreads(__tstate
);
4336 if (PyErr_Occurred()) SWIG_fail
;
4338 resultobj
= SWIG_Py_Void();
4345 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4346 PyObject
*resultobj
= 0;
4347 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4348 wxBitmap
*arg2
= 0 ;
4353 PyObject
* obj0
= 0 ;
4354 PyObject
* obj1
= 0 ;
4355 char * kwnames
[] = {
4356 (char *) "self",(char *) "hover", NULL
4359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapHover",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4361 if (!SWIG_IsOK(res1
)) {
4362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4364 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4365 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4366 if (!SWIG_IsOK(res2
)) {
4367 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4370 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4372 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4375 (arg1
)->SetBitmapHover((wxBitmap
const &)*arg2
);
4376 wxPyEndAllowThreads(__tstate
);
4377 if (PyErr_Occurred()) SWIG_fail
;
4379 resultobj
= SWIG_Py_Void();
4386 SWIGINTERN PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4387 PyObject
*resultobj
= 0;
4388 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4397 PyObject
* obj0
= 0 ;
4398 PyObject
* obj1
= 0 ;
4399 PyObject
* obj2
= 0 ;
4400 char * kwnames
[] = {
4401 (char *) "self",(char *) "x",(char *) "y", NULL
4404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4406 if (!SWIG_IsOK(res1
)) {
4407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetMargins" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4409 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4410 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4411 if (!SWIG_IsOK(ecode2
)) {
4412 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BitmapButton_SetMargins" "', expected argument " "2"" of type '" "int""'");
4414 arg2
= static_cast< int >(val2
);
4415 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4416 if (!SWIG_IsOK(ecode3
)) {
4417 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_SetMargins" "', expected argument " "3"" of type '" "int""'");
4419 arg3
= static_cast< int >(val3
);
4421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4422 (arg1
)->SetMargins(arg2
,arg3
);
4423 wxPyEndAllowThreads(__tstate
);
4424 if (PyErr_Occurred()) SWIG_fail
;
4426 resultobj
= SWIG_Py_Void();
4433 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4434 PyObject
*resultobj
= 0;
4435 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4439 PyObject
*swig_obj
[1] ;
4441 if (!args
) SWIG_fail
;
4443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4444 if (!SWIG_IsOK(res1
)) {
4445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginX" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4447 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4450 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
4451 wxPyEndAllowThreads(__tstate
);
4452 if (PyErr_Occurred()) SWIG_fail
;
4454 resultobj
= SWIG_From_int(static_cast< int >(result
));
4461 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4462 PyObject
*resultobj
= 0;
4463 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4467 PyObject
*swig_obj
[1] ;
4469 if (!args
) SWIG_fail
;
4471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4472 if (!SWIG_IsOK(res1
)) {
4473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginY" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4475 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4478 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
4479 wxPyEndAllowThreads(__tstate
);
4480 if (PyErr_Occurred()) SWIG_fail
;
4482 resultobj
= SWIG_From_int(static_cast< int >(result
));
4489 SWIGINTERN PyObject
*BitmapButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4491 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4492 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapButton
, SWIG_NewClientData(obj
));
4493 return SWIG_Py_Void();
4496 SWIGINTERN PyObject
*BitmapButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4497 return SWIG_Python_InitShadowInstance(args
);
4500 SWIGINTERN
int CheckBoxNameStr_set(PyObject
*) {
4501 SWIG_Error(SWIG_AttributeError
,"Variable CheckBoxNameStr is read-only.");
4506 SWIGINTERN PyObject
*CheckBoxNameStr_get(void) {
4507 PyObject
*pyobj
= 0;
4511 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4513 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4520 SWIGINTERN PyObject
*_wrap_new_CheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4521 PyObject
*resultobj
= 0;
4522 wxWindow
*arg1
= (wxWindow
*) 0 ;
4523 int arg2
= (int) -1 ;
4524 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4525 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4526 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4527 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4528 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4529 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4530 long arg6
= (long) 0 ;
4531 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
4532 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
4533 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
4534 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4535 wxCheckBox
*result
= 0 ;
4540 bool temp3
= false ;
4547 bool temp8
= false ;
4548 PyObject
* obj0
= 0 ;
4549 PyObject
* obj1
= 0 ;
4550 PyObject
* obj2
= 0 ;
4551 PyObject
* obj3
= 0 ;
4552 PyObject
* obj4
= 0 ;
4553 PyObject
* obj5
= 0 ;
4554 PyObject
* obj6
= 0 ;
4555 PyObject
* obj7
= 0 ;
4556 char * kwnames
[] = {
4557 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4562 if (!SWIG_IsOK(res1
)) {
4563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckBox" "', expected argument " "1"" of type '" "wxWindow *""'");
4565 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4567 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4568 if (!SWIG_IsOK(ecode2
)) {
4569 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckBox" "', expected argument " "2"" of type '" "int""'");
4571 arg2
= static_cast< int >(val2
);
4575 arg3
= wxString_in_helper(obj2
);
4576 if (arg3
== NULL
) SWIG_fail
;
4583 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4589 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4593 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4594 if (!SWIG_IsOK(ecode6
)) {
4595 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckBox" "', expected argument " "6"" of type '" "long""'");
4597 arg6
= static_cast< long >(val6
);
4600 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
4601 if (!SWIG_IsOK(res7
)) {
4602 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4605 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4607 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
4611 arg8
= wxString_in_helper(obj7
);
4612 if (arg8
== NULL
) SWIG_fail
;
4617 if (!wxPyCheckForApp()) SWIG_fail
;
4618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4619 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4620 wxPyEndAllowThreads(__tstate
);
4621 if (PyErr_Occurred()) SWIG_fail
;
4623 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_NEW
| 0 );
4646 SWIGINTERN PyObject
*_wrap_new_PreCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4647 PyObject
*resultobj
= 0;
4648 wxCheckBox
*result
= 0 ;
4650 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckBox",0,0,0)) SWIG_fail
;
4652 if (!wxPyCheckForApp()) SWIG_fail
;
4653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4654 result
= (wxCheckBox
*)new wxCheckBox();
4655 wxPyEndAllowThreads(__tstate
);
4656 if (PyErr_Occurred()) SWIG_fail
;
4658 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_OWN
| 0 );
4665 SWIGINTERN PyObject
*_wrap_CheckBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4666 PyObject
*resultobj
= 0;
4667 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4668 wxWindow
*arg2
= (wxWindow
*) 0 ;
4669 int arg3
= (int) -1 ;
4670 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4671 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4672 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4673 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4674 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4675 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4676 long arg7
= (long) 0 ;
4677 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4678 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4679 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
4680 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4688 bool temp4
= false ;
4695 bool temp9
= false ;
4696 PyObject
* obj0
= 0 ;
4697 PyObject
* obj1
= 0 ;
4698 PyObject
* obj2
= 0 ;
4699 PyObject
* obj3
= 0 ;
4700 PyObject
* obj4
= 0 ;
4701 PyObject
* obj5
= 0 ;
4702 PyObject
* obj6
= 0 ;
4703 PyObject
* obj7
= 0 ;
4704 PyObject
* obj8
= 0 ;
4705 char * kwnames
[] = {
4706 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
4710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4711 if (!SWIG_IsOK(res1
)) {
4712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Create" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4714 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4715 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4716 if (!SWIG_IsOK(res2
)) {
4717 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4719 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4721 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4722 if (!SWIG_IsOK(ecode3
)) {
4723 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckBox_Create" "', expected argument " "3"" of type '" "int""'");
4725 arg3
= static_cast< int >(val3
);
4729 arg4
= wxString_in_helper(obj3
);
4730 if (arg4
== NULL
) SWIG_fail
;
4737 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4743 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4747 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4748 if (!SWIG_IsOK(ecode7
)) {
4749 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckBox_Create" "', expected argument " "7"" of type '" "long""'");
4751 arg7
= static_cast< long >(val7
);
4754 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4755 if (!SWIG_IsOK(res8
)) {
4756 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4759 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4761 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4765 arg9
= wxString_in_helper(obj8
);
4766 if (arg9
== NULL
) SWIG_fail
;
4771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4772 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4773 wxPyEndAllowThreads(__tstate
);
4774 if (PyErr_Occurred()) SWIG_fail
;
4777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4801 SWIGINTERN PyObject
*_wrap_CheckBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4802 PyObject
*resultobj
= 0;
4803 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4807 PyObject
*swig_obj
[1] ;
4809 if (!args
) SWIG_fail
;
4811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4812 if (!SWIG_IsOK(res1
)) {
4813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_GetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4815 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4818 result
= (bool)(arg1
)->GetValue();
4819 wxPyEndAllowThreads(__tstate
);
4820 if (PyErr_Occurred()) SWIG_fail
;
4823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4831 SWIGINTERN PyObject
*_wrap_CheckBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4832 PyObject
*resultobj
= 0;
4833 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4837 PyObject
*swig_obj
[1] ;
4839 if (!args
) SWIG_fail
;
4841 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4842 if (!SWIG_IsOK(res1
)) {
4843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4845 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4848 result
= (bool)(arg1
)->IsChecked();
4849 wxPyEndAllowThreads(__tstate
);
4850 if (PyErr_Occurred()) SWIG_fail
;
4853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4861 SWIGINTERN PyObject
*_wrap_CheckBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4862 PyObject
*resultobj
= 0;
4863 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4869 PyObject
* obj0
= 0 ;
4870 PyObject
* obj1
= 0 ;
4871 char * kwnames
[] = {
4872 (char *) "self",(char *) "state", NULL
4875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4877 if (!SWIG_IsOK(res1
)) {
4878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_SetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4880 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4881 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4882 if (!SWIG_IsOK(ecode2
)) {
4883 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_SetValue" "', expected argument " "2"" of type '" "bool""'");
4885 arg2
= static_cast< bool >(val2
);
4887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4888 (arg1
)->SetValue(arg2
);
4889 wxPyEndAllowThreads(__tstate
);
4890 if (PyErr_Occurred()) SWIG_fail
;
4892 resultobj
= SWIG_Py_Void();
4899 SWIGINTERN PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4900 PyObject
*resultobj
= 0;
4901 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4902 wxCheckBoxState result
;
4905 PyObject
*swig_obj
[1] ;
4907 if (!args
) SWIG_fail
;
4909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4910 if (!SWIG_IsOK(res1
)) {
4911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Get3StateValue" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4913 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4916 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
4917 wxPyEndAllowThreads(__tstate
);
4918 if (PyErr_Occurred()) SWIG_fail
;
4920 resultobj
= SWIG_From_int(static_cast< int >(result
));
4927 SWIGINTERN PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4928 PyObject
*resultobj
= 0;
4929 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4930 wxCheckBoxState arg2
;
4935 PyObject
* obj0
= 0 ;
4936 PyObject
* obj1
= 0 ;
4937 char * kwnames
[] = {
4938 (char *) "self",(char *) "state", NULL
4941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4943 if (!SWIG_IsOK(res1
)) {
4944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4946 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4947 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4948 if (!SWIG_IsOK(ecode2
)) {
4949 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "2"" of type '" "wxCheckBoxState""'");
4951 arg2
= static_cast< wxCheckBoxState
>(val2
);
4953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4954 (arg1
)->Set3StateValue(arg2
);
4955 wxPyEndAllowThreads(__tstate
);
4956 if (PyErr_Occurred()) SWIG_fail
;
4958 resultobj
= SWIG_Py_Void();
4965 SWIGINTERN PyObject
*_wrap_CheckBox_Is3State(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4966 PyObject
*resultobj
= 0;
4967 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4971 PyObject
*swig_obj
[1] ;
4973 if (!args
) SWIG_fail
;
4975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4976 if (!SWIG_IsOK(res1
)) {
4977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3State" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4979 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4982 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
4983 wxPyEndAllowThreads(__tstate
);
4984 if (PyErr_Occurred()) SWIG_fail
;
4987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4995 SWIGINTERN PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4996 PyObject
*resultobj
= 0;
4997 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
5001 PyObject
*swig_obj
[1] ;
5003 if (!args
) SWIG_fail
;
5005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
5006 if (!SWIG_IsOK(res1
)) {
5007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3rdStateAllowedForUser" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
5009 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
5011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5012 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
5013 wxPyEndAllowThreads(__tstate
);
5014 if (PyErr_Occurred()) SWIG_fail
;
5017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5025 SWIGINTERN PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5026 PyObject
*resultobj
= 0;
5027 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5028 SwigValueWrapper
<wxVisualAttributes
> result
;
5031 PyObject
* obj0
= 0 ;
5032 char * kwnames
[] = {
5033 (char *) "variant", NULL
5036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5038 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5039 if (!SWIG_IsOK(ecode1
)) {
5040 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "CheckBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5042 arg1
= static_cast< wxWindowVariant
>(val1
);
5045 if (!wxPyCheckForApp()) SWIG_fail
;
5046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5047 result
= wxCheckBox::GetClassDefaultAttributes(arg1
);
5048 wxPyEndAllowThreads(__tstate
);
5049 if (PyErr_Occurred()) SWIG_fail
;
5051 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5058 SWIGINTERN PyObject
*CheckBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5060 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5061 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckBox
, SWIG_NewClientData(obj
));
5062 return SWIG_Py_Void();
5065 SWIGINTERN PyObject
*CheckBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5066 return SWIG_Python_InitShadowInstance(args
);
5069 SWIGINTERN
int ChoiceNameStr_set(PyObject
*) {
5070 SWIG_Error(SWIG_AttributeError
,"Variable ChoiceNameStr is read-only.");
5075 SWIGINTERN PyObject
*ChoiceNameStr_get(void) {
5076 PyObject
*pyobj
= 0;
5080 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5082 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5089 SWIGINTERN PyObject
*_wrap_new_Choice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5090 PyObject
*resultobj
= 0;
5091 wxWindow
*arg1
= (wxWindow
*) 0 ;
5092 int arg2
= (int) -1 ;
5093 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5094 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5095 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5096 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5097 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5098 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5099 long arg6
= (long) 0 ;
5100 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5101 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5102 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
5103 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5104 wxChoice
*result
= 0 ;
5111 bool temp5
= false ;
5116 bool temp8
= false ;
5117 PyObject
* obj0
= 0 ;
5118 PyObject
* obj1
= 0 ;
5119 PyObject
* obj2
= 0 ;
5120 PyObject
* obj3
= 0 ;
5121 PyObject
* obj4
= 0 ;
5122 PyObject
* obj5
= 0 ;
5123 PyObject
* obj6
= 0 ;
5124 PyObject
* obj7
= 0 ;
5125 char * kwnames
[] = {
5126 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
5130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5131 if (!SWIG_IsOK(res1
)) {
5132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choice" "', expected argument " "1"" of type '" "wxWindow *""'");
5134 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5136 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5137 if (!SWIG_IsOK(ecode2
)) {
5138 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choice" "', expected argument " "2"" of type '" "int""'");
5140 arg2
= static_cast< int >(val2
);
5145 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5151 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5156 if (! PySequence_Check(obj4
)) {
5157 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5160 arg5
= new wxArrayString
;
5162 int i
, len
=PySequence_Length(obj4
);
5163 for (i
=0; i
<len
; i
++) {
5164 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5165 wxString
* s
= wxString_in_helper(item
);
5166 if (PyErr_Occurred()) SWIG_fail
;
5174 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
5175 if (!SWIG_IsOK(ecode6
)) {
5176 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Choice" "', expected argument " "6"" of type '" "long""'");
5178 arg6
= static_cast< long >(val6
);
5181 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
5182 if (!SWIG_IsOK(res7
)) {
5183 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5186 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5188 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
5192 arg8
= wxString_in_helper(obj7
);
5193 if (arg8
== NULL
) SWIG_fail
;
5198 if (!wxPyCheckForApp()) SWIG_fail
;
5199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5200 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5201 wxPyEndAllowThreads(__tstate
);
5202 if (PyErr_Occurred()) SWIG_fail
;
5204 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_NEW
| 0 );
5206 if (temp5
) delete arg5
;
5215 if (temp5
) delete arg5
;
5225 SWIGINTERN PyObject
*_wrap_new_PreChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5226 PyObject
*resultobj
= 0;
5227 wxChoice
*result
= 0 ;
5229 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoice",0,0,0)) SWIG_fail
;
5231 if (!wxPyCheckForApp()) SWIG_fail
;
5232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5233 result
= (wxChoice
*)new wxChoice();
5234 wxPyEndAllowThreads(__tstate
);
5235 if (PyErr_Occurred()) SWIG_fail
;
5237 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_OWN
| 0 );
5244 SWIGINTERN PyObject
*_wrap_Choice_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5245 PyObject
*resultobj
= 0;
5246 wxChoice
*arg1
= (wxChoice
*) 0 ;
5247 wxWindow
*arg2
= (wxWindow
*) 0 ;
5248 int arg3
= (int) -1 ;
5249 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5250 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5251 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5252 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5253 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5254 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5255 long arg7
= (long) 0 ;
5256 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5257 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5258 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
5259 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5269 bool temp6
= false ;
5274 bool temp9
= false ;
5275 PyObject
* obj0
= 0 ;
5276 PyObject
* obj1
= 0 ;
5277 PyObject
* obj2
= 0 ;
5278 PyObject
* obj3
= 0 ;
5279 PyObject
* obj4
= 0 ;
5280 PyObject
* obj5
= 0 ;
5281 PyObject
* obj6
= 0 ;
5282 PyObject
* obj7
= 0 ;
5283 PyObject
* obj8
= 0 ;
5284 char * kwnames
[] = {
5285 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5290 if (!SWIG_IsOK(res1
)) {
5291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_Create" "', expected argument " "1"" of type '" "wxChoice *""'");
5293 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5294 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5295 if (!SWIG_IsOK(res2
)) {
5296 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choice_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5298 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5300 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5301 if (!SWIG_IsOK(ecode3
)) {
5302 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choice_Create" "', expected argument " "3"" of type '" "int""'");
5304 arg3
= static_cast< int >(val3
);
5309 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5315 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5320 if (! PySequence_Check(obj5
)) {
5321 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5324 arg6
= new wxArrayString
;
5326 int i
, len
=PySequence_Length(obj5
);
5327 for (i
=0; i
<len
; i
++) {
5328 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5329 wxString
* s
= wxString_in_helper(item
);
5330 if (PyErr_Occurred()) SWIG_fail
;
5338 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5339 if (!SWIG_IsOK(ecode7
)) {
5340 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Choice_Create" "', expected argument " "7"" of type '" "long""'");
5342 arg7
= static_cast< long >(val7
);
5345 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5346 if (!SWIG_IsOK(res8
)) {
5347 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5350 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5352 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5356 arg9
= wxString_in_helper(obj8
);
5357 if (arg9
== NULL
) SWIG_fail
;
5362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5363 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5364 wxPyEndAllowThreads(__tstate
);
5365 if (PyErr_Occurred()) SWIG_fail
;
5368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5371 if (temp6
) delete arg6
;
5380 if (temp6
) delete arg6
;
5390 SWIGINTERN PyObject
*_wrap_Choice_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5391 PyObject
*resultobj
= 0;
5392 wxChoice
*arg1
= (wxChoice
*) 0 ;
5396 PyObject
*swig_obj
[1] ;
5398 if (!args
) SWIG_fail
;
5400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5401 if (!SWIG_IsOK(res1
)) {
5402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_GetCurrentSelection" "', expected argument " "1"" of type '" "wxChoice const *""'");
5404 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5407 result
= (int)((wxChoice
const *)arg1
)->GetCurrentSelection();
5408 wxPyEndAllowThreads(__tstate
);
5409 if (PyErr_Occurred()) SWIG_fail
;
5411 resultobj
= SWIG_From_int(static_cast< int >(result
));
5418 SWIGINTERN PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5419 PyObject
*resultobj
= 0;
5420 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5421 SwigValueWrapper
<wxVisualAttributes
> result
;
5424 PyObject
* obj0
= 0 ;
5425 char * kwnames
[] = {
5426 (char *) "variant", NULL
5429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5431 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5432 if (!SWIG_IsOK(ecode1
)) {
5433 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Choice_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5435 arg1
= static_cast< wxWindowVariant
>(val1
);
5438 if (!wxPyCheckForApp()) SWIG_fail
;
5439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5440 result
= wxChoice::GetClassDefaultAttributes(arg1
);
5441 wxPyEndAllowThreads(__tstate
);
5442 if (PyErr_Occurred()) SWIG_fail
;
5444 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5451 SWIGINTERN PyObject
*Choice_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5453 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5454 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoice
, SWIG_NewClientData(obj
));
5455 return SWIG_Py_Void();
5458 SWIGINTERN PyObject
*Choice_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5459 return SWIG_Python_InitShadowInstance(args
);
5462 SWIGINTERN
int ComboBoxNameStr_set(PyObject
*) {
5463 SWIG_Error(SWIG_AttributeError
,"Variable ComboBoxNameStr is read-only.");
5468 SWIGINTERN PyObject
*ComboBoxNameStr_get(void) {
5469 PyObject
*pyobj
= 0;
5473 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5475 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5482 SWIGINTERN PyObject
*_wrap_new_ComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5483 PyObject
*resultobj
= 0;
5484 wxWindow
*arg1
= (wxWindow
*) 0 ;
5485 int arg2
= (int) -1 ;
5486 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5487 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5488 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5489 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5490 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5491 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5492 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5493 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5494 long arg7
= (long) 0 ;
5495 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5496 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5497 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
5498 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5499 wxComboBox
*result
= 0 ;
5504 bool temp3
= false ;
5507 bool temp6
= false ;
5512 bool temp9
= false ;
5513 PyObject
* obj0
= 0 ;
5514 PyObject
* obj1
= 0 ;
5515 PyObject
* obj2
= 0 ;
5516 PyObject
* obj3
= 0 ;
5517 PyObject
* obj4
= 0 ;
5518 PyObject
* obj5
= 0 ;
5519 PyObject
* obj6
= 0 ;
5520 PyObject
* obj7
= 0 ;
5521 PyObject
* obj8
= 0 ;
5522 char * kwnames
[] = {
5523 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5528 if (!SWIG_IsOK(res1
)) {
5529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ComboBox" "', expected argument " "1"" of type '" "wxWindow *""'");
5531 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5533 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5534 if (!SWIG_IsOK(ecode2
)) {
5535 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ComboBox" "', expected argument " "2"" of type '" "int""'");
5537 arg2
= static_cast< int >(val2
);
5541 arg3
= wxString_in_helper(obj2
);
5542 if (arg3
== NULL
) SWIG_fail
;
5549 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5555 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5560 if (! PySequence_Check(obj5
)) {
5561 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5564 arg6
= new wxArrayString
;
5566 int i
, len
=PySequence_Length(obj5
);
5567 for (i
=0; i
<len
; i
++) {
5568 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5569 wxString
* s
= wxString_in_helper(item
);
5570 if (PyErr_Occurred()) SWIG_fail
;
5578 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5579 if (!SWIG_IsOK(ecode7
)) {
5580 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_ComboBox" "', expected argument " "7"" of type '" "long""'");
5582 arg7
= static_cast< long >(val7
);
5585 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5586 if (!SWIG_IsOK(res8
)) {
5587 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5590 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5592 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5596 arg9
= wxString_in_helper(obj8
);
5597 if (arg9
== NULL
) SWIG_fail
;
5602 if (!wxPyCheckForApp()) SWIG_fail
;
5603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5604 result
= (wxComboBox
*)new wxComboBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5605 wxPyEndAllowThreads(__tstate
);
5606 if (PyErr_Occurred()) SWIG_fail
;
5608 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_NEW
| 0 );
5614 if (temp6
) delete arg6
;
5627 if (temp6
) delete arg6
;
5637 SWIGINTERN PyObject
*_wrap_new_PreComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5638 PyObject
*resultobj
= 0;
5639 wxComboBox
*result
= 0 ;
5641 if (!SWIG_Python_UnpackTuple(args
,"new_PreComboBox",0,0,0)) SWIG_fail
;
5643 if (!wxPyCheckForApp()) SWIG_fail
;
5644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5645 result
= (wxComboBox
*)new wxComboBox();
5646 wxPyEndAllowThreads(__tstate
);
5647 if (PyErr_Occurred()) SWIG_fail
;
5649 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_OWN
| 0 );
5656 SWIGINTERN PyObject
*_wrap_ComboBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5657 PyObject
*resultobj
= 0;
5658 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5659 wxWindow
*arg2
= (wxWindow
*) 0 ;
5660 int arg3
= (int) -1 ;
5661 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5662 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5663 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5664 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5665 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5666 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5667 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
5668 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
5669 long arg8
= (long) 0 ;
5670 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
5671 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
5672 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
5673 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
5681 bool temp4
= false ;
5684 bool temp7
= false ;
5689 bool temp10
= false ;
5690 PyObject
* obj0
= 0 ;
5691 PyObject
* obj1
= 0 ;
5692 PyObject
* obj2
= 0 ;
5693 PyObject
* obj3
= 0 ;
5694 PyObject
* obj4
= 0 ;
5695 PyObject
* obj5
= 0 ;
5696 PyObject
* obj6
= 0 ;
5697 PyObject
* obj7
= 0 ;
5698 PyObject
* obj8
= 0 ;
5699 PyObject
* obj9
= 0 ;
5700 char * kwnames
[] = {
5701 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
5705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5706 if (!SWIG_IsOK(res1
)) {
5707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Create" "', expected argument " "1"" of type '" "wxComboBox *""'");
5709 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5710 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5711 if (!SWIG_IsOK(res2
)) {
5712 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ComboBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5714 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5716 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5717 if (!SWIG_IsOK(ecode3
)) {
5718 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Create" "', expected argument " "3"" of type '" "int""'");
5720 arg3
= static_cast< int >(val3
);
5724 arg4
= wxString_in_helper(obj3
);
5725 if (arg4
== NULL
) SWIG_fail
;
5732 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5738 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5743 if (! PySequence_Check(obj6
)) {
5744 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5747 arg7
= new wxArrayString
;
5749 int i
, len
=PySequence_Length(obj6
);
5750 for (i
=0; i
<len
; i
++) {
5751 PyObject
* item
= PySequence_GetItem(obj6
, i
);
5752 wxString
* s
= wxString_in_helper(item
);
5753 if (PyErr_Occurred()) SWIG_fail
;
5761 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
5762 if (!SWIG_IsOK(ecode8
)) {
5763 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ComboBox_Create" "', expected argument " "8"" of type '" "long""'");
5765 arg8
= static_cast< long >(val8
);
5768 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
5769 if (!SWIG_IsOK(res9
)) {
5770 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5773 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5775 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
5779 arg10
= wxString_in_helper(obj9
);
5780 if (arg10
== NULL
) SWIG_fail
;
5785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5786 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxArrayString
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
5787 wxPyEndAllowThreads(__tstate
);
5788 if (PyErr_Occurred()) SWIG_fail
;
5791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5798 if (temp7
) delete arg7
;
5811 if (temp7
) delete arg7
;
5821 SWIGINTERN PyObject
*_wrap_ComboBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5822 PyObject
*resultobj
= 0;
5823 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5827 PyObject
*swig_obj
[1] ;
5829 if (!args
) SWIG_fail
;
5831 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5832 if (!SWIG_IsOK(res1
)) {
5833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetValue" "', expected argument " "1"" of type '" "wxComboBox const *""'");
5835 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5838 result
= ((wxComboBox
const *)arg1
)->GetValue();
5839 wxPyEndAllowThreads(__tstate
);
5840 if (PyErr_Occurred()) SWIG_fail
;
5844 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5846 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5855 SWIGINTERN PyObject
*_wrap_ComboBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5856 PyObject
*resultobj
= 0;
5857 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5858 wxString
*arg2
= 0 ;
5861 bool temp2
= false ;
5862 PyObject
* obj0
= 0 ;
5863 PyObject
* obj1
= 0 ;
5864 char * kwnames
[] = {
5865 (char *) "self",(char *) "value", NULL
5868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5870 if (!SWIG_IsOK(res1
)) {
5871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetValue" "', expected argument " "1"" of type '" "wxComboBox *""'");
5873 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5875 arg2
= wxString_in_helper(obj1
);
5876 if (arg2
== NULL
) SWIG_fail
;
5880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5881 (arg1
)->SetValue((wxString
const &)*arg2
);
5882 wxPyEndAllowThreads(__tstate
);
5883 if (PyErr_Occurred()) SWIG_fail
;
5885 resultobj
= SWIG_Py_Void();
5900 SWIGINTERN PyObject
*_wrap_ComboBox_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5901 PyObject
*resultobj
= 0;
5902 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5905 PyObject
*swig_obj
[1] ;
5907 if (!args
) SWIG_fail
;
5909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5910 if (!SWIG_IsOK(res1
)) {
5911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Copy" "', expected argument " "1"" of type '" "wxComboBox *""'");
5913 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5917 wxPyEndAllowThreads(__tstate
);
5918 if (PyErr_Occurred()) SWIG_fail
;
5920 resultobj
= SWIG_Py_Void();
5927 SWIGINTERN PyObject
*_wrap_ComboBox_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5928 PyObject
*resultobj
= 0;
5929 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5932 PyObject
*swig_obj
[1] ;
5934 if (!args
) SWIG_fail
;
5936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5937 if (!SWIG_IsOK(res1
)) {
5938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Cut" "', expected argument " "1"" of type '" "wxComboBox *""'");
5940 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5944 wxPyEndAllowThreads(__tstate
);
5945 if (PyErr_Occurred()) SWIG_fail
;
5947 resultobj
= SWIG_Py_Void();
5954 SWIGINTERN PyObject
*_wrap_ComboBox_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5955 PyObject
*resultobj
= 0;
5956 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5959 PyObject
*swig_obj
[1] ;
5961 if (!args
) SWIG_fail
;
5963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5964 if (!SWIG_IsOK(res1
)) {
5965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Paste" "', expected argument " "1"" of type '" "wxComboBox *""'");
5967 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5971 wxPyEndAllowThreads(__tstate
);
5972 if (PyErr_Occurred()) SWIG_fail
;
5974 resultobj
= SWIG_Py_Void();
5981 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5982 PyObject
*resultobj
= 0;
5983 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5989 PyObject
* obj0
= 0 ;
5990 PyObject
* obj1
= 0 ;
5991 char * kwnames
[] = {
5992 (char *) "self",(char *) "pos", NULL
5995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5997 if (!SWIG_IsOK(res1
)) {
5998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox *""'");
6000 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6001 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6002 if (!SWIG_IsOK(ecode2
)) {
6003 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
6005 arg2
= static_cast< long >(val2
);
6007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6008 (arg1
)->SetInsertionPoint(arg2
);
6009 wxPyEndAllowThreads(__tstate
);
6010 if (PyErr_Occurred()) SWIG_fail
;
6012 resultobj
= SWIG_Py_Void();
6019 SWIGINTERN PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6020 PyObject
*resultobj
= 0;
6021 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6025 PyObject
*swig_obj
[1] ;
6027 if (!args
) SWIG_fail
;
6029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6030 if (!SWIG_IsOK(res1
)) {
6031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6033 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6036 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
6037 wxPyEndAllowThreads(__tstate
);
6038 if (PyErr_Occurred()) SWIG_fail
;
6040 resultobj
= SWIG_From_long(static_cast< long >(result
));
6047 SWIGINTERN PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6048 PyObject
*resultobj
= 0;
6049 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6053 PyObject
*swig_obj
[1] ;
6055 if (!args
) SWIG_fail
;
6057 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6058 if (!SWIG_IsOK(res1
)) {
6059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetLastPosition" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6061 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6064 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
6065 wxPyEndAllowThreads(__tstate
);
6066 if (PyErr_Occurred()) SWIG_fail
;
6068 resultobj
= SWIG_From_long(static_cast< long >(result
));
6075 SWIGINTERN PyObject
*_wrap_ComboBox_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6076 PyObject
*resultobj
= 0;
6077 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6080 wxString
*arg4
= 0 ;
6087 bool temp4
= false ;
6088 PyObject
* obj0
= 0 ;
6089 PyObject
* obj1
= 0 ;
6090 PyObject
* obj2
= 0 ;
6091 PyObject
* obj3
= 0 ;
6092 char * kwnames
[] = {
6093 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6098 if (!SWIG_IsOK(res1
)) {
6099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Replace" "', expected argument " "1"" of type '" "wxComboBox *""'");
6101 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6102 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6103 if (!SWIG_IsOK(ecode2
)) {
6104 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Replace" "', expected argument " "2"" of type '" "long""'");
6106 arg2
= static_cast< long >(val2
);
6107 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6108 if (!SWIG_IsOK(ecode3
)) {
6109 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Replace" "', expected argument " "3"" of type '" "long""'");
6111 arg3
= static_cast< long >(val3
);
6113 arg4
= wxString_in_helper(obj3
);
6114 if (arg4
== NULL
) SWIG_fail
;
6118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6119 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
6120 wxPyEndAllowThreads(__tstate
);
6121 if (PyErr_Occurred()) SWIG_fail
;
6123 resultobj
= SWIG_Py_Void();
6138 SWIGINTERN PyObject
*_wrap_ComboBox_SetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6139 PyObject
*resultobj
= 0;
6140 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6149 PyObject
* obj0
= 0 ;
6150 PyObject
* obj1
= 0 ;
6151 PyObject
* obj2
= 0 ;
6152 char * kwnames
[] = {
6153 (char *) "self",(char *) "from",(char *) "to", NULL
6156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6158 if (!SWIG_IsOK(res1
)) {
6159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6161 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6162 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6163 if (!SWIG_IsOK(ecode2
)) {
6164 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetMark" "', expected argument " "2"" of type '" "long""'");
6166 arg2
= static_cast< long >(val2
);
6167 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6168 if (!SWIG_IsOK(ecode3
)) {
6169 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_SetMark" "', expected argument " "3"" of type '" "long""'");
6171 arg3
= static_cast< long >(val3
);
6173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6174 (arg1
)->SetSelection(arg2
,arg3
);
6175 wxPyEndAllowThreads(__tstate
);
6176 if (PyErr_Occurred()) SWIG_fail
;
6178 resultobj
= SWIG_Py_Void();
6185 SWIGINTERN PyObject
*_wrap_ComboBox_GetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6186 PyObject
*resultobj
= 0;
6187 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6188 long *arg2
= (long *) 0 ;
6189 long *arg3
= (long *) 0 ;
6193 int res2
= SWIG_TMPOBJ
;
6195 int res3
= SWIG_TMPOBJ
;
6196 PyObject
*swig_obj
[1] ;
6200 if (!args
) SWIG_fail
;
6202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6203 if (!SWIG_IsOK(res1
)) {
6204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6206 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6209 (arg1
)->GetSelection(arg2
,arg3
);
6210 wxPyEndAllowThreads(__tstate
);
6211 if (PyErr_Occurred()) SWIG_fail
;
6213 resultobj
= SWIG_Py_Void();
6214 if (SWIG_IsTmpObj(res2
)) {
6215 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
6217 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6218 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
6220 if (SWIG_IsTmpObj(res3
)) {
6221 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
6223 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6224 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
6232 SWIGINTERN PyObject
*_wrap_ComboBox_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6233 PyObject
*resultobj
= 0;
6234 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6238 PyObject
*swig_obj
[1] ;
6240 if (!args
) SWIG_fail
;
6242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6243 if (!SWIG_IsOK(res1
)) {
6244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6246 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6249 result
= (int)((wxComboBox
const *)arg1
)->GetCurrentSelection();
6250 wxPyEndAllowThreads(__tstate
);
6251 if (PyErr_Occurred()) SWIG_fail
;
6253 resultobj
= SWIG_From_int(static_cast< int >(result
));
6260 SWIGINTERN PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6261 PyObject
*resultobj
= 0;
6262 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6263 wxString
*arg2
= 0 ;
6267 bool temp2
= false ;
6268 PyObject
* obj0
= 0 ;
6269 PyObject
* obj1
= 0 ;
6270 char * kwnames
[] = {
6271 (char *) "self",(char *) "string", NULL
6274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6276 if (!SWIG_IsOK(res1
)) {
6277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6279 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6281 arg2
= wxString_in_helper(obj1
);
6282 if (arg2
== NULL
) SWIG_fail
;
6286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6287 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
6288 wxPyEndAllowThreads(__tstate
);
6289 if (PyErr_Occurred()) SWIG_fail
;
6292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6308 SWIGINTERN PyObject
*_wrap_ComboBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6309 PyObject
*resultobj
= 0;
6310 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6312 wxString
*arg3
= 0 ;
6317 bool temp3
= false ;
6318 PyObject
* obj0
= 0 ;
6319 PyObject
* obj1
= 0 ;
6320 PyObject
* obj2
= 0 ;
6321 char * kwnames
[] = {
6322 (char *) "self",(char *) "n",(char *) "string", NULL
6325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6327 if (!SWIG_IsOK(res1
)) {
6328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetString" "', expected argument " "1"" of type '" "wxComboBox *""'");
6330 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6331 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6332 if (!SWIG_IsOK(ecode2
)) {
6333 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetString" "', expected argument " "2"" of type '" "int""'");
6335 arg2
= static_cast< int >(val2
);
6337 arg3
= wxString_in_helper(obj2
);
6338 if (arg3
== NULL
) SWIG_fail
;
6342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6343 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
6344 wxPyEndAllowThreads(__tstate
);
6345 if (PyErr_Occurred()) SWIG_fail
;
6347 resultobj
= SWIG_Py_Void();
6362 SWIGINTERN PyObject
*_wrap_ComboBox_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6363 PyObject
*resultobj
= 0;
6364 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6370 PyObject
* obj0
= 0 ;
6371 PyObject
* obj1
= 0 ;
6372 char * kwnames
[] = {
6373 (char *) "self",(char *) "editable", NULL
6376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6378 if (!SWIG_IsOK(res1
)) {
6379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetEditable" "', expected argument " "1"" of type '" "wxComboBox *""'");
6381 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6382 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6383 if (!SWIG_IsOK(ecode2
)) {
6384 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetEditable" "', expected argument " "2"" of type '" "bool""'");
6386 arg2
= static_cast< bool >(val2
);
6388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6389 (arg1
)->SetEditable(arg2
);
6390 wxPyEndAllowThreads(__tstate
);
6391 if (PyErr_Occurred()) SWIG_fail
;
6393 resultobj
= SWIG_Py_Void();
6400 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6401 PyObject
*resultobj
= 0;
6402 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6405 PyObject
*swig_obj
[1] ;
6407 if (!args
) SWIG_fail
;
6409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6410 if (!SWIG_IsOK(res1
)) {
6411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxComboBox *""'");
6413 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6416 (arg1
)->SetInsertionPointEnd();
6417 wxPyEndAllowThreads(__tstate
);
6418 if (PyErr_Occurred()) SWIG_fail
;
6420 resultobj
= SWIG_Py_Void();
6427 SWIGINTERN PyObject
*_wrap_ComboBox_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6428 PyObject
*resultobj
= 0;
6429 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6438 PyObject
* obj0
= 0 ;
6439 PyObject
* obj1
= 0 ;
6440 PyObject
* obj2
= 0 ;
6441 char * kwnames
[] = {
6442 (char *) "self",(char *) "from",(char *) "to", NULL
6445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6447 if (!SWIG_IsOK(res1
)) {
6448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Remove" "', expected argument " "1"" of type '" "wxComboBox *""'");
6450 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6451 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6452 if (!SWIG_IsOK(ecode2
)) {
6453 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Remove" "', expected argument " "2"" of type '" "long""'");
6455 arg2
= static_cast< long >(val2
);
6456 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6457 if (!SWIG_IsOK(ecode3
)) {
6458 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Remove" "', expected argument " "3"" of type '" "long""'");
6460 arg3
= static_cast< long >(val3
);
6462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6463 (arg1
)->Remove(arg2
,arg3
);
6464 wxPyEndAllowThreads(__tstate
);
6465 if (PyErr_Occurred()) SWIG_fail
;
6467 resultobj
= SWIG_Py_Void();
6474 SWIGINTERN PyObject
*_wrap_ComboBox_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6475 PyObject
*resultobj
= 0;
6476 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6480 PyObject
*swig_obj
[1] ;
6482 if (!args
) SWIG_fail
;
6484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6485 if (!SWIG_IsOK(res1
)) {
6486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_IsEditable" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6488 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6491 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
6492 wxPyEndAllowThreads(__tstate
);
6493 if (PyErr_Occurred()) SWIG_fail
;
6496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6504 SWIGINTERN PyObject
*_wrap_ComboBox_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6505 PyObject
*resultobj
= 0;
6506 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6509 PyObject
*swig_obj
[1] ;
6511 if (!args
) SWIG_fail
;
6513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6514 if (!SWIG_IsOK(res1
)) {
6515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Undo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6517 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6521 wxPyEndAllowThreads(__tstate
);
6522 if (PyErr_Occurred()) SWIG_fail
;
6524 resultobj
= SWIG_Py_Void();
6531 SWIGINTERN PyObject
*_wrap_ComboBox_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6532 PyObject
*resultobj
= 0;
6533 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6536 PyObject
*swig_obj
[1] ;
6538 if (!args
) SWIG_fail
;
6540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6541 if (!SWIG_IsOK(res1
)) {
6542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Redo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6544 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6548 wxPyEndAllowThreads(__tstate
);
6549 if (PyErr_Occurred()) SWIG_fail
;
6551 resultobj
= SWIG_Py_Void();
6558 SWIGINTERN PyObject
*_wrap_ComboBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6559 PyObject
*resultobj
= 0;
6560 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6563 PyObject
*swig_obj
[1] ;
6565 if (!args
) SWIG_fail
;
6567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6568 if (!SWIG_IsOK(res1
)) {
6569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SelectAll" "', expected argument " "1"" of type '" "wxComboBox *""'");
6571 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6574 (arg1
)->SelectAll();
6575 wxPyEndAllowThreads(__tstate
);
6576 if (PyErr_Occurred()) SWIG_fail
;
6578 resultobj
= SWIG_Py_Void();
6585 SWIGINTERN PyObject
*_wrap_ComboBox_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6586 PyObject
*resultobj
= 0;
6587 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6591 PyObject
*swig_obj
[1] ;
6593 if (!args
) SWIG_fail
;
6595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6596 if (!SWIG_IsOK(res1
)) {
6597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCopy" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6599 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6602 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
6603 wxPyEndAllowThreads(__tstate
);
6604 if (PyErr_Occurred()) SWIG_fail
;
6607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6615 SWIGINTERN PyObject
*_wrap_ComboBox_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6616 PyObject
*resultobj
= 0;
6617 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6621 PyObject
*swig_obj
[1] ;
6623 if (!args
) SWIG_fail
;
6625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6626 if (!SWIG_IsOK(res1
)) {
6627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCut" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6629 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6632 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
6633 wxPyEndAllowThreads(__tstate
);
6634 if (PyErr_Occurred()) SWIG_fail
;
6637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6645 SWIGINTERN PyObject
*_wrap_ComboBox_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6646 PyObject
*resultobj
= 0;
6647 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6651 PyObject
*swig_obj
[1] ;
6653 if (!args
) SWIG_fail
;
6655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6656 if (!SWIG_IsOK(res1
)) {
6657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanPaste" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6659 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6662 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
6663 wxPyEndAllowThreads(__tstate
);
6664 if (PyErr_Occurred()) SWIG_fail
;
6667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6675 SWIGINTERN PyObject
*_wrap_ComboBox_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6676 PyObject
*resultobj
= 0;
6677 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6681 PyObject
*swig_obj
[1] ;
6683 if (!args
) SWIG_fail
;
6685 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6686 if (!SWIG_IsOK(res1
)) {
6687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanUndo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6689 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6692 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
6693 wxPyEndAllowThreads(__tstate
);
6694 if (PyErr_Occurred()) SWIG_fail
;
6697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6705 SWIGINTERN PyObject
*_wrap_ComboBox_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6706 PyObject
*resultobj
= 0;
6707 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6711 PyObject
*swig_obj
[1] ;
6713 if (!args
) SWIG_fail
;
6715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6716 if (!SWIG_IsOK(res1
)) {
6717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanRedo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6719 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6722 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
6723 wxPyEndAllowThreads(__tstate
);
6724 if (PyErr_Occurred()) SWIG_fail
;
6727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6735 SWIGINTERN PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6736 PyObject
*resultobj
= 0;
6737 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6738 SwigValueWrapper
<wxVisualAttributes
> result
;
6741 PyObject
* obj0
= 0 ;
6742 char * kwnames
[] = {
6743 (char *) "variant", NULL
6746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
6748 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6749 if (!SWIG_IsOK(ecode1
)) {
6750 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ComboBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6752 arg1
= static_cast< wxWindowVariant
>(val1
);
6755 if (!wxPyCheckForApp()) SWIG_fail
;
6756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6757 result
= wxComboBox::GetClassDefaultAttributes(arg1
);
6758 wxPyEndAllowThreads(__tstate
);
6759 if (PyErr_Occurred()) SWIG_fail
;
6761 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
6768 SWIGINTERN PyObject
*ComboBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6770 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6771 SWIG_TypeNewClientData(SWIGTYPE_p_wxComboBox
, SWIG_NewClientData(obj
));
6772 return SWIG_Py_Void();
6775 SWIGINTERN PyObject
*ComboBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6776 return SWIG_Python_InitShadowInstance(args
);
6779 SWIGINTERN
int GaugeNameStr_set(PyObject
*) {
6780 SWIG_Error(SWIG_AttributeError
,"Variable GaugeNameStr is read-only.");
6785 SWIGINTERN PyObject
*GaugeNameStr_get(void) {
6786 PyObject
*pyobj
= 0;
6790 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6792 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6799 SWIGINTERN PyObject
*_wrap_new_Gauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6800 PyObject
*resultobj
= 0;
6801 wxWindow
*arg1
= (wxWindow
*) 0 ;
6802 int arg2
= (int) -1 ;
6803 int arg3
= (int) 100 ;
6804 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6805 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6806 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6807 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6808 long arg6
= (long) wxGA_HORIZONTAL
;
6809 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6810 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6811 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
6812 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6813 wxGauge
*result
= 0 ;
6826 bool temp8
= false ;
6827 PyObject
* obj0
= 0 ;
6828 PyObject
* obj1
= 0 ;
6829 PyObject
* obj2
= 0 ;
6830 PyObject
* obj3
= 0 ;
6831 PyObject
* obj4
= 0 ;
6832 PyObject
* obj5
= 0 ;
6833 PyObject
* obj6
= 0 ;
6834 PyObject
* obj7
= 0 ;
6835 char * kwnames
[] = {
6836 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6841 if (!SWIG_IsOK(res1
)) {
6842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Gauge" "', expected argument " "1"" of type '" "wxWindow *""'");
6844 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6846 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6847 if (!SWIG_IsOK(ecode2
)) {
6848 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Gauge" "', expected argument " "2"" of type '" "int""'");
6850 arg2
= static_cast< int >(val2
);
6853 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6854 if (!SWIG_IsOK(ecode3
)) {
6855 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Gauge" "', expected argument " "3"" of type '" "int""'");
6857 arg3
= static_cast< int >(val3
);
6862 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6868 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6872 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6873 if (!SWIG_IsOK(ecode6
)) {
6874 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Gauge" "', expected argument " "6"" of type '" "long""'");
6876 arg6
= static_cast< long >(val6
);
6879 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
6880 if (!SWIG_IsOK(res7
)) {
6881 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6884 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6886 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
6890 arg8
= wxString_in_helper(obj7
);
6891 if (arg8
== NULL
) SWIG_fail
;
6896 if (!wxPyCheckForApp()) SWIG_fail
;
6897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6898 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6899 wxPyEndAllowThreads(__tstate
);
6900 if (PyErr_Occurred()) SWIG_fail
;
6902 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_NEW
| 0 );
6917 SWIGINTERN PyObject
*_wrap_new_PreGauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6918 PyObject
*resultobj
= 0;
6919 wxGauge
*result
= 0 ;
6921 if (!SWIG_Python_UnpackTuple(args
,"new_PreGauge",0,0,0)) SWIG_fail
;
6923 if (!wxPyCheckForApp()) SWIG_fail
;
6924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6925 result
= (wxGauge
*)new wxGauge();
6926 wxPyEndAllowThreads(__tstate
);
6927 if (PyErr_Occurred()) SWIG_fail
;
6929 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_OWN
| 0 );
6936 SWIGINTERN PyObject
*_wrap_Gauge_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6937 PyObject
*resultobj
= 0;
6938 wxGauge
*arg1
= (wxGauge
*) 0 ;
6939 wxWindow
*arg2
= (wxWindow
*) 0 ;
6940 int arg3
= (int) -1 ;
6941 int arg4
= (int) 100 ;
6942 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6943 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6944 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6945 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6946 long arg7
= (long) wxGA_HORIZONTAL
;
6947 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6948 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6949 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
6950 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6966 bool temp9
= false ;
6967 PyObject
* obj0
= 0 ;
6968 PyObject
* obj1
= 0 ;
6969 PyObject
* obj2
= 0 ;
6970 PyObject
* obj3
= 0 ;
6971 PyObject
* obj4
= 0 ;
6972 PyObject
* obj5
= 0 ;
6973 PyObject
* obj6
= 0 ;
6974 PyObject
* obj7
= 0 ;
6975 PyObject
* obj8
= 0 ;
6976 char * kwnames
[] = {
6977 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
6982 if (!SWIG_IsOK(res1
)) {
6983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Create" "', expected argument " "1"" of type '" "wxGauge *""'");
6985 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
6986 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6987 if (!SWIG_IsOK(res2
)) {
6988 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Gauge_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6990 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6992 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6993 if (!SWIG_IsOK(ecode3
)) {
6994 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Gauge_Create" "', expected argument " "3"" of type '" "int""'");
6996 arg3
= static_cast< int >(val3
);
6999 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7000 if (!SWIG_IsOK(ecode4
)) {
7001 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Gauge_Create" "', expected argument " "4"" of type '" "int""'");
7003 arg4
= static_cast< int >(val4
);
7008 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7014 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7018 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7019 if (!SWIG_IsOK(ecode7
)) {
7020 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Gauge_Create" "', expected argument " "7"" of type '" "long""'");
7022 arg7
= static_cast< long >(val7
);
7025 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
7026 if (!SWIG_IsOK(res8
)) {
7027 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
7030 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
7032 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
7036 arg9
= wxString_in_helper(obj8
);
7037 if (arg9
== NULL
) SWIG_fail
;
7042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7043 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7044 wxPyEndAllowThreads(__tstate
);
7045 if (PyErr_Occurred()) SWIG_fail
;
7048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7064 SWIGINTERN PyObject
*_wrap_Gauge_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7065 PyObject
*resultobj
= 0;
7066 wxGauge
*arg1
= (wxGauge
*) 0 ;
7072 PyObject
* obj0
= 0 ;
7073 PyObject
* obj1
= 0 ;
7074 char * kwnames
[] = {
7075 (char *) "self",(char *) "range", NULL
7078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7080 if (!SWIG_IsOK(res1
)) {
7081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetRange" "', expected argument " "1"" of type '" "wxGauge *""'");
7083 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7084 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7085 if (!SWIG_IsOK(ecode2
)) {
7086 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetRange" "', expected argument " "2"" of type '" "int""'");
7088 arg2
= static_cast< int >(val2
);
7090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7091 (arg1
)->SetRange(arg2
);
7092 wxPyEndAllowThreads(__tstate
);
7093 if (PyErr_Occurred()) SWIG_fail
;
7095 resultobj
= SWIG_Py_Void();
7102 SWIGINTERN PyObject
*_wrap_Gauge_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7103 PyObject
*resultobj
= 0;
7104 wxGauge
*arg1
= (wxGauge
*) 0 ;
7108 PyObject
*swig_obj
[1] ;
7110 if (!args
) SWIG_fail
;
7112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7113 if (!SWIG_IsOK(res1
)) {
7114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetRange" "', expected argument " "1"" of type '" "wxGauge const *""'");
7116 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7119 result
= (int)((wxGauge
const *)arg1
)->GetRange();
7120 wxPyEndAllowThreads(__tstate
);
7121 if (PyErr_Occurred()) SWIG_fail
;
7123 resultobj
= SWIG_From_int(static_cast< int >(result
));
7130 SWIGINTERN PyObject
*_wrap_Gauge_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7131 PyObject
*resultobj
= 0;
7132 wxGauge
*arg1
= (wxGauge
*) 0 ;
7138 PyObject
* obj0
= 0 ;
7139 PyObject
* obj1
= 0 ;
7140 char * kwnames
[] = {
7141 (char *) "self",(char *) "pos", NULL
7144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7146 if (!SWIG_IsOK(res1
)) {
7147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetValue" "', expected argument " "1"" of type '" "wxGauge *""'");
7149 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7150 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7151 if (!SWIG_IsOK(ecode2
)) {
7152 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetValue" "', expected argument " "2"" of type '" "int""'");
7154 arg2
= static_cast< int >(val2
);
7156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7157 (arg1
)->SetValue(arg2
);
7158 wxPyEndAllowThreads(__tstate
);
7159 if (PyErr_Occurred()) SWIG_fail
;
7161 resultobj
= SWIG_Py_Void();
7168 SWIGINTERN PyObject
*_wrap_Gauge_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7169 PyObject
*resultobj
= 0;
7170 wxGauge
*arg1
= (wxGauge
*) 0 ;
7174 PyObject
*swig_obj
[1] ;
7176 if (!args
) SWIG_fail
;
7178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7179 if (!SWIG_IsOK(res1
)) {
7180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetValue" "', expected argument " "1"" of type '" "wxGauge const *""'");
7182 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7185 result
= (int)((wxGauge
const *)arg1
)->GetValue();
7186 wxPyEndAllowThreads(__tstate
);
7187 if (PyErr_Occurred()) SWIG_fail
;
7189 resultobj
= SWIG_From_int(static_cast< int >(result
));
7196 SWIGINTERN PyObject
*_wrap_Gauge_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7197 PyObject
*resultobj
= 0;
7198 wxGauge
*arg1
= (wxGauge
*) 0 ;
7202 PyObject
*swig_obj
[1] ;
7204 if (!args
) SWIG_fail
;
7206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7207 if (!SWIG_IsOK(res1
)) {
7208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_IsVertical" "', expected argument " "1"" of type '" "wxGauge const *""'");
7210 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7213 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
7214 wxPyEndAllowThreads(__tstate
);
7215 if (PyErr_Occurred()) SWIG_fail
;
7218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7226 SWIGINTERN PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7227 PyObject
*resultobj
= 0;
7228 wxGauge
*arg1
= (wxGauge
*) 0 ;
7234 PyObject
* obj0
= 0 ;
7235 PyObject
* obj1
= 0 ;
7236 char * kwnames
[] = {
7237 (char *) "self",(char *) "w", NULL
7240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7242 if (!SWIG_IsOK(res1
)) {
7243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "1"" of type '" "wxGauge *""'");
7245 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7246 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7247 if (!SWIG_IsOK(ecode2
)) {
7248 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "2"" of type '" "int""'");
7250 arg2
= static_cast< int >(val2
);
7252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7253 (arg1
)->SetShadowWidth(arg2
);
7254 wxPyEndAllowThreads(__tstate
);
7255 if (PyErr_Occurred()) SWIG_fail
;
7257 resultobj
= SWIG_Py_Void();
7264 SWIGINTERN PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7265 PyObject
*resultobj
= 0;
7266 wxGauge
*arg1
= (wxGauge
*) 0 ;
7270 PyObject
*swig_obj
[1] ;
7272 if (!args
) SWIG_fail
;
7274 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7275 if (!SWIG_IsOK(res1
)) {
7276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetShadowWidth" "', expected argument " "1"" of type '" "wxGauge const *""'");
7278 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7281 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
7282 wxPyEndAllowThreads(__tstate
);
7283 if (PyErr_Occurred()) SWIG_fail
;
7285 resultobj
= SWIG_From_int(static_cast< int >(result
));
7292 SWIGINTERN PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7293 PyObject
*resultobj
= 0;
7294 wxGauge
*arg1
= (wxGauge
*) 0 ;
7300 PyObject
* obj0
= 0 ;
7301 PyObject
* obj1
= 0 ;
7302 char * kwnames
[] = {
7303 (char *) "self",(char *) "w", NULL
7306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7308 if (!SWIG_IsOK(res1
)) {
7309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetBezelFace" "', expected argument " "1"" of type '" "wxGauge *""'");
7311 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7312 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7313 if (!SWIG_IsOK(ecode2
)) {
7314 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetBezelFace" "', expected argument " "2"" of type '" "int""'");
7316 arg2
= static_cast< int >(val2
);
7318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7319 (arg1
)->SetBezelFace(arg2
);
7320 wxPyEndAllowThreads(__tstate
);
7321 if (PyErr_Occurred()) SWIG_fail
;
7323 resultobj
= SWIG_Py_Void();
7330 SWIGINTERN PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7331 PyObject
*resultobj
= 0;
7332 wxGauge
*arg1
= (wxGauge
*) 0 ;
7336 PyObject
*swig_obj
[1] ;
7338 if (!args
) SWIG_fail
;
7340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7341 if (!SWIG_IsOK(res1
)) {
7342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetBezelFace" "', expected argument " "1"" of type '" "wxGauge const *""'");
7344 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7347 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
7348 wxPyEndAllowThreads(__tstate
);
7349 if (PyErr_Occurred()) SWIG_fail
;
7351 resultobj
= SWIG_From_int(static_cast< int >(result
));
7358 SWIGINTERN PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7359 PyObject
*resultobj
= 0;
7360 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7361 SwigValueWrapper
<wxVisualAttributes
> result
;
7364 PyObject
* obj0
= 0 ;
7365 char * kwnames
[] = {
7366 (char *) "variant", NULL
7369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7371 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7372 if (!SWIG_IsOK(ecode1
)) {
7373 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Gauge_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7375 arg1
= static_cast< wxWindowVariant
>(val1
);
7378 if (!wxPyCheckForApp()) SWIG_fail
;
7379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7380 result
= wxGauge::GetClassDefaultAttributes(arg1
);
7381 wxPyEndAllowThreads(__tstate
);
7382 if (PyErr_Occurred()) SWIG_fail
;
7384 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7391 SWIGINTERN PyObject
*Gauge_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7393 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7394 SWIG_TypeNewClientData(SWIGTYPE_p_wxGauge
, SWIG_NewClientData(obj
));
7395 return SWIG_Py_Void();
7398 SWIGINTERN PyObject
*Gauge_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7399 return SWIG_Python_InitShadowInstance(args
);
7402 SWIGINTERN
int StaticBitmapNameStr_set(PyObject
*) {
7403 SWIG_Error(SWIG_AttributeError
,"Variable StaticBitmapNameStr is read-only.");
7408 SWIGINTERN PyObject
*StaticBitmapNameStr_get(void) {
7409 PyObject
*pyobj
= 0;
7413 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7415 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7422 SWIGINTERN
int StaticBoxNameStr_set(PyObject
*) {
7423 SWIG_Error(SWIG_AttributeError
,"Variable StaticBoxNameStr is read-only.");
7428 SWIGINTERN PyObject
*StaticBoxNameStr_get(void) {
7429 PyObject
*pyobj
= 0;
7433 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7435 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7442 SWIGINTERN
int StaticTextNameStr_set(PyObject
*) {
7443 SWIG_Error(SWIG_AttributeError
,"Variable StaticTextNameStr is read-only.");
7448 SWIGINTERN PyObject
*StaticTextNameStr_get(void) {
7449 PyObject
*pyobj
= 0;
7453 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7455 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7462 SWIGINTERN PyObject
*_wrap_new_StaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7463 PyObject
*resultobj
= 0;
7464 wxWindow
*arg1
= (wxWindow
*) 0 ;
7465 int arg2
= (int) -1 ;
7466 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7467 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7468 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7469 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7470 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7471 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7472 long arg6
= (long) 0 ;
7473 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
7474 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7475 wxStaticBox
*result
= 0 ;
7480 bool temp3
= false ;
7485 bool temp7
= false ;
7486 PyObject
* obj0
= 0 ;
7487 PyObject
* obj1
= 0 ;
7488 PyObject
* obj2
= 0 ;
7489 PyObject
* obj3
= 0 ;
7490 PyObject
* obj4
= 0 ;
7491 PyObject
* obj5
= 0 ;
7492 PyObject
* obj6
= 0 ;
7493 char * kwnames
[] = {
7494 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7499 if (!SWIG_IsOK(res1
)) {
7500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7502 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7504 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7505 if (!SWIG_IsOK(ecode2
)) {
7506 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7508 arg2
= static_cast< int >(val2
);
7512 arg3
= wxString_in_helper(obj2
);
7513 if (arg3
== NULL
) SWIG_fail
;
7520 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7526 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7530 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7531 if (!SWIG_IsOK(ecode6
)) {
7532 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7534 arg6
= static_cast< long >(val6
);
7538 arg7
= wxString_in_helper(obj6
);
7539 if (arg7
== NULL
) SWIG_fail
;
7544 if (!wxPyCheckForApp()) SWIG_fail
;
7545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7546 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7547 wxPyEndAllowThreads(__tstate
);
7548 if (PyErr_Occurred()) SWIG_fail
;
7550 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_NEW
| 0 );
7573 SWIGINTERN PyObject
*_wrap_new_PreStaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7574 PyObject
*resultobj
= 0;
7575 wxStaticBox
*result
= 0 ;
7577 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBox",0,0,0)) SWIG_fail
;
7579 if (!wxPyCheckForApp()) SWIG_fail
;
7580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7581 result
= (wxStaticBox
*)new wxStaticBox();
7582 wxPyEndAllowThreads(__tstate
);
7583 if (PyErr_Occurred()) SWIG_fail
;
7585 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_OWN
| 0 );
7592 SWIGINTERN PyObject
*_wrap_StaticBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7593 PyObject
*resultobj
= 0;
7594 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
7595 wxWindow
*arg2
= (wxWindow
*) 0 ;
7596 int arg3
= (int) -1 ;
7597 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7598 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7599 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7600 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7601 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7602 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7603 long arg7
= (long) 0 ;
7604 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
7605 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7613 bool temp4
= false ;
7618 bool temp8
= false ;
7619 PyObject
* obj0
= 0 ;
7620 PyObject
* obj1
= 0 ;
7621 PyObject
* obj2
= 0 ;
7622 PyObject
* obj3
= 0 ;
7623 PyObject
* obj4
= 0 ;
7624 PyObject
* obj5
= 0 ;
7625 PyObject
* obj6
= 0 ;
7626 PyObject
* obj7
= 0 ;
7627 char * kwnames
[] = {
7628 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBox
, 0 | 0 );
7633 if (!SWIG_IsOK(res1
)) {
7634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7636 arg1
= reinterpret_cast< wxStaticBox
* >(argp1
);
7637 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7638 if (!SWIG_IsOK(res2
)) {
7639 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7641 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7643 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7644 if (!SWIG_IsOK(ecode3
)) {
7645 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7647 arg3
= static_cast< int >(val3
);
7651 arg4
= wxString_in_helper(obj3
);
7652 if (arg4
== NULL
) SWIG_fail
;
7659 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7665 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7669 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7670 if (!SWIG_IsOK(ecode7
)) {
7671 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7673 arg7
= static_cast< long >(val7
);
7677 arg8
= wxString_in_helper(obj7
);
7678 if (arg8
== NULL
) SWIG_fail
;
7683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7684 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7685 wxPyEndAllowThreads(__tstate
);
7686 if (PyErr_Occurred()) SWIG_fail
;
7689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7713 SWIGINTERN PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7714 PyObject
*resultobj
= 0;
7715 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7716 SwigValueWrapper
<wxVisualAttributes
> result
;
7719 PyObject
* obj0
= 0 ;
7720 char * kwnames
[] = {
7721 (char *) "variant", NULL
7724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7726 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7727 if (!SWIG_IsOK(ecode1
)) {
7728 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7730 arg1
= static_cast< wxWindowVariant
>(val1
);
7733 if (!wxPyCheckForApp()) SWIG_fail
;
7734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7735 result
= wxStaticBox::GetClassDefaultAttributes(arg1
);
7736 wxPyEndAllowThreads(__tstate
);
7737 if (PyErr_Occurred()) SWIG_fail
;
7739 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7746 SWIGINTERN PyObject
*StaticBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7748 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7749 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox
, SWIG_NewClientData(obj
));
7750 return SWIG_Py_Void();
7753 SWIGINTERN PyObject
*StaticBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7754 return SWIG_Python_InitShadowInstance(args
);
7757 SWIGINTERN PyObject
*_wrap_new_StaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7758 PyObject
*resultobj
= 0;
7759 wxWindow
*arg1
= (wxWindow
*) 0 ;
7760 int arg2
= (int) -1 ;
7761 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7762 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7763 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7764 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7765 long arg5
= (long) wxLI_HORIZONTAL
;
7766 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
7767 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7768 wxStaticLine
*result
= 0 ;
7777 bool temp6
= false ;
7778 PyObject
* obj0
= 0 ;
7779 PyObject
* obj1
= 0 ;
7780 PyObject
* obj2
= 0 ;
7781 PyObject
* obj3
= 0 ;
7782 PyObject
* obj4
= 0 ;
7783 PyObject
* obj5
= 0 ;
7784 char * kwnames
[] = {
7785 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
7789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7790 if (!SWIG_IsOK(res1
)) {
7791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7793 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7795 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7796 if (!SWIG_IsOK(ecode2
)) {
7797 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7799 arg2
= static_cast< int >(val2
);
7804 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7810 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7814 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
7815 if (!SWIG_IsOK(ecode5
)) {
7816 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7818 arg5
= static_cast< long >(val5
);
7822 arg6
= wxString_in_helper(obj5
);
7823 if (arg6
== NULL
) SWIG_fail
;
7828 if (!wxPyCheckForApp()) SWIG_fail
;
7829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7830 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7831 wxPyEndAllowThreads(__tstate
);
7832 if (PyErr_Occurred()) SWIG_fail
;
7834 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_NEW
| 0 );
7849 SWIGINTERN PyObject
*_wrap_new_PreStaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7850 PyObject
*resultobj
= 0;
7851 wxStaticLine
*result
= 0 ;
7853 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticLine",0,0,0)) SWIG_fail
;
7855 if (!wxPyCheckForApp()) SWIG_fail
;
7856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7857 result
= (wxStaticLine
*)new wxStaticLine();
7858 wxPyEndAllowThreads(__tstate
);
7859 if (PyErr_Occurred()) SWIG_fail
;
7861 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_OWN
| 0 );
7868 SWIGINTERN PyObject
*_wrap_StaticLine_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7869 PyObject
*resultobj
= 0;
7870 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7871 wxWindow
*arg2
= (wxWindow
*) 0 ;
7872 int arg3
= (int) -1 ;
7873 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7874 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7875 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7876 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7877 long arg6
= (long) wxLI_HORIZONTAL
;
7878 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
7879 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7891 bool temp7
= false ;
7892 PyObject
* obj0
= 0 ;
7893 PyObject
* obj1
= 0 ;
7894 PyObject
* obj2
= 0 ;
7895 PyObject
* obj3
= 0 ;
7896 PyObject
* obj4
= 0 ;
7897 PyObject
* obj5
= 0 ;
7898 PyObject
* obj6
= 0 ;
7899 char * kwnames
[] = {
7900 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7905 if (!SWIG_IsOK(res1
)) {
7906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7908 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7909 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7910 if (!SWIG_IsOK(res2
)) {
7911 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7913 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7915 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7916 if (!SWIG_IsOK(ecode3
)) {
7917 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7919 arg3
= static_cast< int >(val3
);
7924 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7930 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7934 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7935 if (!SWIG_IsOK(ecode6
)) {
7936 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7938 arg6
= static_cast< long >(val6
);
7942 arg7
= wxString_in_helper(obj6
);
7943 if (arg7
== NULL
) SWIG_fail
;
7948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7949 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7950 wxPyEndAllowThreads(__tstate
);
7951 if (PyErr_Occurred()) SWIG_fail
;
7954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7970 SWIGINTERN PyObject
*_wrap_StaticLine_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7971 PyObject
*resultobj
= 0;
7972 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7976 PyObject
*swig_obj
[1] ;
7978 if (!args
) SWIG_fail
;
7980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7981 if (!SWIG_IsOK(res1
)) {
7982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
7984 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7987 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
7988 wxPyEndAllowThreads(__tstate
);
7989 if (PyErr_Occurred()) SWIG_fail
;
7992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8000 SWIGINTERN PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8001 PyObject
*resultobj
= 0;
8004 if (!SWIG_Python_UnpackTuple(args
,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail
;
8006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8007 result
= (int)wxStaticLine::GetDefaultSize();
8008 wxPyEndAllowThreads(__tstate
);
8009 if (PyErr_Occurred()) SWIG_fail
;
8011 resultobj
= SWIG_From_int(static_cast< int >(result
));
8018 SWIGINTERN PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8019 PyObject
*resultobj
= 0;
8020 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8021 SwigValueWrapper
<wxVisualAttributes
> result
;
8024 PyObject
* obj0
= 0 ;
8025 char * kwnames
[] = {
8026 (char *) "variant", NULL
8029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8031 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8032 if (!SWIG_IsOK(ecode1
)) {
8033 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8035 arg1
= static_cast< wxWindowVariant
>(val1
);
8038 if (!wxPyCheckForApp()) SWIG_fail
;
8039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8040 result
= wxStaticLine::GetClassDefaultAttributes(arg1
);
8041 wxPyEndAllowThreads(__tstate
);
8042 if (PyErr_Occurred()) SWIG_fail
;
8044 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8051 SWIGINTERN PyObject
*StaticLine_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8053 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8054 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine
, SWIG_NewClientData(obj
));
8055 return SWIG_Py_Void();
8058 SWIGINTERN PyObject
*StaticLine_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8059 return SWIG_Python_InitShadowInstance(args
);
8062 SWIGINTERN PyObject
*_wrap_new_StaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8063 PyObject
*resultobj
= 0;
8064 wxWindow
*arg1
= (wxWindow
*) 0 ;
8065 int arg2
= (int) -1 ;
8066 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8067 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8068 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8069 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8070 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8071 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8072 long arg6
= (long) 0 ;
8073 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
8074 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8075 wxStaticText
*result
= 0 ;
8080 bool temp3
= false ;
8085 bool temp7
= false ;
8086 PyObject
* obj0
= 0 ;
8087 PyObject
* obj1
= 0 ;
8088 PyObject
* obj2
= 0 ;
8089 PyObject
* obj3
= 0 ;
8090 PyObject
* obj4
= 0 ;
8091 PyObject
* obj5
= 0 ;
8092 PyObject
* obj6
= 0 ;
8093 char * kwnames
[] = {
8094 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8099 if (!SWIG_IsOK(res1
)) {
8100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
8102 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8104 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8105 if (!SWIG_IsOK(ecode2
)) {
8106 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
8108 arg2
= static_cast< int >(val2
);
8112 arg3
= wxString_in_helper(obj2
);
8113 if (arg3
== NULL
) SWIG_fail
;
8120 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8126 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8130 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8131 if (!SWIG_IsOK(ecode6
)) {
8132 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8134 arg6
= static_cast< long >(val6
);
8138 arg7
= wxString_in_helper(obj6
);
8139 if (arg7
== NULL
) SWIG_fail
;
8144 if (!wxPyCheckForApp()) SWIG_fail
;
8145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8146 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8147 wxPyEndAllowThreads(__tstate
);
8148 if (PyErr_Occurred()) SWIG_fail
;
8150 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_NEW
| 0 );
8173 SWIGINTERN PyObject
*_wrap_new_PreStaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8174 PyObject
*resultobj
= 0;
8175 wxStaticText
*result
= 0 ;
8177 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticText",0,0,0)) SWIG_fail
;
8179 if (!wxPyCheckForApp()) SWIG_fail
;
8180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8181 result
= (wxStaticText
*)new wxStaticText();
8182 wxPyEndAllowThreads(__tstate
);
8183 if (PyErr_Occurred()) SWIG_fail
;
8185 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_OWN
| 0 );
8192 SWIGINTERN PyObject
*_wrap_StaticText_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8193 PyObject
*resultobj
= 0;
8194 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8195 wxWindow
*arg2
= (wxWindow
*) 0 ;
8196 int arg3
= (int) -1 ;
8197 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8198 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8199 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8200 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8201 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8202 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8203 long arg7
= (long) 0 ;
8204 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
8205 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8213 bool temp4
= false ;
8218 bool temp8
= false ;
8219 PyObject
* obj0
= 0 ;
8220 PyObject
* obj1
= 0 ;
8221 PyObject
* obj2
= 0 ;
8222 PyObject
* obj3
= 0 ;
8223 PyObject
* obj4
= 0 ;
8224 PyObject
* obj5
= 0 ;
8225 PyObject
* obj6
= 0 ;
8226 PyObject
* obj7
= 0 ;
8227 char * kwnames
[] = {
8228 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8233 if (!SWIG_IsOK(res1
)) {
8234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8236 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8237 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8238 if (!SWIG_IsOK(res2
)) {
8239 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8241 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8243 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8244 if (!SWIG_IsOK(ecode3
)) {
8245 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8247 arg3
= static_cast< int >(val3
);
8251 arg4
= wxString_in_helper(obj3
);
8252 if (arg4
== NULL
) SWIG_fail
;
8259 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8265 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8269 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8270 if (!SWIG_IsOK(ecode7
)) {
8271 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8273 arg7
= static_cast< long >(val7
);
8277 arg8
= wxString_in_helper(obj7
);
8278 if (arg8
== NULL
) SWIG_fail
;
8283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8284 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8285 wxPyEndAllowThreads(__tstate
);
8286 if (PyErr_Occurred()) SWIG_fail
;
8289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8313 SWIGINTERN PyObject
*_wrap_StaticText_Wrap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8314 PyObject
*resultobj
= 0;
8315 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8321 PyObject
* obj0
= 0 ;
8322 PyObject
* obj1
= 0 ;
8323 char * kwnames
[] = {
8324 (char *) "self",(char *) "width", NULL
8327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticText_Wrap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8329 if (!SWIG_IsOK(res1
)) {
8330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8332 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8333 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8334 if (!SWIG_IsOK(ecode2
)) {
8335 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8337 arg2
= static_cast< int >(val2
);
8339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8341 wxPyEndAllowThreads(__tstate
);
8342 if (PyErr_Occurred()) SWIG_fail
;
8344 resultobj
= SWIG_Py_Void();
8351 SWIGINTERN PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8352 PyObject
*resultobj
= 0;
8353 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8354 SwigValueWrapper
<wxVisualAttributes
> result
;
8357 PyObject
* obj0
= 0 ;
8358 char * kwnames
[] = {
8359 (char *) "variant", NULL
8362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8364 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8365 if (!SWIG_IsOK(ecode1
)) {
8366 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8368 arg1
= static_cast< wxWindowVariant
>(val1
);
8371 if (!wxPyCheckForApp()) SWIG_fail
;
8372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8373 result
= wxStaticText::GetClassDefaultAttributes(arg1
);
8374 wxPyEndAllowThreads(__tstate
);
8375 if (PyErr_Occurred()) SWIG_fail
;
8377 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8384 SWIGINTERN PyObject
*StaticText_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8386 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8387 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText
, SWIG_NewClientData(obj
));
8388 return SWIG_Py_Void();
8391 SWIGINTERN PyObject
*StaticText_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8392 return SWIG_Python_InitShadowInstance(args
);
8395 SWIGINTERN PyObject
*_wrap_new_StaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8396 PyObject
*resultobj
= 0;
8397 wxWindow
*arg1
= (wxWindow
*) 0 ;
8398 int arg2
= (int) -1 ;
8399 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
8400 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
8401 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8402 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8403 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8404 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8405 long arg6
= (long) 0 ;
8406 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
8407 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8408 wxStaticBitmap
*result
= 0 ;
8419 bool temp7
= false ;
8420 PyObject
* obj0
= 0 ;
8421 PyObject
* obj1
= 0 ;
8422 PyObject
* obj2
= 0 ;
8423 PyObject
* obj3
= 0 ;
8424 PyObject
* obj4
= 0 ;
8425 PyObject
* obj5
= 0 ;
8426 PyObject
* obj6
= 0 ;
8427 char * kwnames
[] = {
8428 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8433 if (!SWIG_IsOK(res1
)) {
8434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8436 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8438 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8439 if (!SWIG_IsOK(ecode2
)) {
8440 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8442 arg2
= static_cast< int >(val2
);
8445 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8446 if (!SWIG_IsOK(res3
)) {
8447 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8450 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8452 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
8457 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8463 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8467 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8468 if (!SWIG_IsOK(ecode6
)) {
8469 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8471 arg6
= static_cast< long >(val6
);
8475 arg7
= wxString_in_helper(obj6
);
8476 if (arg7
== NULL
) SWIG_fail
;
8481 if (!wxPyCheckForApp()) SWIG_fail
;
8482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8483 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8484 wxPyEndAllowThreads(__tstate
);
8485 if (PyErr_Occurred()) SWIG_fail
;
8487 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_NEW
| 0 );
8502 SWIGINTERN PyObject
*_wrap_new_PreStaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8503 PyObject
*resultobj
= 0;
8504 wxStaticBitmap
*result
= 0 ;
8506 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBitmap",0,0,0)) SWIG_fail
;
8508 if (!wxPyCheckForApp()) SWIG_fail
;
8509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8510 result
= (wxStaticBitmap
*)new wxStaticBitmap();
8511 wxPyEndAllowThreads(__tstate
);
8512 if (PyErr_Occurred()) SWIG_fail
;
8514 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_OWN
| 0 );
8521 SWIGINTERN PyObject
*_wrap_StaticBitmap_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8522 PyObject
*resultobj
= 0;
8523 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8524 wxWindow
*arg2
= (wxWindow
*) 0 ;
8525 int arg3
= (int) -1 ;
8526 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
8527 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
8528 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8529 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8530 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8531 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8532 long arg7
= (long) 0 ;
8533 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
8534 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8548 bool temp8
= false ;
8549 PyObject
* obj0
= 0 ;
8550 PyObject
* obj1
= 0 ;
8551 PyObject
* obj2
= 0 ;
8552 PyObject
* obj3
= 0 ;
8553 PyObject
* obj4
= 0 ;
8554 PyObject
* obj5
= 0 ;
8555 PyObject
* obj6
= 0 ;
8556 PyObject
* obj7
= 0 ;
8557 char * kwnames
[] = {
8558 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8563 if (!SWIG_IsOK(res1
)) {
8564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8566 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8567 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8568 if (!SWIG_IsOK(res2
)) {
8569 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8571 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8573 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8574 if (!SWIG_IsOK(ecode3
)) {
8575 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8577 arg3
= static_cast< int >(val3
);
8580 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8581 if (!SWIG_IsOK(res4
)) {
8582 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8585 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8587 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
8592 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8598 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8602 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8603 if (!SWIG_IsOK(ecode7
)) {
8604 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8606 arg7
= static_cast< long >(val7
);
8610 arg8
= wxString_in_helper(obj7
);
8611 if (arg8
== NULL
) SWIG_fail
;
8616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8617 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8618 wxPyEndAllowThreads(__tstate
);
8619 if (PyErr_Occurred()) SWIG_fail
;
8622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8638 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8639 PyObject
*resultobj
= 0;
8640 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8644 PyObject
*swig_obj
[1] ;
8646 if (!args
) SWIG_fail
;
8648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8649 if (!SWIG_IsOK(res1
)) {
8650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8652 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8655 result
= (arg1
)->GetBitmap();
8656 wxPyEndAllowThreads(__tstate
);
8657 if (PyErr_Occurred()) SWIG_fail
;
8659 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
8666 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8667 PyObject
*resultobj
= 0;
8668 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8669 wxBitmap
*arg2
= 0 ;
8674 PyObject
* obj0
= 0 ;
8675 PyObject
* obj1
= 0 ;
8676 char * kwnames
[] = {
8677 (char *) "self",(char *) "bitmap", NULL
8680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8682 if (!SWIG_IsOK(res1
)) {
8683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8685 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8686 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8687 if (!SWIG_IsOK(res2
)) {
8688 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8691 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8693 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8696 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8697 wxPyEndAllowThreads(__tstate
);
8698 if (PyErr_Occurred()) SWIG_fail
;
8700 resultobj
= SWIG_Py_Void();
8707 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8708 PyObject
*resultobj
= 0;
8709 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8715 PyObject
* obj0
= 0 ;
8716 PyObject
* obj1
= 0 ;
8717 char * kwnames
[] = {
8718 (char *) "self",(char *) "icon", NULL
8721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8723 if (!SWIG_IsOK(res1
)) {
8724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8726 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8727 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
8728 if (!SWIG_IsOK(res2
)) {
8729 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8732 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8734 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
8736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8737 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
8738 wxPyEndAllowThreads(__tstate
);
8739 if (PyErr_Occurred()) SWIG_fail
;
8741 resultobj
= SWIG_Py_Void();
8748 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8749 PyObject
*resultobj
= 0;
8750 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8751 SwigValueWrapper
<wxVisualAttributes
> result
;
8754 PyObject
* obj0
= 0 ;
8755 char * kwnames
[] = {
8756 (char *) "variant", NULL
8759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8761 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8762 if (!SWIG_IsOK(ecode1
)) {
8763 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8765 arg1
= static_cast< wxWindowVariant
>(val1
);
8768 if (!wxPyCheckForApp()) SWIG_fail
;
8769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8770 result
= wxStaticBitmap::GetClassDefaultAttributes(arg1
);
8771 wxPyEndAllowThreads(__tstate
);
8772 if (PyErr_Occurred()) SWIG_fail
;
8774 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8781 SWIGINTERN PyObject
*StaticBitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8783 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8784 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap
, SWIG_NewClientData(obj
));
8785 return SWIG_Py_Void();
8788 SWIGINTERN PyObject
*StaticBitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8789 return SWIG_Python_InitShadowInstance(args
);
8792 SWIGINTERN
int ListBoxNameStr_set(PyObject
*) {
8793 SWIG_Error(SWIG_AttributeError
,"Variable ListBoxNameStr is read-only.");
8798 SWIGINTERN PyObject
*ListBoxNameStr_get(void) {
8799 PyObject
*pyobj
= 0;
8803 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8805 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8812 SWIGINTERN PyObject
*_wrap_new_ListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8813 PyObject
*resultobj
= 0;
8814 wxWindow
*arg1
= (wxWindow
*) 0 ;
8815 int arg2
= (int) -1 ;
8816 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8817 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8818 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8819 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8820 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8821 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8822 long arg6
= (long) 0 ;
8823 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8824 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8825 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8826 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8827 wxListBox
*result
= 0 ;
8834 bool temp5
= false ;
8839 bool temp8
= false ;
8840 PyObject
* obj0
= 0 ;
8841 PyObject
* obj1
= 0 ;
8842 PyObject
* obj2
= 0 ;
8843 PyObject
* obj3
= 0 ;
8844 PyObject
* obj4
= 0 ;
8845 PyObject
* obj5
= 0 ;
8846 PyObject
* obj6
= 0 ;
8847 PyObject
* obj7
= 0 ;
8848 char * kwnames
[] = {
8849 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8854 if (!SWIG_IsOK(res1
)) {
8855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
8857 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8859 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8860 if (!SWIG_IsOK(ecode2
)) {
8861 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
8863 arg2
= static_cast< int >(val2
);
8868 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8874 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8879 if (! PySequence_Check(obj4
)) {
8880 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8883 arg5
= new wxArrayString
;
8885 int i
, len
=PySequence_Length(obj4
);
8886 for (i
=0; i
<len
; i
++) {
8887 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8888 wxString
* s
= wxString_in_helper(item
);
8889 if (PyErr_Occurred()) SWIG_fail
;
8897 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8898 if (!SWIG_IsOK(ecode6
)) {
8899 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
8901 arg6
= static_cast< long >(val6
);
8904 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
8905 if (!SWIG_IsOK(res7
)) {
8906 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8909 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8911 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
8915 arg8
= wxString_in_helper(obj7
);
8916 if (arg8
== NULL
) SWIG_fail
;
8921 if (!wxPyCheckForApp()) SWIG_fail
;
8922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8923 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8924 wxPyEndAllowThreads(__tstate
);
8925 if (PyErr_Occurred()) SWIG_fail
;
8927 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_NEW
| 0 );
8929 if (temp5
) delete arg5
;
8938 if (temp5
) delete arg5
;
8948 SWIGINTERN PyObject
*_wrap_new_PreListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8949 PyObject
*resultobj
= 0;
8950 wxListBox
*result
= 0 ;
8952 if (!SWIG_Python_UnpackTuple(args
,"new_PreListBox",0,0,0)) SWIG_fail
;
8954 if (!wxPyCheckForApp()) SWIG_fail
;
8955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8956 result
= (wxListBox
*)new wxListBox();
8957 wxPyEndAllowThreads(__tstate
);
8958 if (PyErr_Occurred()) SWIG_fail
;
8960 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_OWN
| 0 );
8967 SWIGINTERN PyObject
*_wrap_ListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8968 PyObject
*resultobj
= 0;
8969 wxListBox
*arg1
= (wxListBox
*) 0 ;
8970 wxWindow
*arg2
= (wxWindow
*) 0 ;
8971 int arg3
= (int) -1 ;
8972 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8973 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8974 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8975 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8976 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
8977 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
8978 long arg7
= (long) 0 ;
8979 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8980 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8981 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
8982 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8992 bool temp6
= false ;
8997 bool temp9
= false ;
8998 PyObject
* obj0
= 0 ;
8999 PyObject
* obj1
= 0 ;
9000 PyObject
* obj2
= 0 ;
9001 PyObject
* obj3
= 0 ;
9002 PyObject
* obj4
= 0 ;
9003 PyObject
* obj5
= 0 ;
9004 PyObject
* obj6
= 0 ;
9005 PyObject
* obj7
= 0 ;
9006 PyObject
* obj8
= 0 ;
9007 char * kwnames
[] = {
9008 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
9011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
9012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9013 if (!SWIG_IsOK(res1
)) {
9014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
9016 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9017 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9018 if (!SWIG_IsOK(res2
)) {
9019 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9021 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9023 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9024 if (!SWIG_IsOK(ecode3
)) {
9025 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
9027 arg3
= static_cast< int >(val3
);
9032 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9038 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9043 if (! PySequence_Check(obj5
)) {
9044 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9047 arg6
= new wxArrayString
;
9049 int i
, len
=PySequence_Length(obj5
);
9050 for (i
=0; i
<len
; i
++) {
9051 PyObject
* item
= PySequence_GetItem(obj5
, i
);
9052 wxString
* s
= wxString_in_helper(item
);
9053 if (PyErr_Occurred()) SWIG_fail
;
9061 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
9062 if (!SWIG_IsOK(ecode7
)) {
9063 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
9065 arg7
= static_cast< long >(val7
);
9068 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
9069 if (!SWIG_IsOK(res8
)) {
9070 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9073 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9075 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
9079 arg9
= wxString_in_helper(obj8
);
9080 if (arg9
== NULL
) SWIG_fail
;
9085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9086 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9087 wxPyEndAllowThreads(__tstate
);
9088 if (PyErr_Occurred()) SWIG_fail
;
9091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9094 if (temp6
) delete arg6
;
9103 if (temp6
) delete arg6
;
9113 SWIGINTERN PyObject
*_wrap_ListBox_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9114 PyObject
*resultobj
= 0;
9115 wxListBox
*arg1
= (wxListBox
*) 0 ;
9116 wxString
*arg2
= 0 ;
9118 PyObject
*arg4
= (PyObject
*) NULL
;
9121 bool temp2
= false ;
9124 PyObject
* obj0
= 0 ;
9125 PyObject
* obj1
= 0 ;
9126 PyObject
* obj2
= 0 ;
9127 PyObject
* obj3
= 0 ;
9128 char * kwnames
[] = {
9129 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9134 if (!SWIG_IsOK(res1
)) {
9135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9137 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9139 arg2
= wxString_in_helper(obj1
);
9140 if (arg2
== NULL
) SWIG_fail
;
9143 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9144 if (!SWIG_IsOK(ecode3
)) {
9145 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9147 arg3
= static_cast< int >(val3
);
9152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9153 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9154 wxPyEndAllowThreads(__tstate
);
9155 if (PyErr_Occurred()) SWIG_fail
;
9157 resultobj
= SWIG_Py_Void();
9172 SWIGINTERN PyObject
*_wrap_ListBox_InsertItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9173 PyObject
*resultobj
= 0;
9174 wxListBox
*arg1
= (wxListBox
*) 0 ;
9175 wxArrayString
*arg2
= 0 ;
9179 bool temp2
= false ;
9182 PyObject
* obj0
= 0 ;
9183 PyObject
* obj1
= 0 ;
9184 PyObject
* obj2
= 0 ;
9185 char * kwnames
[] = {
9186 (char *) "self",(char *) "items",(char *) "pos", NULL
9189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9191 if (!SWIG_IsOK(res1
)) {
9192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9194 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9196 if (! PySequence_Check(obj1
)) {
9197 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9200 arg2
= new wxArrayString
;
9202 int i
, len
=PySequence_Length(obj1
);
9203 for (i
=0; i
<len
; i
++) {
9204 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9205 wxString
* s
= wxString_in_helper(item
);
9206 if (PyErr_Occurred()) SWIG_fail
;
9212 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
9213 if (!SWIG_IsOK(ecode3
)) {
9214 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "unsigned int""'");
9216 arg3
= static_cast< unsigned int >(val3
);
9218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9219 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
9220 wxPyEndAllowThreads(__tstate
);
9221 if (PyErr_Occurred()) SWIG_fail
;
9223 resultobj
= SWIG_Py_Void();
9225 if (temp2
) delete arg2
;
9230 if (temp2
) delete arg2
;
9236 SWIGINTERN PyObject
*_wrap_ListBox_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9237 PyObject
*resultobj
= 0;
9238 wxListBox
*arg1
= (wxListBox
*) 0 ;
9239 wxArrayString
*arg2
= 0 ;
9242 bool temp2
= false ;
9243 PyObject
* obj0
= 0 ;
9244 PyObject
* obj1
= 0 ;
9245 char * kwnames
[] = {
9246 (char *) "self",(char *) "items", NULL
9249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9251 if (!SWIG_IsOK(res1
)) {
9252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9254 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9256 if (! PySequence_Check(obj1
)) {
9257 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9260 arg2
= new wxArrayString
;
9262 int i
, len
=PySequence_Length(obj1
);
9263 for (i
=0; i
<len
; i
++) {
9264 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9265 wxString
* s
= wxString_in_helper(item
);
9266 if (PyErr_Occurred()) SWIG_fail
;
9273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9274 (arg1
)->Set((wxArrayString
const &)*arg2
);
9275 wxPyEndAllowThreads(__tstate
);
9276 if (PyErr_Occurred()) SWIG_fail
;
9278 resultobj
= SWIG_Py_Void();
9280 if (temp2
) delete arg2
;
9285 if (temp2
) delete arg2
;
9291 SWIGINTERN PyObject
*_wrap_ListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9292 PyObject
*resultobj
= 0;
9293 wxListBox
*arg1
= (wxListBox
*) 0 ;
9300 PyObject
* obj0
= 0 ;
9301 PyObject
* obj1
= 0 ;
9302 char * kwnames
[] = {
9303 (char *) "self",(char *) "n", NULL
9306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9308 if (!SWIG_IsOK(res1
)) {
9309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
9311 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9312 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9313 if (!SWIG_IsOK(ecode2
)) {
9314 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_IsSelected" "', expected argument " "2"" of type '" "int""'");
9316 arg2
= static_cast< int >(val2
);
9318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9319 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
9320 wxPyEndAllowThreads(__tstate
);
9321 if (PyErr_Occurred()) SWIG_fail
;
9324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9332 SWIGINTERN PyObject
*_wrap_ListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9333 PyObject
*resultobj
= 0;
9334 wxListBox
*arg1
= (wxListBox
*) 0 ;
9336 bool arg3
= (bool) true ;
9343 PyObject
* obj0
= 0 ;
9344 PyObject
* obj1
= 0 ;
9345 PyObject
* obj2
= 0 ;
9346 char * kwnames
[] = {
9347 (char *) "self",(char *) "n",(char *) "select", NULL
9350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9352 if (!SWIG_IsOK(res1
)) {
9353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9355 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9356 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9357 if (!SWIG_IsOK(ecode2
)) {
9358 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9360 arg2
= static_cast< int >(val2
);
9362 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9363 if (!SWIG_IsOK(ecode3
)) {
9364 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9366 arg3
= static_cast< bool >(val3
);
9369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9370 (arg1
)->SetSelection(arg2
,arg3
);
9371 wxPyEndAllowThreads(__tstate
);
9372 if (PyErr_Occurred()) SWIG_fail
;
9374 resultobj
= SWIG_Py_Void();
9381 SWIGINTERN PyObject
*_wrap_ListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9382 PyObject
*resultobj
= 0;
9383 wxListBox
*arg1
= (wxListBox
*) 0 ;
9389 PyObject
* obj0
= 0 ;
9390 PyObject
* obj1
= 0 ;
9391 char * kwnames
[] = {
9392 (char *) "self",(char *) "n", NULL
9395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9397 if (!SWIG_IsOK(res1
)) {
9398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9400 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9401 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9402 if (!SWIG_IsOK(ecode2
)) {
9403 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9405 arg2
= static_cast< int >(val2
);
9407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9408 (arg1
)->Select(arg2
);
9409 wxPyEndAllowThreads(__tstate
);
9410 if (PyErr_Occurred()) SWIG_fail
;
9412 resultobj
= SWIG_Py_Void();
9419 SWIGINTERN PyObject
*_wrap_ListBox_Deselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9420 PyObject
*resultobj
= 0;
9421 wxListBox
*arg1
= (wxListBox
*) 0 ;
9427 PyObject
* obj0
= 0 ;
9428 PyObject
* obj1
= 0 ;
9429 char * kwnames
[] = {
9430 (char *) "self",(char *) "n", NULL
9433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9435 if (!SWIG_IsOK(res1
)) {
9436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9438 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9439 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9440 if (!SWIG_IsOK(ecode2
)) {
9441 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9443 arg2
= static_cast< int >(val2
);
9445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9446 (arg1
)->Deselect(arg2
);
9447 wxPyEndAllowThreads(__tstate
);
9448 if (PyErr_Occurred()) SWIG_fail
;
9450 resultobj
= SWIG_Py_Void();
9457 SWIGINTERN PyObject
*_wrap_ListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9458 PyObject
*resultobj
= 0;
9459 wxListBox
*arg1
= (wxListBox
*) 0 ;
9460 int arg2
= (int) -1 ;
9465 PyObject
* obj0
= 0 ;
9466 PyObject
* obj1
= 0 ;
9467 char * kwnames
[] = {
9468 (char *) "self",(char *) "itemToLeaveSelected", NULL
9471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9473 if (!SWIG_IsOK(res1
)) {
9474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9476 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9478 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9479 if (!SWIG_IsOK(ecode2
)) {
9480 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9482 arg2
= static_cast< int >(val2
);
9485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9486 (arg1
)->DeselectAll(arg2
);
9487 wxPyEndAllowThreads(__tstate
);
9488 if (PyErr_Occurred()) SWIG_fail
;
9490 resultobj
= SWIG_Py_Void();
9497 SWIGINTERN PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9498 PyObject
*resultobj
= 0;
9499 wxListBox
*arg1
= (wxListBox
*) 0 ;
9500 wxString
*arg2
= 0 ;
9501 bool arg3
= (bool) true ;
9505 bool temp2
= false ;
9508 PyObject
* obj0
= 0 ;
9509 PyObject
* obj1
= 0 ;
9510 PyObject
* obj2
= 0 ;
9511 char * kwnames
[] = {
9512 (char *) "self",(char *) "s",(char *) "select", NULL
9515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9517 if (!SWIG_IsOK(res1
)) {
9518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetStringSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9520 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9522 arg2
= wxString_in_helper(obj1
);
9523 if (arg2
== NULL
) SWIG_fail
;
9527 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9528 if (!SWIG_IsOK(ecode3
)) {
9529 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9531 arg3
= static_cast< bool >(val3
);
9534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9535 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
9536 wxPyEndAllowThreads(__tstate
);
9537 if (PyErr_Occurred()) SWIG_fail
;
9540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9556 SWIGINTERN PyObject
*_wrap_ListBox_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9557 PyObject
*resultobj
= 0;
9558 wxListBox
*arg1
= (wxListBox
*) 0 ;
9559 PyObject
*result
= 0 ;
9562 PyObject
*swig_obj
[1] ;
9564 if (!args
) SWIG_fail
;
9566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9567 if (!SWIG_IsOK(res1
)) {
9568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9570 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9573 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
9574 wxPyEndAllowThreads(__tstate
);
9575 if (PyErr_Occurred()) SWIG_fail
;
9584 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9585 PyObject
*resultobj
= 0;
9586 wxListBox
*arg1
= (wxListBox
*) 0 ;
9592 PyObject
* obj0
= 0 ;
9593 PyObject
* obj1
= 0 ;
9594 char * kwnames
[] = {
9595 (char *) "self",(char *) "n", NULL
9598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9600 if (!SWIG_IsOK(res1
)) {
9601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9603 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9604 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9605 if (!SWIG_IsOK(ecode2
)) {
9606 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9608 arg2
= static_cast< int >(val2
);
9610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9611 (arg1
)->SetFirstItem(arg2
);
9612 wxPyEndAllowThreads(__tstate
);
9613 if (PyErr_Occurred()) SWIG_fail
;
9615 resultobj
= SWIG_Py_Void();
9622 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9623 PyObject
*resultobj
= 0;
9624 wxListBox
*arg1
= (wxListBox
*) 0 ;
9625 wxString
*arg2
= 0 ;
9628 bool temp2
= false ;
9629 PyObject
* obj0
= 0 ;
9630 PyObject
* obj1
= 0 ;
9631 char * kwnames
[] = {
9632 (char *) "self",(char *) "s", NULL
9635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9637 if (!SWIG_IsOK(res1
)) {
9638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9640 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9642 arg2
= wxString_in_helper(obj1
);
9643 if (arg2
== NULL
) SWIG_fail
;
9647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9648 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
9649 wxPyEndAllowThreads(__tstate
);
9650 if (PyErr_Occurred()) SWIG_fail
;
9652 resultobj
= SWIG_Py_Void();
9667 SWIGINTERN PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9668 PyObject
*resultobj
= 0;
9669 wxListBox
*arg1
= (wxListBox
*) 0 ;
9675 PyObject
* obj0
= 0 ;
9676 PyObject
* obj1
= 0 ;
9677 char * kwnames
[] = {
9678 (char *) "self",(char *) "n", NULL
9681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9683 if (!SWIG_IsOK(res1
)) {
9684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9686 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9687 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9688 if (!SWIG_IsOK(ecode2
)) {
9689 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9691 arg2
= static_cast< int >(val2
);
9693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9694 (arg1
)->EnsureVisible(arg2
);
9695 wxPyEndAllowThreads(__tstate
);
9696 if (PyErr_Occurred()) SWIG_fail
;
9698 resultobj
= SWIG_Py_Void();
9705 SWIGINTERN PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9706 PyObject
*resultobj
= 0;
9707 wxListBox
*arg1
= (wxListBox
*) 0 ;
9708 wxString
*arg2
= 0 ;
9711 bool temp2
= false ;
9712 PyObject
* obj0
= 0 ;
9713 PyObject
* obj1
= 0 ;
9714 char * kwnames
[] = {
9715 (char *) "self",(char *) "s", NULL
9718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9720 if (!SWIG_IsOK(res1
)) {
9721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9723 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9725 arg2
= wxString_in_helper(obj1
);
9726 if (arg2
== NULL
) SWIG_fail
;
9730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9731 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
9732 wxPyEndAllowThreads(__tstate
);
9733 if (PyErr_Occurred()) SWIG_fail
;
9735 resultobj
= SWIG_Py_Void();
9750 SWIGINTERN PyObject
*_wrap_ListBox_IsSorted(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9751 PyObject
*resultobj
= 0;
9752 wxListBox
*arg1
= (wxListBox
*) 0 ;
9756 PyObject
*swig_obj
[1] ;
9758 if (!args
) SWIG_fail
;
9760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9761 if (!SWIG_IsOK(res1
)) {
9762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9764 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9767 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
9768 wxPyEndAllowThreads(__tstate
);
9769 if (PyErr_Occurred()) SWIG_fail
;
9772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9780 SWIGINTERN PyObject
*_wrap_ListBox_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9781 PyObject
*resultobj
= 0;
9782 wxListBox
*arg1
= (wxListBox
*) 0 ;
9788 PyObject
* obj0
= 0 ;
9789 PyObject
* obj1
= 0 ;
9790 char * kwnames
[] = {
9791 (char *) "self",(char *) "pt", NULL
9794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9796 if (!SWIG_IsOK(res1
)) {
9797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9799 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9802 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9806 result
= (int)((wxListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9807 wxPyEndAllowThreads(__tstate
);
9808 if (PyErr_Occurred()) SWIG_fail
;
9810 resultobj
= SWIG_From_int(static_cast< int >(result
));
9817 SWIGINTERN PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9818 PyObject
*resultobj
= 0;
9819 wxListBox
*arg1
= (wxListBox
*) 0 ;
9821 wxColour
*arg3
= 0 ;
9827 PyObject
* obj0
= 0 ;
9828 PyObject
* obj1
= 0 ;
9829 PyObject
* obj2
= 0 ;
9830 char * kwnames
[] = {
9831 (char *) "self",(char *) "item",(char *) "c", NULL
9834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9836 if (!SWIG_IsOK(res1
)) {
9837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9839 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9840 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9841 if (!SWIG_IsOK(ecode2
)) {
9842 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
9844 arg2
= static_cast< int >(val2
);
9847 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9851 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9852 wxPyEndAllowThreads(__tstate
);
9853 if (PyErr_Occurred()) SWIG_fail
;
9855 resultobj
= SWIG_Py_Void();
9862 SWIGINTERN PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9863 PyObject
*resultobj
= 0;
9864 wxListBox
*arg1
= (wxListBox
*) 0 ;
9866 wxColour
*arg3
= 0 ;
9872 PyObject
* obj0
= 0 ;
9873 PyObject
* obj1
= 0 ;
9874 PyObject
* obj2
= 0 ;
9875 char * kwnames
[] = {
9876 (char *) "self",(char *) "item",(char *) "c", NULL
9879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9881 if (!SWIG_IsOK(res1
)) {
9882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9884 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9885 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9886 if (!SWIG_IsOK(ecode2
)) {
9887 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
9889 arg2
= static_cast< int >(val2
);
9892 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9896 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9897 wxPyEndAllowThreads(__tstate
);
9898 if (PyErr_Occurred()) SWIG_fail
;
9900 resultobj
= SWIG_Py_Void();
9907 SWIGINTERN PyObject
*_wrap_ListBox_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9908 PyObject
*resultobj
= 0;
9909 wxListBox
*arg1
= (wxListBox
*) 0 ;
9918 PyObject
* obj0
= 0 ;
9919 PyObject
* obj1
= 0 ;
9920 PyObject
* obj2
= 0 ;
9921 char * kwnames
[] = {
9922 (char *) "self",(char *) "item",(char *) "f", NULL
9925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9927 if (!SWIG_IsOK(res1
)) {
9928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemFont" "', expected argument " "1"" of type '" "wxListBox *""'");
9930 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9931 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9932 if (!SWIG_IsOK(ecode2
)) {
9933 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemFont" "', expected argument " "2"" of type '" "int""'");
9935 arg2
= static_cast< int >(val2
);
9936 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
9937 if (!SWIG_IsOK(res3
)) {
9938 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9941 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9943 arg3
= reinterpret_cast< wxFont
* >(argp3
);
9945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9946 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
9947 wxPyEndAllowThreads(__tstate
);
9948 if (PyErr_Occurred()) SWIG_fail
;
9950 resultobj
= SWIG_Py_Void();
9957 SWIGINTERN PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9958 PyObject
*resultobj
= 0;
9959 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9960 SwigValueWrapper
<wxVisualAttributes
> result
;
9963 PyObject
* obj0
= 0 ;
9964 char * kwnames
[] = {
9965 (char *) "variant", NULL
9968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9970 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9971 if (!SWIG_IsOK(ecode1
)) {
9972 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9974 arg1
= static_cast< wxWindowVariant
>(val1
);
9977 if (!wxPyCheckForApp()) SWIG_fail
;
9978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9979 result
= wxListBox::GetClassDefaultAttributes(arg1
);
9980 wxPyEndAllowThreads(__tstate
);
9981 if (PyErr_Occurred()) SWIG_fail
;
9983 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9990 SWIGINTERN PyObject
*ListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9992 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9993 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox
, SWIG_NewClientData(obj
));
9994 return SWIG_Py_Void();
9997 SWIGINTERN PyObject
*ListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9998 return SWIG_Python_InitShadowInstance(args
);
10001 SWIGINTERN PyObject
*_wrap_new_CheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10002 PyObject
*resultobj
= 0;
10003 wxWindow
*arg1
= (wxWindow
*) 0 ;
10004 int arg2
= (int) -1 ;
10005 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10006 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10007 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10008 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10009 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
10010 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
10011 long arg6
= (long) 0 ;
10012 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10013 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10014 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
10015 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10016 wxCheckListBox
*result
= 0 ;
10023 bool temp5
= false ;
10028 bool temp8
= false ;
10029 PyObject
* obj0
= 0 ;
10030 PyObject
* obj1
= 0 ;
10031 PyObject
* obj2
= 0 ;
10032 PyObject
* obj3
= 0 ;
10033 PyObject
* obj4
= 0 ;
10034 PyObject
* obj5
= 0 ;
10035 PyObject
* obj6
= 0 ;
10036 PyObject
* obj7
= 0 ;
10037 char * kwnames
[] = {
10038 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
10042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10043 if (!SWIG_IsOK(res1
)) {
10044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
10046 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10048 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10049 if (!SWIG_IsOK(ecode2
)) {
10050 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
10052 arg2
= static_cast< int >(val2
);
10057 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10063 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10068 if (! PySequence_Check(obj4
)) {
10069 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10072 arg5
= new wxArrayString
;
10074 int i
, len
=PySequence_Length(obj4
);
10075 for (i
=0; i
<len
; i
++) {
10076 PyObject
* item
= PySequence_GetItem(obj4
, i
);
10077 wxString
* s
= wxString_in_helper(item
);
10078 if (PyErr_Occurred()) SWIG_fail
;
10086 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10087 if (!SWIG_IsOK(ecode6
)) {
10088 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
10090 arg6
= static_cast< long >(val6
);
10093 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
10094 if (!SWIG_IsOK(res7
)) {
10095 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10098 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10100 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
10104 arg8
= wxString_in_helper(obj7
);
10105 if (arg8
== NULL
) SWIG_fail
;
10110 if (!wxPyCheckForApp()) SWIG_fail
;
10111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10112 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10113 wxPyEndAllowThreads(__tstate
);
10114 if (PyErr_Occurred()) SWIG_fail
;
10116 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_NEW
| 0 );
10118 if (temp5
) delete arg5
;
10127 if (temp5
) delete arg5
;
10137 SWIGINTERN PyObject
*_wrap_new_PreCheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10138 PyObject
*resultobj
= 0;
10139 wxCheckListBox
*result
= 0 ;
10141 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckListBox",0,0,0)) SWIG_fail
;
10143 if (!wxPyCheckForApp()) SWIG_fail
;
10144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10145 result
= (wxCheckListBox
*)new wxCheckListBox();
10146 wxPyEndAllowThreads(__tstate
);
10147 if (PyErr_Occurred()) SWIG_fail
;
10149 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_OWN
| 0 );
10156 SWIGINTERN PyObject
*_wrap_CheckListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10157 PyObject
*resultobj
= 0;
10158 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10159 wxWindow
*arg2
= (wxWindow
*) 0 ;
10160 int arg3
= (int) -1 ;
10161 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10162 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10163 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10164 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10165 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10166 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10167 long arg7
= (long) 0 ;
10168 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
10169 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
10170 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
10171 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10181 bool temp6
= false ;
10186 bool temp9
= false ;
10187 PyObject
* obj0
= 0 ;
10188 PyObject
* obj1
= 0 ;
10189 PyObject
* obj2
= 0 ;
10190 PyObject
* obj3
= 0 ;
10191 PyObject
* obj4
= 0 ;
10192 PyObject
* obj5
= 0 ;
10193 PyObject
* obj6
= 0 ;
10194 PyObject
* obj7
= 0 ;
10195 PyObject
* obj8
= 0 ;
10196 char * kwnames
[] = {
10197 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
10201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10202 if (!SWIG_IsOK(res1
)) {
10203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10205 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10206 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10207 if (!SWIG_IsOK(res2
)) {
10208 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10210 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10212 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10213 if (!SWIG_IsOK(ecode3
)) {
10214 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10216 arg3
= static_cast< int >(val3
);
10221 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10227 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10232 if (! PySequence_Check(obj5
)) {
10233 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10236 arg6
= new wxArrayString
;
10238 int i
, len
=PySequence_Length(obj5
);
10239 for (i
=0; i
<len
; i
++) {
10240 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10241 wxString
* s
= wxString_in_helper(item
);
10242 if (PyErr_Occurred()) SWIG_fail
;
10250 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
10251 if (!SWIG_IsOK(ecode7
)) {
10252 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10254 arg7
= static_cast< long >(val7
);
10257 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
10258 if (!SWIG_IsOK(res8
)) {
10259 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10262 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10264 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
10268 arg9
= wxString_in_helper(obj8
);
10269 if (arg9
== NULL
) SWIG_fail
;
10274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10275 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10276 wxPyEndAllowThreads(__tstate
);
10277 if (PyErr_Occurred()) SWIG_fail
;
10280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10283 if (temp6
) delete arg6
;
10292 if (temp6
) delete arg6
;
10302 SWIGINTERN PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10303 PyObject
*resultobj
= 0;
10304 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10305 unsigned int arg2
;
10309 unsigned int val2
;
10311 PyObject
* obj0
= 0 ;
10312 PyObject
* obj1
= 0 ;
10313 char * kwnames
[] = {
10314 (char *) "self",(char *) "index", NULL
10317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10319 if (!SWIG_IsOK(res1
)) {
10320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10322 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10323 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10324 if (!SWIG_IsOK(ecode2
)) {
10325 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_IsChecked" "', expected argument " "2"" of type '" "unsigned int""'");
10327 arg2
= static_cast< unsigned int >(val2
);
10329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10330 result
= (bool)(arg1
)->IsChecked(arg2
);
10331 wxPyEndAllowThreads(__tstate
);
10332 if (PyErr_Occurred()) SWIG_fail
;
10335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10343 SWIGINTERN PyObject
*_wrap_CheckListBox_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10344 PyObject
*resultobj
= 0;
10345 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10346 unsigned int arg2
;
10347 int arg3
= (int) true ;
10350 unsigned int val2
;
10354 PyObject
* obj0
= 0 ;
10355 PyObject
* obj1
= 0 ;
10356 PyObject
* obj2
= 0 ;
10357 char * kwnames
[] = {
10358 (char *) "self",(char *) "index",(char *) "check", NULL
10361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10362 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10363 if (!SWIG_IsOK(res1
)) {
10364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10366 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10367 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10368 if (!SWIG_IsOK(ecode2
)) {
10369 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "unsigned int""'");
10371 arg2
= static_cast< unsigned int >(val2
);
10373 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10374 if (!SWIG_IsOK(ecode3
)) {
10375 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10377 arg3
= static_cast< int >(val3
);
10380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10381 (arg1
)->Check(arg2
,arg3
);
10382 wxPyEndAllowThreads(__tstate
);
10383 if (PyErr_Occurred()) SWIG_fail
;
10385 resultobj
= SWIG_Py_Void();
10392 SWIGINTERN PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10393 PyObject
*resultobj
= 0;
10394 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10398 PyObject
*swig_obj
[1] ;
10400 if (!args
) SWIG_fail
;
10401 swig_obj
[0] = args
;
10402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10403 if (!SWIG_IsOK(res1
)) {
10404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_GetItemHeight" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10406 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10409 result
= (int)(arg1
)->GetItemHeight();
10410 wxPyEndAllowThreads(__tstate
);
10411 if (PyErr_Occurred()) SWIG_fail
;
10413 resultobj
= SWIG_From_int(static_cast< int >(result
));
10420 SWIGINTERN PyObject
*CheckListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10422 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10423 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox
, SWIG_NewClientData(obj
));
10424 return SWIG_Py_Void();
10427 SWIGINTERN PyObject
*CheckListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10428 return SWIG_Python_InitShadowInstance(args
);
10431 SWIGINTERN
int TextCtrlNameStr_set(PyObject
*) {
10432 SWIG_Error(SWIG_AttributeError
,"Variable TextCtrlNameStr is read-only.");
10437 SWIGINTERN PyObject
*TextCtrlNameStr_get(void) {
10438 PyObject
*pyobj
= 0;
10442 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10444 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10451 SWIGINTERN PyObject
*_wrap_new_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10452 PyObject
*resultobj
= 0;
10453 wxColour
const &arg1_defvalue
= wxNullColour
;
10454 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
10455 wxColour
const &arg2_defvalue
= wxNullColour
;
10456 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
10457 wxFont
const &arg3_defvalue
= wxNullFont
;
10458 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
10459 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
10460 wxTextAttr
*result
= 0 ;
10467 PyObject
* obj0
= 0 ;
10468 PyObject
* obj1
= 0 ;
10469 PyObject
* obj2
= 0 ;
10470 PyObject
* obj3
= 0 ;
10471 char * kwnames
[] = {
10472 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10479 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
10485 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10489 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
10490 if (!SWIG_IsOK(res3
)) {
10491 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10494 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10496 arg3
= reinterpret_cast< wxFont
* >(argp3
);
10499 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10500 if (!SWIG_IsOK(ecode4
)) {
10501 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10503 arg4
= static_cast< wxTextAttrAlignment
>(val4
);
10506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10507 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,arg4
);
10508 wxPyEndAllowThreads(__tstate
);
10509 if (PyErr_Occurred()) SWIG_fail
;
10511 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_NEW
| 0 );
10518 SWIGINTERN PyObject
*_wrap_delete_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10519 PyObject
*resultobj
= 0;
10520 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10523 PyObject
*swig_obj
[1] ;
10525 if (!args
) SWIG_fail
;
10526 swig_obj
[0] = args
;
10527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_DISOWN
| 0 );
10528 if (!SWIG_IsOK(res1
)) {
10529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10531 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10536 wxPyEndAllowThreads(__tstate
);
10537 if (PyErr_Occurred()) SWIG_fail
;
10539 resultobj
= SWIG_Py_Void();
10546 SWIGINTERN PyObject
*_wrap_TextAttr_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10547 PyObject
*resultobj
= 0;
10548 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10551 PyObject
*swig_obj
[1] ;
10553 if (!args
) SWIG_fail
;
10554 swig_obj
[0] = args
;
10555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10556 if (!SWIG_IsOK(res1
)) {
10557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10559 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10563 wxPyEndAllowThreads(__tstate
);
10564 if (PyErr_Occurred()) SWIG_fail
;
10566 resultobj
= SWIG_Py_Void();
10573 SWIGINTERN PyObject
*_wrap_TextAttr_Merge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10574 PyObject
*resultobj
= 0;
10575 wxTextAttr
*arg1
= 0 ;
10576 wxTextAttr
*arg2
= 0 ;
10582 PyObject
* obj0
= 0 ;
10583 PyObject
* obj1
= 0 ;
10584 char * kwnames
[] = {
10585 (char *) "base",(char *) "overlay", NULL
10588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_Merge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10589 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10590 if (!SWIG_IsOK(res1
)) {
10591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10594 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10596 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10597 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10598 if (!SWIG_IsOK(res2
)) {
10599 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10602 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10604 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
10606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10607 result
= wxTextAttr::Merge((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
);
10608 wxPyEndAllowThreads(__tstate
);
10609 if (PyErr_Occurred()) SWIG_fail
;
10611 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
10618 SWIGINTERN PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10619 PyObject
*resultobj
= 0;
10620 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10621 wxColour
*arg2
= 0 ;
10625 PyObject
* obj0
= 0 ;
10626 PyObject
* obj1
= 0 ;
10627 char * kwnames
[] = {
10628 (char *) "self",(char *) "colText", NULL
10631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10633 if (!SWIG_IsOK(res1
)) {
10634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10636 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10639 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10643 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
10644 wxPyEndAllowThreads(__tstate
);
10645 if (PyErr_Occurred()) SWIG_fail
;
10647 resultobj
= SWIG_Py_Void();
10654 SWIGINTERN PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10655 PyObject
*resultobj
= 0;
10656 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10657 wxColour
*arg2
= 0 ;
10661 PyObject
* obj0
= 0 ;
10662 PyObject
* obj1
= 0 ;
10663 char * kwnames
[] = {
10664 (char *) "self",(char *) "colBack", NULL
10667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10669 if (!SWIG_IsOK(res1
)) {
10670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10672 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10675 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10679 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
10680 wxPyEndAllowThreads(__tstate
);
10681 if (PyErr_Occurred()) SWIG_fail
;
10683 resultobj
= SWIG_Py_Void();
10690 SWIGINTERN PyObject
*_wrap_TextAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10691 PyObject
*resultobj
= 0;
10692 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10694 long arg3
= (long) wxTEXT_ATTR_FONT
;
10701 PyObject
* obj0
= 0 ;
10702 PyObject
* obj1
= 0 ;
10703 PyObject
* obj2
= 0 ;
10704 char * kwnames
[] = {
10705 (char *) "self",(char *) "font",(char *) "flags", NULL
10708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10710 if (!SWIG_IsOK(res1
)) {
10711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10713 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10714 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
10715 if (!SWIG_IsOK(res2
)) {
10716 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10719 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10721 arg2
= reinterpret_cast< wxFont
* >(argp2
);
10723 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10724 if (!SWIG_IsOK(ecode3
)) {
10725 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10727 arg3
= static_cast< long >(val3
);
10730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10731 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
10732 wxPyEndAllowThreads(__tstate
);
10733 if (PyErr_Occurred()) SWIG_fail
;
10735 resultobj
= SWIG_Py_Void();
10742 SWIGINTERN PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10743 PyObject
*resultobj
= 0;
10744 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10745 wxTextAttrAlignment arg2
;
10750 PyObject
* obj0
= 0 ;
10751 PyObject
* obj1
= 0 ;
10752 char * kwnames
[] = {
10753 (char *) "self",(char *) "alignment", NULL
10756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10758 if (!SWIG_IsOK(res1
)) {
10759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10761 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10762 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10763 if (!SWIG_IsOK(ecode2
)) {
10764 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10766 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
10768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10769 (arg1
)->SetAlignment(arg2
);
10770 wxPyEndAllowThreads(__tstate
);
10771 if (PyErr_Occurred()) SWIG_fail
;
10773 resultobj
= SWIG_Py_Void();
10780 SWIGINTERN PyObject
*_wrap_TextAttr_SetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10781 PyObject
*resultobj
= 0;
10782 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10783 wxArrayInt
*arg2
= 0 ;
10786 bool temp2
= false ;
10787 PyObject
* obj0
= 0 ;
10788 PyObject
* obj1
= 0 ;
10789 char * kwnames
[] = {
10790 (char *) "self",(char *) "tabs", NULL
10793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10795 if (!SWIG_IsOK(res1
)) {
10796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10798 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10800 if (! PySequence_Check(obj1
)) {
10801 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10804 arg2
= new wxArrayInt
;
10806 int i
, len
=PySequence_Length(obj1
);
10807 for (i
=0; i
<len
; i
++) {
10808 PyObject
* item
= PySequence_GetItem(obj1
, i
);
10809 PyObject
* number
= PyNumber_Int(item
);
10810 arg2
->Add(PyInt_AS_LONG(number
));
10816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10817 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
10818 wxPyEndAllowThreads(__tstate
);
10819 if (PyErr_Occurred()) SWIG_fail
;
10821 resultobj
= SWIG_Py_Void();
10823 if (temp2
) delete arg2
;
10828 if (temp2
) delete arg2
;
10834 SWIGINTERN PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10835 PyObject
*resultobj
= 0;
10836 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10838 int arg3
= (int) 0 ;
10845 PyObject
* obj0
= 0 ;
10846 PyObject
* obj1
= 0 ;
10847 PyObject
* obj2
= 0 ;
10848 char * kwnames
[] = {
10849 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
10852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10854 if (!SWIG_IsOK(res1
)) {
10855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10857 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10858 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10859 if (!SWIG_IsOK(ecode2
)) {
10860 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
10862 arg2
= static_cast< int >(val2
);
10864 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10865 if (!SWIG_IsOK(ecode3
)) {
10866 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
10868 arg3
= static_cast< int >(val3
);
10871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10872 (arg1
)->SetLeftIndent(arg2
,arg3
);
10873 wxPyEndAllowThreads(__tstate
);
10874 if (PyErr_Occurred()) SWIG_fail
;
10876 resultobj
= SWIG_Py_Void();
10883 SWIGINTERN PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10884 PyObject
*resultobj
= 0;
10885 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10891 PyObject
* obj0
= 0 ;
10892 PyObject
* obj1
= 0 ;
10893 char * kwnames
[] = {
10894 (char *) "self",(char *) "indent", NULL
10897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10899 if (!SWIG_IsOK(res1
)) {
10900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10902 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10903 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10904 if (!SWIG_IsOK(ecode2
)) {
10905 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
10907 arg2
= static_cast< int >(val2
);
10909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10910 (arg1
)->SetRightIndent(arg2
);
10911 wxPyEndAllowThreads(__tstate
);
10912 if (PyErr_Occurred()) SWIG_fail
;
10914 resultobj
= SWIG_Py_Void();
10921 SWIGINTERN PyObject
*_wrap_TextAttr_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10922 PyObject
*resultobj
= 0;
10923 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10929 PyObject
* obj0
= 0 ;
10930 PyObject
* obj1
= 0 ;
10931 char * kwnames
[] = {
10932 (char *) "self",(char *) "flags", NULL
10935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10937 if (!SWIG_IsOK(res1
)) {
10938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10940 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10941 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10942 if (!SWIG_IsOK(ecode2
)) {
10943 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
10945 arg2
= static_cast< long >(val2
);
10947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10948 (arg1
)->SetFlags(arg2
);
10949 wxPyEndAllowThreads(__tstate
);
10950 if (PyErr_Occurred()) SWIG_fail
;
10952 resultobj
= SWIG_Py_Void();
10959 SWIGINTERN PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10960 PyObject
*resultobj
= 0;
10961 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10965 PyObject
*swig_obj
[1] ;
10967 if (!args
) SWIG_fail
;
10968 swig_obj
[0] = args
;
10969 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10970 if (!SWIG_IsOK(res1
)) {
10971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10973 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10976 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
10977 wxPyEndAllowThreads(__tstate
);
10978 if (PyErr_Occurred()) SWIG_fail
;
10981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10989 SWIGINTERN PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10990 PyObject
*resultobj
= 0;
10991 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10995 PyObject
*swig_obj
[1] ;
10997 if (!args
) SWIG_fail
;
10998 swig_obj
[0] = args
;
10999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11000 if (!SWIG_IsOK(res1
)) {
11001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11003 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11006 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
11007 wxPyEndAllowThreads(__tstate
);
11008 if (PyErr_Occurred()) SWIG_fail
;
11011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11019 SWIGINTERN PyObject
*_wrap_TextAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11020 PyObject
*resultobj
= 0;
11021 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11025 PyObject
*swig_obj
[1] ;
11027 if (!args
) SWIG_fail
;
11028 swig_obj
[0] = args
;
11029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11030 if (!SWIG_IsOK(res1
)) {
11031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11033 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11036 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
11037 wxPyEndAllowThreads(__tstate
);
11038 if (PyErr_Occurred()) SWIG_fail
;
11041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11049 SWIGINTERN PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11050 PyObject
*resultobj
= 0;
11051 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11055 PyObject
*swig_obj
[1] ;
11057 if (!args
) SWIG_fail
;
11058 swig_obj
[0] = args
;
11059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11060 if (!SWIG_IsOK(res1
)) {
11061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11063 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11066 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
11067 wxPyEndAllowThreads(__tstate
);
11068 if (PyErr_Occurred()) SWIG_fail
;
11071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11079 SWIGINTERN PyObject
*_wrap_TextAttr_HasTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11080 PyObject
*resultobj
= 0;
11081 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11085 PyObject
*swig_obj
[1] ;
11087 if (!args
) SWIG_fail
;
11088 swig_obj
[0] = args
;
11089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11090 if (!SWIG_IsOK(res1
)) {
11091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11093 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11096 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
11097 wxPyEndAllowThreads(__tstate
);
11098 if (PyErr_Occurred()) SWIG_fail
;
11101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11109 SWIGINTERN PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11110 PyObject
*resultobj
= 0;
11111 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11115 PyObject
*swig_obj
[1] ;
11117 if (!args
) SWIG_fail
;
11118 swig_obj
[0] = args
;
11119 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11120 if (!SWIG_IsOK(res1
)) {
11121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11123 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11126 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
11127 wxPyEndAllowThreads(__tstate
);
11128 if (PyErr_Occurred()) SWIG_fail
;
11131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11139 SWIGINTERN PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11140 PyObject
*resultobj
= 0;
11141 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11145 PyObject
*swig_obj
[1] ;
11147 if (!args
) SWIG_fail
;
11148 swig_obj
[0] = args
;
11149 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11150 if (!SWIG_IsOK(res1
)) {
11151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11153 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11156 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
11157 wxPyEndAllowThreads(__tstate
);
11158 if (PyErr_Occurred()) SWIG_fail
;
11161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11169 SWIGINTERN PyObject
*_wrap_TextAttr_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11170 PyObject
*resultobj
= 0;
11171 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11178 PyObject
* obj0
= 0 ;
11179 PyObject
* obj1
= 0 ;
11180 char * kwnames
[] = {
11181 (char *) "self",(char *) "flag", NULL
11184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11186 if (!SWIG_IsOK(res1
)) {
11187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11189 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11190 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11191 if (!SWIG_IsOK(ecode2
)) {
11192 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11194 arg2
= static_cast< long >(val2
);
11196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11197 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
11198 wxPyEndAllowThreads(__tstate
);
11199 if (PyErr_Occurred()) SWIG_fail
;
11202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11210 SWIGINTERN PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11211 PyObject
*resultobj
= 0;
11212 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11213 wxColour
*result
= 0 ;
11216 PyObject
*swig_obj
[1] ;
11218 if (!args
) SWIG_fail
;
11219 swig_obj
[0] = args
;
11220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11221 if (!SWIG_IsOK(res1
)) {
11222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11224 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11228 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
11229 result
= (wxColour
*) &_result_ref
;
11231 wxPyEndAllowThreads(__tstate
);
11232 if (PyErr_Occurred()) SWIG_fail
;
11234 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11241 SWIGINTERN PyObject
*_wrap_TextAttr_GetBackgroundColour(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_GetBackgroundColour" "', 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
)->GetBackgroundColour();
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_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11273 PyObject
*resultobj
= 0;
11274 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11275 wxFont
*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_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11286 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11290 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
11291 result
= (wxFont
*) &_result_ref
;
11293 wxPyEndAllowThreads(__tstate
);
11294 if (PyErr_Occurred()) SWIG_fail
;
11297 wxFont
* resultptr
= new wxFont(*result
);
11298 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
11306 SWIGINTERN PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11307 PyObject
*resultobj
= 0;
11308 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11309 wxTextAttrAlignment result
;
11312 PyObject
*swig_obj
[1] ;
11314 if (!args
) SWIG_fail
;
11315 swig_obj
[0] = args
;
11316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11317 if (!SWIG_IsOK(res1
)) {
11318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11320 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11323 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
11324 wxPyEndAllowThreads(__tstate
);
11325 if (PyErr_Occurred()) SWIG_fail
;
11327 resultobj
= SWIG_From_int(static_cast< int >(result
));
11334 SWIGINTERN PyObject
*_wrap_TextAttr_GetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11335 PyObject
*resultobj
= 0;
11336 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11337 wxArrayInt
*result
= 0 ;
11340 PyObject
*swig_obj
[1] ;
11342 if (!args
) SWIG_fail
;
11343 swig_obj
[0] = args
;
11344 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11345 if (!SWIG_IsOK(res1
)) {
11346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11348 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11352 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
11353 result
= (wxArrayInt
*) &_result_ref
;
11355 wxPyEndAllowThreads(__tstate
);
11356 if (PyErr_Occurred()) SWIG_fail
;
11359 resultobj
= PyList_New(0);
11361 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
11362 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
11363 PyList_Append(resultobj
, val
);
11373 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11374 PyObject
*resultobj
= 0;
11375 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11379 PyObject
*swig_obj
[1] ;
11381 if (!args
) SWIG_fail
;
11382 swig_obj
[0] = args
;
11383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11384 if (!SWIG_IsOK(res1
)) {
11385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11387 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11390 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
11391 wxPyEndAllowThreads(__tstate
);
11392 if (PyErr_Occurred()) SWIG_fail
;
11394 resultobj
= SWIG_From_long(static_cast< long >(result
));
11401 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11402 PyObject
*resultobj
= 0;
11403 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11407 PyObject
*swig_obj
[1] ;
11409 if (!args
) SWIG_fail
;
11410 swig_obj
[0] = args
;
11411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11412 if (!SWIG_IsOK(res1
)) {
11413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11415 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11418 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
11419 wxPyEndAllowThreads(__tstate
);
11420 if (PyErr_Occurred()) SWIG_fail
;
11422 resultobj
= SWIG_From_long(static_cast< long >(result
));
11429 SWIGINTERN PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11430 PyObject
*resultobj
= 0;
11431 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11435 PyObject
*swig_obj
[1] ;
11437 if (!args
) SWIG_fail
;
11438 swig_obj
[0] = args
;
11439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11440 if (!SWIG_IsOK(res1
)) {
11441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11443 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11446 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
11447 wxPyEndAllowThreads(__tstate
);
11448 if (PyErr_Occurred()) SWIG_fail
;
11450 resultobj
= SWIG_From_long(static_cast< long >(result
));
11457 SWIGINTERN PyObject
*_wrap_TextAttr_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11458 PyObject
*resultobj
= 0;
11459 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11463 PyObject
*swig_obj
[1] ;
11465 if (!args
) SWIG_fail
;
11466 swig_obj
[0] = args
;
11467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11468 if (!SWIG_IsOK(res1
)) {
11469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11471 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11474 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
11475 wxPyEndAllowThreads(__tstate
);
11476 if (PyErr_Occurred()) SWIG_fail
;
11478 resultobj
= SWIG_From_long(static_cast< long >(result
));
11485 SWIGINTERN PyObject
*_wrap_TextAttr_IsDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11486 PyObject
*resultobj
= 0;
11487 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11491 PyObject
*swig_obj
[1] ;
11493 if (!args
) SWIG_fail
;
11494 swig_obj
[0] = args
;
11495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11496 if (!SWIG_IsOK(res1
)) {
11497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11499 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11502 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
11503 wxPyEndAllowThreads(__tstate
);
11504 if (PyErr_Occurred()) SWIG_fail
;
11507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11515 SWIGINTERN PyObject
*_wrap_TextAttr_Combine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11516 PyObject
*resultobj
= 0;
11517 wxTextAttr
*arg1
= 0 ;
11518 wxTextAttr
*arg2
= 0 ;
11519 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
11527 PyObject
* obj0
= 0 ;
11528 PyObject
* obj1
= 0 ;
11529 PyObject
* obj2
= 0 ;
11530 char * kwnames
[] = {
11531 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11535 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11536 if (!SWIG_IsOK(res1
)) {
11537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11540 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11542 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11543 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11544 if (!SWIG_IsOK(res2
)) {
11545 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11548 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11550 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
11551 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11552 if (!SWIG_IsOK(res3
)) {
11553 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11555 arg3
= reinterpret_cast< wxTextCtrl
* >(argp3
);
11557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11558 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
11559 wxPyEndAllowThreads(__tstate
);
11560 if (PyErr_Occurred()) SWIG_fail
;
11562 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
11569 SWIGINTERN PyObject
*TextAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11571 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11572 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr
, SWIG_NewClientData(obj
));
11573 return SWIG_Py_Void();
11576 SWIGINTERN PyObject
*TextAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11577 return SWIG_Python_InitShadowInstance(args
);
11580 SWIGINTERN PyObject
*_wrap_new_TextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11581 PyObject
*resultobj
= 0;
11582 wxWindow
*arg1
= (wxWindow
*) 0 ;
11583 int arg2
= (int) -1 ;
11584 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11585 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11586 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11587 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11588 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11589 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11590 long arg6
= (long) 0 ;
11591 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11592 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11593 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
11594 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11595 wxTextCtrl
*result
= 0 ;
11600 bool temp3
= false ;
11607 bool temp8
= false ;
11608 PyObject
* obj0
= 0 ;
11609 PyObject
* obj1
= 0 ;
11610 PyObject
* obj2
= 0 ;
11611 PyObject
* obj3
= 0 ;
11612 PyObject
* obj4
= 0 ;
11613 PyObject
* obj5
= 0 ;
11614 PyObject
* obj6
= 0 ;
11615 PyObject
* obj7
= 0 ;
11616 char * kwnames
[] = {
11617 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
11621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11622 if (!SWIG_IsOK(res1
)) {
11623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11625 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11627 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11628 if (!SWIG_IsOK(ecode2
)) {
11629 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11631 arg2
= static_cast< int >(val2
);
11635 arg3
= wxString_in_helper(obj2
);
11636 if (arg3
== NULL
) SWIG_fail
;
11643 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11649 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11653 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11654 if (!SWIG_IsOK(ecode6
)) {
11655 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11657 arg6
= static_cast< long >(val6
);
11660 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
11661 if (!SWIG_IsOK(res7
)) {
11662 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11665 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11667 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
11671 arg8
= wxString_in_helper(obj7
);
11672 if (arg8
== NULL
) SWIG_fail
;
11677 if (!wxPyCheckForApp()) SWIG_fail
;
11678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11679 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11680 wxPyEndAllowThreads(__tstate
);
11681 if (PyErr_Occurred()) SWIG_fail
;
11683 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_NEW
| 0 );
11706 SWIGINTERN PyObject
*_wrap_new_PreTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11707 PyObject
*resultobj
= 0;
11708 wxTextCtrl
*result
= 0 ;
11710 if (!SWIG_Python_UnpackTuple(args
,"new_PreTextCtrl",0,0,0)) SWIG_fail
;
11712 if (!wxPyCheckForApp()) SWIG_fail
;
11713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11714 result
= (wxTextCtrl
*)new wxTextCtrl();
11715 wxPyEndAllowThreads(__tstate
);
11716 if (PyErr_Occurred()) SWIG_fail
;
11718 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_OWN
| 0 );
11725 SWIGINTERN PyObject
*_wrap_TextCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11726 PyObject
*resultobj
= 0;
11727 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11728 wxWindow
*arg2
= (wxWindow
*) 0 ;
11729 int arg3
= (int) -1 ;
11730 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11731 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11732 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11733 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11734 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11735 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11736 long arg7
= (long) 0 ;
11737 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11738 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11739 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
11740 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11748 bool temp4
= false ;
11755 bool temp9
= false ;
11756 PyObject
* obj0
= 0 ;
11757 PyObject
* obj1
= 0 ;
11758 PyObject
* obj2
= 0 ;
11759 PyObject
* obj3
= 0 ;
11760 PyObject
* obj4
= 0 ;
11761 PyObject
* obj5
= 0 ;
11762 PyObject
* obj6
= 0 ;
11763 PyObject
* obj7
= 0 ;
11764 PyObject
* obj8
= 0 ;
11765 char * kwnames
[] = {
11766 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
11770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11771 if (!SWIG_IsOK(res1
)) {
11772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11774 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11775 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11776 if (!SWIG_IsOK(res2
)) {
11777 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11779 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11781 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11782 if (!SWIG_IsOK(ecode3
)) {
11783 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11785 arg3
= static_cast< int >(val3
);
11789 arg4
= wxString_in_helper(obj3
);
11790 if (arg4
== NULL
) SWIG_fail
;
11797 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11803 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11807 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
11808 if (!SWIG_IsOK(ecode7
)) {
11809 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11811 arg7
= static_cast< long >(val7
);
11814 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
11815 if (!SWIG_IsOK(res8
)) {
11816 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11819 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11821 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
11825 arg9
= wxString_in_helper(obj8
);
11826 if (arg9
== NULL
) SWIG_fail
;
11831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11832 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11833 wxPyEndAllowThreads(__tstate
);
11834 if (PyErr_Occurred()) SWIG_fail
;
11837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11861 SWIGINTERN PyObject
*_wrap_TextCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11862 PyObject
*resultobj
= 0;
11863 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11867 PyObject
*swig_obj
[1] ;
11869 if (!args
) SWIG_fail
;
11870 swig_obj
[0] = args
;
11871 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11872 if (!SWIG_IsOK(res1
)) {
11873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11875 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11878 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
11879 wxPyEndAllowThreads(__tstate
);
11880 if (PyErr_Occurred()) SWIG_fail
;
11884 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11886 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11895 SWIGINTERN PyObject
*_wrap_TextCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11896 PyObject
*resultobj
= 0;
11897 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11898 wxString
*arg2
= 0 ;
11901 bool temp2
= false ;
11902 PyObject
* obj0
= 0 ;
11903 PyObject
* obj1
= 0 ;
11904 char * kwnames
[] = {
11905 (char *) "self",(char *) "value", NULL
11908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11910 if (!SWIG_IsOK(res1
)) {
11911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11913 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11915 arg2
= wxString_in_helper(obj1
);
11916 if (arg2
== NULL
) SWIG_fail
;
11920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11921 (arg1
)->SetValue((wxString
const &)*arg2
);
11922 wxPyEndAllowThreads(__tstate
);
11923 if (PyErr_Occurred()) SWIG_fail
;
11925 resultobj
= SWIG_Py_Void();
11940 SWIGINTERN PyObject
*_wrap_TextCtrl_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11941 PyObject
*resultobj
= 0;
11942 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11952 PyObject
* obj0
= 0 ;
11953 PyObject
* obj1
= 0 ;
11954 PyObject
* obj2
= 0 ;
11955 char * kwnames
[] = {
11956 (char *) "self",(char *) "from",(char *) "to", NULL
11959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11961 if (!SWIG_IsOK(res1
)) {
11962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11964 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11965 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11966 if (!SWIG_IsOK(ecode2
)) {
11967 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
11969 arg2
= static_cast< long >(val2
);
11970 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
11971 if (!SWIG_IsOK(ecode3
)) {
11972 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
11974 arg3
= static_cast< long >(val3
);
11976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11977 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
11978 wxPyEndAllowThreads(__tstate
);
11979 if (PyErr_Occurred()) SWIG_fail
;
11983 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11985 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11994 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11995 PyObject
*resultobj
= 0;
11996 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12003 PyObject
* obj0
= 0 ;
12004 PyObject
* obj1
= 0 ;
12005 char * kwnames
[] = {
12006 (char *) "self",(char *) "lineNo", NULL
12009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12011 if (!SWIG_IsOK(res1
)) {
12012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12014 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12015 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12016 if (!SWIG_IsOK(ecode2
)) {
12017 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
12019 arg2
= static_cast< long >(val2
);
12021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12022 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
12023 wxPyEndAllowThreads(__tstate
);
12024 if (PyErr_Occurred()) SWIG_fail
;
12026 resultobj
= SWIG_From_int(static_cast< int >(result
));
12033 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12034 PyObject
*resultobj
= 0;
12035 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12042 PyObject
* obj0
= 0 ;
12043 PyObject
* obj1
= 0 ;
12044 char * kwnames
[] = {
12045 (char *) "self",(char *) "lineNo", NULL
12048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12050 if (!SWIG_IsOK(res1
)) {
12051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12053 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12054 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12055 if (!SWIG_IsOK(ecode2
)) {
12056 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
12058 arg2
= static_cast< long >(val2
);
12060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12061 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
12062 wxPyEndAllowThreads(__tstate
);
12063 if (PyErr_Occurred()) SWIG_fail
;
12067 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12069 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12078 SWIGINTERN PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12079 PyObject
*resultobj
= 0;
12080 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12084 PyObject
*swig_obj
[1] ;
12086 if (!args
) SWIG_fail
;
12087 swig_obj
[0] = args
;
12088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12089 if (!SWIG_IsOK(res1
)) {
12090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12092 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12095 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
12096 wxPyEndAllowThreads(__tstate
);
12097 if (PyErr_Occurred()) SWIG_fail
;
12099 resultobj
= SWIG_From_int(static_cast< int >(result
));
12106 SWIGINTERN PyObject
*_wrap_TextCtrl_IsModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12107 PyObject
*resultobj
= 0;
12108 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12112 PyObject
*swig_obj
[1] ;
12114 if (!args
) SWIG_fail
;
12115 swig_obj
[0] = args
;
12116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12117 if (!SWIG_IsOK(res1
)) {
12118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12120 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12123 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
12124 wxPyEndAllowThreads(__tstate
);
12125 if (PyErr_Occurred()) SWIG_fail
;
12128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12136 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12137 PyObject
*resultobj
= 0;
12138 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12142 PyObject
*swig_obj
[1] ;
12144 if (!args
) SWIG_fail
;
12145 swig_obj
[0] = args
;
12146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12147 if (!SWIG_IsOK(res1
)) {
12148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12150 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12153 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
12154 wxPyEndAllowThreads(__tstate
);
12155 if (PyErr_Occurred()) SWIG_fail
;
12158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12166 SWIGINTERN PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12167 PyObject
*resultobj
= 0;
12168 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12172 PyObject
*swig_obj
[1] ;
12174 if (!args
) SWIG_fail
;
12175 swig_obj
[0] = args
;
12176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12177 if (!SWIG_IsOK(res1
)) {
12178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12180 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12183 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
12184 wxPyEndAllowThreads(__tstate
);
12185 if (PyErr_Occurred()) SWIG_fail
;
12188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12196 SWIGINTERN PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12197 PyObject
*resultobj
= 0;
12198 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12202 PyObject
*swig_obj
[1] ;
12204 if (!args
) SWIG_fail
;
12205 swig_obj
[0] = args
;
12206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12207 if (!SWIG_IsOK(res1
)) {
12208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12210 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12213 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
12214 wxPyEndAllowThreads(__tstate
);
12215 if (PyErr_Occurred()) SWIG_fail
;
12218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12226 SWIGINTERN PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12227 PyObject
*resultobj
= 0;
12228 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12229 long *arg2
= (long *) 0 ;
12230 long *arg3
= (long *) 0 ;
12234 int res2
= SWIG_TMPOBJ
;
12236 int res3
= SWIG_TMPOBJ
;
12237 PyObject
*swig_obj
[1] ;
12241 if (!args
) SWIG_fail
;
12242 swig_obj
[0] = args
;
12243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12244 if (!SWIG_IsOK(res1
)) {
12245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12247 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12250 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
12251 wxPyEndAllowThreads(__tstate
);
12252 if (PyErr_Occurred()) SWIG_fail
;
12254 resultobj
= SWIG_Py_Void();
12255 if (SWIG_IsTmpObj(res2
)) {
12256 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
12258 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12259 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
12261 if (SWIG_IsTmpObj(res3
)) {
12262 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
12264 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12265 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
12273 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12274 PyObject
*resultobj
= 0;
12275 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12279 PyObject
*swig_obj
[1] ;
12281 if (!args
) SWIG_fail
;
12282 swig_obj
[0] = args
;
12283 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12284 if (!SWIG_IsOK(res1
)) {
12285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12287 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12290 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
12291 wxPyEndAllowThreads(__tstate
);
12292 if (PyErr_Occurred()) SWIG_fail
;
12296 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12298 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12307 SWIGINTERN PyObject
*_wrap_TextCtrl_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12308 PyObject
*resultobj
= 0;
12309 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12312 PyObject
*swig_obj
[1] ;
12314 if (!args
) SWIG_fail
;
12315 swig_obj
[0] = args
;
12316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12317 if (!SWIG_IsOK(res1
)) {
12318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12320 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12324 wxPyEndAllowThreads(__tstate
);
12325 if (PyErr_Occurred()) SWIG_fail
;
12327 resultobj
= SWIG_Py_Void();
12334 SWIGINTERN PyObject
*_wrap_TextCtrl_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12335 PyObject
*resultobj
= 0;
12336 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12339 wxString
*arg4
= 0 ;
12346 bool temp4
= false ;
12347 PyObject
* obj0
= 0 ;
12348 PyObject
* obj1
= 0 ;
12349 PyObject
* obj2
= 0 ;
12350 PyObject
* obj3
= 0 ;
12351 char * kwnames
[] = {
12352 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
12355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12357 if (!SWIG_IsOK(res1
)) {
12358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12360 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12361 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12362 if (!SWIG_IsOK(ecode2
)) {
12363 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12365 arg2
= static_cast< long >(val2
);
12366 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12367 if (!SWIG_IsOK(ecode3
)) {
12368 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12370 arg3
= static_cast< long >(val3
);
12372 arg4
= wxString_in_helper(obj3
);
12373 if (arg4
== NULL
) SWIG_fail
;
12377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12378 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
12379 wxPyEndAllowThreads(__tstate
);
12380 if (PyErr_Occurred()) SWIG_fail
;
12382 resultobj
= SWIG_Py_Void();
12397 SWIGINTERN PyObject
*_wrap_TextCtrl_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12398 PyObject
*resultobj
= 0;
12399 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12408 PyObject
* obj0
= 0 ;
12409 PyObject
* obj1
= 0 ;
12410 PyObject
* obj2
= 0 ;
12411 char * kwnames
[] = {
12412 (char *) "self",(char *) "from",(char *) "to", NULL
12415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12417 if (!SWIG_IsOK(res1
)) {
12418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12420 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12421 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12422 if (!SWIG_IsOK(ecode2
)) {
12423 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12425 arg2
= static_cast< long >(val2
);
12426 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12427 if (!SWIG_IsOK(ecode3
)) {
12428 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12430 arg3
= static_cast< long >(val3
);
12432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12433 (arg1
)->Remove(arg2
,arg3
);
12434 wxPyEndAllowThreads(__tstate
);
12435 if (PyErr_Occurred()) SWIG_fail
;
12437 resultobj
= SWIG_Py_Void();
12444 SWIGINTERN PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12445 PyObject
*resultobj
= 0;
12446 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12447 wxString
*arg2
= 0 ;
12451 bool temp2
= false ;
12452 PyObject
* obj0
= 0 ;
12453 PyObject
* obj1
= 0 ;
12454 char * kwnames
[] = {
12455 (char *) "self",(char *) "file", NULL
12458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12460 if (!SWIG_IsOK(res1
)) {
12461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12463 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12465 arg2
= wxString_in_helper(obj1
);
12466 if (arg2
== NULL
) SWIG_fail
;
12470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12471 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
12472 wxPyEndAllowThreads(__tstate
);
12473 if (PyErr_Occurred()) SWIG_fail
;
12476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12492 SWIGINTERN PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12493 PyObject
*resultobj
= 0;
12494 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12495 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12496 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12500 bool temp2
= false ;
12501 PyObject
* obj0
= 0 ;
12502 PyObject
* obj1
= 0 ;
12503 char * kwnames
[] = {
12504 (char *) "self",(char *) "file", NULL
12507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12509 if (!SWIG_IsOK(res1
)) {
12510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12512 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12515 arg2
= wxString_in_helper(obj1
);
12516 if (arg2
== NULL
) SWIG_fail
;
12521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12522 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
12523 wxPyEndAllowThreads(__tstate
);
12524 if (PyErr_Occurred()) SWIG_fail
;
12527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12543 SWIGINTERN PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12544 PyObject
*resultobj
= 0;
12545 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12548 PyObject
*swig_obj
[1] ;
12550 if (!args
) SWIG_fail
;
12551 swig_obj
[0] = args
;
12552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12553 if (!SWIG_IsOK(res1
)) {
12554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12556 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12559 (arg1
)->MarkDirty();
12560 wxPyEndAllowThreads(__tstate
);
12561 if (PyErr_Occurred()) SWIG_fail
;
12563 resultobj
= SWIG_Py_Void();
12570 SWIGINTERN PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12571 PyObject
*resultobj
= 0;
12572 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12575 PyObject
*swig_obj
[1] ;
12577 if (!args
) SWIG_fail
;
12578 swig_obj
[0] = args
;
12579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12580 if (!SWIG_IsOK(res1
)) {
12581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12583 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12586 (arg1
)->DiscardEdits();
12587 wxPyEndAllowThreads(__tstate
);
12588 if (PyErr_Occurred()) SWIG_fail
;
12590 resultobj
= SWIG_Py_Void();
12597 SWIGINTERN PyObject
*_wrap_TextCtrl_SetModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12598 PyObject
*resultobj
= 0;
12599 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12605 PyObject
* obj0
= 0 ;
12606 PyObject
* obj1
= 0 ;
12607 char * kwnames
[] = {
12608 (char *) "self",(char *) "modified", NULL
12611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetModified",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12613 if (!SWIG_IsOK(res1
)) {
12614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetModified" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12616 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12617 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12618 if (!SWIG_IsOK(ecode2
)) {
12619 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetModified" "', expected argument " "2"" of type '" "bool""'");
12621 arg2
= static_cast< bool >(val2
);
12623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12624 (arg1
)->SetModified(arg2
);
12625 wxPyEndAllowThreads(__tstate
);
12626 if (PyErr_Occurred()) SWIG_fail
;
12628 resultobj
= SWIG_Py_Void();
12635 SWIGINTERN PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12636 PyObject
*resultobj
= 0;
12637 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12638 unsigned long arg2
;
12641 unsigned long val2
;
12643 PyObject
* obj0
= 0 ;
12644 PyObject
* obj1
= 0 ;
12645 char * kwnames
[] = {
12646 (char *) "self",(char *) "len", NULL
12649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12651 if (!SWIG_IsOK(res1
)) {
12652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12654 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12655 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
12656 if (!SWIG_IsOK(ecode2
)) {
12657 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12659 arg2
= static_cast< unsigned long >(val2
);
12661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12662 (arg1
)->SetMaxLength(arg2
);
12663 wxPyEndAllowThreads(__tstate
);
12664 if (PyErr_Occurred()) SWIG_fail
;
12666 resultobj
= SWIG_Py_Void();
12673 SWIGINTERN PyObject
*_wrap_TextCtrl_WriteText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12674 PyObject
*resultobj
= 0;
12675 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12676 wxString
*arg2
= 0 ;
12679 bool temp2
= false ;
12680 PyObject
* obj0
= 0 ;
12681 PyObject
* obj1
= 0 ;
12682 char * kwnames
[] = {
12683 (char *) "self",(char *) "text", NULL
12686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12688 if (!SWIG_IsOK(res1
)) {
12689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12691 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12693 arg2
= wxString_in_helper(obj1
);
12694 if (arg2
== NULL
) SWIG_fail
;
12698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12699 (arg1
)->WriteText((wxString
const &)*arg2
);
12700 wxPyEndAllowThreads(__tstate
);
12701 if (PyErr_Occurred()) SWIG_fail
;
12703 resultobj
= SWIG_Py_Void();
12718 SWIGINTERN PyObject
*_wrap_TextCtrl_AppendText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12719 PyObject
*resultobj
= 0;
12720 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12721 wxString
*arg2
= 0 ;
12724 bool temp2
= false ;
12725 PyObject
* obj0
= 0 ;
12726 PyObject
* obj1
= 0 ;
12727 char * kwnames
[] = {
12728 (char *) "self",(char *) "text", NULL
12731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12733 if (!SWIG_IsOK(res1
)) {
12734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12736 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12738 arg2
= wxString_in_helper(obj1
);
12739 if (arg2
== NULL
) SWIG_fail
;
12743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12744 (arg1
)->AppendText((wxString
const &)*arg2
);
12745 wxPyEndAllowThreads(__tstate
);
12746 if (PyErr_Occurred()) SWIG_fail
;
12748 resultobj
= SWIG_Py_Void();
12763 SWIGINTERN PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12764 PyObject
*resultobj
= 0;
12765 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12766 wxKeyEvent
*arg2
= 0 ;
12772 PyObject
* obj0
= 0 ;
12773 PyObject
* obj1
= 0 ;
12774 char * kwnames
[] = {
12775 (char *) "self",(char *) "event", NULL
12778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12780 if (!SWIG_IsOK(res1
)) {
12781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12783 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12784 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
12785 if (!SWIG_IsOK(res2
)) {
12786 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12789 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12791 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
12793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12794 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
12795 wxPyEndAllowThreads(__tstate
);
12796 if (PyErr_Occurred()) SWIG_fail
;
12799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12807 SWIGINTERN PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12808 PyObject
*resultobj
= 0;
12809 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12812 wxTextAttr
*arg4
= 0 ;
12822 PyObject
* obj0
= 0 ;
12823 PyObject
* obj1
= 0 ;
12824 PyObject
* obj2
= 0 ;
12825 PyObject
* obj3
= 0 ;
12826 char * kwnames
[] = {
12827 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
12830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12832 if (!SWIG_IsOK(res1
)) {
12833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12835 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12836 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12837 if (!SWIG_IsOK(ecode2
)) {
12838 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
12840 arg2
= static_cast< long >(val2
);
12841 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12842 if (!SWIG_IsOK(ecode3
)) {
12843 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
12845 arg3
= static_cast< long >(val3
);
12846 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12847 if (!SWIG_IsOK(res4
)) {
12848 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12851 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12853 arg4
= reinterpret_cast< wxTextAttr
* >(argp4
);
12855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12856 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
12857 wxPyEndAllowThreads(__tstate
);
12858 if (PyErr_Occurred()) SWIG_fail
;
12861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12869 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12870 PyObject
*resultobj
= 0;
12871 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12873 wxTextAttr
*arg3
= 0 ;
12881 PyObject
* obj0
= 0 ;
12882 PyObject
* obj1
= 0 ;
12883 PyObject
* obj2
= 0 ;
12884 char * kwnames
[] = {
12885 (char *) "self",(char *) "position",(char *) "style", NULL
12888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12890 if (!SWIG_IsOK(res1
)) {
12891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12893 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12894 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12895 if (!SWIG_IsOK(ecode2
)) {
12896 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
12898 arg2
= static_cast< long >(val2
);
12899 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTextAttr
, 0 );
12900 if (!SWIG_IsOK(res3
)) {
12901 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12904 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12906 arg3
= reinterpret_cast< wxTextAttr
* >(argp3
);
12908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12909 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
12910 wxPyEndAllowThreads(__tstate
);
12911 if (PyErr_Occurred()) SWIG_fail
;
12914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12922 SWIGINTERN PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12923 PyObject
*resultobj
= 0;
12924 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12925 wxTextAttr
*arg2
= 0 ;
12931 PyObject
* obj0
= 0 ;
12932 PyObject
* obj1
= 0 ;
12933 char * kwnames
[] = {
12934 (char *) "self",(char *) "style", NULL
12937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12939 if (!SWIG_IsOK(res1
)) {
12940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12942 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12943 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12944 if (!SWIG_IsOK(res2
)) {
12945 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12948 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12950 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
12952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12953 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
12954 wxPyEndAllowThreads(__tstate
);
12955 if (PyErr_Occurred()) SWIG_fail
;
12958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12966 SWIGINTERN PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12967 PyObject
*resultobj
= 0;
12968 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12969 wxTextAttr
*result
= 0 ;
12972 PyObject
*swig_obj
[1] ;
12974 if (!args
) SWIG_fail
;
12975 swig_obj
[0] = args
;
12976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12977 if (!SWIG_IsOK(res1
)) {
12978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12980 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12984 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
12985 result
= (wxTextAttr
*) &_result_ref
;
12987 wxPyEndAllowThreads(__tstate
);
12988 if (PyErr_Occurred()) SWIG_fail
;
12990 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, 0 | 0 );
12997 SWIGINTERN PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12998 PyObject
*resultobj
= 0;
12999 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13009 PyObject
* obj0
= 0 ;
13010 PyObject
* obj1
= 0 ;
13011 PyObject
* obj2
= 0 ;
13012 char * kwnames
[] = {
13013 (char *) "self",(char *) "x",(char *) "y", NULL
13016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13018 if (!SWIG_IsOK(res1
)) {
13019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13021 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13022 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13023 if (!SWIG_IsOK(ecode2
)) {
13024 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
13026 arg2
= static_cast< long >(val2
);
13027 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13028 if (!SWIG_IsOK(ecode3
)) {
13029 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
13031 arg3
= static_cast< long >(val3
);
13033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13034 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
13035 wxPyEndAllowThreads(__tstate
);
13036 if (PyErr_Occurred()) SWIG_fail
;
13038 resultobj
= SWIG_From_long(static_cast< long >(result
));
13045 SWIGINTERN PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13046 PyObject
*resultobj
= 0;
13047 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13049 long *arg3
= (long *) 0 ;
13050 long *arg4
= (long *) 0 ;
13056 int res3
= SWIG_TMPOBJ
;
13058 int res4
= SWIG_TMPOBJ
;
13059 PyObject
* obj0
= 0 ;
13060 PyObject
* obj1
= 0 ;
13061 char * kwnames
[] = {
13062 (char *) "self",(char *) "pos", NULL
13067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13069 if (!SWIG_IsOK(res1
)) {
13070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13072 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13073 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13074 if (!SWIG_IsOK(ecode2
)) {
13075 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
13077 arg2
= static_cast< long >(val2
);
13079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13080 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
13081 wxPyEndAllowThreads(__tstate
);
13082 if (PyErr_Occurred()) SWIG_fail
;
13084 resultobj
= SWIG_Py_Void();
13085 if (SWIG_IsTmpObj(res3
)) {
13086 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13088 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13089 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13091 if (SWIG_IsTmpObj(res4
)) {
13092 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13094 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13095 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13103 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13104 PyObject
*resultobj
= 0;
13105 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13111 PyObject
* obj0
= 0 ;
13112 PyObject
* obj1
= 0 ;
13113 char * kwnames
[] = {
13114 (char *) "self",(char *) "pos", NULL
13117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13119 if (!SWIG_IsOK(res1
)) {
13120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13122 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13123 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13124 if (!SWIG_IsOK(ecode2
)) {
13125 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
13127 arg2
= static_cast< long >(val2
);
13129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13130 (arg1
)->ShowPosition(arg2
);
13131 wxPyEndAllowThreads(__tstate
);
13132 if (PyErr_Occurred()) SWIG_fail
;
13134 resultobj
= SWIG_Py_Void();
13141 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13142 PyObject
*resultobj
= 0;
13143 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13144 wxPoint
*arg2
= 0 ;
13145 long *arg3
= (long *) 0 ;
13146 long *arg4
= (long *) 0 ;
13147 wxTextCtrlHitTestResult result
;
13152 int res3
= SWIG_TMPOBJ
;
13154 int res4
= SWIG_TMPOBJ
;
13155 PyObject
* obj0
= 0 ;
13156 PyObject
* obj1
= 0 ;
13157 char * kwnames
[] = {
13158 (char *) "self",(char *) "pt", NULL
13163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13165 if (!SWIG_IsOK(res1
)) {
13166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13168 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13171 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13175 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
13176 wxPyEndAllowThreads(__tstate
);
13177 if (PyErr_Occurred()) SWIG_fail
;
13179 resultobj
= SWIG_From_int(static_cast< int >(result
));
13180 if (SWIG_IsTmpObj(res3
)) {
13181 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13183 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13184 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13186 if (SWIG_IsTmpObj(res4
)) {
13187 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13189 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13190 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13198 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13199 PyObject
*resultobj
= 0;
13200 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13201 wxPoint
*arg2
= 0 ;
13202 long *arg3
= (long *) 0 ;
13203 wxTextCtrlHitTestResult result
;
13208 int res3
= SWIG_TMPOBJ
;
13209 PyObject
* obj0
= 0 ;
13210 PyObject
* obj1
= 0 ;
13211 char * kwnames
[] = {
13212 (char *) "self",(char *) "pt", NULL
13216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13218 if (!SWIG_IsOK(res1
)) {
13219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13221 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13224 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13228 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
13229 wxPyEndAllowThreads(__tstate
);
13230 if (PyErr_Occurred()) SWIG_fail
;
13232 resultobj
= SWIG_From_int(static_cast< int >(result
));
13233 if (SWIG_IsTmpObj(res3
)) {
13234 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13236 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13237 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13245 SWIGINTERN PyObject
*_wrap_TextCtrl_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13246 PyObject
*resultobj
= 0;
13247 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13250 PyObject
*swig_obj
[1] ;
13252 if (!args
) SWIG_fail
;
13253 swig_obj
[0] = args
;
13254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13255 if (!SWIG_IsOK(res1
)) {
13256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13258 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13262 wxPyEndAllowThreads(__tstate
);
13263 if (PyErr_Occurred()) SWIG_fail
;
13265 resultobj
= SWIG_Py_Void();
13272 SWIGINTERN PyObject
*_wrap_TextCtrl_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13273 PyObject
*resultobj
= 0;
13274 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13277 PyObject
*swig_obj
[1] ;
13279 if (!args
) SWIG_fail
;
13280 swig_obj
[0] = args
;
13281 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13282 if (!SWIG_IsOK(res1
)) {
13283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13285 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13289 wxPyEndAllowThreads(__tstate
);
13290 if (PyErr_Occurred()) SWIG_fail
;
13292 resultobj
= SWIG_Py_Void();
13299 SWIGINTERN PyObject
*_wrap_TextCtrl_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13300 PyObject
*resultobj
= 0;
13301 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13304 PyObject
*swig_obj
[1] ;
13306 if (!args
) SWIG_fail
;
13307 swig_obj
[0] = args
;
13308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13309 if (!SWIG_IsOK(res1
)) {
13310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13312 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13316 wxPyEndAllowThreads(__tstate
);
13317 if (PyErr_Occurred()) SWIG_fail
;
13319 resultobj
= SWIG_Py_Void();
13326 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13327 PyObject
*resultobj
= 0;
13328 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13332 PyObject
*swig_obj
[1] ;
13334 if (!args
) SWIG_fail
;
13335 swig_obj
[0] = args
;
13336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13337 if (!SWIG_IsOK(res1
)) {
13338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13340 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13343 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
13344 wxPyEndAllowThreads(__tstate
);
13345 if (PyErr_Occurred()) SWIG_fail
;
13348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13356 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13357 PyObject
*resultobj
= 0;
13358 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13362 PyObject
*swig_obj
[1] ;
13364 if (!args
) SWIG_fail
;
13365 swig_obj
[0] = args
;
13366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13367 if (!SWIG_IsOK(res1
)) {
13368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13370 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13373 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
13374 wxPyEndAllowThreads(__tstate
);
13375 if (PyErr_Occurred()) SWIG_fail
;
13378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13386 SWIGINTERN PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13387 PyObject
*resultobj
= 0;
13388 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13392 PyObject
*swig_obj
[1] ;
13394 if (!args
) SWIG_fail
;
13395 swig_obj
[0] = args
;
13396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13397 if (!SWIG_IsOK(res1
)) {
13398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13400 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13403 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
13404 wxPyEndAllowThreads(__tstate
);
13405 if (PyErr_Occurred()) SWIG_fail
;
13408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13416 SWIGINTERN PyObject
*_wrap_TextCtrl_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13417 PyObject
*resultobj
= 0;
13418 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13421 PyObject
*swig_obj
[1] ;
13423 if (!args
) SWIG_fail
;
13424 swig_obj
[0] = args
;
13425 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13426 if (!SWIG_IsOK(res1
)) {
13427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13429 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13433 wxPyEndAllowThreads(__tstate
);
13434 if (PyErr_Occurred()) SWIG_fail
;
13436 resultobj
= SWIG_Py_Void();
13443 SWIGINTERN PyObject
*_wrap_TextCtrl_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13444 PyObject
*resultobj
= 0;
13445 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13448 PyObject
*swig_obj
[1] ;
13450 if (!args
) SWIG_fail
;
13451 swig_obj
[0] = args
;
13452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13453 if (!SWIG_IsOK(res1
)) {
13454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13456 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13460 wxPyEndAllowThreads(__tstate
);
13461 if (PyErr_Occurred()) SWIG_fail
;
13463 resultobj
= SWIG_Py_Void();
13470 SWIGINTERN PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13471 PyObject
*resultobj
= 0;
13472 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13476 PyObject
*swig_obj
[1] ;
13478 if (!args
) SWIG_fail
;
13479 swig_obj
[0] = args
;
13480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13481 if (!SWIG_IsOK(res1
)) {
13482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13484 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13487 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
13488 wxPyEndAllowThreads(__tstate
);
13489 if (PyErr_Occurred()) SWIG_fail
;
13492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13500 SWIGINTERN PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13501 PyObject
*resultobj
= 0;
13502 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13506 PyObject
*swig_obj
[1] ;
13508 if (!args
) SWIG_fail
;
13509 swig_obj
[0] = args
;
13510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13511 if (!SWIG_IsOK(res1
)) {
13512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13514 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13517 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
13518 wxPyEndAllowThreads(__tstate
);
13519 if (PyErr_Occurred()) SWIG_fail
;
13522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13530 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13531 PyObject
*resultobj
= 0;
13532 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13538 PyObject
* obj0
= 0 ;
13539 PyObject
* obj1
= 0 ;
13540 char * kwnames
[] = {
13541 (char *) "self",(char *) "pos", NULL
13544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13546 if (!SWIG_IsOK(res1
)) {
13547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13549 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13550 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13551 if (!SWIG_IsOK(ecode2
)) {
13552 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13554 arg2
= static_cast< long >(val2
);
13556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13557 (arg1
)->SetInsertionPoint(arg2
);
13558 wxPyEndAllowThreads(__tstate
);
13559 if (PyErr_Occurred()) SWIG_fail
;
13561 resultobj
= SWIG_Py_Void();
13568 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13569 PyObject
*resultobj
= 0;
13570 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13573 PyObject
*swig_obj
[1] ;
13575 if (!args
) SWIG_fail
;
13576 swig_obj
[0] = args
;
13577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13578 if (!SWIG_IsOK(res1
)) {
13579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13581 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13584 (arg1
)->SetInsertionPointEnd();
13585 wxPyEndAllowThreads(__tstate
);
13586 if (PyErr_Occurred()) SWIG_fail
;
13588 resultobj
= SWIG_Py_Void();
13595 SWIGINTERN PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13596 PyObject
*resultobj
= 0;
13597 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13601 PyObject
*swig_obj
[1] ;
13603 if (!args
) SWIG_fail
;
13604 swig_obj
[0] = args
;
13605 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13606 if (!SWIG_IsOK(res1
)) {
13607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13609 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13612 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
13613 wxPyEndAllowThreads(__tstate
);
13614 if (PyErr_Occurred()) SWIG_fail
;
13616 resultobj
= SWIG_From_long(static_cast< long >(result
));
13623 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13624 PyObject
*resultobj
= 0;
13625 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13629 PyObject
*swig_obj
[1] ;
13631 if (!args
) SWIG_fail
;
13632 swig_obj
[0] = args
;
13633 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13634 if (!SWIG_IsOK(res1
)) {
13635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13637 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13640 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
13641 wxPyEndAllowThreads(__tstate
);
13642 if (PyErr_Occurred()) SWIG_fail
;
13644 resultobj
= SWIG_From_long(static_cast< long >(result
));
13651 SWIGINTERN PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13652 PyObject
*resultobj
= 0;
13653 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13662 PyObject
* obj0
= 0 ;
13663 PyObject
* obj1
= 0 ;
13664 PyObject
* obj2
= 0 ;
13665 char * kwnames
[] = {
13666 (char *) "self",(char *) "from",(char *) "to", NULL
13669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13671 if (!SWIG_IsOK(res1
)) {
13672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13674 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13675 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13676 if (!SWIG_IsOK(ecode2
)) {
13677 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13679 arg2
= static_cast< long >(val2
);
13680 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13681 if (!SWIG_IsOK(ecode3
)) {
13682 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13684 arg3
= static_cast< long >(val3
);
13686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13687 (arg1
)->SetSelection(arg2
,arg3
);
13688 wxPyEndAllowThreads(__tstate
);
13689 if (PyErr_Occurred()) SWIG_fail
;
13691 resultobj
= SWIG_Py_Void();
13698 SWIGINTERN PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13699 PyObject
*resultobj
= 0;
13700 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13703 PyObject
*swig_obj
[1] ;
13705 if (!args
) SWIG_fail
;
13706 swig_obj
[0] = args
;
13707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13708 if (!SWIG_IsOK(res1
)) {
13709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13711 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13714 (arg1
)->SelectAll();
13715 wxPyEndAllowThreads(__tstate
);
13716 if (PyErr_Occurred()) SWIG_fail
;
13718 resultobj
= SWIG_Py_Void();
13725 SWIGINTERN PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13726 PyObject
*resultobj
= 0;
13727 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13733 PyObject
* obj0
= 0 ;
13734 PyObject
* obj1
= 0 ;
13735 char * kwnames
[] = {
13736 (char *) "self",(char *) "editable", NULL
13739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13741 if (!SWIG_IsOK(res1
)) {
13742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13744 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13745 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13746 if (!SWIG_IsOK(ecode2
)) {
13747 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
13749 arg2
= static_cast< bool >(val2
);
13751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13752 (arg1
)->SetEditable(arg2
);
13753 wxPyEndAllowThreads(__tstate
);
13754 if (PyErr_Occurred()) SWIG_fail
;
13756 resultobj
= SWIG_Py_Void();
13763 SWIGINTERN PyObject
*_wrap_TextCtrl_write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13764 PyObject
*resultobj
= 0;
13765 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13766 wxString
*arg2
= 0 ;
13769 bool temp2
= false ;
13770 PyObject
* obj0
= 0 ;
13771 PyObject
* obj1
= 0 ;
13772 char * kwnames
[] = {
13773 (char *) "self",(char *) "text", NULL
13776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13778 if (!SWIG_IsOK(res1
)) {
13779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13781 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13783 arg2
= wxString_in_helper(obj1
);
13784 if (arg2
== NULL
) SWIG_fail
;
13788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13789 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
13790 wxPyEndAllowThreads(__tstate
);
13791 if (PyErr_Occurred()) SWIG_fail
;
13793 resultobj
= SWIG_Py_Void();
13808 SWIGINTERN PyObject
*_wrap_TextCtrl_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13809 PyObject
*resultobj
= 0;
13810 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13820 PyObject
* obj0
= 0 ;
13821 PyObject
* obj1
= 0 ;
13822 PyObject
* obj2
= 0 ;
13823 char * kwnames
[] = {
13824 (char *) "self",(char *) "from",(char *) "to", NULL
13827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13829 if (!SWIG_IsOK(res1
)) {
13830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13832 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13833 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13834 if (!SWIG_IsOK(ecode2
)) {
13835 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
13837 arg2
= static_cast< long >(val2
);
13838 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13839 if (!SWIG_IsOK(ecode3
)) {
13840 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
13842 arg3
= static_cast< long >(val3
);
13844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13845 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
13846 wxPyEndAllowThreads(__tstate
);
13847 if (PyErr_Occurred()) SWIG_fail
;
13851 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13853 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13862 SWIGINTERN PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13863 PyObject
*resultobj
= 0;
13864 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13865 SwigValueWrapper
<wxVisualAttributes
> result
;
13868 PyObject
* obj0
= 0 ;
13869 char * kwnames
[] = {
13870 (char *) "variant", NULL
13873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
13875 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13876 if (!SWIG_IsOK(ecode1
)) {
13877 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
13879 arg1
= static_cast< wxWindowVariant
>(val1
);
13882 if (!wxPyCheckForApp()) SWIG_fail
;
13883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13884 result
= wxTextCtrl::GetClassDefaultAttributes(arg1
);
13885 wxPyEndAllowThreads(__tstate
);
13886 if (PyErr_Occurred()) SWIG_fail
;
13888 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
13895 SWIGINTERN PyObject
*TextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13897 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13898 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl
, SWIG_NewClientData(obj
));
13899 return SWIG_Py_Void();
13902 SWIGINTERN PyObject
*TextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13903 return SWIG_Python_InitShadowInstance(args
);
13906 SWIGINTERN PyObject
*_wrap_new_TextUrlEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13907 PyObject
*resultobj
= 0;
13909 wxMouseEvent
*arg2
= 0 ;
13912 wxTextUrlEvent
*result
= 0 ;
13921 PyObject
* obj0
= 0 ;
13922 PyObject
* obj1
= 0 ;
13923 PyObject
* obj2
= 0 ;
13924 PyObject
* obj3
= 0 ;
13925 char * kwnames
[] = {
13926 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
13929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13930 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13931 if (!SWIG_IsOK(ecode1
)) {
13932 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
13934 arg1
= static_cast< int >(val1
);
13935 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
13936 if (!SWIG_IsOK(res2
)) {
13937 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
13940 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
13942 arg2
= reinterpret_cast< wxMouseEvent
* >(argp2
);
13943 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13944 if (!SWIG_IsOK(ecode3
)) {
13945 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
13947 arg3
= static_cast< long >(val3
);
13948 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
13949 if (!SWIG_IsOK(ecode4
)) {
13950 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
13952 arg4
= static_cast< long >(val4
);
13954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13955 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
13956 wxPyEndAllowThreads(__tstate
);
13957 if (PyErr_Occurred()) SWIG_fail
;
13959 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_NEW
| 0 );
13966 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13967 PyObject
*resultobj
= 0;
13968 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
13969 wxMouseEvent
*result
= 0 ;
13972 PyObject
*swig_obj
[1] ;
13974 if (!args
) SWIG_fail
;
13975 swig_obj
[0] = args
;
13976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
13977 if (!SWIG_IsOK(res1
)) {
13978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
13980 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
13982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13984 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
13985 result
= (wxMouseEvent
*) &_result_ref
;
13987 wxPyEndAllowThreads(__tstate
);
13988 if (PyErr_Occurred()) SWIG_fail
;
13990 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
13997 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13998 PyObject
*resultobj
= 0;
13999 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14003 PyObject
*swig_obj
[1] ;
14005 if (!args
) SWIG_fail
;
14006 swig_obj
[0] = args
;
14007 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14008 if (!SWIG_IsOK(res1
)) {
14009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14011 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14014 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
14015 wxPyEndAllowThreads(__tstate
);
14016 if (PyErr_Occurred()) SWIG_fail
;
14018 resultobj
= SWIG_From_long(static_cast< long >(result
));
14025 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14026 PyObject
*resultobj
= 0;
14027 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14031 PyObject
*swig_obj
[1] ;
14033 if (!args
) SWIG_fail
;
14034 swig_obj
[0] = args
;
14035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14036 if (!SWIG_IsOK(res1
)) {
14037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14039 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14042 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
14043 wxPyEndAllowThreads(__tstate
);
14044 if (PyErr_Occurred()) SWIG_fail
;
14046 resultobj
= SWIG_From_long(static_cast< long >(result
));
14053 SWIGINTERN PyObject
*TextUrlEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14055 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14056 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent
, SWIG_NewClientData(obj
));
14057 return SWIG_Py_Void();
14060 SWIGINTERN PyObject
*TextUrlEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14061 return SWIG_Python_InitShadowInstance(args
);
14064 SWIGINTERN
int ScrollBarNameStr_set(PyObject
*) {
14065 SWIG_Error(SWIG_AttributeError
,"Variable ScrollBarNameStr is read-only.");
14070 SWIGINTERN PyObject
*ScrollBarNameStr_get(void) {
14071 PyObject
*pyobj
= 0;
14075 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14077 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14084 SWIGINTERN PyObject
*_wrap_new_ScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14085 PyObject
*resultobj
= 0;
14086 wxWindow
*arg1
= (wxWindow
*) 0 ;
14087 int arg2
= (int) -1 ;
14088 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14089 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14090 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14091 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14092 long arg5
= (long) wxSB_HORIZONTAL
;
14093 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
14094 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
14095 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
14096 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14097 wxScrollBar
*result
= 0 ;
14108 bool temp7
= false ;
14109 PyObject
* obj0
= 0 ;
14110 PyObject
* obj1
= 0 ;
14111 PyObject
* obj2
= 0 ;
14112 PyObject
* obj3
= 0 ;
14113 PyObject
* obj4
= 0 ;
14114 PyObject
* obj5
= 0 ;
14115 PyObject
* obj6
= 0 ;
14116 char * kwnames
[] = {
14117 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14122 if (!SWIG_IsOK(res1
)) {
14123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
14125 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14127 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14128 if (!SWIG_IsOK(ecode2
)) {
14129 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
14131 arg2
= static_cast< int >(val2
);
14136 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14142 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14146 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14147 if (!SWIG_IsOK(ecode5
)) {
14148 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14150 arg5
= static_cast< long >(val5
);
14153 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
14154 if (!SWIG_IsOK(res6
)) {
14155 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14158 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14160 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
14164 arg7
= wxString_in_helper(obj6
);
14165 if (arg7
== NULL
) SWIG_fail
;
14170 if (!wxPyCheckForApp()) SWIG_fail
;
14171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14172 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
14173 wxPyEndAllowThreads(__tstate
);
14174 if (PyErr_Occurred()) SWIG_fail
;
14176 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_NEW
| 0 );
14191 SWIGINTERN PyObject
*_wrap_new_PreScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14192 PyObject
*resultobj
= 0;
14193 wxScrollBar
*result
= 0 ;
14195 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrollBar",0,0,0)) SWIG_fail
;
14197 if (!wxPyCheckForApp()) SWIG_fail
;
14198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14199 result
= (wxScrollBar
*)new wxScrollBar();
14200 wxPyEndAllowThreads(__tstate
);
14201 if (PyErr_Occurred()) SWIG_fail
;
14203 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_OWN
| 0 );
14210 SWIGINTERN PyObject
*_wrap_ScrollBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14211 PyObject
*resultobj
= 0;
14212 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14213 wxWindow
*arg2
= (wxWindow
*) 0 ;
14214 int arg3
= (int) -1 ;
14215 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14216 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14217 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14218 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14219 long arg6
= (long) wxSB_HORIZONTAL
;
14220 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14221 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14222 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
14223 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14237 bool temp8
= false ;
14238 PyObject
* obj0
= 0 ;
14239 PyObject
* obj1
= 0 ;
14240 PyObject
* obj2
= 0 ;
14241 PyObject
* obj3
= 0 ;
14242 PyObject
* obj4
= 0 ;
14243 PyObject
* obj5
= 0 ;
14244 PyObject
* obj6
= 0 ;
14245 PyObject
* obj7
= 0 ;
14246 char * kwnames
[] = {
14247 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
14251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14252 if (!SWIG_IsOK(res1
)) {
14253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14255 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14256 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14257 if (!SWIG_IsOK(res2
)) {
14258 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14260 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14262 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14263 if (!SWIG_IsOK(ecode3
)) {
14264 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14266 arg3
= static_cast< int >(val3
);
14271 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14277 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14281 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14282 if (!SWIG_IsOK(ecode6
)) {
14283 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14285 arg6
= static_cast< long >(val6
);
14288 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
14289 if (!SWIG_IsOK(res7
)) {
14290 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14293 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14295 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
14299 arg8
= wxString_in_helper(obj7
);
14300 if (arg8
== NULL
) SWIG_fail
;
14305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14306 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14307 wxPyEndAllowThreads(__tstate
);
14308 if (PyErr_Occurred()) SWIG_fail
;
14311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14327 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14328 PyObject
*resultobj
= 0;
14329 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14333 PyObject
*swig_obj
[1] ;
14335 if (!args
) SWIG_fail
;
14336 swig_obj
[0] = args
;
14337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14338 if (!SWIG_IsOK(res1
)) {
14339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14341 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14344 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
14345 wxPyEndAllowThreads(__tstate
);
14346 if (PyErr_Occurred()) SWIG_fail
;
14348 resultobj
= SWIG_From_int(static_cast< int >(result
));
14355 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14356 PyObject
*resultobj
= 0;
14357 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14361 PyObject
*swig_obj
[1] ;
14363 if (!args
) SWIG_fail
;
14364 swig_obj
[0] = args
;
14365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14366 if (!SWIG_IsOK(res1
)) {
14367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14369 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14372 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
14373 wxPyEndAllowThreads(__tstate
);
14374 if (PyErr_Occurred()) SWIG_fail
;
14376 resultobj
= SWIG_From_int(static_cast< int >(result
));
14383 SWIGINTERN PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14384 PyObject
*resultobj
= 0;
14385 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14389 PyObject
*swig_obj
[1] ;
14391 if (!args
) SWIG_fail
;
14392 swig_obj
[0] = args
;
14393 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14394 if (!SWIG_IsOK(res1
)) {
14395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14397 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14400 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
14401 wxPyEndAllowThreads(__tstate
);
14402 if (PyErr_Occurred()) SWIG_fail
;
14404 resultobj
= SWIG_From_int(static_cast< int >(result
));
14411 SWIGINTERN PyObject
*_wrap_ScrollBar_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14412 PyObject
*resultobj
= 0;
14413 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14417 PyObject
*swig_obj
[1] ;
14419 if (!args
) SWIG_fail
;
14420 swig_obj
[0] = args
;
14421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14422 if (!SWIG_IsOK(res1
)) {
14423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14425 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14428 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
14429 wxPyEndAllowThreads(__tstate
);
14430 if (PyErr_Occurred()) SWIG_fail
;
14432 resultobj
= SWIG_From_int(static_cast< int >(result
));
14439 SWIGINTERN PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14440 PyObject
*resultobj
= 0;
14441 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14445 PyObject
*swig_obj
[1] ;
14447 if (!args
) SWIG_fail
;
14448 swig_obj
[0] = args
;
14449 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14450 if (!SWIG_IsOK(res1
)) {
14451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14453 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14456 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
14457 wxPyEndAllowThreads(__tstate
);
14458 if (PyErr_Occurred()) SWIG_fail
;
14461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14469 SWIGINTERN PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14470 PyObject
*resultobj
= 0;
14471 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14477 PyObject
* obj0
= 0 ;
14478 PyObject
* obj1
= 0 ;
14479 char * kwnames
[] = {
14480 (char *) "self",(char *) "viewStart", NULL
14483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14484 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14485 if (!SWIG_IsOK(res1
)) {
14486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14488 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14489 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14490 if (!SWIG_IsOK(ecode2
)) {
14491 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14493 arg2
= static_cast< int >(val2
);
14495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14496 (arg1
)->SetThumbPosition(arg2
);
14497 wxPyEndAllowThreads(__tstate
);
14498 if (PyErr_Occurred()) SWIG_fail
;
14500 resultobj
= SWIG_Py_Void();
14507 SWIGINTERN PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14508 PyObject
*resultobj
= 0;
14509 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14510 SwigValueWrapper
<wxVisualAttributes
> result
;
14513 PyObject
* obj0
= 0 ;
14514 char * kwnames
[] = {
14515 (char *) "variant", NULL
14518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14520 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14521 if (!SWIG_IsOK(ecode1
)) {
14522 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14524 arg1
= static_cast< wxWindowVariant
>(val1
);
14527 if (!wxPyCheckForApp()) SWIG_fail
;
14528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14529 result
= wxScrollBar::GetClassDefaultAttributes(arg1
);
14530 wxPyEndAllowThreads(__tstate
);
14531 if (PyErr_Occurred()) SWIG_fail
;
14533 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14540 SWIGINTERN PyObject
*ScrollBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14542 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14543 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar
, SWIG_NewClientData(obj
));
14544 return SWIG_Py_Void();
14547 SWIGINTERN PyObject
*ScrollBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14548 return SWIG_Python_InitShadowInstance(args
);
14551 SWIGINTERN
int SPIN_BUTTON_NAME_set(PyObject
*) {
14552 SWIG_Error(SWIG_AttributeError
,"Variable SPIN_BUTTON_NAME is read-only.");
14557 SWIGINTERN PyObject
*SPIN_BUTTON_NAME_get(void) {
14558 PyObject
*pyobj
= 0;
14562 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14564 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14571 SWIGINTERN
int SpinCtrlNameStr_set(PyObject
*) {
14572 SWIG_Error(SWIG_AttributeError
,"Variable SpinCtrlNameStr is read-only.");
14577 SWIGINTERN PyObject
*SpinCtrlNameStr_get(void) {
14578 PyObject
*pyobj
= 0;
14582 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14584 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14591 SWIGINTERN PyObject
*_wrap_new_SpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14592 PyObject
*resultobj
= 0;
14593 wxWindow
*arg1
= (wxWindow
*) 0 ;
14594 int arg2
= (int) -1 ;
14595 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14596 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14597 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14598 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14599 long arg5
= (long) wxSP_HORIZONTAL
;
14600 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
14601 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14602 wxSpinButton
*result
= 0 ;
14611 bool temp6
= false ;
14612 PyObject
* obj0
= 0 ;
14613 PyObject
* obj1
= 0 ;
14614 PyObject
* obj2
= 0 ;
14615 PyObject
* obj3
= 0 ;
14616 PyObject
* obj4
= 0 ;
14617 PyObject
* obj5
= 0 ;
14618 char * kwnames
[] = {
14619 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14624 if (!SWIG_IsOK(res1
)) {
14625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14627 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14629 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14630 if (!SWIG_IsOK(ecode2
)) {
14631 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14633 arg2
= static_cast< int >(val2
);
14638 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14644 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14648 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14649 if (!SWIG_IsOK(ecode5
)) {
14650 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14652 arg5
= static_cast< long >(val5
);
14656 arg6
= wxString_in_helper(obj5
);
14657 if (arg6
== NULL
) SWIG_fail
;
14662 if (!wxPyCheckForApp()) SWIG_fail
;
14663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14664 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14665 wxPyEndAllowThreads(__tstate
);
14666 if (PyErr_Occurred()) SWIG_fail
;
14668 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_NEW
| 0 );
14683 SWIGINTERN PyObject
*_wrap_new_PreSpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14684 PyObject
*resultobj
= 0;
14685 wxSpinButton
*result
= 0 ;
14687 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinButton",0,0,0)) SWIG_fail
;
14689 if (!wxPyCheckForApp()) SWIG_fail
;
14690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14691 result
= (wxSpinButton
*)new wxSpinButton();
14692 wxPyEndAllowThreads(__tstate
);
14693 if (PyErr_Occurred()) SWIG_fail
;
14695 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_OWN
| 0 );
14702 SWIGINTERN PyObject
*_wrap_SpinButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14703 PyObject
*resultobj
= 0;
14704 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14705 wxWindow
*arg2
= (wxWindow
*) 0 ;
14706 int arg3
= (int) -1 ;
14707 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14708 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14709 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14710 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14711 long arg6
= (long) wxSP_HORIZONTAL
;
14712 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
14713 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14725 bool temp7
= false ;
14726 PyObject
* obj0
= 0 ;
14727 PyObject
* obj1
= 0 ;
14728 PyObject
* obj2
= 0 ;
14729 PyObject
* obj3
= 0 ;
14730 PyObject
* obj4
= 0 ;
14731 PyObject
* obj5
= 0 ;
14732 PyObject
* obj6
= 0 ;
14733 char * kwnames
[] = {
14734 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14739 if (!SWIG_IsOK(res1
)) {
14740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14742 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14743 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14744 if (!SWIG_IsOK(res2
)) {
14745 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14747 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14749 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14750 if (!SWIG_IsOK(ecode3
)) {
14751 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
14753 arg3
= static_cast< int >(val3
);
14758 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14764 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14768 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14769 if (!SWIG_IsOK(ecode6
)) {
14770 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
14772 arg6
= static_cast< long >(val6
);
14776 arg7
= wxString_in_helper(obj6
);
14777 if (arg7
== NULL
) SWIG_fail
;
14782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14783 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14784 wxPyEndAllowThreads(__tstate
);
14785 if (PyErr_Occurred()) SWIG_fail
;
14788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14804 SWIGINTERN PyObject
*_wrap_SpinButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14805 PyObject
*resultobj
= 0;
14806 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14810 PyObject
*swig_obj
[1] ;
14812 if (!args
) SWIG_fail
;
14813 swig_obj
[0] = args
;
14814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14815 if (!SWIG_IsOK(res1
)) {
14816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14818 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14821 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
14822 wxPyEndAllowThreads(__tstate
);
14823 if (PyErr_Occurred()) SWIG_fail
;
14825 resultobj
= SWIG_From_int(static_cast< int >(result
));
14832 SWIGINTERN PyObject
*_wrap_SpinButton_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14833 PyObject
*resultobj
= 0;
14834 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14838 PyObject
*swig_obj
[1] ;
14840 if (!args
) SWIG_fail
;
14841 swig_obj
[0] = args
;
14842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14843 if (!SWIG_IsOK(res1
)) {
14844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14846 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14849 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
14850 wxPyEndAllowThreads(__tstate
);
14851 if (PyErr_Occurred()) SWIG_fail
;
14853 resultobj
= SWIG_From_int(static_cast< int >(result
));
14860 SWIGINTERN PyObject
*_wrap_SpinButton_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14861 PyObject
*resultobj
= 0;
14862 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14866 PyObject
*swig_obj
[1] ;
14868 if (!args
) SWIG_fail
;
14869 swig_obj
[0] = args
;
14870 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14871 if (!SWIG_IsOK(res1
)) {
14872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14874 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14877 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
14878 wxPyEndAllowThreads(__tstate
);
14879 if (PyErr_Occurred()) SWIG_fail
;
14881 resultobj
= SWIG_From_int(static_cast< int >(result
));
14888 SWIGINTERN PyObject
*_wrap_SpinButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14889 PyObject
*resultobj
= 0;
14890 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14896 PyObject
* obj0
= 0 ;
14897 PyObject
* obj1
= 0 ;
14898 char * kwnames
[] = {
14899 (char *) "self",(char *) "val", NULL
14902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14904 if (!SWIG_IsOK(res1
)) {
14905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14907 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14908 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14909 if (!SWIG_IsOK(ecode2
)) {
14910 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
14912 arg2
= static_cast< int >(val2
);
14914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14915 (arg1
)->SetValue(arg2
);
14916 wxPyEndAllowThreads(__tstate
);
14917 if (PyErr_Occurred()) SWIG_fail
;
14919 resultobj
= SWIG_Py_Void();
14926 SWIGINTERN PyObject
*_wrap_SpinButton_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14927 PyObject
*resultobj
= 0;
14928 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14934 PyObject
* obj0
= 0 ;
14935 PyObject
* obj1
= 0 ;
14936 char * kwnames
[] = {
14937 (char *) "self",(char *) "minVal", NULL
14940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14942 if (!SWIG_IsOK(res1
)) {
14943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14945 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14946 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14947 if (!SWIG_IsOK(ecode2
)) {
14948 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
14950 arg2
= static_cast< int >(val2
);
14952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14953 (arg1
)->SetMin(arg2
);
14954 wxPyEndAllowThreads(__tstate
);
14955 if (PyErr_Occurred()) SWIG_fail
;
14957 resultobj
= SWIG_Py_Void();
14964 SWIGINTERN PyObject
*_wrap_SpinButton_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14965 PyObject
*resultobj
= 0;
14966 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14972 PyObject
* obj0
= 0 ;
14973 PyObject
* obj1
= 0 ;
14974 char * kwnames
[] = {
14975 (char *) "self",(char *) "maxVal", NULL
14978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14980 if (!SWIG_IsOK(res1
)) {
14981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMax" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14983 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14984 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14985 if (!SWIG_IsOK(ecode2
)) {
14986 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMax" "', expected argument " "2"" of type '" "int""'");
14988 arg2
= static_cast< int >(val2
);
14990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14991 (arg1
)->SetMax(arg2
);
14992 wxPyEndAllowThreads(__tstate
);
14993 if (PyErr_Occurred()) SWIG_fail
;
14995 resultobj
= SWIG_Py_Void();
15002 SWIGINTERN PyObject
*_wrap_SpinButton_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15003 PyObject
*resultobj
= 0;
15004 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15013 PyObject
* obj0
= 0 ;
15014 PyObject
* obj1
= 0 ;
15015 PyObject
* obj2
= 0 ;
15016 char * kwnames
[] = {
15017 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15022 if (!SWIG_IsOK(res1
)) {
15023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15025 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15026 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15027 if (!SWIG_IsOK(ecode2
)) {
15028 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
15030 arg2
= static_cast< int >(val2
);
15031 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15032 if (!SWIG_IsOK(ecode3
)) {
15033 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
15035 arg3
= static_cast< int >(val3
);
15037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15038 (arg1
)->SetRange(arg2
,arg3
);
15039 wxPyEndAllowThreads(__tstate
);
15040 if (PyErr_Occurred()) SWIG_fail
;
15042 resultobj
= SWIG_Py_Void();
15049 SWIGINTERN PyObject
*_wrap_SpinButton_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15050 PyObject
*resultobj
= 0;
15051 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15055 PyObject
*swig_obj
[1] ;
15057 if (!args
) SWIG_fail
;
15058 swig_obj
[0] = args
;
15059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15060 if (!SWIG_IsOK(res1
)) {
15061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15063 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15066 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
15067 wxPyEndAllowThreads(__tstate
);
15068 if (PyErr_Occurred()) SWIG_fail
;
15071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15079 SWIGINTERN PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15080 PyObject
*resultobj
= 0;
15081 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15082 SwigValueWrapper
<wxVisualAttributes
> result
;
15085 PyObject
* obj0
= 0 ;
15086 char * kwnames
[] = {
15087 (char *) "variant", NULL
15090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15092 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15093 if (!SWIG_IsOK(ecode1
)) {
15094 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15096 arg1
= static_cast< wxWindowVariant
>(val1
);
15099 if (!wxPyCheckForApp()) SWIG_fail
;
15100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15101 result
= wxSpinButton::GetClassDefaultAttributes(arg1
);
15102 wxPyEndAllowThreads(__tstate
);
15103 if (PyErr_Occurred()) SWIG_fail
;
15105 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15112 SWIGINTERN PyObject
*SpinButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15114 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15115 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton
, SWIG_NewClientData(obj
));
15116 return SWIG_Py_Void();
15119 SWIGINTERN PyObject
*SpinButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15120 return SWIG_Python_InitShadowInstance(args
);
15123 SWIGINTERN PyObject
*_wrap_new_SpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15124 PyObject
*resultobj
= 0;
15125 wxWindow
*arg1
= (wxWindow
*) 0 ;
15126 int arg2
= (int) -1 ;
15127 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15128 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15129 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15130 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15131 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15132 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15133 long arg6
= (long) wxSP_ARROW_KEYS
;
15134 int arg7
= (int) 0 ;
15135 int arg8
= (int) 100 ;
15136 int arg9
= (int) 0 ;
15137 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
15138 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15139 wxSpinCtrl
*result
= 0 ;
15144 bool temp3
= false ;
15155 bool temp10
= false ;
15156 PyObject
* obj0
= 0 ;
15157 PyObject
* obj1
= 0 ;
15158 PyObject
* obj2
= 0 ;
15159 PyObject
* obj3
= 0 ;
15160 PyObject
* obj4
= 0 ;
15161 PyObject
* obj5
= 0 ;
15162 PyObject
* obj6
= 0 ;
15163 PyObject
* obj7
= 0 ;
15164 PyObject
* obj8
= 0 ;
15165 PyObject
* obj9
= 0 ;
15166 char * kwnames
[] = {
15167 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15172 if (!SWIG_IsOK(res1
)) {
15173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15175 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15177 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15178 if (!SWIG_IsOK(ecode2
)) {
15179 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15181 arg2
= static_cast< int >(val2
);
15185 arg3
= wxString_in_helper(obj2
);
15186 if (arg3
== NULL
) SWIG_fail
;
15193 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15199 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15203 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15204 if (!SWIG_IsOK(ecode6
)) {
15205 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15207 arg6
= static_cast< long >(val6
);
15210 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15211 if (!SWIG_IsOK(ecode7
)) {
15212 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15214 arg7
= static_cast< int >(val7
);
15217 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15218 if (!SWIG_IsOK(ecode8
)) {
15219 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15221 arg8
= static_cast< int >(val8
);
15224 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15225 if (!SWIG_IsOK(ecode9
)) {
15226 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15228 arg9
= static_cast< int >(val9
);
15232 arg10
= wxString_in_helper(obj9
);
15233 if (arg10
== NULL
) SWIG_fail
;
15238 if (!wxPyCheckForApp()) SWIG_fail
;
15239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15240 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
15241 wxPyEndAllowThreads(__tstate
);
15242 if (PyErr_Occurred()) SWIG_fail
;
15244 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_NEW
| 0 );
15267 SWIGINTERN PyObject
*_wrap_new_PreSpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15268 PyObject
*resultobj
= 0;
15269 wxSpinCtrl
*result
= 0 ;
15271 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinCtrl",0,0,0)) SWIG_fail
;
15273 if (!wxPyCheckForApp()) SWIG_fail
;
15274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15275 result
= (wxSpinCtrl
*)new wxSpinCtrl();
15276 wxPyEndAllowThreads(__tstate
);
15277 if (PyErr_Occurred()) SWIG_fail
;
15279 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_OWN
| 0 );
15286 SWIGINTERN PyObject
*_wrap_SpinCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15287 PyObject
*resultobj
= 0;
15288 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15289 wxWindow
*arg2
= (wxWindow
*) 0 ;
15290 int arg3
= (int) -1 ;
15291 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15292 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15293 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15294 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15295 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15296 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15297 long arg7
= (long) wxSP_ARROW_KEYS
;
15298 int arg8
= (int) 0 ;
15299 int arg9
= (int) 100 ;
15300 int arg10
= (int) 0 ;
15301 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
15302 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15310 bool temp4
= false ;
15321 bool temp11
= false ;
15322 PyObject
* obj0
= 0 ;
15323 PyObject
* obj1
= 0 ;
15324 PyObject
* obj2
= 0 ;
15325 PyObject
* obj3
= 0 ;
15326 PyObject
* obj4
= 0 ;
15327 PyObject
* obj5
= 0 ;
15328 PyObject
* obj6
= 0 ;
15329 PyObject
* obj7
= 0 ;
15330 PyObject
* obj8
= 0 ;
15331 PyObject
* obj9
= 0 ;
15332 PyObject
* obj10
= 0 ;
15333 char * kwnames
[] = {
15334 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
15338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15339 if (!SWIG_IsOK(res1
)) {
15340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15342 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15343 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15344 if (!SWIG_IsOK(res2
)) {
15345 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15347 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15349 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15350 if (!SWIG_IsOK(ecode3
)) {
15351 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15353 arg3
= static_cast< int >(val3
);
15357 arg4
= wxString_in_helper(obj3
);
15358 if (arg4
== NULL
) SWIG_fail
;
15365 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15371 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15375 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
15376 if (!SWIG_IsOK(ecode7
)) {
15377 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15379 arg7
= static_cast< long >(val7
);
15382 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15383 if (!SWIG_IsOK(ecode8
)) {
15384 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15386 arg8
= static_cast< int >(val8
);
15389 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15390 if (!SWIG_IsOK(ecode9
)) {
15391 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15393 arg9
= static_cast< int >(val9
);
15396 ecode10
= SWIG_AsVal_int(obj9
, &val10
);
15397 if (!SWIG_IsOK(ecode10
)) {
15398 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15400 arg10
= static_cast< int >(val10
);
15404 arg11
= wxString_in_helper(obj10
);
15405 if (arg11
== NULL
) SWIG_fail
;
15410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15411 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
15412 wxPyEndAllowThreads(__tstate
);
15413 if (PyErr_Occurred()) SWIG_fail
;
15416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15440 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15441 PyObject
*resultobj
= 0;
15442 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15446 PyObject
*swig_obj
[1] ;
15448 if (!args
) SWIG_fail
;
15449 swig_obj
[0] = args
;
15450 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15451 if (!SWIG_IsOK(res1
)) {
15452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15454 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15457 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
15458 wxPyEndAllowThreads(__tstate
);
15459 if (PyErr_Occurred()) SWIG_fail
;
15461 resultobj
= SWIG_From_int(static_cast< int >(result
));
15468 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15469 PyObject
*resultobj
= 0;
15470 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15476 PyObject
* obj0
= 0 ;
15477 PyObject
* obj1
= 0 ;
15478 char * kwnames
[] = {
15479 (char *) "self",(char *) "value", NULL
15482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15484 if (!SWIG_IsOK(res1
)) {
15485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15487 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15488 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15489 if (!SWIG_IsOK(ecode2
)) {
15490 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15492 arg2
= static_cast< int >(val2
);
15494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15495 (arg1
)->SetValue(arg2
);
15496 wxPyEndAllowThreads(__tstate
);
15497 if (PyErr_Occurred()) SWIG_fail
;
15499 resultobj
= SWIG_Py_Void();
15506 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15507 PyObject
*resultobj
= 0;
15508 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15509 wxString
*arg2
= 0 ;
15512 bool temp2
= false ;
15513 PyObject
* obj0
= 0 ;
15514 PyObject
* obj1
= 0 ;
15515 char * kwnames
[] = {
15516 (char *) "self",(char *) "text", NULL
15519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15521 if (!SWIG_IsOK(res1
)) {
15522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15524 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15526 arg2
= wxString_in_helper(obj1
);
15527 if (arg2
== NULL
) SWIG_fail
;
15531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15532 (arg1
)->SetValue((wxString
const &)*arg2
);
15533 wxPyEndAllowThreads(__tstate
);
15534 if (PyErr_Occurred()) SWIG_fail
;
15536 resultobj
= SWIG_Py_Void();
15551 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15552 PyObject
*resultobj
= 0;
15553 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15562 PyObject
* obj0
= 0 ;
15563 PyObject
* obj1
= 0 ;
15564 PyObject
* obj2
= 0 ;
15565 char * kwnames
[] = {
15566 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15571 if (!SWIG_IsOK(res1
)) {
15572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15574 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15575 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15576 if (!SWIG_IsOK(ecode2
)) {
15577 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15579 arg2
= static_cast< int >(val2
);
15580 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15581 if (!SWIG_IsOK(ecode3
)) {
15582 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15584 arg3
= static_cast< int >(val3
);
15586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15587 (arg1
)->SetRange(arg2
,arg3
);
15588 wxPyEndAllowThreads(__tstate
);
15589 if (PyErr_Occurred()) SWIG_fail
;
15591 resultobj
= SWIG_Py_Void();
15598 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15599 PyObject
*resultobj
= 0;
15600 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15604 PyObject
*swig_obj
[1] ;
15606 if (!args
) SWIG_fail
;
15607 swig_obj
[0] = args
;
15608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15609 if (!SWIG_IsOK(res1
)) {
15610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15612 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15615 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
15616 wxPyEndAllowThreads(__tstate
);
15617 if (PyErr_Occurred()) SWIG_fail
;
15619 resultobj
= SWIG_From_int(static_cast< int >(result
));
15626 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15627 PyObject
*resultobj
= 0;
15628 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15632 PyObject
*swig_obj
[1] ;
15634 if (!args
) SWIG_fail
;
15635 swig_obj
[0] = args
;
15636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15637 if (!SWIG_IsOK(res1
)) {
15638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15640 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15643 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
15644 wxPyEndAllowThreads(__tstate
);
15645 if (PyErr_Occurred()) SWIG_fail
;
15647 resultobj
= SWIG_From_int(static_cast< int >(result
));
15654 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15655 PyObject
*resultobj
= 0;
15656 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15665 PyObject
* obj0
= 0 ;
15666 PyObject
* obj1
= 0 ;
15667 PyObject
* obj2
= 0 ;
15668 char * kwnames
[] = {
15669 (char *) "self",(char *) "from",(char *) "to", NULL
15672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15674 if (!SWIG_IsOK(res1
)) {
15675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15677 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15678 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
15679 if (!SWIG_IsOK(ecode2
)) {
15680 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
15682 arg2
= static_cast< long >(val2
);
15683 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
15684 if (!SWIG_IsOK(ecode3
)) {
15685 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
15687 arg3
= static_cast< long >(val3
);
15689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15690 (arg1
)->SetSelection(arg2
,arg3
);
15691 wxPyEndAllowThreads(__tstate
);
15692 if (PyErr_Occurred()) SWIG_fail
;
15694 resultobj
= SWIG_Py_Void();
15701 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15702 PyObject
*resultobj
= 0;
15703 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15704 SwigValueWrapper
<wxVisualAttributes
> result
;
15707 PyObject
* obj0
= 0 ;
15708 char * kwnames
[] = {
15709 (char *) "variant", NULL
15712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15714 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15715 if (!SWIG_IsOK(ecode1
)) {
15716 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15718 arg1
= static_cast< wxWindowVariant
>(val1
);
15721 if (!wxPyCheckForApp()) SWIG_fail
;
15722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15723 result
= wxSpinCtrl::GetClassDefaultAttributes(arg1
);
15724 wxPyEndAllowThreads(__tstate
);
15725 if (PyErr_Occurred()) SWIG_fail
;
15727 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15734 SWIGINTERN PyObject
*SpinCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15736 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15737 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl
, SWIG_NewClientData(obj
));
15738 return SWIG_Py_Void();
15741 SWIGINTERN PyObject
*SpinCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15742 return SWIG_Python_InitShadowInstance(args
);
15745 SWIGINTERN PyObject
*_wrap_new_SpinEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15746 PyObject
*resultobj
= 0;
15747 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15748 int arg2
= (int) 0 ;
15749 wxSpinEvent
*result
= 0 ;
15754 PyObject
* obj0
= 0 ;
15755 PyObject
* obj1
= 0 ;
15756 char * kwnames
[] = {
15757 (char *) "commandType",(char *) "winid", NULL
15760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15762 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15763 if (!SWIG_IsOK(ecode1
)) {
15764 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15766 arg1
= static_cast< wxEventType
>(val1
);
15769 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15770 if (!SWIG_IsOK(ecode2
)) {
15771 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
15773 arg2
= static_cast< int >(val2
);
15776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15777 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
15778 wxPyEndAllowThreads(__tstate
);
15779 if (PyErr_Occurred()) SWIG_fail
;
15781 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_NEW
| 0 );
15788 SWIGINTERN PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15789 PyObject
*resultobj
= 0;
15790 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15794 PyObject
*swig_obj
[1] ;
15796 if (!args
) SWIG_fail
;
15797 swig_obj
[0] = args
;
15798 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15799 if (!SWIG_IsOK(res1
)) {
15800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
15802 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15805 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
15806 wxPyEndAllowThreads(__tstate
);
15807 if (PyErr_Occurred()) SWIG_fail
;
15809 resultobj
= SWIG_From_int(static_cast< int >(result
));
15816 SWIGINTERN PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15817 PyObject
*resultobj
= 0;
15818 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15824 PyObject
* obj0
= 0 ;
15825 PyObject
* obj1
= 0 ;
15826 char * kwnames
[] = {
15827 (char *) "self",(char *) "pos", NULL
15830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15832 if (!SWIG_IsOK(res1
)) {
15833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
15835 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15836 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15837 if (!SWIG_IsOK(ecode2
)) {
15838 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
15840 arg2
= static_cast< int >(val2
);
15842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15843 (arg1
)->SetPosition(arg2
);
15844 wxPyEndAllowThreads(__tstate
);
15845 if (PyErr_Occurred()) SWIG_fail
;
15847 resultobj
= SWIG_Py_Void();
15854 SWIGINTERN PyObject
*SpinEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15856 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15857 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent
, SWIG_NewClientData(obj
));
15858 return SWIG_Py_Void();
15861 SWIGINTERN PyObject
*SpinEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15862 return SWIG_Python_InitShadowInstance(args
);
15865 SWIGINTERN
int RadioBoxNameStr_set(PyObject
*) {
15866 SWIG_Error(SWIG_AttributeError
,"Variable RadioBoxNameStr is read-only.");
15871 SWIGINTERN PyObject
*RadioBoxNameStr_get(void) {
15872 PyObject
*pyobj
= 0;
15876 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15878 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15885 SWIGINTERN
int RadioButtonNameStr_set(PyObject
*) {
15886 SWIG_Error(SWIG_AttributeError
,"Variable RadioButtonNameStr is read-only.");
15891 SWIGINTERN PyObject
*RadioButtonNameStr_get(void) {
15892 PyObject
*pyobj
= 0;
15896 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
15898 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
15905 SWIGINTERN PyObject
*_wrap_new_RadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15906 PyObject
*resultobj
= 0;
15907 wxWindow
*arg1
= (wxWindow
*) 0 ;
15908 int arg2
= (int) -1 ;
15909 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15910 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15911 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15912 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15913 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15914 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15915 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
15916 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
15917 int arg7
= (int) 0 ;
15918 long arg8
= (long) wxRA_HORIZONTAL
;
15919 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
15920 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
15921 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
15922 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15923 wxRadioBox
*result
= 0 ;
15928 bool temp3
= false ;
15931 bool temp6
= false ;
15938 bool temp10
= false ;
15939 PyObject
* obj0
= 0 ;
15940 PyObject
* obj1
= 0 ;
15941 PyObject
* obj2
= 0 ;
15942 PyObject
* obj3
= 0 ;
15943 PyObject
* obj4
= 0 ;
15944 PyObject
* obj5
= 0 ;
15945 PyObject
* obj6
= 0 ;
15946 PyObject
* obj7
= 0 ;
15947 PyObject
* obj8
= 0 ;
15948 PyObject
* obj9
= 0 ;
15949 char * kwnames
[] = {
15950 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
15953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15955 if (!SWIG_IsOK(res1
)) {
15956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15958 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15960 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15961 if (!SWIG_IsOK(ecode2
)) {
15962 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
15964 arg2
= static_cast< int >(val2
);
15968 arg3
= wxString_in_helper(obj2
);
15969 if (arg3
== NULL
) SWIG_fail
;
15976 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15982 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15987 if (! PySequence_Check(obj5
)) {
15988 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
15991 arg6
= new wxArrayString
;
15993 int i
, len
=PySequence_Length(obj5
);
15994 for (i
=0; i
<len
; i
++) {
15995 PyObject
* item
= PySequence_GetItem(obj5
, i
);
15996 wxString
* s
= wxString_in_helper(item
);
15997 if (PyErr_Occurred()) SWIG_fail
;
16005 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
16006 if (!SWIG_IsOK(ecode7
)) {
16007 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
16009 arg7
= static_cast< int >(val7
);
16012 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
16013 if (!SWIG_IsOK(ecode8
)) {
16014 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
16016 arg8
= static_cast< long >(val8
);
16019 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
16020 if (!SWIG_IsOK(res9
)) {
16021 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16024 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16026 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
16030 arg10
= wxString_in_helper(obj9
);
16031 if (arg10
== NULL
) SWIG_fail
;
16036 if (!wxPyCheckForApp()) SWIG_fail
;
16037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16038 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
);
16039 wxPyEndAllowThreads(__tstate
);
16040 if (PyErr_Occurred()) SWIG_fail
;
16042 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_NEW
| 0 );
16048 if (temp6
) delete arg6
;
16061 if (temp6
) delete arg6
;
16071 SWIGINTERN PyObject
*_wrap_new_PreRadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16072 PyObject
*resultobj
= 0;
16073 wxRadioBox
*result
= 0 ;
16075 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioBox",0,0,0)) SWIG_fail
;
16077 if (!wxPyCheckForApp()) SWIG_fail
;
16078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16079 result
= (wxRadioBox
*)new wxRadioBox();
16080 wxPyEndAllowThreads(__tstate
);
16081 if (PyErr_Occurred()) SWIG_fail
;
16083 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_OWN
| 0 );
16090 SWIGINTERN PyObject
*_wrap_RadioBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16091 PyObject
*resultobj
= 0;
16092 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16093 wxWindow
*arg2
= (wxWindow
*) 0 ;
16094 int arg3
= (int) -1 ;
16095 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16096 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16097 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16098 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16099 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16100 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16101 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
16102 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
16103 int arg8
= (int) 0 ;
16104 long arg9
= (long) wxRA_HORIZONTAL
;
16105 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
16106 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
16107 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
16108 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
16116 bool temp4
= false ;
16119 bool temp7
= false ;
16126 bool temp11
= false ;
16127 PyObject
* obj0
= 0 ;
16128 PyObject
* obj1
= 0 ;
16129 PyObject
* obj2
= 0 ;
16130 PyObject
* obj3
= 0 ;
16131 PyObject
* obj4
= 0 ;
16132 PyObject
* obj5
= 0 ;
16133 PyObject
* obj6
= 0 ;
16134 PyObject
* obj7
= 0 ;
16135 PyObject
* obj8
= 0 ;
16136 PyObject
* obj9
= 0 ;
16137 PyObject
* obj10
= 0 ;
16138 char * kwnames
[] = {
16139 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
16143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16144 if (!SWIG_IsOK(res1
)) {
16145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16147 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16148 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16149 if (!SWIG_IsOK(res2
)) {
16150 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16152 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16154 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16155 if (!SWIG_IsOK(ecode3
)) {
16156 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16158 arg3
= static_cast< int >(val3
);
16162 arg4
= wxString_in_helper(obj3
);
16163 if (arg4
== NULL
) SWIG_fail
;
16170 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16176 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16181 if (! PySequence_Check(obj6
)) {
16182 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16185 arg7
= new wxArrayString
;
16187 int i
, len
=PySequence_Length(obj6
);
16188 for (i
=0; i
<len
; i
++) {
16189 PyObject
* item
= PySequence_GetItem(obj6
, i
);
16190 wxString
* s
= wxString_in_helper(item
);
16191 if (PyErr_Occurred()) SWIG_fail
;
16199 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
16200 if (!SWIG_IsOK(ecode8
)) {
16201 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16203 arg8
= static_cast< int >(val8
);
16206 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
16207 if (!SWIG_IsOK(ecode9
)) {
16208 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16210 arg9
= static_cast< long >(val9
);
16213 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
16214 if (!SWIG_IsOK(res10
)) {
16215 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16218 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16220 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
16224 arg11
= wxString_in_helper(obj10
);
16225 if (arg11
== NULL
) SWIG_fail
;
16230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16231 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
);
16232 wxPyEndAllowThreads(__tstate
);
16233 if (PyErr_Occurred()) SWIG_fail
;
16236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16243 if (temp7
) delete arg7
;
16256 if (temp7
) delete arg7
;
16266 SWIGINTERN PyObject
*_wrap_RadioBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16267 PyObject
*resultobj
= 0;
16268 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16274 PyObject
* obj0
= 0 ;
16275 PyObject
* obj1
= 0 ;
16276 char * kwnames
[] = {
16277 (char *) "self",(char *) "n", NULL
16280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16282 if (!SWIG_IsOK(res1
)) {
16283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16285 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16286 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16287 if (!SWIG_IsOK(ecode2
)) {
16288 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16290 arg2
= static_cast< int >(val2
);
16292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16293 (arg1
)->SetSelection(arg2
);
16294 wxPyEndAllowThreads(__tstate
);
16295 if (PyErr_Occurred()) SWIG_fail
;
16297 resultobj
= SWIG_Py_Void();
16304 SWIGINTERN PyObject
*_wrap_RadioBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16305 PyObject
*resultobj
= 0;
16306 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16310 PyObject
*swig_obj
[1] ;
16312 if (!args
) SWIG_fail
;
16313 swig_obj
[0] = args
;
16314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16315 if (!SWIG_IsOK(res1
)) {
16316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16318 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16321 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
16322 wxPyEndAllowThreads(__tstate
);
16323 if (PyErr_Occurred()) SWIG_fail
;
16325 resultobj
= SWIG_From_int(static_cast< int >(result
));
16332 SWIGINTERN PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16333 PyObject
*resultobj
= 0;
16334 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16338 PyObject
*swig_obj
[1] ;
16340 if (!args
) SWIG_fail
;
16341 swig_obj
[0] = args
;
16342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16343 if (!SWIG_IsOK(res1
)) {
16344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16346 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16349 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
16350 wxPyEndAllowThreads(__tstate
);
16351 if (PyErr_Occurred()) SWIG_fail
;
16355 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16357 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16366 SWIGINTERN PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16367 PyObject
*resultobj
= 0;
16368 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16369 wxString
*arg2
= 0 ;
16373 bool temp2
= false ;
16374 PyObject
* obj0
= 0 ;
16375 PyObject
* obj1
= 0 ;
16376 char * kwnames
[] = {
16377 (char *) "self",(char *) "s", NULL
16380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16382 if (!SWIG_IsOK(res1
)) {
16383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16385 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16387 arg2
= wxString_in_helper(obj1
);
16388 if (arg2
== NULL
) SWIG_fail
;
16392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16393 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
16394 wxPyEndAllowThreads(__tstate
);
16395 if (PyErr_Occurred()) SWIG_fail
;
16398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16414 SWIGINTERN PyObject
*_wrap_RadioBox_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16415 PyObject
*resultobj
= 0;
16416 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16420 PyObject
*swig_obj
[1] ;
16422 if (!args
) SWIG_fail
;
16423 swig_obj
[0] = args
;
16424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16425 if (!SWIG_IsOK(res1
)) {
16426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16428 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16431 result
= (size_t)((wxRadioBox
const *)arg1
)->GetCount();
16432 wxPyEndAllowThreads(__tstate
);
16433 if (PyErr_Occurred()) SWIG_fail
;
16435 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16442 SWIGINTERN PyObject
*_wrap_RadioBox_FindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16443 PyObject
*resultobj
= 0;
16444 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16445 wxString
*arg2
= 0 ;
16449 bool temp2
= false ;
16450 PyObject
* obj0
= 0 ;
16451 PyObject
* obj1
= 0 ;
16452 char * kwnames
[] = {
16453 (char *) "self",(char *) "s", NULL
16456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16458 if (!SWIG_IsOK(res1
)) {
16459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16461 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16463 arg2
= wxString_in_helper(obj1
);
16464 if (arg2
== NULL
) SWIG_fail
;
16468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16469 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
16470 wxPyEndAllowThreads(__tstate
);
16471 if (PyErr_Occurred()) SWIG_fail
;
16473 resultobj
= SWIG_From_int(static_cast< int >(result
));
16488 SWIGINTERN PyObject
*_wrap_RadioBox_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16489 PyObject
*resultobj
= 0;
16490 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16497 PyObject
* obj0
= 0 ;
16498 PyObject
* obj1
= 0 ;
16499 char * kwnames
[] = {
16500 (char *) "self",(char *) "n", NULL
16503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16505 if (!SWIG_IsOK(res1
)) {
16506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16508 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16509 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16510 if (!SWIG_IsOK(ecode2
)) {
16511 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16513 arg2
= static_cast< int >(val2
);
16515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16516 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
16517 wxPyEndAllowThreads(__tstate
);
16518 if (PyErr_Occurred()) SWIG_fail
;
16522 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16524 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16533 SWIGINTERN PyObject
*_wrap_RadioBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16534 PyObject
*resultobj
= 0;
16535 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16537 wxString
*arg3
= 0 ;
16542 bool temp3
= false ;
16543 PyObject
* obj0
= 0 ;
16544 PyObject
* obj1
= 0 ;
16545 PyObject
* obj2
= 0 ;
16546 char * kwnames
[] = {
16547 (char *) "self",(char *) "n",(char *) "label", NULL
16550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16552 if (!SWIG_IsOK(res1
)) {
16553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16555 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16556 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16557 if (!SWIG_IsOK(ecode2
)) {
16558 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16560 arg2
= static_cast< int >(val2
);
16562 arg3
= wxString_in_helper(obj2
);
16563 if (arg3
== NULL
) SWIG_fail
;
16567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16568 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
16569 wxPyEndAllowThreads(__tstate
);
16570 if (PyErr_Occurred()) SWIG_fail
;
16572 resultobj
= SWIG_Py_Void();
16587 SWIGINTERN PyObject
*_wrap_RadioBox_EnableItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16588 PyObject
*resultobj
= 0;
16589 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16590 unsigned int arg2
;
16591 bool arg3
= (bool) true ;
16594 unsigned int val2
;
16598 PyObject
* obj0
= 0 ;
16599 PyObject
* obj1
= 0 ;
16600 PyObject
* obj2
= 0 ;
16601 char * kwnames
[] = {
16602 (char *) "self",(char *) "n",(char *) "enable", NULL
16605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16607 if (!SWIG_IsOK(res1
)) {
16608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16610 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16611 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16612 if (!SWIG_IsOK(ecode2
)) {
16613 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "unsigned int""'");
16615 arg2
= static_cast< unsigned int >(val2
);
16617 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16618 if (!SWIG_IsOK(ecode3
)) {
16619 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16621 arg3
= static_cast< bool >(val3
);
16624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16625 (arg1
)->Enable(arg2
,arg3
);
16626 wxPyEndAllowThreads(__tstate
);
16627 if (PyErr_Occurred()) SWIG_fail
;
16629 resultobj
= SWIG_Py_Void();
16636 SWIGINTERN PyObject
*_wrap_RadioBox_ShowItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16637 PyObject
*resultobj
= 0;
16638 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16639 unsigned int arg2
;
16640 bool arg3
= (bool) true ;
16643 unsigned int val2
;
16647 PyObject
* obj0
= 0 ;
16648 PyObject
* obj1
= 0 ;
16649 PyObject
* obj2
= 0 ;
16650 char * kwnames
[] = {
16651 (char *) "self",(char *) "n",(char *) "show", NULL
16654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16656 if (!SWIG_IsOK(res1
)) {
16657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16659 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16660 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16661 if (!SWIG_IsOK(ecode2
)) {
16662 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
16664 arg2
= static_cast< unsigned int >(val2
);
16666 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16667 if (!SWIG_IsOK(ecode3
)) {
16668 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16670 arg3
= static_cast< bool >(val3
);
16673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16674 (arg1
)->Show(arg2
,arg3
);
16675 wxPyEndAllowThreads(__tstate
);
16676 if (PyErr_Occurred()) SWIG_fail
;
16678 resultobj
= SWIG_Py_Void();
16685 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16686 PyObject
*resultobj
= 0;
16687 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16688 unsigned int arg2
;
16692 unsigned int val2
;
16694 PyObject
* obj0
= 0 ;
16695 PyObject
* obj1
= 0 ;
16696 char * kwnames
[] = {
16697 (char *) "self",(char *) "n", NULL
16700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16702 if (!SWIG_IsOK(res1
)) {
16703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16705 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16706 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16707 if (!SWIG_IsOK(ecode2
)) {
16708 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
16710 arg2
= static_cast< unsigned int >(val2
);
16712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16713 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemEnabled(arg2
);
16714 wxPyEndAllowThreads(__tstate
);
16715 if (PyErr_Occurred()) SWIG_fail
;
16718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16726 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16727 PyObject
*resultobj
= 0;
16728 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16729 unsigned int arg2
;
16733 unsigned int val2
;
16735 PyObject
* obj0
= 0 ;
16736 PyObject
* obj1
= 0 ;
16737 char * kwnames
[] = {
16738 (char *) "self",(char *) "n", NULL
16741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemShown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16743 if (!SWIG_IsOK(res1
)) {
16744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16746 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16747 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16748 if (!SWIG_IsOK(ecode2
)) {
16749 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
16751 arg2
= static_cast< unsigned int >(val2
);
16753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16754 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemShown(arg2
);
16755 wxPyEndAllowThreads(__tstate
);
16756 if (PyErr_Occurred()) SWIG_fail
;
16759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16767 SWIGINTERN PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16768 PyObject
*resultobj
= 0;
16769 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16770 unsigned int result
;
16773 PyObject
*swig_obj
[1] ;
16775 if (!args
) SWIG_fail
;
16776 swig_obj
[0] = args
;
16777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16778 if (!SWIG_IsOK(res1
)) {
16779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16781 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16784 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetColumnCount();
16785 wxPyEndAllowThreads(__tstate
);
16786 if (PyErr_Occurred()) SWIG_fail
;
16788 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16795 SWIGINTERN PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16796 PyObject
*resultobj
= 0;
16797 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16798 unsigned int result
;
16801 PyObject
*swig_obj
[1] ;
16803 if (!args
) SWIG_fail
;
16804 swig_obj
[0] = args
;
16805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16806 if (!SWIG_IsOK(res1
)) {
16807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16809 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16812 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetRowCount();
16813 wxPyEndAllowThreads(__tstate
);
16814 if (PyErr_Occurred()) SWIG_fail
;
16816 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16823 SWIGINTERN PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16824 PyObject
*resultobj
= 0;
16825 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16838 PyObject
* obj0
= 0 ;
16839 PyObject
* obj1
= 0 ;
16840 PyObject
* obj2
= 0 ;
16841 PyObject
* obj3
= 0 ;
16842 char * kwnames
[] = {
16843 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
16846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16848 if (!SWIG_IsOK(res1
)) {
16849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16851 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16852 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16853 if (!SWIG_IsOK(ecode2
)) {
16854 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
16856 arg2
= static_cast< int >(val2
);
16857 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16858 if (!SWIG_IsOK(ecode3
)) {
16859 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
16861 arg3
= static_cast< wxDirection
>(val3
);
16862 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16863 if (!SWIG_IsOK(ecode4
)) {
16864 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
16866 arg4
= static_cast< long >(val4
);
16868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16869 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
16870 wxPyEndAllowThreads(__tstate
);
16871 if (PyErr_Occurred()) SWIG_fail
;
16873 resultobj
= SWIG_From_int(static_cast< int >(result
));
16880 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16881 PyObject
*resultobj
= 0;
16882 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16883 unsigned int arg2
;
16884 wxString
*arg3
= 0 ;
16887 unsigned int val2
;
16889 bool temp3
= false ;
16890 PyObject
* obj0
= 0 ;
16891 PyObject
* obj1
= 0 ;
16892 PyObject
* obj2
= 0 ;
16893 char * kwnames
[] = {
16894 (char *) "self",(char *) "item",(char *) "text", NULL
16897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemToolTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16899 if (!SWIG_IsOK(res1
)) {
16900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16902 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16903 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16904 if (!SWIG_IsOK(ecode2
)) {
16905 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
16907 arg2
= static_cast< unsigned int >(val2
);
16909 arg3
= wxString_in_helper(obj2
);
16910 if (arg3
== NULL
) SWIG_fail
;
16914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16915 (arg1
)->SetItemToolTip(arg2
,(wxString
const &)*arg3
);
16916 wxPyEndAllowThreads(__tstate
);
16917 if (PyErr_Occurred()) SWIG_fail
;
16919 resultobj
= SWIG_Py_Void();
16934 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16935 PyObject
*resultobj
= 0;
16936 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16937 unsigned int arg2
;
16938 wxToolTip
*result
= 0 ;
16941 unsigned int val2
;
16943 PyObject
* obj0
= 0 ;
16944 PyObject
* obj1
= 0 ;
16945 char * kwnames
[] = {
16946 (char *) "self",(char *) "item", NULL
16949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16951 if (!SWIG_IsOK(res1
)) {
16952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16954 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16955 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16956 if (!SWIG_IsOK(ecode2
)) {
16957 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
16959 arg2
= static_cast< unsigned int >(val2
);
16961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16962 result
= (wxToolTip
*)((wxRadioBox
const *)arg1
)->GetItemToolTip(arg2
);
16963 wxPyEndAllowThreads(__tstate
);
16964 if (PyErr_Occurred()) SWIG_fail
;
16967 resultobj
= wxPyMake_wxObject(result
, (bool)0);
16975 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16976 PyObject
*resultobj
= 0;
16977 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16978 unsigned int arg2
;
16979 wxString
*arg3
= 0 ;
16982 unsigned int val2
;
16984 bool temp3
= false ;
16985 PyObject
* obj0
= 0 ;
16986 PyObject
* obj1
= 0 ;
16987 PyObject
* obj2
= 0 ;
16988 char * kwnames
[] = {
16989 (char *) "self",(char *) "n",(char *) "helpText", NULL
16992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemHelpText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16994 if (!SWIG_IsOK(res1
)) {
16995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16997 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16998 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16999 if (!SWIG_IsOK(ecode2
)) {
17000 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17002 arg2
= static_cast< unsigned int >(val2
);
17004 arg3
= wxString_in_helper(obj2
);
17005 if (arg3
== NULL
) SWIG_fail
;
17009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17010 (arg1
)->SetItemHelpText(arg2
,(wxString
const &)*arg3
);
17011 wxPyEndAllowThreads(__tstate
);
17012 if (PyErr_Occurred()) SWIG_fail
;
17014 resultobj
= SWIG_Py_Void();
17029 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17030 PyObject
*resultobj
= 0;
17031 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17032 unsigned int arg2
;
17036 unsigned int val2
;
17038 PyObject
* obj0
= 0 ;
17039 PyObject
* obj1
= 0 ;
17040 char * kwnames
[] = {
17041 (char *) "self",(char *) "n", NULL
17044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemHelpText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17046 if (!SWIG_IsOK(res1
)) {
17047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17049 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17050 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17051 if (!SWIG_IsOK(ecode2
)) {
17052 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17054 arg2
= static_cast< unsigned int >(val2
);
17056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17057 result
= ((wxRadioBox
const *)arg1
)->GetItemHelpText(arg2
);
17058 wxPyEndAllowThreads(__tstate
);
17059 if (PyErr_Occurred()) SWIG_fail
;
17063 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17065 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17074 SWIGINTERN PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17075 PyObject
*resultobj
= 0;
17076 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17077 SwigValueWrapper
<wxVisualAttributes
> result
;
17080 PyObject
* obj0
= 0 ;
17081 char * kwnames
[] = {
17082 (char *) "variant", NULL
17085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17087 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17088 if (!SWIG_IsOK(ecode1
)) {
17089 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17091 arg1
= static_cast< wxWindowVariant
>(val1
);
17094 if (!wxPyCheckForApp()) SWIG_fail
;
17095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17096 result
= wxRadioBox::GetClassDefaultAttributes(arg1
);
17097 wxPyEndAllowThreads(__tstate
);
17098 if (PyErr_Occurred()) SWIG_fail
;
17100 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17107 SWIGINTERN PyObject
*RadioBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17109 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17110 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox
, SWIG_NewClientData(obj
));
17111 return SWIG_Py_Void();
17114 SWIGINTERN PyObject
*RadioBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17115 return SWIG_Python_InitShadowInstance(args
);
17118 SWIGINTERN PyObject
*_wrap_new_RadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17119 PyObject
*resultobj
= 0;
17120 wxWindow
*arg1
= (wxWindow
*) 0 ;
17121 int arg2
= (int) -1 ;
17122 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17123 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17124 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17125 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17126 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17127 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17128 long arg6
= (long) 0 ;
17129 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
17130 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
17131 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
17132 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17133 wxRadioButton
*result
= 0 ;
17138 bool temp3
= false ;
17145 bool temp8
= false ;
17146 PyObject
* obj0
= 0 ;
17147 PyObject
* obj1
= 0 ;
17148 PyObject
* obj2
= 0 ;
17149 PyObject
* obj3
= 0 ;
17150 PyObject
* obj4
= 0 ;
17151 PyObject
* obj5
= 0 ;
17152 PyObject
* obj6
= 0 ;
17153 PyObject
* obj7
= 0 ;
17154 char * kwnames
[] = {
17155 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
17159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17160 if (!SWIG_IsOK(res1
)) {
17161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
17163 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17165 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17166 if (!SWIG_IsOK(ecode2
)) {
17167 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
17169 arg2
= static_cast< int >(val2
);
17173 arg3
= wxString_in_helper(obj2
);
17174 if (arg3
== NULL
) SWIG_fail
;
17181 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17187 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17191 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17192 if (!SWIG_IsOK(ecode6
)) {
17193 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
17195 arg6
= static_cast< long >(val6
);
17198 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
17199 if (!SWIG_IsOK(res7
)) {
17200 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17203 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17205 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
17209 arg8
= wxString_in_helper(obj7
);
17210 if (arg8
== NULL
) SWIG_fail
;
17215 if (!wxPyCheckForApp()) SWIG_fail
;
17216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17217 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
17218 wxPyEndAllowThreads(__tstate
);
17219 if (PyErr_Occurred()) SWIG_fail
;
17221 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_NEW
| 0 );
17244 SWIGINTERN PyObject
*_wrap_new_PreRadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17245 PyObject
*resultobj
= 0;
17246 wxRadioButton
*result
= 0 ;
17248 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioButton",0,0,0)) SWIG_fail
;
17250 if (!wxPyCheckForApp()) SWIG_fail
;
17251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17252 result
= (wxRadioButton
*)new wxRadioButton();
17253 wxPyEndAllowThreads(__tstate
);
17254 if (PyErr_Occurred()) SWIG_fail
;
17256 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_OWN
| 0 );
17263 SWIGINTERN PyObject
*_wrap_RadioButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17264 PyObject
*resultobj
= 0;
17265 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17266 wxWindow
*arg2
= (wxWindow
*) 0 ;
17267 int arg3
= (int) -1 ;
17268 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17269 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17270 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17271 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17272 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17273 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17274 long arg7
= (long) 0 ;
17275 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
17276 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
17277 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
17278 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17286 bool temp4
= false ;
17293 bool temp9
= false ;
17294 PyObject
* obj0
= 0 ;
17295 PyObject
* obj1
= 0 ;
17296 PyObject
* obj2
= 0 ;
17297 PyObject
* obj3
= 0 ;
17298 PyObject
* obj4
= 0 ;
17299 PyObject
* obj5
= 0 ;
17300 PyObject
* obj6
= 0 ;
17301 PyObject
* obj7
= 0 ;
17302 PyObject
* obj8
= 0 ;
17303 char * kwnames
[] = {
17304 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
17308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17309 if (!SWIG_IsOK(res1
)) {
17310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17312 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17313 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17314 if (!SWIG_IsOK(res2
)) {
17315 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17317 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17319 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17320 if (!SWIG_IsOK(ecode3
)) {
17321 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
17323 arg3
= static_cast< int >(val3
);
17327 arg4
= wxString_in_helper(obj3
);
17328 if (arg4
== NULL
) SWIG_fail
;
17335 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17341 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17345 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
17346 if (!SWIG_IsOK(ecode7
)) {
17347 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
17349 arg7
= static_cast< long >(val7
);
17352 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
17353 if (!SWIG_IsOK(res8
)) {
17354 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17357 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17359 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
17363 arg9
= wxString_in_helper(obj8
);
17364 if (arg9
== NULL
) SWIG_fail
;
17369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17370 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
17371 wxPyEndAllowThreads(__tstate
);
17372 if (PyErr_Occurred()) SWIG_fail
;
17375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17399 SWIGINTERN PyObject
*_wrap_RadioButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17400 PyObject
*resultobj
= 0;
17401 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17405 PyObject
*swig_obj
[1] ;
17407 if (!args
) SWIG_fail
;
17408 swig_obj
[0] = args
;
17409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17410 if (!SWIG_IsOK(res1
)) {
17411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17413 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17416 result
= (bool)(arg1
)->GetValue();
17417 wxPyEndAllowThreads(__tstate
);
17418 if (PyErr_Occurred()) SWIG_fail
;
17421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17429 SWIGINTERN PyObject
*_wrap_RadioButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17430 PyObject
*resultobj
= 0;
17431 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17437 PyObject
* obj0
= 0 ;
17438 PyObject
* obj1
= 0 ;
17439 char * kwnames
[] = {
17440 (char *) "self",(char *) "value", NULL
17443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17445 if (!SWIG_IsOK(res1
)) {
17446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17448 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17449 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
17450 if (!SWIG_IsOK(ecode2
)) {
17451 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17453 arg2
= static_cast< bool >(val2
);
17455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17456 (arg1
)->SetValue(arg2
);
17457 wxPyEndAllowThreads(__tstate
);
17458 if (PyErr_Occurred()) SWIG_fail
;
17460 resultobj
= SWIG_Py_Void();
17467 SWIGINTERN PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17468 PyObject
*resultobj
= 0;
17469 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17470 SwigValueWrapper
<wxVisualAttributes
> result
;
17473 PyObject
* obj0
= 0 ;
17474 char * kwnames
[] = {
17475 (char *) "variant", NULL
17478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17480 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17481 if (!SWIG_IsOK(ecode1
)) {
17482 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17484 arg1
= static_cast< wxWindowVariant
>(val1
);
17487 if (!wxPyCheckForApp()) SWIG_fail
;
17488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17489 result
= wxRadioButton::GetClassDefaultAttributes(arg1
);
17490 wxPyEndAllowThreads(__tstate
);
17491 if (PyErr_Occurred()) SWIG_fail
;
17493 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17500 SWIGINTERN PyObject
*RadioButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17502 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17503 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton
, SWIG_NewClientData(obj
));
17504 return SWIG_Py_Void();
17507 SWIGINTERN PyObject
*RadioButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17508 return SWIG_Python_InitShadowInstance(args
);
17511 SWIGINTERN
int SliderNameStr_set(PyObject
*) {
17512 SWIG_Error(SWIG_AttributeError
,"Variable SliderNameStr is read-only.");
17517 SWIGINTERN PyObject
*SliderNameStr_get(void) {
17518 PyObject
*pyobj
= 0;
17522 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17524 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17531 SWIGINTERN PyObject
*_wrap_new_Slider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17532 PyObject
*resultobj
= 0;
17533 wxWindow
*arg1
= (wxWindow
*) 0 ;
17534 int arg2
= (int) -1 ;
17535 int arg3
= (int) 0 ;
17536 int arg4
= (int) 0 ;
17537 int arg5
= (int) 100 ;
17538 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17539 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17540 wxSize
const &arg7_defvalue
= wxDefaultSize
;
17541 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
17542 long arg8
= (long) wxSL_HORIZONTAL
;
17543 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
17544 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
17545 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
17546 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
17547 wxSlider
*result
= 0 ;
17564 bool temp10
= false ;
17565 PyObject
* obj0
= 0 ;
17566 PyObject
* obj1
= 0 ;
17567 PyObject
* obj2
= 0 ;
17568 PyObject
* obj3
= 0 ;
17569 PyObject
* obj4
= 0 ;
17570 PyObject
* obj5
= 0 ;
17571 PyObject
* obj6
= 0 ;
17572 PyObject
* obj7
= 0 ;
17573 PyObject
* obj8
= 0 ;
17574 PyObject
* obj9
= 0 ;
17575 char * kwnames
[] = {
17576 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
17580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17581 if (!SWIG_IsOK(res1
)) {
17582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17584 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17586 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17587 if (!SWIG_IsOK(ecode2
)) {
17588 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17590 arg2
= static_cast< int >(val2
);
17593 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17594 if (!SWIG_IsOK(ecode3
)) {
17595 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17597 arg3
= static_cast< int >(val3
);
17600 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17601 if (!SWIG_IsOK(ecode4
)) {
17602 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17604 arg4
= static_cast< int >(val4
);
17607 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17608 if (!SWIG_IsOK(ecode5
)) {
17609 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17611 arg5
= static_cast< int >(val5
);
17616 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
17622 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
17626 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
17627 if (!SWIG_IsOK(ecode8
)) {
17628 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17630 arg8
= static_cast< long >(val8
);
17633 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
17634 if (!SWIG_IsOK(res9
)) {
17635 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17638 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17640 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
17644 arg10
= wxString_in_helper(obj9
);
17645 if (arg10
== NULL
) SWIG_fail
;
17650 if (!wxPyCheckForApp()) SWIG_fail
;
17651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17652 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
17653 wxPyEndAllowThreads(__tstate
);
17654 if (PyErr_Occurred()) SWIG_fail
;
17656 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_NEW
| 0 );
17671 SWIGINTERN PyObject
*_wrap_new_PreSlider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17672 PyObject
*resultobj
= 0;
17673 wxSlider
*result
= 0 ;
17675 if (!SWIG_Python_UnpackTuple(args
,"new_PreSlider",0,0,0)) SWIG_fail
;
17677 if (!wxPyCheckForApp()) SWIG_fail
;
17678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17679 result
= (wxSlider
*)new wxSlider();
17680 wxPyEndAllowThreads(__tstate
);
17681 if (PyErr_Occurred()) SWIG_fail
;
17683 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_OWN
| 0 );
17690 SWIGINTERN PyObject
*_wrap_Slider_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17691 PyObject
*resultobj
= 0;
17692 wxSlider
*arg1
= (wxSlider
*) 0 ;
17693 wxWindow
*arg2
= (wxWindow
*) 0 ;
17694 int arg3
= (int) -1 ;
17695 int arg4
= (int) 0 ;
17696 int arg5
= (int) 0 ;
17697 int arg6
= (int) 100 ;
17698 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17699 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17700 wxSize
const &arg8_defvalue
= wxDefaultSize
;
17701 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
17702 long arg9
= (long) wxSL_HORIZONTAL
;
17703 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
17704 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
17705 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
17706 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
17726 bool temp11
= false ;
17727 PyObject
* obj0
= 0 ;
17728 PyObject
* obj1
= 0 ;
17729 PyObject
* obj2
= 0 ;
17730 PyObject
* obj3
= 0 ;
17731 PyObject
* obj4
= 0 ;
17732 PyObject
* obj5
= 0 ;
17733 PyObject
* obj6
= 0 ;
17734 PyObject
* obj7
= 0 ;
17735 PyObject
* obj8
= 0 ;
17736 PyObject
* obj9
= 0 ;
17737 PyObject
* obj10
= 0 ;
17738 char * kwnames
[] = {
17739 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
17743 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17744 if (!SWIG_IsOK(res1
)) {
17745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
17747 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17748 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17749 if (!SWIG_IsOK(res2
)) {
17750 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17752 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17754 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17755 if (!SWIG_IsOK(ecode3
)) {
17756 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
17758 arg3
= static_cast< int >(val3
);
17761 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17762 if (!SWIG_IsOK(ecode4
)) {
17763 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
17765 arg4
= static_cast< int >(val4
);
17768 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17769 if (!SWIG_IsOK(ecode5
)) {
17770 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
17772 arg5
= static_cast< int >(val5
);
17775 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17776 if (!SWIG_IsOK(ecode6
)) {
17777 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
17779 arg6
= static_cast< int >(val6
);
17784 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17790 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
17794 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
17795 if (!SWIG_IsOK(ecode9
)) {
17796 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
17798 arg9
= static_cast< long >(val9
);
17801 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
17802 if (!SWIG_IsOK(res10
)) {
17803 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17806 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17808 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
17812 arg11
= wxString_in_helper(obj10
);
17813 if (arg11
== NULL
) SWIG_fail
;
17818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17819 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
17820 wxPyEndAllowThreads(__tstate
);
17821 if (PyErr_Occurred()) SWIG_fail
;
17824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17840 SWIGINTERN PyObject
*_wrap_Slider_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17841 PyObject
*resultobj
= 0;
17842 wxSlider
*arg1
= (wxSlider
*) 0 ;
17846 PyObject
*swig_obj
[1] ;
17848 if (!args
) SWIG_fail
;
17849 swig_obj
[0] = args
;
17850 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17851 if (!SWIG_IsOK(res1
)) {
17852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
17854 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17857 result
= (int)((wxSlider
const *)arg1
)->GetValue();
17858 wxPyEndAllowThreads(__tstate
);
17859 if (PyErr_Occurred()) SWIG_fail
;
17861 resultobj
= SWIG_From_int(static_cast< int >(result
));
17868 SWIGINTERN PyObject
*_wrap_Slider_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17869 PyObject
*resultobj
= 0;
17870 wxSlider
*arg1
= (wxSlider
*) 0 ;
17876 PyObject
* obj0
= 0 ;
17877 PyObject
* obj1
= 0 ;
17878 char * kwnames
[] = {
17879 (char *) "self",(char *) "value", NULL
17882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17884 if (!SWIG_IsOK(res1
)) {
17885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
17887 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17888 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17889 if (!SWIG_IsOK(ecode2
)) {
17890 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
17892 arg2
= static_cast< int >(val2
);
17894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17895 (arg1
)->SetValue(arg2
);
17896 wxPyEndAllowThreads(__tstate
);
17897 if (PyErr_Occurred()) SWIG_fail
;
17899 resultobj
= SWIG_Py_Void();
17906 SWIGINTERN PyObject
*_wrap_Slider_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17907 PyObject
*resultobj
= 0;
17908 wxSlider
*arg1
= (wxSlider
*) 0 ;
17917 PyObject
* obj0
= 0 ;
17918 PyObject
* obj1
= 0 ;
17919 PyObject
* obj2
= 0 ;
17920 char * kwnames
[] = {
17921 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
17924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17926 if (!SWIG_IsOK(res1
)) {
17927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
17929 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17930 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17931 if (!SWIG_IsOK(ecode2
)) {
17932 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
17934 arg2
= static_cast< int >(val2
);
17935 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17936 if (!SWIG_IsOK(ecode3
)) {
17937 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
17939 arg3
= static_cast< int >(val3
);
17941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17942 (arg1
)->SetRange(arg2
,arg3
);
17943 wxPyEndAllowThreads(__tstate
);
17944 if (PyErr_Occurred()) SWIG_fail
;
17946 resultobj
= SWIG_Py_Void();
17953 SWIGINTERN PyObject
*_wrap_Slider_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17954 PyObject
*resultobj
= 0;
17955 wxSlider
*arg1
= (wxSlider
*) 0 ;
17959 PyObject
*swig_obj
[1] ;
17961 if (!args
) SWIG_fail
;
17962 swig_obj
[0] = args
;
17963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17964 if (!SWIG_IsOK(res1
)) {
17965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
17967 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17970 result
= (int)((wxSlider
const *)arg1
)->GetMin();
17971 wxPyEndAllowThreads(__tstate
);
17972 if (PyErr_Occurred()) SWIG_fail
;
17974 resultobj
= SWIG_From_int(static_cast< int >(result
));
17981 SWIGINTERN PyObject
*_wrap_Slider_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17982 PyObject
*resultobj
= 0;
17983 wxSlider
*arg1
= (wxSlider
*) 0 ;
17987 PyObject
*swig_obj
[1] ;
17989 if (!args
) SWIG_fail
;
17990 swig_obj
[0] = args
;
17991 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17992 if (!SWIG_IsOK(res1
)) {
17993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
17995 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17998 result
= (int)((wxSlider
const *)arg1
)->GetMax();
17999 wxPyEndAllowThreads(__tstate
);
18000 if (PyErr_Occurred()) SWIG_fail
;
18002 resultobj
= SWIG_From_int(static_cast< int >(result
));
18009 SWIGINTERN PyObject
*_wrap_Slider_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18010 PyObject
*resultobj
= 0;
18011 wxSlider
*arg1
= (wxSlider
*) 0 ;
18017 PyObject
* obj0
= 0 ;
18018 PyObject
* obj1
= 0 ;
18019 char * kwnames
[] = {
18020 (char *) "self",(char *) "minValue", NULL
18023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18025 if (!SWIG_IsOK(res1
)) {
18026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
18028 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18029 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18030 if (!SWIG_IsOK(ecode2
)) {
18031 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
18033 arg2
= static_cast< int >(val2
);
18035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18036 (arg1
)->SetMin(arg2
);
18037 wxPyEndAllowThreads(__tstate
);
18038 if (PyErr_Occurred()) SWIG_fail
;
18040 resultobj
= SWIG_Py_Void();
18047 SWIGINTERN PyObject
*_wrap_Slider_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18048 PyObject
*resultobj
= 0;
18049 wxSlider
*arg1
= (wxSlider
*) 0 ;
18055 PyObject
* obj0
= 0 ;
18056 PyObject
* obj1
= 0 ;
18057 char * kwnames
[] = {
18058 (char *) "self",(char *) "maxValue", NULL
18061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18063 if (!SWIG_IsOK(res1
)) {
18064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
18066 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18067 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18068 if (!SWIG_IsOK(ecode2
)) {
18069 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
18071 arg2
= static_cast< int >(val2
);
18073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18074 (arg1
)->SetMax(arg2
);
18075 wxPyEndAllowThreads(__tstate
);
18076 if (PyErr_Occurred()) SWIG_fail
;
18078 resultobj
= SWIG_Py_Void();
18085 SWIGINTERN PyObject
*_wrap_Slider_SetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18086 PyObject
*resultobj
= 0;
18087 wxSlider
*arg1
= (wxSlider
*) 0 ;
18093 PyObject
* obj0
= 0 ;
18094 PyObject
* obj1
= 0 ;
18095 char * kwnames
[] = {
18096 (char *) "self",(char *) "lineSize", NULL
18099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18101 if (!SWIG_IsOK(res1
)) {
18102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetLineSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18104 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18105 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18106 if (!SWIG_IsOK(ecode2
)) {
18107 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetLineSize" "', expected argument " "2"" of type '" "int""'");
18109 arg2
= static_cast< int >(val2
);
18111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18112 (arg1
)->SetLineSize(arg2
);
18113 wxPyEndAllowThreads(__tstate
);
18114 if (PyErr_Occurred()) SWIG_fail
;
18116 resultobj
= SWIG_Py_Void();
18123 SWIGINTERN PyObject
*_wrap_Slider_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18124 PyObject
*resultobj
= 0;
18125 wxSlider
*arg1
= (wxSlider
*) 0 ;
18131 PyObject
* obj0
= 0 ;
18132 PyObject
* obj1
= 0 ;
18133 char * kwnames
[] = {
18134 (char *) "self",(char *) "pageSize", NULL
18137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18139 if (!SWIG_IsOK(res1
)) {
18140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetPageSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18142 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18143 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18144 if (!SWIG_IsOK(ecode2
)) {
18145 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetPageSize" "', expected argument " "2"" of type '" "int""'");
18147 arg2
= static_cast< int >(val2
);
18149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18150 (arg1
)->SetPageSize(arg2
);
18151 wxPyEndAllowThreads(__tstate
);
18152 if (PyErr_Occurred()) SWIG_fail
;
18154 resultobj
= SWIG_Py_Void();
18161 SWIGINTERN PyObject
*_wrap_Slider_GetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18162 PyObject
*resultobj
= 0;
18163 wxSlider
*arg1
= (wxSlider
*) 0 ;
18167 PyObject
*swig_obj
[1] ;
18169 if (!args
) SWIG_fail
;
18170 swig_obj
[0] = args
;
18171 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18172 if (!SWIG_IsOK(res1
)) {
18173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18175 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18178 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
18179 wxPyEndAllowThreads(__tstate
);
18180 if (PyErr_Occurred()) SWIG_fail
;
18182 resultobj
= SWIG_From_int(static_cast< int >(result
));
18189 SWIGINTERN PyObject
*_wrap_Slider_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18190 PyObject
*resultobj
= 0;
18191 wxSlider
*arg1
= (wxSlider
*) 0 ;
18195 PyObject
*swig_obj
[1] ;
18197 if (!args
) SWIG_fail
;
18198 swig_obj
[0] = args
;
18199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18200 if (!SWIG_IsOK(res1
)) {
18201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18203 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18206 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
18207 wxPyEndAllowThreads(__tstate
);
18208 if (PyErr_Occurred()) SWIG_fail
;
18210 resultobj
= SWIG_From_int(static_cast< int >(result
));
18217 SWIGINTERN PyObject
*_wrap_Slider_SetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18218 PyObject
*resultobj
= 0;
18219 wxSlider
*arg1
= (wxSlider
*) 0 ;
18225 PyObject
* obj0
= 0 ;
18226 PyObject
* obj1
= 0 ;
18227 char * kwnames
[] = {
18228 (char *) "self",(char *) "lenPixels", NULL
18231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18233 if (!SWIG_IsOK(res1
)) {
18234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
18236 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18237 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18238 if (!SWIG_IsOK(ecode2
)) {
18239 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
18241 arg2
= static_cast< int >(val2
);
18243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18244 (arg1
)->SetThumbLength(arg2
);
18245 wxPyEndAllowThreads(__tstate
);
18246 if (PyErr_Occurred()) SWIG_fail
;
18248 resultobj
= SWIG_Py_Void();
18255 SWIGINTERN PyObject
*_wrap_Slider_GetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18256 PyObject
*resultobj
= 0;
18257 wxSlider
*arg1
= (wxSlider
*) 0 ;
18261 PyObject
*swig_obj
[1] ;
18263 if (!args
) SWIG_fail
;
18264 swig_obj
[0] = args
;
18265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18266 if (!SWIG_IsOK(res1
)) {
18267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
18269 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18272 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
18273 wxPyEndAllowThreads(__tstate
);
18274 if (PyErr_Occurred()) SWIG_fail
;
18276 resultobj
= SWIG_From_int(static_cast< int >(result
));
18283 SWIGINTERN PyObject
*_wrap_Slider_SetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18284 PyObject
*resultobj
= 0;
18285 wxSlider
*arg1
= (wxSlider
*) 0 ;
18287 int arg3
= (int) 1 ;
18294 PyObject
* obj0
= 0 ;
18295 PyObject
* obj1
= 0 ;
18296 PyObject
* obj2
= 0 ;
18297 char * kwnames
[] = {
18298 (char *) "self",(char *) "n",(char *) "pos", NULL
18301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18303 if (!SWIG_IsOK(res1
)) {
18304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
18306 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18307 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18308 if (!SWIG_IsOK(ecode2
)) {
18309 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
18311 arg2
= static_cast< int >(val2
);
18313 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18314 if (!SWIG_IsOK(ecode3
)) {
18315 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
18317 arg3
= static_cast< int >(val3
);
18320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18321 (arg1
)->SetTickFreq(arg2
,arg3
);
18322 wxPyEndAllowThreads(__tstate
);
18323 if (PyErr_Occurred()) SWIG_fail
;
18325 resultobj
= SWIG_Py_Void();
18332 SWIGINTERN PyObject
*_wrap_Slider_GetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18333 PyObject
*resultobj
= 0;
18334 wxSlider
*arg1
= (wxSlider
*) 0 ;
18338 PyObject
*swig_obj
[1] ;
18340 if (!args
) SWIG_fail
;
18341 swig_obj
[0] = args
;
18342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18343 if (!SWIG_IsOK(res1
)) {
18344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
18346 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18349 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
18350 wxPyEndAllowThreads(__tstate
);
18351 if (PyErr_Occurred()) SWIG_fail
;
18353 resultobj
= SWIG_From_int(static_cast< int >(result
));
18360 SWIGINTERN PyObject
*_wrap_Slider_ClearTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18361 PyObject
*resultobj
= 0;
18362 wxSlider
*arg1
= (wxSlider
*) 0 ;
18365 PyObject
*swig_obj
[1] ;
18367 if (!args
) SWIG_fail
;
18368 swig_obj
[0] = args
;
18369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18370 if (!SWIG_IsOK(res1
)) {
18371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18373 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18376 (arg1
)->ClearTicks();
18377 wxPyEndAllowThreads(__tstate
);
18378 if (PyErr_Occurred()) SWIG_fail
;
18380 resultobj
= SWIG_Py_Void();
18387 SWIGINTERN PyObject
*_wrap_Slider_SetTick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18388 PyObject
*resultobj
= 0;
18389 wxSlider
*arg1
= (wxSlider
*) 0 ;
18395 PyObject
* obj0
= 0 ;
18396 PyObject
* obj1
= 0 ;
18397 char * kwnames
[] = {
18398 (char *) "self",(char *) "tickPos", NULL
18401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18403 if (!SWIG_IsOK(res1
)) {
18404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
18406 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18407 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18408 if (!SWIG_IsOK(ecode2
)) {
18409 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
18411 arg2
= static_cast< int >(val2
);
18413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18414 (arg1
)->SetTick(arg2
);
18415 wxPyEndAllowThreads(__tstate
);
18416 if (PyErr_Occurred()) SWIG_fail
;
18418 resultobj
= SWIG_Py_Void();
18425 SWIGINTERN PyObject
*_wrap_Slider_ClearSel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18426 PyObject
*resultobj
= 0;
18427 wxSlider
*arg1
= (wxSlider
*) 0 ;
18430 PyObject
*swig_obj
[1] ;
18432 if (!args
) SWIG_fail
;
18433 swig_obj
[0] = args
;
18434 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18435 if (!SWIG_IsOK(res1
)) {
18436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18438 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18441 (arg1
)->ClearSel();
18442 wxPyEndAllowThreads(__tstate
);
18443 if (PyErr_Occurred()) SWIG_fail
;
18445 resultobj
= SWIG_Py_Void();
18452 SWIGINTERN PyObject
*_wrap_Slider_GetSelEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18453 PyObject
*resultobj
= 0;
18454 wxSlider
*arg1
= (wxSlider
*) 0 ;
18458 PyObject
*swig_obj
[1] ;
18460 if (!args
) SWIG_fail
;
18461 swig_obj
[0] = args
;
18462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18463 if (!SWIG_IsOK(res1
)) {
18464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18466 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18469 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
18470 wxPyEndAllowThreads(__tstate
);
18471 if (PyErr_Occurred()) SWIG_fail
;
18473 resultobj
= SWIG_From_int(static_cast< int >(result
));
18480 SWIGINTERN PyObject
*_wrap_Slider_GetSelStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18481 PyObject
*resultobj
= 0;
18482 wxSlider
*arg1
= (wxSlider
*) 0 ;
18486 PyObject
*swig_obj
[1] ;
18488 if (!args
) SWIG_fail
;
18489 swig_obj
[0] = args
;
18490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18491 if (!SWIG_IsOK(res1
)) {
18492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18494 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18497 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
18498 wxPyEndAllowThreads(__tstate
);
18499 if (PyErr_Occurred()) SWIG_fail
;
18501 resultobj
= SWIG_From_int(static_cast< int >(result
));
18508 SWIGINTERN PyObject
*_wrap_Slider_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18509 PyObject
*resultobj
= 0;
18510 wxSlider
*arg1
= (wxSlider
*) 0 ;
18519 PyObject
* obj0
= 0 ;
18520 PyObject
* obj1
= 0 ;
18521 PyObject
* obj2
= 0 ;
18522 char * kwnames
[] = {
18523 (char *) "self",(char *) "min",(char *) "max", NULL
18526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18528 if (!SWIG_IsOK(res1
)) {
18529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18531 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18532 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18533 if (!SWIG_IsOK(ecode2
)) {
18534 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18536 arg2
= static_cast< int >(val2
);
18537 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18538 if (!SWIG_IsOK(ecode3
)) {
18539 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18541 arg3
= static_cast< int >(val3
);
18543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18544 (arg1
)->SetSelection(arg2
,arg3
);
18545 wxPyEndAllowThreads(__tstate
);
18546 if (PyErr_Occurred()) SWIG_fail
;
18548 resultobj
= SWIG_Py_Void();
18555 SWIGINTERN PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18556 PyObject
*resultobj
= 0;
18557 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18558 SwigValueWrapper
<wxVisualAttributes
> result
;
18561 PyObject
* obj0
= 0 ;
18562 char * kwnames
[] = {
18563 (char *) "variant", NULL
18566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18568 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18569 if (!SWIG_IsOK(ecode1
)) {
18570 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18572 arg1
= static_cast< wxWindowVariant
>(val1
);
18575 if (!wxPyCheckForApp()) SWIG_fail
;
18576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18577 result
= wxSlider::GetClassDefaultAttributes(arg1
);
18578 wxPyEndAllowThreads(__tstate
);
18579 if (PyErr_Occurred()) SWIG_fail
;
18581 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18588 SWIGINTERN PyObject
*Slider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18590 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18591 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider
, SWIG_NewClientData(obj
));
18592 return SWIG_Py_Void();
18595 SWIGINTERN PyObject
*Slider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18596 return SWIG_Python_InitShadowInstance(args
);
18599 SWIGINTERN
int ToggleButtonNameStr_set(PyObject
*) {
18600 SWIG_Error(SWIG_AttributeError
,"Variable ToggleButtonNameStr is read-only.");
18605 SWIGINTERN PyObject
*ToggleButtonNameStr_get(void) {
18606 PyObject
*pyobj
= 0;
18610 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18612 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18619 SWIGINTERN PyObject
*_wrap_new_ToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18620 PyObject
*resultobj
= 0;
18621 wxWindow
*arg1
= (wxWindow
*) 0 ;
18622 int arg2
= (int) -1 ;
18623 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18624 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18625 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18626 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18627 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18628 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18629 long arg6
= (long) 0 ;
18630 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
18631 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
18632 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
18633 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
18634 wxToggleButton
*result
= 0 ;
18639 bool temp3
= false ;
18646 bool temp8
= false ;
18647 PyObject
* obj0
= 0 ;
18648 PyObject
* obj1
= 0 ;
18649 PyObject
* obj2
= 0 ;
18650 PyObject
* obj3
= 0 ;
18651 PyObject
* obj4
= 0 ;
18652 PyObject
* obj5
= 0 ;
18653 PyObject
* obj6
= 0 ;
18654 PyObject
* obj7
= 0 ;
18655 char * kwnames
[] = {
18656 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18661 if (!SWIG_IsOK(res1
)) {
18662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18664 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18666 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18667 if (!SWIG_IsOK(ecode2
)) {
18668 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18670 arg2
= static_cast< int >(val2
);
18674 arg3
= wxString_in_helper(obj2
);
18675 if (arg3
== NULL
) SWIG_fail
;
18682 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18688 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18692 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18693 if (!SWIG_IsOK(ecode6
)) {
18694 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
18696 arg6
= static_cast< long >(val6
);
18699 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
18700 if (!SWIG_IsOK(res7
)) {
18701 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18704 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18706 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
18710 arg8
= wxString_in_helper(obj7
);
18711 if (arg8
== NULL
) SWIG_fail
;
18716 if (!wxPyCheckForApp()) SWIG_fail
;
18717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18718 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
18719 wxPyEndAllowThreads(__tstate
);
18720 if (PyErr_Occurred()) SWIG_fail
;
18722 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_NEW
| 0 );
18745 SWIGINTERN PyObject
*_wrap_new_PreToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18746 PyObject
*resultobj
= 0;
18747 wxToggleButton
*result
= 0 ;
18749 if (!SWIG_Python_UnpackTuple(args
,"new_PreToggleButton",0,0,0)) SWIG_fail
;
18751 if (!wxPyCheckForApp()) SWIG_fail
;
18752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18753 result
= (wxToggleButton
*)new wxToggleButton();
18754 wxPyEndAllowThreads(__tstate
);
18755 if (PyErr_Occurred()) SWIG_fail
;
18757 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_OWN
| 0 );
18764 SWIGINTERN PyObject
*_wrap_ToggleButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18765 PyObject
*resultobj
= 0;
18766 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18767 wxWindow
*arg2
= (wxWindow
*) 0 ;
18768 int arg3
= (int) -1 ;
18769 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18770 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18771 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
18772 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
18773 wxSize
const &arg6_defvalue
= wxDefaultSize
;
18774 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
18775 long arg7
= (long) 0 ;
18776 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
18777 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
18778 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
18779 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
18787 bool temp4
= false ;
18794 bool temp9
= false ;
18795 PyObject
* obj0
= 0 ;
18796 PyObject
* obj1
= 0 ;
18797 PyObject
* obj2
= 0 ;
18798 PyObject
* obj3
= 0 ;
18799 PyObject
* obj4
= 0 ;
18800 PyObject
* obj5
= 0 ;
18801 PyObject
* obj6
= 0 ;
18802 PyObject
* obj7
= 0 ;
18803 PyObject
* obj8
= 0 ;
18804 char * kwnames
[] = {
18805 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
18809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18810 if (!SWIG_IsOK(res1
)) {
18811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18813 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18814 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18815 if (!SWIG_IsOK(res2
)) {
18816 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18818 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
18820 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18821 if (!SWIG_IsOK(ecode3
)) {
18822 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
18824 arg3
= static_cast< int >(val3
);
18828 arg4
= wxString_in_helper(obj3
);
18829 if (arg4
== NULL
) SWIG_fail
;
18836 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18842 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
18846 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18847 if (!SWIG_IsOK(ecode7
)) {
18848 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
18850 arg7
= static_cast< long >(val7
);
18853 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
18854 if (!SWIG_IsOK(res8
)) {
18855 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18858 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18860 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
18864 arg9
= wxString_in_helper(obj8
);
18865 if (arg9
== NULL
) SWIG_fail
;
18870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18871 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
18872 wxPyEndAllowThreads(__tstate
);
18873 if (PyErr_Occurred()) SWIG_fail
;
18876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18900 SWIGINTERN PyObject
*_wrap_ToggleButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18901 PyObject
*resultobj
= 0;
18902 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18908 PyObject
* obj0
= 0 ;
18909 PyObject
* obj1
= 0 ;
18910 char * kwnames
[] = {
18911 (char *) "self",(char *) "value", NULL
18914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18916 if (!SWIG_IsOK(res1
)) {
18917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18919 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18920 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18921 if (!SWIG_IsOK(ecode2
)) {
18922 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
18924 arg2
= static_cast< bool >(val2
);
18926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18927 (arg1
)->SetValue(arg2
);
18928 wxPyEndAllowThreads(__tstate
);
18929 if (PyErr_Occurred()) SWIG_fail
;
18931 resultobj
= SWIG_Py_Void();
18938 SWIGINTERN PyObject
*_wrap_ToggleButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18939 PyObject
*resultobj
= 0;
18940 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18944 PyObject
*swig_obj
[1] ;
18946 if (!args
) SWIG_fail
;
18947 swig_obj
[0] = args
;
18948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18949 if (!SWIG_IsOK(res1
)) {
18950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
18952 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18955 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
18956 wxPyEndAllowThreads(__tstate
);
18957 if (PyErr_Occurred()) SWIG_fail
;
18960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18968 SWIGINTERN PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18969 PyObject
*resultobj
= 0;
18970 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18971 SwigValueWrapper
<wxVisualAttributes
> result
;
18974 PyObject
* obj0
= 0 ;
18975 char * kwnames
[] = {
18976 (char *) "variant", NULL
18979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18981 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18982 if (!SWIG_IsOK(ecode1
)) {
18983 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18985 arg1
= static_cast< wxWindowVariant
>(val1
);
18988 if (!wxPyCheckForApp()) SWIG_fail
;
18989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18990 result
= wxToggleButton::GetClassDefaultAttributes(arg1
);
18991 wxPyEndAllowThreads(__tstate
);
18992 if (PyErr_Occurred()) SWIG_fail
;
18994 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
19001 SWIGINTERN PyObject
*ToggleButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19003 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19004 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton
, SWIG_NewClientData(obj
));
19005 return SWIG_Py_Void();
19008 SWIGINTERN PyObject
*ToggleButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19009 return SWIG_Python_InitShadowInstance(args
);
19012 SWIGINTERN
int NotebookNameStr_set(PyObject
*) {
19013 SWIG_Error(SWIG_AttributeError
,"Variable NotebookNameStr is read-only.");
19018 SWIGINTERN PyObject
*NotebookNameStr_get(void) {
19019 PyObject
*pyobj
= 0;
19023 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19025 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19032 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19033 PyObject
*resultobj
= 0;
19034 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19038 PyObject
*swig_obj
[1] ;
19040 if (!args
) SWIG_fail
;
19041 swig_obj
[0] = args
;
19042 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19043 if (!SWIG_IsOK(res1
)) {
19044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19046 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19049 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
19050 wxPyEndAllowThreads(__tstate
);
19051 if (PyErr_Occurred()) SWIG_fail
;
19053 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
19060 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19061 PyObject
*resultobj
= 0;
19062 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19064 wxWindow
*result
= 0 ;
19069 PyObject
* obj0
= 0 ;
19070 PyObject
* obj1
= 0 ;
19071 char * kwnames
[] = {
19072 (char *) "self",(char *) "n", NULL
19075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19077 if (!SWIG_IsOK(res1
)) {
19078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19080 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19081 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19082 if (!SWIG_IsOK(ecode2
)) {
19083 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
19085 arg2
= static_cast< size_t >(val2
);
19087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19088 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
19089 wxPyEndAllowThreads(__tstate
);
19090 if (PyErr_Occurred()) SWIG_fail
;
19093 resultobj
= wxPyMake_wxObject(result
, 0);
19101 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19102 PyObject
*resultobj
= 0;
19103 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19104 wxWindow
*result
= 0 ;
19107 PyObject
*swig_obj
[1] ;
19109 if (!args
) SWIG_fail
;
19110 swig_obj
[0] = args
;
19111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19112 if (!SWIG_IsOK(res1
)) {
19113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19115 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19118 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
19119 wxPyEndAllowThreads(__tstate
);
19120 if (PyErr_Occurred()) SWIG_fail
;
19123 resultobj
= wxPyMake_wxObject(result
, 0);
19131 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19132 PyObject
*resultobj
= 0;
19133 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19137 PyObject
*swig_obj
[1] ;
19139 if (!args
) SWIG_fail
;
19140 swig_obj
[0] = args
;
19141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19142 if (!SWIG_IsOK(res1
)) {
19143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19145 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19148 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
19149 wxPyEndAllowThreads(__tstate
);
19150 if (PyErr_Occurred()) SWIG_fail
;
19152 resultobj
= SWIG_From_int(static_cast< int >(result
));
19159 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19160 PyObject
*resultobj
= 0;
19161 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19163 wxString
*arg3
= 0 ;
19169 bool temp3
= false ;
19170 PyObject
* obj0
= 0 ;
19171 PyObject
* obj1
= 0 ;
19172 PyObject
* obj2
= 0 ;
19173 char * kwnames
[] = {
19174 (char *) "self",(char *) "n",(char *) "strText", NULL
19177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19178 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19179 if (!SWIG_IsOK(res1
)) {
19180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19182 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19183 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19184 if (!SWIG_IsOK(ecode2
)) {
19185 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
19187 arg2
= static_cast< size_t >(val2
);
19189 arg3
= wxString_in_helper(obj2
);
19190 if (arg3
== NULL
) SWIG_fail
;
19194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19195 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
19196 wxPyEndAllowThreads(__tstate
);
19197 if (PyErr_Occurred()) SWIG_fail
;
19200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19216 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19217 PyObject
*resultobj
= 0;
19218 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19225 PyObject
* obj0
= 0 ;
19226 PyObject
* obj1
= 0 ;
19227 char * kwnames
[] = {
19228 (char *) "self",(char *) "n", NULL
19231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19233 if (!SWIG_IsOK(res1
)) {
19234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19236 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19237 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19238 if (!SWIG_IsOK(ecode2
)) {
19239 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
19241 arg2
= static_cast< size_t >(val2
);
19243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19244 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
19245 wxPyEndAllowThreads(__tstate
);
19246 if (PyErr_Occurred()) SWIG_fail
;
19250 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19252 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19261 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19262 PyObject
*resultobj
= 0;
19263 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19264 wxImageList
*arg2
= (wxImageList
*) 0 ;
19269 PyObject
* obj0
= 0 ;
19270 PyObject
* obj1
= 0 ;
19271 char * kwnames
[] = {
19272 (char *) "self",(char *) "imageList", NULL
19275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19277 if (!SWIG_IsOK(res1
)) {
19278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19280 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19281 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
19282 if (!SWIG_IsOK(res2
)) {
19283 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19285 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
19287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19288 (arg1
)->SetImageList(arg2
);
19289 wxPyEndAllowThreads(__tstate
);
19290 if (PyErr_Occurred()) SWIG_fail
;
19292 resultobj
= SWIG_Py_Void();
19299 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19300 PyObject
*resultobj
= 0;
19301 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19302 wxImageList
*arg2
= (wxImageList
*) 0 ;
19306 PyObject
* obj0
= 0 ;
19307 PyObject
* obj1
= 0 ;
19308 char * kwnames
[] = {
19309 (char *) "self",(char *) "imageList", NULL
19312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19313 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19314 if (!SWIG_IsOK(res1
)) {
19315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19317 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19318 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
19319 if (!SWIG_IsOK(res2
)) {
19320 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19324 (arg1
)->AssignImageList(arg2
);
19325 wxPyEndAllowThreads(__tstate
);
19326 if (PyErr_Occurred()) SWIG_fail
;
19328 resultobj
= SWIG_Py_Void();
19335 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19336 PyObject
*resultobj
= 0;
19337 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19338 wxImageList
*result
= 0 ;
19341 PyObject
*swig_obj
[1] ;
19343 if (!args
) SWIG_fail
;
19344 swig_obj
[0] = args
;
19345 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19346 if (!SWIG_IsOK(res1
)) {
19347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19349 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19352 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
19353 wxPyEndAllowThreads(__tstate
);
19354 if (PyErr_Occurred()) SWIG_fail
;
19357 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19365 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19366 PyObject
*resultobj
= 0;
19367 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19374 PyObject
* obj0
= 0 ;
19375 PyObject
* obj1
= 0 ;
19376 char * kwnames
[] = {
19377 (char *) "self",(char *) "n", NULL
19380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19382 if (!SWIG_IsOK(res1
)) {
19383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19385 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19386 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19387 if (!SWIG_IsOK(ecode2
)) {
19388 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19390 arg2
= static_cast< size_t >(val2
);
19392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19393 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
19394 wxPyEndAllowThreads(__tstate
);
19395 if (PyErr_Occurred()) SWIG_fail
;
19397 resultobj
= SWIG_From_int(static_cast< int >(result
));
19404 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19405 PyObject
*resultobj
= 0;
19406 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19416 PyObject
* obj0
= 0 ;
19417 PyObject
* obj1
= 0 ;
19418 PyObject
* obj2
= 0 ;
19419 char * kwnames
[] = {
19420 (char *) "self",(char *) "n",(char *) "imageId", NULL
19423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19425 if (!SWIG_IsOK(res1
)) {
19426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19428 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19429 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19430 if (!SWIG_IsOK(ecode2
)) {
19431 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19433 arg2
= static_cast< size_t >(val2
);
19434 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19435 if (!SWIG_IsOK(ecode3
)) {
19436 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19438 arg3
= static_cast< int >(val3
);
19440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19441 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
19442 wxPyEndAllowThreads(__tstate
);
19443 if (PyErr_Occurred()) SWIG_fail
;
19446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19454 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19455 PyObject
*resultobj
= 0;
19456 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19461 PyObject
* obj0
= 0 ;
19462 PyObject
* obj1
= 0 ;
19463 char * kwnames
[] = {
19464 (char *) "self",(char *) "size", NULL
19467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19469 if (!SWIG_IsOK(res1
)) {
19470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19472 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19475 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19479 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
19480 wxPyEndAllowThreads(__tstate
);
19481 if (PyErr_Occurred()) SWIG_fail
;
19483 resultobj
= SWIG_Py_Void();
19490 SWIGINTERN PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19491 PyObject
*resultobj
= 0;
19492 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19498 PyObject
* obj0
= 0 ;
19499 PyObject
* obj1
= 0 ;
19500 char * kwnames
[] = {
19501 (char *) "self",(char *) "sizePage", NULL
19504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19506 if (!SWIG_IsOK(res1
)) {
19507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19509 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19512 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19516 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
19517 wxPyEndAllowThreads(__tstate
);
19518 if (PyErr_Occurred()) SWIG_fail
;
19520 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19527 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19528 PyObject
*resultobj
= 0;
19529 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19530 unsigned int result
;
19533 PyObject
*swig_obj
[1] ;
19535 if (!args
) SWIG_fail
;
19536 swig_obj
[0] = args
;
19537 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19538 if (!SWIG_IsOK(res1
)) {
19539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19541 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19544 result
= (unsigned int)((wxBookCtrlBase
const *)arg1
)->GetInternalBorder();
19545 wxPyEndAllowThreads(__tstate
);
19546 if (PyErr_Occurred()) SWIG_fail
;
19548 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
19555 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19556 PyObject
*resultobj
= 0;
19557 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19558 unsigned int arg2
;
19561 unsigned int val2
;
19563 PyObject
* obj0
= 0 ;
19564 PyObject
* obj1
= 0 ;
19565 char * kwnames
[] = {
19566 (char *) "self",(char *) "internalBorder", NULL
19569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19571 if (!SWIG_IsOK(res1
)) {
19572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19574 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19575 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
19576 if (!SWIG_IsOK(ecode2
)) {
19577 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "unsigned int""'");
19579 arg2
= static_cast< unsigned int >(val2
);
19581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19582 (arg1
)->SetInternalBorder(arg2
);
19583 wxPyEndAllowThreads(__tstate
);
19584 if (PyErr_Occurred()) SWIG_fail
;
19586 resultobj
= SWIG_Py_Void();
19593 SWIGINTERN PyObject
*_wrap_BookCtrlBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19594 PyObject
*resultobj
= 0;
19595 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19599 PyObject
*swig_obj
[1] ;
19601 if (!args
) SWIG_fail
;
19602 swig_obj
[0] = args
;
19603 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19604 if (!SWIG_IsOK(res1
)) {
19605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19607 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19610 result
= (bool)((wxBookCtrlBase
const *)arg1
)->IsVertical();
19611 wxPyEndAllowThreads(__tstate
);
19612 if (PyErr_Occurred()) SWIG_fail
;
19615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19623 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19624 PyObject
*resultobj
= 0;
19625 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19631 PyObject
* obj0
= 0 ;
19632 PyObject
* obj1
= 0 ;
19633 char * kwnames
[] = {
19634 (char *) "self",(char *) "margin", NULL
19637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetControlMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19639 if (!SWIG_IsOK(res1
)) {
19640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19642 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19643 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19644 if (!SWIG_IsOK(ecode2
)) {
19645 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "2"" of type '" "int""'");
19647 arg2
= static_cast< int >(val2
);
19649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19650 (arg1
)->SetControlMargin(arg2
);
19651 wxPyEndAllowThreads(__tstate
);
19652 if (PyErr_Occurred()) SWIG_fail
;
19654 resultobj
= SWIG_Py_Void();
19661 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19662 PyObject
*resultobj
= 0;
19663 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19667 PyObject
*swig_obj
[1] ;
19669 if (!args
) SWIG_fail
;
19670 swig_obj
[0] = args
;
19671 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19672 if (!SWIG_IsOK(res1
)) {
19673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19675 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19678 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetControlMargin();
19679 wxPyEndAllowThreads(__tstate
);
19680 if (PyErr_Occurred()) SWIG_fail
;
19682 resultobj
= SWIG_From_int(static_cast< int >(result
));
19689 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19690 PyObject
*resultobj
= 0;
19691 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19697 PyObject
* obj0
= 0 ;
19698 PyObject
* obj1
= 0 ;
19699 char * kwnames
[] = {
19700 (char *) "self",(char *) "fit", NULL
19703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19705 if (!SWIG_IsOK(res1
)) {
19706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19708 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19709 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19710 if (!SWIG_IsOK(ecode2
)) {
19711 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
19713 arg2
= static_cast< bool >(val2
);
19715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19716 (arg1
)->SetFitToCurrentPage(arg2
);
19717 wxPyEndAllowThreads(__tstate
);
19718 if (PyErr_Occurred()) SWIG_fail
;
19720 resultobj
= SWIG_Py_Void();
19727 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19728 PyObject
*resultobj
= 0;
19729 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19733 PyObject
*swig_obj
[1] ;
19735 if (!args
) SWIG_fail
;
19736 swig_obj
[0] = args
;
19737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19738 if (!SWIG_IsOK(res1
)) {
19739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19741 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19744 result
= (bool)((wxBookCtrlBase
const *)arg1
)->GetFitToCurrentPage();
19745 wxPyEndAllowThreads(__tstate
);
19746 if (PyErr_Occurred()) SWIG_fail
;
19749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19757 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19758 PyObject
*resultobj
= 0;
19759 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19760 wxSizer
*result
= 0 ;
19763 PyObject
*swig_obj
[1] ;
19765 if (!args
) SWIG_fail
;
19766 swig_obj
[0] = args
;
19767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19768 if (!SWIG_IsOK(res1
)) {
19769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlSizer" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19771 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19774 result
= (wxSizer
*)((wxBookCtrlBase
const *)arg1
)->GetControlSizer();
19775 wxPyEndAllowThreads(__tstate
);
19776 if (PyErr_Occurred()) SWIG_fail
;
19779 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19787 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19788 PyObject
*resultobj
= 0;
19789 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19796 PyObject
* obj0
= 0 ;
19797 PyObject
* obj1
= 0 ;
19798 char * kwnames
[] = {
19799 (char *) "self",(char *) "n", NULL
19802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19804 if (!SWIG_IsOK(res1
)) {
19805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19807 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19808 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19809 if (!SWIG_IsOK(ecode2
)) {
19810 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
19812 arg2
= static_cast< size_t >(val2
);
19814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19815 result
= (bool)(arg1
)->DeletePage(arg2
);
19816 wxPyEndAllowThreads(__tstate
);
19817 if (PyErr_Occurred()) SWIG_fail
;
19820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19828 SWIGINTERN PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19829 PyObject
*resultobj
= 0;
19830 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19837 PyObject
* obj0
= 0 ;
19838 PyObject
* obj1
= 0 ;
19839 char * kwnames
[] = {
19840 (char *) "self",(char *) "n", NULL
19843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19845 if (!SWIG_IsOK(res1
)) {
19846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19848 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19849 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19850 if (!SWIG_IsOK(ecode2
)) {
19851 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
19853 arg2
= static_cast< size_t >(val2
);
19855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19856 result
= (bool)(arg1
)->RemovePage(arg2
);
19857 wxPyEndAllowThreads(__tstate
);
19858 if (PyErr_Occurred()) SWIG_fail
;
19861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19869 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19870 PyObject
*resultobj
= 0;
19871 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19875 PyObject
*swig_obj
[1] ;
19877 if (!args
) SWIG_fail
;
19878 swig_obj
[0] = args
;
19879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19880 if (!SWIG_IsOK(res1
)) {
19881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19883 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19886 result
= (bool)(arg1
)->DeleteAllPages();
19887 wxPyEndAllowThreads(__tstate
);
19888 if (PyErr_Occurred()) SWIG_fail
;
19891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19899 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19900 PyObject
*resultobj
= 0;
19901 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19902 wxWindow
*arg2
= (wxWindow
*) 0 ;
19903 wxString
*arg3
= 0 ;
19904 bool arg4
= (bool) false ;
19905 int arg5
= (int) -1 ;
19911 bool temp3
= false ;
19916 PyObject
* obj0
= 0 ;
19917 PyObject
* obj1
= 0 ;
19918 PyObject
* obj2
= 0 ;
19919 PyObject
* obj3
= 0 ;
19920 PyObject
* obj4
= 0 ;
19921 char * kwnames
[] = {
19922 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
19925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) 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_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19930 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19931 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19932 if (!SWIG_IsOK(res2
)) {
19933 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
19935 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
19937 arg3
= wxString_in_helper(obj2
);
19938 if (arg3
== NULL
) SWIG_fail
;
19942 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19943 if (!SWIG_IsOK(ecode4
)) {
19944 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
19946 arg4
= static_cast< bool >(val4
);
19949 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19950 if (!SWIG_IsOK(ecode5
)) {
19951 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
19953 arg5
= static_cast< int >(val5
);
19956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19957 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
19958 wxPyEndAllowThreads(__tstate
);
19959 if (PyErr_Occurred()) SWIG_fail
;
19962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19978 SWIGINTERN PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19979 PyObject
*resultobj
= 0;
19980 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19982 wxWindow
*arg3
= (wxWindow
*) 0 ;
19983 wxString
*arg4
= 0 ;
19984 bool arg5
= (bool) false ;
19985 int arg6
= (int) -1 ;
19993 bool temp4
= false ;
19998 PyObject
* obj0
= 0 ;
19999 PyObject
* obj1
= 0 ;
20000 PyObject
* obj2
= 0 ;
20001 PyObject
* obj3
= 0 ;
20002 PyObject
* obj4
= 0 ;
20003 PyObject
* obj5
= 0 ;
20004 char * kwnames
[] = {
20005 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20010 if (!SWIG_IsOK(res1
)) {
20011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20013 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20014 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20015 if (!SWIG_IsOK(ecode2
)) {
20016 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
20018 arg2
= static_cast< size_t >(val2
);
20019 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20020 if (!SWIG_IsOK(res3
)) {
20021 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
20023 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
20025 arg4
= wxString_in_helper(obj3
);
20026 if (arg4
== NULL
) SWIG_fail
;
20030 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
20031 if (!SWIG_IsOK(ecode5
)) {
20032 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
20034 arg5
= static_cast< bool >(val5
);
20037 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20038 if (!SWIG_IsOK(ecode6
)) {
20039 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
20041 arg6
= static_cast< int >(val6
);
20044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20045 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
20046 wxPyEndAllowThreads(__tstate
);
20047 if (PyErr_Occurred()) SWIG_fail
;
20050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20066 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20067 PyObject
*resultobj
= 0;
20068 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20075 PyObject
* obj0
= 0 ;
20076 PyObject
* obj1
= 0 ;
20077 char * kwnames
[] = {
20078 (char *) "self",(char *) "n", NULL
20081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20083 if (!SWIG_IsOK(res1
)) {
20084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20086 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20087 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20088 if (!SWIG_IsOK(ecode2
)) {
20089 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
20091 arg2
= static_cast< size_t >(val2
);
20093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20094 result
= (int)(arg1
)->SetSelection(arg2
);
20095 wxPyEndAllowThreads(__tstate
);
20096 if (PyErr_Occurred()) SWIG_fail
;
20098 resultobj
= SWIG_From_int(static_cast< int >(result
));
20105 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20106 PyObject
*resultobj
= 0;
20107 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20108 bool arg2
= (bool) true ;
20113 PyObject
* obj0
= 0 ;
20114 PyObject
* obj1
= 0 ;
20115 char * kwnames
[] = {
20116 (char *) "self",(char *) "forward", NULL
20119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20121 if (!SWIG_IsOK(res1
)) {
20122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20124 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20126 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20127 if (!SWIG_IsOK(ecode2
)) {
20128 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
20130 arg2
= static_cast< bool >(val2
);
20133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20134 (arg1
)->AdvanceSelection(arg2
);
20135 wxPyEndAllowThreads(__tstate
);
20136 if (PyErr_Occurred()) SWIG_fail
;
20138 resultobj
= SWIG_Py_Void();
20145 SWIGINTERN PyObject
*_wrap_BookCtrlBase_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20146 PyObject
*resultobj
= 0;
20147 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20148 wxPoint
*arg2
= 0 ;
20149 long *arg3
= (long *) 0 ;
20155 int res3
= SWIG_TMPOBJ
;
20156 PyObject
* obj0
= 0 ;
20157 PyObject
* obj1
= 0 ;
20158 char * kwnames
[] = {
20159 (char *) "self",(char *) "pt", NULL
20163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20165 if (!SWIG_IsOK(res1
)) {
20166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_HitTest" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20168 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20171 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20175 result
= (int)((wxBookCtrlBase
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
20176 wxPyEndAllowThreads(__tstate
);
20177 if (PyErr_Occurred()) SWIG_fail
;
20179 resultobj
= SWIG_From_int(static_cast< int >(result
));
20180 if (SWIG_IsTmpObj(res3
)) {
20181 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
20183 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20184 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
20192 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20193 PyObject
*resultobj
= 0;
20194 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20195 SwigValueWrapper
<wxVisualAttributes
> result
;
20198 PyObject
* obj0
= 0 ;
20199 char * kwnames
[] = {
20200 (char *) "variant", NULL
20203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20205 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20206 if (!SWIG_IsOK(ecode1
)) {
20207 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20209 arg1
= static_cast< wxWindowVariant
>(val1
);
20212 if (!wxPyCheckForApp()) SWIG_fail
;
20213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20214 result
= wxBookCtrlBase::GetClassDefaultAttributes(arg1
);
20215 wxPyEndAllowThreads(__tstate
);
20216 if (PyErr_Occurred()) SWIG_fail
;
20218 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20225 SWIGINTERN PyObject
*BookCtrlBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20227 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20228 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase
, SWIG_NewClientData(obj
));
20229 return SWIG_Py_Void();
20232 SWIGINTERN PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20233 PyObject
*resultobj
= 0;
20234 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20235 int arg2
= (int) 0 ;
20236 int arg3
= (int) -1 ;
20237 int arg4
= (int) -1 ;
20238 wxBookCtrlBaseEvent
*result
= 0 ;
20247 PyObject
* obj0
= 0 ;
20248 PyObject
* obj1
= 0 ;
20249 PyObject
* obj2
= 0 ;
20250 PyObject
* obj3
= 0 ;
20251 char * kwnames
[] = {
20252 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20257 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20258 if (!SWIG_IsOK(ecode1
)) {
20259 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20261 arg1
= static_cast< wxEventType
>(val1
);
20264 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20265 if (!SWIG_IsOK(ecode2
)) {
20266 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
20268 arg2
= static_cast< int >(val2
);
20271 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20272 if (!SWIG_IsOK(ecode3
)) {
20273 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
20275 arg3
= static_cast< int >(val3
);
20278 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20279 if (!SWIG_IsOK(ecode4
)) {
20280 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
20282 arg4
= static_cast< int >(val4
);
20285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20286 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
20287 wxPyEndAllowThreads(__tstate
);
20288 if (PyErr_Occurred()) SWIG_fail
;
20290 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_NEW
| 0 );
20297 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20298 PyObject
*resultobj
= 0;
20299 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20303 PyObject
*swig_obj
[1] ;
20305 if (!args
) SWIG_fail
;
20306 swig_obj
[0] = args
;
20307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20308 if (!SWIG_IsOK(res1
)) {
20309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20311 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20314 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
20315 wxPyEndAllowThreads(__tstate
);
20316 if (PyErr_Occurred()) SWIG_fail
;
20318 resultobj
= SWIG_From_int(static_cast< int >(result
));
20325 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20326 PyObject
*resultobj
= 0;
20327 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20333 PyObject
* obj0
= 0 ;
20334 PyObject
* obj1
= 0 ;
20335 char * kwnames
[] = {
20336 (char *) "self",(char *) "nSel", NULL
20339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20341 if (!SWIG_IsOK(res1
)) {
20342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20344 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20345 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20346 if (!SWIG_IsOK(ecode2
)) {
20347 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
20349 arg2
= static_cast< int >(val2
);
20351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20352 (arg1
)->SetSelection(arg2
);
20353 wxPyEndAllowThreads(__tstate
);
20354 if (PyErr_Occurred()) SWIG_fail
;
20356 resultobj
= SWIG_Py_Void();
20363 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20364 PyObject
*resultobj
= 0;
20365 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20369 PyObject
*swig_obj
[1] ;
20371 if (!args
) SWIG_fail
;
20372 swig_obj
[0] = args
;
20373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20374 if (!SWIG_IsOK(res1
)) {
20375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20377 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20380 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
20381 wxPyEndAllowThreads(__tstate
);
20382 if (PyErr_Occurred()) SWIG_fail
;
20384 resultobj
= SWIG_From_int(static_cast< int >(result
));
20391 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20392 PyObject
*resultobj
= 0;
20393 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20399 PyObject
* obj0
= 0 ;
20400 PyObject
* obj1
= 0 ;
20401 char * kwnames
[] = {
20402 (char *) "self",(char *) "nOldSel", NULL
20405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20407 if (!SWIG_IsOK(res1
)) {
20408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20410 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20411 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20412 if (!SWIG_IsOK(ecode2
)) {
20413 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
20415 arg2
= static_cast< int >(val2
);
20417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20418 (arg1
)->SetOldSelection(arg2
);
20419 wxPyEndAllowThreads(__tstate
);
20420 if (PyErr_Occurred()) SWIG_fail
;
20422 resultobj
= SWIG_Py_Void();
20429 SWIGINTERN PyObject
*BookCtrlBaseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20431 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20432 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_NewClientData(obj
));
20433 return SWIG_Py_Void();
20436 SWIGINTERN PyObject
*BookCtrlBaseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20437 return SWIG_Python_InitShadowInstance(args
);
20440 SWIGINTERN PyObject
*_wrap_new_Notebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20441 PyObject
*resultobj
= 0;
20442 wxWindow
*arg1
= (wxWindow
*) 0 ;
20443 int arg2
= (int) -1 ;
20444 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20445 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20446 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20447 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20448 long arg5
= (long) 0 ;
20449 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
20450 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20451 wxNotebook
*result
= 0 ;
20460 bool temp6
= false ;
20461 PyObject
* obj0
= 0 ;
20462 PyObject
* obj1
= 0 ;
20463 PyObject
* obj2
= 0 ;
20464 PyObject
* obj3
= 0 ;
20465 PyObject
* obj4
= 0 ;
20466 PyObject
* obj5
= 0 ;
20467 char * kwnames
[] = {
20468 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20473 if (!SWIG_IsOK(res1
)) {
20474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20476 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20478 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20479 if (!SWIG_IsOK(ecode2
)) {
20480 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20482 arg2
= static_cast< int >(val2
);
20487 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20493 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20497 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20498 if (!SWIG_IsOK(ecode5
)) {
20499 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20501 arg5
= static_cast< long >(val5
);
20505 arg6
= wxString_in_helper(obj5
);
20506 if (arg6
== NULL
) SWIG_fail
;
20511 if (!wxPyCheckForApp()) SWIG_fail
;
20512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20513 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20514 wxPyEndAllowThreads(__tstate
);
20515 if (PyErr_Occurred()) SWIG_fail
;
20517 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_NEW
| 0 );
20532 SWIGINTERN PyObject
*_wrap_new_PreNotebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20533 PyObject
*resultobj
= 0;
20534 wxNotebook
*result
= 0 ;
20536 if (!SWIG_Python_UnpackTuple(args
,"new_PreNotebook",0,0,0)) SWIG_fail
;
20538 if (!wxPyCheckForApp()) SWIG_fail
;
20539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20540 result
= (wxNotebook
*)new wxNotebook();
20541 wxPyEndAllowThreads(__tstate
);
20542 if (PyErr_Occurred()) SWIG_fail
;
20544 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_OWN
| 0 );
20551 SWIGINTERN PyObject
*_wrap_Notebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20552 PyObject
*resultobj
= 0;
20553 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20554 wxWindow
*arg2
= (wxWindow
*) 0 ;
20555 int arg3
= (int) -1 ;
20556 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20557 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20558 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20559 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20560 long arg6
= (long) 0 ;
20561 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
20562 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20574 bool temp7
= false ;
20575 PyObject
* obj0
= 0 ;
20576 PyObject
* obj1
= 0 ;
20577 PyObject
* obj2
= 0 ;
20578 PyObject
* obj3
= 0 ;
20579 PyObject
* obj4
= 0 ;
20580 PyObject
* obj5
= 0 ;
20581 PyObject
* obj6
= 0 ;
20582 char * kwnames
[] = {
20583 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20588 if (!SWIG_IsOK(res1
)) {
20589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20591 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20592 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20593 if (!SWIG_IsOK(res2
)) {
20594 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20596 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20598 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20599 if (!SWIG_IsOK(ecode3
)) {
20600 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20602 arg3
= static_cast< int >(val3
);
20607 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20613 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20617 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20618 if (!SWIG_IsOK(ecode6
)) {
20619 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20621 arg6
= static_cast< long >(val6
);
20625 arg7
= wxString_in_helper(obj6
);
20626 if (arg7
== NULL
) SWIG_fail
;
20631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20632 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20633 wxPyEndAllowThreads(__tstate
);
20634 if (PyErr_Occurred()) SWIG_fail
;
20637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20653 SWIGINTERN PyObject
*_wrap_Notebook_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20654 PyObject
*resultobj
= 0;
20655 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20659 PyObject
*swig_obj
[1] ;
20661 if (!args
) SWIG_fail
;
20662 swig_obj
[0] = args
;
20663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20664 if (!SWIG_IsOK(res1
)) {
20665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20667 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20670 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
20671 wxPyEndAllowThreads(__tstate
);
20672 if (PyErr_Occurred()) SWIG_fail
;
20674 resultobj
= SWIG_From_int(static_cast< int >(result
));
20681 SWIGINTERN PyObject
*_wrap_Notebook_SetPadding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20682 PyObject
*resultobj
= 0;
20683 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20688 PyObject
* obj0
= 0 ;
20689 PyObject
* obj1
= 0 ;
20690 char * kwnames
[] = {
20691 (char *) "self",(char *) "padding", NULL
20694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20696 if (!SWIG_IsOK(res1
)) {
20697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
20699 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20702 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20706 (arg1
)->SetPadding((wxSize
const &)*arg2
);
20707 wxPyEndAllowThreads(__tstate
);
20708 if (PyErr_Occurred()) SWIG_fail
;
20710 resultobj
= SWIG_Py_Void();
20717 SWIGINTERN PyObject
*_wrap_Notebook_SetTabSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20718 PyObject
*resultobj
= 0;
20719 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20724 PyObject
* obj0
= 0 ;
20725 PyObject
* obj1
= 0 ;
20726 char * kwnames
[] = {
20727 (char *) "self",(char *) "sz", NULL
20730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20732 if (!SWIG_IsOK(res1
)) {
20733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
20735 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20738 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20742 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
20743 wxPyEndAllowThreads(__tstate
);
20744 if (PyErr_Occurred()) SWIG_fail
;
20746 resultobj
= SWIG_Py_Void();
20753 SWIGINTERN PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20754 PyObject
*resultobj
= 0;
20755 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20759 PyObject
*swig_obj
[1] ;
20761 if (!args
) SWIG_fail
;
20762 swig_obj
[0] = args
;
20763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20764 if (!SWIG_IsOK(res1
)) {
20765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20767 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20770 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
20771 wxPyEndAllowThreads(__tstate
);
20772 if (PyErr_Occurred()) SWIG_fail
;
20774 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
20781 SWIGINTERN PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20782 PyObject
*resultobj
= 0;
20783 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20784 SwigValueWrapper
<wxVisualAttributes
> result
;
20787 PyObject
* obj0
= 0 ;
20788 char * kwnames
[] = {
20789 (char *) "variant", NULL
20792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20794 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20795 if (!SWIG_IsOK(ecode1
)) {
20796 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20798 arg1
= static_cast< wxWindowVariant
>(val1
);
20801 if (!wxPyCheckForApp()) SWIG_fail
;
20802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20803 result
= wxNotebook::GetClassDefaultAttributes(arg1
);
20804 wxPyEndAllowThreads(__tstate
);
20805 if (PyErr_Occurred()) SWIG_fail
;
20807 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20814 SWIGINTERN PyObject
*Notebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20816 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20817 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook
, SWIG_NewClientData(obj
));
20818 return SWIG_Py_Void();
20821 SWIGINTERN PyObject
*Notebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20822 return SWIG_Python_InitShadowInstance(args
);
20825 SWIGINTERN PyObject
*_wrap_new_NotebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20826 PyObject
*resultobj
= 0;
20827 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20828 int arg2
= (int) 0 ;
20829 int arg3
= (int) -1 ;
20830 int arg4
= (int) -1 ;
20831 wxNotebookEvent
*result
= 0 ;
20840 PyObject
* obj0
= 0 ;
20841 PyObject
* obj1
= 0 ;
20842 PyObject
* obj2
= 0 ;
20843 PyObject
* obj3
= 0 ;
20844 char * kwnames
[] = {
20845 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20850 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20851 if (!SWIG_IsOK(ecode1
)) {
20852 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20854 arg1
= static_cast< wxEventType
>(val1
);
20857 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20858 if (!SWIG_IsOK(ecode2
)) {
20859 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
20861 arg2
= static_cast< int >(val2
);
20864 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20865 if (!SWIG_IsOK(ecode3
)) {
20866 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
20868 arg3
= static_cast< int >(val3
);
20871 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20872 if (!SWIG_IsOK(ecode4
)) {
20873 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
20875 arg4
= static_cast< int >(val4
);
20878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20879 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
20880 wxPyEndAllowThreads(__tstate
);
20881 if (PyErr_Occurred()) SWIG_fail
;
20883 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebookEvent
, SWIG_POINTER_NEW
| 0 );
20890 SWIGINTERN PyObject
*NotebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20892 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20893 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent
, SWIG_NewClientData(obj
));
20894 return SWIG_Py_Void();
20897 SWIGINTERN PyObject
*NotebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20898 return SWIG_Python_InitShadowInstance(args
);
20901 SWIGINTERN PyObject
*_wrap_new_Listbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20902 PyObject
*resultobj
= 0;
20903 wxWindow
*arg1
= (wxWindow
*) 0 ;
20904 int arg2
= (int) -1 ;
20905 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20906 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20907 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20908 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20909 long arg5
= (long) 0 ;
20910 wxString
const &arg6_defvalue
= wxPyEmptyString
;
20911 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20912 wxListbook
*result
= 0 ;
20921 bool temp6
= false ;
20922 PyObject
* obj0
= 0 ;
20923 PyObject
* obj1
= 0 ;
20924 PyObject
* obj2
= 0 ;
20925 PyObject
* obj3
= 0 ;
20926 PyObject
* obj4
= 0 ;
20927 PyObject
* obj5
= 0 ;
20928 char * kwnames
[] = {
20929 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20934 if (!SWIG_IsOK(res1
)) {
20935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
20937 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20939 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20940 if (!SWIG_IsOK(ecode2
)) {
20941 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
20943 arg2
= static_cast< int >(val2
);
20948 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20954 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20958 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20959 if (!SWIG_IsOK(ecode5
)) {
20960 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
20962 arg5
= static_cast< long >(val5
);
20966 arg6
= wxString_in_helper(obj5
);
20967 if (arg6
== NULL
) SWIG_fail
;
20972 if (!wxPyCheckForApp()) SWIG_fail
;
20973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20974 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20975 wxPyEndAllowThreads(__tstate
);
20976 if (PyErr_Occurred()) SWIG_fail
;
20978 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_NEW
| 0 );
20993 SWIGINTERN PyObject
*_wrap_new_PreListbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20994 PyObject
*resultobj
= 0;
20995 wxListbook
*result
= 0 ;
20997 if (!SWIG_Python_UnpackTuple(args
,"new_PreListbook",0,0,0)) SWIG_fail
;
20999 if (!wxPyCheckForApp()) SWIG_fail
;
21000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21001 result
= (wxListbook
*)new wxListbook();
21002 wxPyEndAllowThreads(__tstate
);
21003 if (PyErr_Occurred()) SWIG_fail
;
21005 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_OWN
| 0 );
21012 SWIGINTERN PyObject
*_wrap_Listbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21013 PyObject
*resultobj
= 0;
21014 wxListbook
*arg1
= (wxListbook
*) 0 ;
21015 wxWindow
*arg2
= (wxWindow
*) 0 ;
21016 int arg3
= (int) -1 ;
21017 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21018 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21019 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21020 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21021 long arg6
= (long) 0 ;
21022 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21023 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21035 bool temp7
= false ;
21036 PyObject
* obj0
= 0 ;
21037 PyObject
* obj1
= 0 ;
21038 PyObject
* obj2
= 0 ;
21039 PyObject
* obj3
= 0 ;
21040 PyObject
* obj4
= 0 ;
21041 PyObject
* obj5
= 0 ;
21042 PyObject
* obj6
= 0 ;
21043 char * kwnames
[] = {
21044 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21049 if (!SWIG_IsOK(res1
)) {
21050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
21052 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21053 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21054 if (!SWIG_IsOK(res2
)) {
21055 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21057 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21059 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21060 if (!SWIG_IsOK(ecode3
)) {
21061 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
21063 arg3
= static_cast< int >(val3
);
21068 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21074 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21078 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21079 if (!SWIG_IsOK(ecode6
)) {
21080 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
21082 arg6
= static_cast< long >(val6
);
21086 arg7
= wxString_in_helper(obj6
);
21087 if (arg7
== NULL
) SWIG_fail
;
21092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21093 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21094 wxPyEndAllowThreads(__tstate
);
21095 if (PyErr_Occurred()) SWIG_fail
;
21098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21114 SWIGINTERN PyObject
*_wrap_Listbook_GetListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21115 PyObject
*resultobj
= 0;
21116 wxListbook
*arg1
= (wxListbook
*) 0 ;
21117 wxListView
*result
= 0 ;
21120 PyObject
*swig_obj
[1] ;
21122 if (!args
) SWIG_fail
;
21123 swig_obj
[0] = args
;
21124 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21125 if (!SWIG_IsOK(res1
)) {
21126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
21128 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21131 result
= (wxListView
*)(arg1
)->GetListView();
21132 wxPyEndAllowThreads(__tstate
);
21133 if (PyErr_Occurred()) SWIG_fail
;
21135 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, 0 | 0 );
21142 SWIGINTERN PyObject
*Listbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21144 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21145 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook
, SWIG_NewClientData(obj
));
21146 return SWIG_Py_Void();
21149 SWIGINTERN PyObject
*Listbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21150 return SWIG_Python_InitShadowInstance(args
);
21153 SWIGINTERN PyObject
*_wrap_new_ListbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21154 PyObject
*resultobj
= 0;
21155 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21156 int arg2
= (int) 0 ;
21157 int arg3
= (int) -1 ;
21158 int arg4
= (int) -1 ;
21159 wxListbookEvent
*result
= 0 ;
21168 PyObject
* obj0
= 0 ;
21169 PyObject
* obj1
= 0 ;
21170 PyObject
* obj2
= 0 ;
21171 PyObject
* obj3
= 0 ;
21172 char * kwnames
[] = {
21173 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21178 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21179 if (!SWIG_IsOK(ecode1
)) {
21180 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21182 arg1
= static_cast< wxEventType
>(val1
);
21185 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21186 if (!SWIG_IsOK(ecode2
)) {
21187 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
21189 arg2
= static_cast< int >(val2
);
21192 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21193 if (!SWIG_IsOK(ecode3
)) {
21194 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
21196 arg3
= static_cast< int >(val3
);
21199 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21200 if (!SWIG_IsOK(ecode4
)) {
21201 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
21203 arg4
= static_cast< int >(val4
);
21206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21207 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
21208 wxPyEndAllowThreads(__tstate
);
21209 if (PyErr_Occurred()) SWIG_fail
;
21211 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbookEvent
, SWIG_POINTER_NEW
| 0 );
21218 SWIGINTERN PyObject
*ListbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21220 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21221 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent
, SWIG_NewClientData(obj
));
21222 return SWIG_Py_Void();
21225 SWIGINTERN PyObject
*ListbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21226 return SWIG_Python_InitShadowInstance(args
);
21229 SWIGINTERN PyObject
*_wrap_new_Choicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21230 PyObject
*resultobj
= 0;
21231 wxWindow
*arg1
= (wxWindow
*) 0 ;
21233 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21234 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21235 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21236 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21237 long arg5
= (long) 0 ;
21238 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21239 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21240 wxChoicebook
*result
= 0 ;
21249 bool temp6
= false ;
21250 PyObject
* obj0
= 0 ;
21251 PyObject
* obj1
= 0 ;
21252 PyObject
* obj2
= 0 ;
21253 PyObject
* obj3
= 0 ;
21254 PyObject
* obj4
= 0 ;
21255 PyObject
* obj5
= 0 ;
21256 char * kwnames
[] = {
21257 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21262 if (!SWIG_IsOK(res1
)) {
21263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21265 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21266 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21267 if (!SWIG_IsOK(ecode2
)) {
21268 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
21270 arg2
= static_cast< int >(val2
);
21274 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21280 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21284 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21285 if (!SWIG_IsOK(ecode5
)) {
21286 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
21288 arg5
= static_cast< long >(val5
);
21292 arg6
= wxString_in_helper(obj5
);
21293 if (arg6
== NULL
) SWIG_fail
;
21298 if (!wxPyCheckForApp()) SWIG_fail
;
21299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21300 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21301 wxPyEndAllowThreads(__tstate
);
21302 if (PyErr_Occurred()) SWIG_fail
;
21304 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_NEW
| 0 );
21319 SWIGINTERN PyObject
*_wrap_new_PreChoicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21320 PyObject
*resultobj
= 0;
21321 wxChoicebook
*result
= 0 ;
21323 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoicebook",0,0,0)) SWIG_fail
;
21325 if (!wxPyCheckForApp()) SWIG_fail
;
21326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21327 result
= (wxChoicebook
*)new wxChoicebook();
21328 wxPyEndAllowThreads(__tstate
);
21329 if (PyErr_Occurred()) SWIG_fail
;
21331 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_OWN
| 0 );
21338 SWIGINTERN PyObject
*_wrap_Choicebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21339 PyObject
*resultobj
= 0;
21340 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21341 wxWindow
*arg2
= (wxWindow
*) 0 ;
21343 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21344 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21345 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21346 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21347 long arg6
= (long) 0 ;
21348 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21349 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21361 bool temp7
= false ;
21362 PyObject
* obj0
= 0 ;
21363 PyObject
* obj1
= 0 ;
21364 PyObject
* obj2
= 0 ;
21365 PyObject
* obj3
= 0 ;
21366 PyObject
* obj4
= 0 ;
21367 PyObject
* obj5
= 0 ;
21368 PyObject
* obj6
= 0 ;
21369 char * kwnames
[] = {
21370 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21375 if (!SWIG_IsOK(res1
)) {
21376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
21378 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21379 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21380 if (!SWIG_IsOK(res2
)) {
21381 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21383 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21384 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21385 if (!SWIG_IsOK(ecode3
)) {
21386 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
21388 arg3
= static_cast< int >(val3
);
21392 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21398 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21402 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21403 if (!SWIG_IsOK(ecode6
)) {
21404 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21406 arg6
= static_cast< long >(val6
);
21410 arg7
= wxString_in_helper(obj6
);
21411 if (arg7
== NULL
) SWIG_fail
;
21416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21417 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21418 wxPyEndAllowThreads(__tstate
);
21419 if (PyErr_Occurred()) SWIG_fail
;
21422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21438 SWIGINTERN PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21439 PyObject
*resultobj
= 0;
21440 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21441 wxChoice
*result
= 0 ;
21444 PyObject
*swig_obj
[1] ;
21446 if (!args
) SWIG_fail
;
21447 swig_obj
[0] = args
;
21448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21449 if (!SWIG_IsOK(res1
)) {
21450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21452 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21455 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
21456 wxPyEndAllowThreads(__tstate
);
21457 if (PyErr_Occurred()) SWIG_fail
;
21459 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, 0 | 0 );
21466 SWIGINTERN PyObject
*Choicebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21468 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21469 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook
, SWIG_NewClientData(obj
));
21470 return SWIG_Py_Void();
21473 SWIGINTERN PyObject
*Choicebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21474 return SWIG_Python_InitShadowInstance(args
);
21477 SWIGINTERN PyObject
*_wrap_new_ChoicebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21478 PyObject
*resultobj
= 0;
21479 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21480 int arg2
= (int) 0 ;
21481 int arg3
= (int) -1 ;
21482 int arg4
= (int) -1 ;
21483 wxChoicebookEvent
*result
= 0 ;
21492 PyObject
* obj0
= 0 ;
21493 PyObject
* obj1
= 0 ;
21494 PyObject
* obj2
= 0 ;
21495 PyObject
* obj3
= 0 ;
21496 char * kwnames
[] = {
21497 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21502 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21503 if (!SWIG_IsOK(ecode1
)) {
21504 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21506 arg1
= static_cast< wxEventType
>(val1
);
21509 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21510 if (!SWIG_IsOK(ecode2
)) {
21511 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
21513 arg2
= static_cast< int >(val2
);
21516 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21517 if (!SWIG_IsOK(ecode3
)) {
21518 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
21520 arg3
= static_cast< int >(val3
);
21523 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21524 if (!SWIG_IsOK(ecode4
)) {
21525 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
21527 arg4
= static_cast< int >(val4
);
21530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21531 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
21532 wxPyEndAllowThreads(__tstate
);
21533 if (PyErr_Occurred()) SWIG_fail
;
21535 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebookEvent
, SWIG_POINTER_NEW
| 0 );
21542 SWIGINTERN PyObject
*ChoicebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21544 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21545 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent
, SWIG_NewClientData(obj
));
21546 return SWIG_Py_Void();
21549 SWIGINTERN PyObject
*ChoicebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21550 return SWIG_Python_InitShadowInstance(args
);
21553 SWIGINTERN PyObject
*_wrap_new_Treebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21554 PyObject
*resultobj
= 0;
21555 wxWindow
*arg1
= (wxWindow
*) 0 ;
21557 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21558 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21559 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21560 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21561 long arg5
= (long) wxBK_DEFAULT
;
21562 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21563 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21564 wxTreebook
*result
= 0 ;
21573 bool temp6
= false ;
21574 PyObject
* obj0
= 0 ;
21575 PyObject
* obj1
= 0 ;
21576 PyObject
* obj2
= 0 ;
21577 PyObject
* obj3
= 0 ;
21578 PyObject
* obj4
= 0 ;
21579 PyObject
* obj5
= 0 ;
21580 char * kwnames
[] = {
21581 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Treebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21586 if (!SWIG_IsOK(res1
)) {
21587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21589 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21590 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21591 if (!SWIG_IsOK(ecode2
)) {
21592 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
21594 arg2
= static_cast< int >(val2
);
21598 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21604 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21608 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21609 if (!SWIG_IsOK(ecode5
)) {
21610 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
21612 arg5
= static_cast< long >(val5
);
21616 arg6
= wxString_in_helper(obj5
);
21617 if (arg6
== NULL
) SWIG_fail
;
21622 if (!wxPyCheckForApp()) SWIG_fail
;
21623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21624 result
= (wxTreebook
*)new wxTreebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21625 wxPyEndAllowThreads(__tstate
);
21626 if (PyErr_Occurred()) SWIG_fail
;
21628 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_NEW
| 0 );
21643 SWIGINTERN PyObject
*_wrap_new_PreTreebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21644 PyObject
*resultobj
= 0;
21645 wxTreebook
*result
= 0 ;
21647 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreebook",0,0,0)) SWIG_fail
;
21649 if (!wxPyCheckForApp()) SWIG_fail
;
21650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21651 result
= (wxTreebook
*)new wxTreebook();
21652 wxPyEndAllowThreads(__tstate
);
21653 if (PyErr_Occurred()) SWIG_fail
;
21655 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_OWN
| 0 );
21662 SWIGINTERN PyObject
*_wrap_Treebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21663 PyObject
*resultobj
= 0;
21664 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21665 wxWindow
*arg2
= (wxWindow
*) 0 ;
21667 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21668 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21669 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21670 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21671 long arg6
= (long) wxBK_DEFAULT
;
21672 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21673 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21685 bool temp7
= false ;
21686 PyObject
* obj0
= 0 ;
21687 PyObject
* obj1
= 0 ;
21688 PyObject
* obj2
= 0 ;
21689 PyObject
* obj3
= 0 ;
21690 PyObject
* obj4
= 0 ;
21691 PyObject
* obj5
= 0 ;
21692 PyObject
* obj6
= 0 ;
21693 char * kwnames
[] = {
21694 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Treebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21699 if (!SWIG_IsOK(res1
)) {
21700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
21702 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21703 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21704 if (!SWIG_IsOK(res2
)) {
21705 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21707 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21708 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21709 if (!SWIG_IsOK(ecode3
)) {
21710 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
21712 arg3
= static_cast< int >(val3
);
21716 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21722 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21726 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21727 if (!SWIG_IsOK(ecode6
)) {
21728 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
21730 arg6
= static_cast< long >(val6
);
21734 arg7
= wxString_in_helper(obj6
);
21735 if (arg7
== NULL
) SWIG_fail
;
21740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21741 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21742 wxPyEndAllowThreads(__tstate
);
21743 if (PyErr_Occurred()) SWIG_fail
;
21746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21762 SWIGINTERN PyObject
*_wrap_Treebook_InsertSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21763 PyObject
*resultobj
= 0;
21764 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21766 wxWindow
*arg3
= (wxWindow
*) 0 ;
21767 wxString
*arg4
= 0 ;
21768 bool arg5
= (bool) false ;
21769 int arg6
= (int) wxNOT_FOUND
;
21777 bool temp4
= false ;
21782 PyObject
* obj0
= 0 ;
21783 PyObject
* obj1
= 0 ;
21784 PyObject
* obj2
= 0 ;
21785 PyObject
* obj3
= 0 ;
21786 PyObject
* obj4
= 0 ;
21787 PyObject
* obj5
= 0 ;
21788 char * kwnames
[] = {
21789 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21794 if (!SWIG_IsOK(res1
)) {
21795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
21797 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21798 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21799 if (!SWIG_IsOK(ecode2
)) {
21800 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
21802 arg2
= static_cast< size_t >(val2
);
21803 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21804 if (!SWIG_IsOK(res3
)) {
21805 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
21807 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
21809 arg4
= wxString_in_helper(obj3
);
21810 if (arg4
== NULL
) SWIG_fail
;
21814 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
21815 if (!SWIG_IsOK(ecode5
)) {
21816 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
21818 arg5
= static_cast< bool >(val5
);
21821 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21822 if (!SWIG_IsOK(ecode6
)) {
21823 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
21825 arg6
= static_cast< int >(val6
);
21828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21829 result
= (bool)(arg1
)->InsertSubPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
21830 wxPyEndAllowThreads(__tstate
);
21831 if (PyErr_Occurred()) SWIG_fail
;
21834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21850 SWIGINTERN PyObject
*_wrap_Treebook_AddSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21851 PyObject
*resultobj
= 0;
21852 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21853 wxWindow
*arg2
= (wxWindow
*) 0 ;
21854 wxString
*arg3
= 0 ;
21855 bool arg4
= (bool) false ;
21856 int arg5
= (int) wxNOT_FOUND
;
21862 bool temp3
= false ;
21867 PyObject
* obj0
= 0 ;
21868 PyObject
* obj1
= 0 ;
21869 PyObject
* obj2
= 0 ;
21870 PyObject
* obj3
= 0 ;
21871 PyObject
* obj4
= 0 ;
21872 char * kwnames
[] = {
21873 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Treebook_AddSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21878 if (!SWIG_IsOK(res1
)) {
21879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
21881 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21882 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21883 if (!SWIG_IsOK(res2
)) {
21884 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
21886 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21888 arg3
= wxString_in_helper(obj2
);
21889 if (arg3
== NULL
) SWIG_fail
;
21893 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
21894 if (!SWIG_IsOK(ecode4
)) {
21895 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
21897 arg4
= static_cast< bool >(val4
);
21900 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21901 if (!SWIG_IsOK(ecode5
)) {
21902 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
21904 arg5
= static_cast< int >(val5
);
21907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21908 result
= (bool)(arg1
)->AddSubPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
21909 wxPyEndAllowThreads(__tstate
);
21910 if (PyErr_Occurred()) SWIG_fail
;
21913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21929 SWIGINTERN PyObject
*_wrap_Treebook_IsNodeExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21930 PyObject
*resultobj
= 0;
21931 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21938 PyObject
* obj0
= 0 ;
21939 PyObject
* obj1
= 0 ;
21940 char * kwnames
[] = {
21941 (char *) "self",(char *) "pos", NULL
21944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_IsNodeExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21946 if (!SWIG_IsOK(res1
)) {
21947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
21949 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21950 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21951 if (!SWIG_IsOK(ecode2
)) {
21952 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
21954 arg2
= static_cast< size_t >(val2
);
21956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21957 result
= (bool)((wxTreebook
const *)arg1
)->IsNodeExpanded(arg2
);
21958 wxPyEndAllowThreads(__tstate
);
21959 if (PyErr_Occurred()) SWIG_fail
;
21962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21970 SWIGINTERN PyObject
*_wrap_Treebook_ExpandNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21971 PyObject
*resultobj
= 0;
21972 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21974 bool arg3
= (bool) true ;
21982 PyObject
* obj0
= 0 ;
21983 PyObject
* obj1
= 0 ;
21984 PyObject
* obj2
= 0 ;
21985 char * kwnames
[] = {
21986 (char *) "self",(char *) "pos",(char *) "expand", NULL
21989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Treebook_ExpandNode",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21991 if (!SWIG_IsOK(res1
)) {
21992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
21994 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21995 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21996 if (!SWIG_IsOK(ecode2
)) {
21997 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
21999 arg2
= static_cast< size_t >(val2
);
22001 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22002 if (!SWIG_IsOK(ecode3
)) {
22003 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
22005 arg3
= static_cast< bool >(val3
);
22008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22009 result
= (bool)(arg1
)->ExpandNode(arg2
,arg3
);
22010 wxPyEndAllowThreads(__tstate
);
22011 if (PyErr_Occurred()) SWIG_fail
;
22014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22022 SWIGINTERN PyObject
*_wrap_Treebook_CollapseNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22023 PyObject
*resultobj
= 0;
22024 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22031 PyObject
* obj0
= 0 ;
22032 PyObject
* obj1
= 0 ;
22033 char * kwnames
[] = {
22034 (char *) "self",(char *) "pos", NULL
22037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_CollapseNode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22039 if (!SWIG_IsOK(res1
)) {
22040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22042 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22043 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22044 if (!SWIG_IsOK(ecode2
)) {
22045 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
22047 arg2
= static_cast< size_t >(val2
);
22049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22050 result
= (bool)(arg1
)->CollapseNode(arg2
);
22051 wxPyEndAllowThreads(__tstate
);
22052 if (PyErr_Occurred()) SWIG_fail
;
22055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22063 SWIGINTERN PyObject
*_wrap_Treebook_GetPageParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22064 PyObject
*resultobj
= 0;
22065 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22072 PyObject
* obj0
= 0 ;
22073 PyObject
* obj1
= 0 ;
22074 char * kwnames
[] = {
22075 (char *) "self",(char *) "pos", NULL
22078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_GetPageParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22080 if (!SWIG_IsOK(res1
)) {
22081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22083 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22084 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22085 if (!SWIG_IsOK(ecode2
)) {
22086 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
22088 arg2
= static_cast< size_t >(val2
);
22090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22091 result
= (int)((wxTreebook
const *)arg1
)->GetPageParent(arg2
);
22092 wxPyEndAllowThreads(__tstate
);
22093 if (PyErr_Occurred()) SWIG_fail
;
22095 resultobj
= SWIG_From_int(static_cast< int >(result
));
22102 SWIGINTERN PyObject
*_wrap_Treebook_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22103 PyObject
*resultobj
= 0;
22104 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22105 wxPyTreeCtrl
*result
= 0 ;
22108 PyObject
*swig_obj
[1] ;
22110 if (!args
) SWIG_fail
;
22111 swig_obj
[0] = args
;
22112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22113 if (!SWIG_IsOK(res1
)) {
22114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22116 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22119 result
= (wxPyTreeCtrl
*)((wxTreebook
const *)arg1
)->GetTreeCtrl();
22120 wxPyEndAllowThreads(__tstate
);
22121 if (PyErr_Occurred()) SWIG_fail
;
22124 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22132 SWIGINTERN PyObject
*Treebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22134 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22135 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook
, SWIG_NewClientData(obj
));
22136 return SWIG_Py_Void();
22139 SWIGINTERN PyObject
*Treebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22140 return SWIG_Python_InitShadowInstance(args
);
22143 SWIGINTERN PyObject
*_wrap_new_TreebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22144 PyObject
*resultobj
= 0;
22145 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22146 int arg2
= (int) 0 ;
22147 int arg3
= (int) wxNOT_FOUND
;
22148 int arg4
= (int) wxNOT_FOUND
;
22149 wxTreebookEvent
*result
= 0 ;
22158 PyObject
* obj0
= 0 ;
22159 PyObject
* obj1
= 0 ;
22160 PyObject
* obj2
= 0 ;
22161 PyObject
* obj3
= 0 ;
22162 char * kwnames
[] = {
22163 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TreebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22168 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22169 if (!SWIG_IsOK(ecode1
)) {
22170 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22172 arg1
= static_cast< wxEventType
>(val1
);
22175 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22176 if (!SWIG_IsOK(ecode2
)) {
22177 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
22179 arg2
= static_cast< int >(val2
);
22182 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22183 if (!SWIG_IsOK(ecode3
)) {
22184 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
22186 arg3
= static_cast< int >(val3
);
22189 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22190 if (!SWIG_IsOK(ecode4
)) {
22191 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
22193 arg4
= static_cast< int >(val4
);
22196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22197 result
= (wxTreebookEvent
*)new wxTreebookEvent(arg1
,arg2
,arg3
,arg4
);
22198 wxPyEndAllowThreads(__tstate
);
22199 if (PyErr_Occurred()) SWIG_fail
;
22201 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebookEvent
, SWIG_POINTER_NEW
| 0 );
22208 SWIGINTERN PyObject
*TreebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22210 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22211 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent
, SWIG_NewClientData(obj
));
22212 return SWIG_Py_Void();
22215 SWIGINTERN PyObject
*TreebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22216 return SWIG_Python_InitShadowInstance(args
);
22219 SWIGINTERN PyObject
*_wrap_new_Toolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22220 PyObject
*resultobj
= 0;
22221 wxWindow
*arg1
= (wxWindow
*) 0 ;
22223 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22224 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22225 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22226 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22227 long arg5
= (long) wxBK_DEFAULT
;
22228 wxString
const &arg6_defvalue
= wxPyEmptyString
;
22229 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22230 wxToolbook
*result
= 0 ;
22239 bool temp6
= false ;
22240 PyObject
* obj0
= 0 ;
22241 PyObject
* obj1
= 0 ;
22242 PyObject
* obj2
= 0 ;
22243 PyObject
* obj3
= 0 ;
22244 PyObject
* obj4
= 0 ;
22245 PyObject
* obj5
= 0 ;
22246 char * kwnames
[] = {
22247 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Toolbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22252 if (!SWIG_IsOK(res1
)) {
22253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
22255 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22256 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22257 if (!SWIG_IsOK(ecode2
)) {
22258 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
22260 arg2
= static_cast< int >(val2
);
22264 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22270 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22274 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22275 if (!SWIG_IsOK(ecode5
)) {
22276 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
22278 arg5
= static_cast< long >(val5
);
22282 arg6
= wxString_in_helper(obj5
);
22283 if (arg6
== NULL
) SWIG_fail
;
22288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22289 result
= (wxToolbook
*)new wxToolbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22290 wxPyEndAllowThreads(__tstate
);
22291 if (PyErr_Occurred()) SWIG_fail
;
22293 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_NEW
| 0 );
22308 SWIGINTERN PyObject
*_wrap_new_PreToolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22309 PyObject
*resultobj
= 0;
22310 wxToolbook
*result
= 0 ;
22312 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolbook",0,0,0)) SWIG_fail
;
22314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22315 result
= (wxToolbook
*)new wxToolbook();
22316 wxPyEndAllowThreads(__tstate
);
22317 if (PyErr_Occurred()) SWIG_fail
;
22319 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_OWN
| 0 );
22326 SWIGINTERN PyObject
*_wrap_Toolbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22327 PyObject
*resultobj
= 0;
22328 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22329 wxWindow
*arg2
= (wxWindow
*) 0 ;
22331 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22332 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22333 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22334 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22335 long arg6
= (long) 0 ;
22336 wxString
const &arg7_defvalue
= wxEmptyString
;
22337 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22349 bool temp7
= false ;
22350 PyObject
* obj0
= 0 ;
22351 PyObject
* obj1
= 0 ;
22352 PyObject
* obj2
= 0 ;
22353 PyObject
* obj3
= 0 ;
22354 PyObject
* obj4
= 0 ;
22355 PyObject
* obj5
= 0 ;
22356 PyObject
* obj6
= 0 ;
22357 char * kwnames
[] = {
22358 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Toolbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22362 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22363 if (!SWIG_IsOK(res1
)) {
22364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
22366 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22367 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22368 if (!SWIG_IsOK(res2
)) {
22369 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22371 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22372 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22373 if (!SWIG_IsOK(ecode3
)) {
22374 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
22376 arg3
= static_cast< int >(val3
);
22380 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22386 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22390 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22391 if (!SWIG_IsOK(ecode6
)) {
22392 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
22394 arg6
= static_cast< long >(val6
);
22398 arg7
= wxString_in_helper(obj6
);
22399 if (arg7
== NULL
) SWIG_fail
;
22404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22405 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22406 wxPyEndAllowThreads(__tstate
);
22407 if (PyErr_Occurred()) SWIG_fail
;
22410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22426 SWIGINTERN PyObject
*_wrap_Toolbook_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22427 PyObject
*resultobj
= 0;
22428 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22429 wxToolBarBase
*result
= 0 ;
22432 PyObject
*swig_obj
[1] ;
22434 if (!args
) SWIG_fail
;
22435 swig_obj
[0] = args
;
22436 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22437 if (!SWIG_IsOK(res1
)) {
22438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22440 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22443 result
= (wxToolBarBase
*)((wxToolbook
const *)arg1
)->GetToolBar();
22444 wxPyEndAllowThreads(__tstate
);
22445 if (PyErr_Occurred()) SWIG_fail
;
22448 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22456 SWIGINTERN PyObject
*_wrap_Toolbook_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22457 PyObject
*resultobj
= 0;
22458 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22461 PyObject
*swig_obj
[1] ;
22463 if (!args
) SWIG_fail
;
22464 swig_obj
[0] = args
;
22465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22466 if (!SWIG_IsOK(res1
)) {
22467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22469 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22473 wxPyEndAllowThreads(__tstate
);
22474 if (PyErr_Occurred()) SWIG_fail
;
22476 resultobj
= SWIG_Py_Void();
22483 SWIGINTERN PyObject
*Toolbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22485 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22486 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook
, SWIG_NewClientData(obj
));
22487 return SWIG_Py_Void();
22490 SWIGINTERN PyObject
*Toolbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22491 return SWIG_Python_InitShadowInstance(args
);
22494 SWIGINTERN PyObject
*_wrap_new_ToolbookEvent(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 wxToolbookEvent
*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_ToolbookEvent",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_ToolbookEvent" "', 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_ToolbookEvent" "', 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_ToolbookEvent" "', 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_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22544 arg4
= static_cast< int >(val4
);
22547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22548 result
= (wxToolbookEvent
*)new wxToolbookEvent(arg1
,arg2
,arg3
,arg4
);
22549 wxPyEndAllowThreads(__tstate
);
22550 if (PyErr_Occurred()) SWIG_fail
;
22552 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbookEvent
, SWIG_POINTER_NEW
| 0 );
22559 SWIGINTERN PyObject
*ToolbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22561 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22562 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent
, SWIG_NewClientData(obj
));
22563 return SWIG_Py_Void();
22566 SWIGINTERN PyObject
*ToolbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22567 return SWIG_Python_InitShadowInstance(args
);
22570 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22571 PyObject
*resultobj
= 0;
22572 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22576 PyObject
*swig_obj
[1] ;
22578 if (!args
) SWIG_fail
;
22579 swig_obj
[0] = args
;
22580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22581 if (!SWIG_IsOK(res1
)) {
22582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22584 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22587 result
= (int)(arg1
)->GetId();
22588 wxPyEndAllowThreads(__tstate
);
22589 if (PyErr_Occurred()) SWIG_fail
;
22591 resultobj
= SWIG_From_int(static_cast< int >(result
));
22598 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22599 PyObject
*resultobj
= 0;
22600 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22601 wxControl
*result
= 0 ;
22604 PyObject
*swig_obj
[1] ;
22606 if (!args
) SWIG_fail
;
22607 swig_obj
[0] = args
;
22608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22609 if (!SWIG_IsOK(res1
)) {
22610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22612 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22615 result
= (wxControl
*)(arg1
)->GetControl();
22616 wxPyEndAllowThreads(__tstate
);
22617 if (PyErr_Occurred()) SWIG_fail
;
22620 resultobj
= wxPyMake_wxObject(result
, 0);
22628 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22629 PyObject
*resultobj
= 0;
22630 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22631 wxToolBarBase
*result
= 0 ;
22634 PyObject
*swig_obj
[1] ;
22636 if (!args
) SWIG_fail
;
22637 swig_obj
[0] = args
;
22638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22639 if (!SWIG_IsOK(res1
)) {
22640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22642 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22645 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
22646 wxPyEndAllowThreads(__tstate
);
22647 if (PyErr_Occurred()) SWIG_fail
;
22650 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22658 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22659 PyObject
*resultobj
= 0;
22660 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22664 PyObject
*swig_obj
[1] ;
22666 if (!args
) SWIG_fail
;
22667 swig_obj
[0] = args
;
22668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22669 if (!SWIG_IsOK(res1
)) {
22670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22672 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22675 result
= (int)(arg1
)->IsButton();
22676 wxPyEndAllowThreads(__tstate
);
22677 if (PyErr_Occurred()) SWIG_fail
;
22679 resultobj
= SWIG_From_int(static_cast< int >(result
));
22686 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22687 PyObject
*resultobj
= 0;
22688 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22692 PyObject
*swig_obj
[1] ;
22694 if (!args
) SWIG_fail
;
22695 swig_obj
[0] = args
;
22696 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22697 if (!SWIG_IsOK(res1
)) {
22698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22700 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22703 result
= (int)(arg1
)->IsControl();
22704 wxPyEndAllowThreads(__tstate
);
22705 if (PyErr_Occurred()) SWIG_fail
;
22707 resultobj
= SWIG_From_int(static_cast< int >(result
));
22714 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22715 PyObject
*resultobj
= 0;
22716 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22720 PyObject
*swig_obj
[1] ;
22722 if (!args
) SWIG_fail
;
22723 swig_obj
[0] = args
;
22724 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22725 if (!SWIG_IsOK(res1
)) {
22726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22728 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22731 result
= (int)(arg1
)->IsSeparator();
22732 wxPyEndAllowThreads(__tstate
);
22733 if (PyErr_Occurred()) SWIG_fail
;
22735 resultobj
= SWIG_From_int(static_cast< int >(result
));
22742 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22743 PyObject
*resultobj
= 0;
22744 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22748 PyObject
*swig_obj
[1] ;
22750 if (!args
) SWIG_fail
;
22751 swig_obj
[0] = args
;
22752 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22753 if (!SWIG_IsOK(res1
)) {
22754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22756 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22759 result
= (int)(arg1
)->GetStyle();
22760 wxPyEndAllowThreads(__tstate
);
22761 if (PyErr_Occurred()) SWIG_fail
;
22763 resultobj
= SWIG_From_int(static_cast< int >(result
));
22770 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22771 PyObject
*resultobj
= 0;
22772 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22776 PyObject
*swig_obj
[1] ;
22778 if (!args
) SWIG_fail
;
22779 swig_obj
[0] = args
;
22780 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22781 if (!SWIG_IsOK(res1
)) {
22782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22784 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22787 result
= (wxItemKind
)(arg1
)->GetKind();
22788 wxPyEndAllowThreads(__tstate
);
22789 if (PyErr_Occurred()) SWIG_fail
;
22791 resultobj
= SWIG_From_int(static_cast< int >(result
));
22798 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22799 PyObject
*resultobj
= 0;
22800 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22804 PyObject
*swig_obj
[1] ;
22806 if (!args
) SWIG_fail
;
22807 swig_obj
[0] = args
;
22808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22809 if (!SWIG_IsOK(res1
)) {
22810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22812 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22815 result
= (bool)(arg1
)->IsEnabled();
22816 wxPyEndAllowThreads(__tstate
);
22817 if (PyErr_Occurred()) SWIG_fail
;
22820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22828 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22829 PyObject
*resultobj
= 0;
22830 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22834 PyObject
*swig_obj
[1] ;
22836 if (!args
) SWIG_fail
;
22837 swig_obj
[0] = args
;
22838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22839 if (!SWIG_IsOK(res1
)) {
22840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22842 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22845 result
= (bool)(arg1
)->IsToggled();
22846 wxPyEndAllowThreads(__tstate
);
22847 if (PyErr_Occurred()) SWIG_fail
;
22850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22858 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22859 PyObject
*resultobj
= 0;
22860 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22864 PyObject
*swig_obj
[1] ;
22866 if (!args
) SWIG_fail
;
22867 swig_obj
[0] = args
;
22868 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22869 if (!SWIG_IsOK(res1
)) {
22870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22872 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22875 result
= (bool)(arg1
)->CanBeToggled();
22876 wxPyEndAllowThreads(__tstate
);
22877 if (PyErr_Occurred()) SWIG_fail
;
22880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22888 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22889 PyObject
*resultobj
= 0;
22890 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22891 wxBitmap
*result
= 0 ;
22894 PyObject
*swig_obj
[1] ;
22896 if (!args
) SWIG_fail
;
22897 swig_obj
[0] = args
;
22898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22899 if (!SWIG_IsOK(res1
)) {
22900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22902 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22906 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
22907 result
= (wxBitmap
*) &_result_ref
;
22909 wxPyEndAllowThreads(__tstate
);
22910 if (PyErr_Occurred()) SWIG_fail
;
22913 wxBitmap
* resultptr
= new wxBitmap(*result
);
22914 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
22922 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22923 PyObject
*resultobj
= 0;
22924 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22925 wxBitmap
*result
= 0 ;
22928 PyObject
*swig_obj
[1] ;
22930 if (!args
) SWIG_fail
;
22931 swig_obj
[0] = args
;
22932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22933 if (!SWIG_IsOK(res1
)) {
22934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22936 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22940 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
22941 result
= (wxBitmap
*) &_result_ref
;
22943 wxPyEndAllowThreads(__tstate
);
22944 if (PyErr_Occurred()) SWIG_fail
;
22947 wxBitmap
* resultptr
= new wxBitmap(*result
);
22948 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
22956 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22957 PyObject
*resultobj
= 0;
22958 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22962 PyObject
*swig_obj
[1] ;
22964 if (!args
) SWIG_fail
;
22965 swig_obj
[0] = args
;
22966 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22967 if (!SWIG_IsOK(res1
)) {
22968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22970 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22973 result
= (arg1
)->GetBitmap();
22974 wxPyEndAllowThreads(__tstate
);
22975 if (PyErr_Occurred()) SWIG_fail
;
22977 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
22984 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22985 PyObject
*resultobj
= 0;
22986 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22990 PyObject
*swig_obj
[1] ;
22992 if (!args
) SWIG_fail
;
22993 swig_obj
[0] = args
;
22994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22995 if (!SWIG_IsOK(res1
)) {
22996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22998 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23001 result
= (arg1
)->GetLabel();
23002 wxPyEndAllowThreads(__tstate
);
23003 if (PyErr_Occurred()) SWIG_fail
;
23007 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23009 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23018 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23019 PyObject
*resultobj
= 0;
23020 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23024 PyObject
*swig_obj
[1] ;
23026 if (!args
) SWIG_fail
;
23027 swig_obj
[0] = args
;
23028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23029 if (!SWIG_IsOK(res1
)) {
23030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23032 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23035 result
= (arg1
)->GetShortHelp();
23036 wxPyEndAllowThreads(__tstate
);
23037 if (PyErr_Occurred()) SWIG_fail
;
23041 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23043 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23052 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23053 PyObject
*resultobj
= 0;
23054 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23058 PyObject
*swig_obj
[1] ;
23060 if (!args
) SWIG_fail
;
23061 swig_obj
[0] = args
;
23062 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23063 if (!SWIG_IsOK(res1
)) {
23064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23066 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23069 result
= (arg1
)->GetLongHelp();
23070 wxPyEndAllowThreads(__tstate
);
23071 if (PyErr_Occurred()) SWIG_fail
;
23075 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23077 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23086 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23087 PyObject
*resultobj
= 0;
23088 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23095 PyObject
* obj0
= 0 ;
23096 PyObject
* obj1
= 0 ;
23097 char * kwnames
[] = {
23098 (char *) "self",(char *) "enable", NULL
23101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23103 if (!SWIG_IsOK(res1
)) {
23104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23106 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23107 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23108 if (!SWIG_IsOK(ecode2
)) {
23109 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
23111 arg2
= static_cast< bool >(val2
);
23113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23114 result
= (bool)(arg1
)->Enable(arg2
);
23115 wxPyEndAllowThreads(__tstate
);
23116 if (PyErr_Occurred()) SWIG_fail
;
23119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23127 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23128 PyObject
*resultobj
= 0;
23129 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23132 PyObject
*swig_obj
[1] ;
23134 if (!args
) SWIG_fail
;
23135 swig_obj
[0] = args
;
23136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23137 if (!SWIG_IsOK(res1
)) {
23138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23140 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23144 wxPyEndAllowThreads(__tstate
);
23145 if (PyErr_Occurred()) SWIG_fail
;
23147 resultobj
= SWIG_Py_Void();
23154 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23155 PyObject
*resultobj
= 0;
23156 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23163 PyObject
* obj0
= 0 ;
23164 PyObject
* obj1
= 0 ;
23165 char * kwnames
[] = {
23166 (char *) "self",(char *) "toggle", NULL
23169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23171 if (!SWIG_IsOK(res1
)) {
23172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23174 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23175 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23176 if (!SWIG_IsOK(ecode2
)) {
23177 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
23179 arg2
= static_cast< bool >(val2
);
23181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23182 result
= (bool)(arg1
)->SetToggle(arg2
);
23183 wxPyEndAllowThreads(__tstate
);
23184 if (PyErr_Occurred()) SWIG_fail
;
23187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23195 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23196 PyObject
*resultobj
= 0;
23197 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23198 wxString
*arg2
= 0 ;
23202 bool temp2
= false ;
23203 PyObject
* obj0
= 0 ;
23204 PyObject
* obj1
= 0 ;
23205 char * kwnames
[] = {
23206 (char *) "self",(char *) "help", NULL
23209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23211 if (!SWIG_IsOK(res1
)) {
23212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23214 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23216 arg2
= wxString_in_helper(obj1
);
23217 if (arg2
== NULL
) SWIG_fail
;
23221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23222 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
23223 wxPyEndAllowThreads(__tstate
);
23224 if (PyErr_Occurred()) SWIG_fail
;
23227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23243 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23244 PyObject
*resultobj
= 0;
23245 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23246 wxString
*arg2
= 0 ;
23250 bool temp2
= false ;
23251 PyObject
* obj0
= 0 ;
23252 PyObject
* obj1
= 0 ;
23253 char * kwnames
[] = {
23254 (char *) "self",(char *) "help", NULL
23257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23259 if (!SWIG_IsOK(res1
)) {
23260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23262 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23264 arg2
= wxString_in_helper(obj1
);
23265 if (arg2
== NULL
) SWIG_fail
;
23269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23270 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
23271 wxPyEndAllowThreads(__tstate
);
23272 if (PyErr_Occurred()) SWIG_fail
;
23275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23291 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23292 PyObject
*resultobj
= 0;
23293 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23294 wxBitmap
*arg2
= 0 ;
23299 PyObject
* obj0
= 0 ;
23300 PyObject
* obj1
= 0 ;
23301 char * kwnames
[] = {
23302 (char *) "self",(char *) "bmp", NULL
23305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23307 if (!SWIG_IsOK(res1
)) {
23308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23310 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23311 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23312 if (!SWIG_IsOK(res2
)) {
23313 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23316 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23318 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23321 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
23322 wxPyEndAllowThreads(__tstate
);
23323 if (PyErr_Occurred()) SWIG_fail
;
23325 resultobj
= SWIG_Py_Void();
23332 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23333 PyObject
*resultobj
= 0;
23334 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23335 wxBitmap
*arg2
= 0 ;
23340 PyObject
* obj0
= 0 ;
23341 PyObject
* obj1
= 0 ;
23342 char * kwnames
[] = {
23343 (char *) "self",(char *) "bmp", NULL
23346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23348 if (!SWIG_IsOK(res1
)) {
23349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23351 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23352 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23353 if (!SWIG_IsOK(res2
)) {
23354 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23357 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23359 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23362 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
23363 wxPyEndAllowThreads(__tstate
);
23364 if (PyErr_Occurred()) SWIG_fail
;
23366 resultobj
= SWIG_Py_Void();
23373 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23374 PyObject
*resultobj
= 0;
23375 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23376 wxString
*arg2
= 0 ;
23379 bool temp2
= false ;
23380 PyObject
* obj0
= 0 ;
23381 PyObject
* obj1
= 0 ;
23382 char * kwnames
[] = {
23383 (char *) "self",(char *) "label", NULL
23386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23388 if (!SWIG_IsOK(res1
)) {
23389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23391 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23393 arg2
= wxString_in_helper(obj1
);
23394 if (arg2
== NULL
) SWIG_fail
;
23398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23399 (arg1
)->SetLabel((wxString
const &)*arg2
);
23400 wxPyEndAllowThreads(__tstate
);
23401 if (PyErr_Occurred()) SWIG_fail
;
23403 resultobj
= SWIG_Py_Void();
23418 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23419 PyObject
*resultobj
= 0;
23420 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23423 PyObject
*swig_obj
[1] ;
23425 if (!args
) SWIG_fail
;
23426 swig_obj
[0] = args
;
23427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23428 if (!SWIG_IsOK(res1
)) {
23429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23431 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23435 wxPyEndAllowThreads(__tstate
);
23436 if (PyErr_Occurred()) SWIG_fail
;
23438 resultobj
= SWIG_Py_Void();
23445 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23446 PyObject
*resultobj
= 0;
23447 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23448 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
23453 PyObject
* obj0
= 0 ;
23454 PyObject
* obj1
= 0 ;
23455 char * kwnames
[] = {
23456 (char *) "self",(char *) "tbar", NULL
23459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23461 if (!SWIG_IsOK(res1
)) {
23462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23464 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23465 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23466 if (!SWIG_IsOK(res2
)) {
23467 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23469 arg2
= reinterpret_cast< wxToolBarBase
* >(argp2
);
23471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23472 (arg1
)->Attach(arg2
);
23473 wxPyEndAllowThreads(__tstate
);
23474 if (PyErr_Occurred()) SWIG_fail
;
23476 resultobj
= SWIG_Py_Void();
23483 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23484 PyObject
*resultobj
= 0;
23485 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23486 PyObject
*result
= 0 ;
23489 PyObject
*swig_obj
[1] ;
23491 if (!args
) SWIG_fail
;
23492 swig_obj
[0] = args
;
23493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23494 if (!SWIG_IsOK(res1
)) {
23495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23497 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23500 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
23501 wxPyEndAllowThreads(__tstate
);
23502 if (PyErr_Occurred()) SWIG_fail
;
23504 resultobj
= result
;
23511 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23512 PyObject
*resultobj
= 0;
23513 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23514 PyObject
*arg2
= (PyObject
*) 0 ;
23517 PyObject
* obj0
= 0 ;
23518 PyObject
* obj1
= 0 ;
23519 char * kwnames
[] = {
23520 (char *) "self",(char *) "clientData", NULL
23523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23525 if (!SWIG_IsOK(res1
)) {
23526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23528 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23532 wxToolBarToolBase_SetClientData(arg1
,arg2
);
23533 wxPyEndAllowThreads(__tstate
);
23534 if (PyErr_Occurred()) SWIG_fail
;
23536 resultobj
= SWIG_Py_Void();
23543 SWIGINTERN PyObject
*ToolBarToolBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23545 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23546 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase
, SWIG_NewClientData(obj
));
23547 return SWIG_Py_Void();
23550 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23551 PyObject
*resultobj
= 0;
23552 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23554 wxString
*arg3
= 0 ;
23555 wxBitmap
*arg4
= 0 ;
23556 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
23557 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
23558 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
23559 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23560 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23561 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23562 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23563 PyObject
*arg9
= (PyObject
*) NULL
;
23564 wxToolBarToolBase
*result
= 0 ;
23569 bool temp3
= false ;
23576 bool temp7
= false ;
23577 bool temp8
= false ;
23578 PyObject
* obj0
= 0 ;
23579 PyObject
* obj1
= 0 ;
23580 PyObject
* obj2
= 0 ;
23581 PyObject
* obj3
= 0 ;
23582 PyObject
* obj4
= 0 ;
23583 PyObject
* obj5
= 0 ;
23584 PyObject
* obj6
= 0 ;
23585 PyObject
* obj7
= 0 ;
23586 PyObject
* obj8
= 0 ;
23587 char * kwnames
[] = {
23588 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
23592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23593 if (!SWIG_IsOK(res1
)) {
23594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23596 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23597 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23598 if (!SWIG_IsOK(ecode2
)) {
23599 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
23601 arg2
= static_cast< int >(val2
);
23603 arg3
= wxString_in_helper(obj2
);
23604 if (arg3
== NULL
) SWIG_fail
;
23607 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23608 if (!SWIG_IsOK(res4
)) {
23609 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23612 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23614 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
23616 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23617 if (!SWIG_IsOK(res5
)) {
23618 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23621 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23623 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23626 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23627 if (!SWIG_IsOK(ecode6
)) {
23628 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
23630 arg6
= static_cast< wxItemKind
>(val6
);
23634 arg7
= wxString_in_helper(obj6
);
23635 if (arg7
== NULL
) SWIG_fail
;
23641 arg8
= wxString_in_helper(obj7
);
23642 if (arg8
== NULL
) SWIG_fail
;
23650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23651 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
23652 wxPyEndAllowThreads(__tstate
);
23653 if (PyErr_Occurred()) SWIG_fail
;
23656 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23688 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23689 PyObject
*resultobj
= 0;
23690 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23693 wxString
*arg4
= 0 ;
23694 wxBitmap
*arg5
= 0 ;
23695 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
23696 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
23697 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
23698 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23699 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23700 wxString
const &arg9_defvalue
= wxPyEmptyString
;
23701 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
23702 PyObject
*arg10
= (PyObject
*) NULL
;
23703 wxToolBarToolBase
*result
= 0 ;
23710 bool temp4
= false ;
23717 bool temp8
= false ;
23718 bool temp9
= false ;
23719 PyObject
* obj0
= 0 ;
23720 PyObject
* obj1
= 0 ;
23721 PyObject
* obj2
= 0 ;
23722 PyObject
* obj3
= 0 ;
23723 PyObject
* obj4
= 0 ;
23724 PyObject
* obj5
= 0 ;
23725 PyObject
* obj6
= 0 ;
23726 PyObject
* obj7
= 0 ;
23727 PyObject
* obj8
= 0 ;
23728 PyObject
* obj9
= 0 ;
23729 char * kwnames
[] = {
23730 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
23734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23735 if (!SWIG_IsOK(res1
)) {
23736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23738 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23739 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23740 if (!SWIG_IsOK(ecode2
)) {
23741 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
23743 arg2
= static_cast< size_t >(val2
);
23744 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23745 if (!SWIG_IsOK(ecode3
)) {
23746 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
23748 arg3
= static_cast< int >(val3
);
23750 arg4
= wxString_in_helper(obj3
);
23751 if (arg4
== NULL
) SWIG_fail
;
23754 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23755 if (!SWIG_IsOK(res5
)) {
23756 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23759 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23761 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23763 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23764 if (!SWIG_IsOK(res6
)) {
23765 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23768 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23770 arg6
= reinterpret_cast< wxBitmap
* >(argp6
);
23773 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
23774 if (!SWIG_IsOK(ecode7
)) {
23775 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
23777 arg7
= static_cast< wxItemKind
>(val7
);
23781 arg8
= wxString_in_helper(obj7
);
23782 if (arg8
== NULL
) SWIG_fail
;
23788 arg9
= wxString_in_helper(obj8
);
23789 if (arg9
== NULL
) SWIG_fail
;
23797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23798 result
= (wxToolBarToolBase
*)wxToolBarBase_DoInsertTool(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxBitmap
const &)*arg6
,arg7
,(wxString
const &)*arg8
,(wxString
const &)*arg9
,arg10
);
23799 wxPyEndAllowThreads(__tstate
);
23800 if (PyErr_Occurred()) SWIG_fail
;
23803 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23835 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23836 PyObject
*resultobj
= 0;
23837 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23838 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
23839 wxToolBarToolBase
*result
= 0 ;
23844 PyObject
* obj0
= 0 ;
23845 PyObject
* obj1
= 0 ;
23846 char * kwnames
[] = {
23847 (char *) "self",(char *) "tool", NULL
23850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23852 if (!SWIG_IsOK(res1
)) {
23853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23855 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23856 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23857 if (!SWIG_IsOK(res2
)) {
23858 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
23860 arg2
= reinterpret_cast< wxToolBarToolBase
* >(argp2
);
23862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23863 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
23864 wxPyEndAllowThreads(__tstate
);
23865 if (PyErr_Occurred()) SWIG_fail
;
23868 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23876 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23877 PyObject
*resultobj
= 0;
23878 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23880 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
23881 wxToolBarToolBase
*result
= 0 ;
23888 PyObject
* obj0
= 0 ;
23889 PyObject
* obj1
= 0 ;
23890 PyObject
* obj2
= 0 ;
23891 char * kwnames
[] = {
23892 (char *) "self",(char *) "pos",(char *) "tool", NULL
23895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23897 if (!SWIG_IsOK(res1
)) {
23898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23900 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23901 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23902 if (!SWIG_IsOK(ecode2
)) {
23903 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
23905 arg2
= static_cast< size_t >(val2
);
23906 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23907 if (!SWIG_IsOK(res3
)) {
23908 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
23910 arg3
= reinterpret_cast< wxToolBarToolBase
* >(argp3
);
23912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23913 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
23914 wxPyEndAllowThreads(__tstate
);
23915 if (PyErr_Occurred()) SWIG_fail
;
23918 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23926 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23927 PyObject
*resultobj
= 0;
23928 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23929 wxControl
*arg2
= (wxControl
*) 0 ;
23930 wxToolBarToolBase
*result
= 0 ;
23935 PyObject
* obj0
= 0 ;
23936 PyObject
* obj1
= 0 ;
23937 char * kwnames
[] = {
23938 (char *) "self",(char *) "control", NULL
23941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23943 if (!SWIG_IsOK(res1
)) {
23944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23946 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23947 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 | 0 );
23948 if (!SWIG_IsOK(res2
)) {
23949 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
23951 arg2
= reinterpret_cast< wxControl
* >(argp2
);
23953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23954 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
23955 wxPyEndAllowThreads(__tstate
);
23956 if (PyErr_Occurred()) SWIG_fail
;
23959 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23967 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23968 PyObject
*resultobj
= 0;
23969 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23971 wxControl
*arg3
= (wxControl
*) 0 ;
23972 wxToolBarToolBase
*result
= 0 ;
23979 PyObject
* obj0
= 0 ;
23980 PyObject
* obj1
= 0 ;
23981 PyObject
* obj2
= 0 ;
23982 char * kwnames
[] = {
23983 (char *) "self",(char *) "pos",(char *) "control", NULL
23986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23988 if (!SWIG_IsOK(res1
)) {
23989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23991 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23992 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23993 if (!SWIG_IsOK(ecode2
)) {
23994 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
23996 arg2
= static_cast< size_t >(val2
);
23997 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxControl
, 0 | 0 );
23998 if (!SWIG_IsOK(res3
)) {
23999 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
24001 arg3
= reinterpret_cast< wxControl
* >(argp3
);
24003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24004 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
24005 wxPyEndAllowThreads(__tstate
);
24006 if (PyErr_Occurred()) SWIG_fail
;
24009 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24017 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24018 PyObject
*resultobj
= 0;
24019 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24021 wxControl
*result
= 0 ;
24026 PyObject
* obj0
= 0 ;
24027 PyObject
* obj1
= 0 ;
24028 char * kwnames
[] = {
24029 (char *) "self",(char *) "id", NULL
24032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24034 if (!SWIG_IsOK(res1
)) {
24035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24037 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24038 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24039 if (!SWIG_IsOK(ecode2
)) {
24040 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
24042 arg2
= static_cast< int >(val2
);
24044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24045 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
24046 wxPyEndAllowThreads(__tstate
);
24047 if (PyErr_Occurred()) SWIG_fail
;
24050 resultobj
= wxPyMake_wxObject(result
, 0);
24058 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24059 PyObject
*resultobj
= 0;
24060 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24061 wxToolBarToolBase
*result
= 0 ;
24064 PyObject
*swig_obj
[1] ;
24066 if (!args
) SWIG_fail
;
24067 swig_obj
[0] = args
;
24068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24069 if (!SWIG_IsOK(res1
)) {
24070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24072 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24075 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
24076 wxPyEndAllowThreads(__tstate
);
24077 if (PyErr_Occurred()) SWIG_fail
;
24080 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24088 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24089 PyObject
*resultobj
= 0;
24090 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24092 wxToolBarToolBase
*result
= 0 ;
24097 PyObject
* obj0
= 0 ;
24098 PyObject
* obj1
= 0 ;
24099 char * kwnames
[] = {
24100 (char *) "self",(char *) "pos", NULL
24103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24105 if (!SWIG_IsOK(res1
)) {
24106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24108 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24109 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24110 if (!SWIG_IsOK(ecode2
)) {
24111 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
24113 arg2
= static_cast< size_t >(val2
);
24115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24116 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
24117 wxPyEndAllowThreads(__tstate
);
24118 if (PyErr_Occurred()) SWIG_fail
;
24121 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24129 SWIGINTERN PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24130 PyObject
*resultobj
= 0;
24131 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24133 wxToolBarToolBase
*result
= 0 ;
24138 PyObject
* obj0
= 0 ;
24139 PyObject
* obj1
= 0 ;
24140 char * kwnames
[] = {
24141 (char *) "self",(char *) "id", NULL
24144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24146 if (!SWIG_IsOK(res1
)) {
24147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24149 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24150 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24151 if (!SWIG_IsOK(ecode2
)) {
24152 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
24154 arg2
= static_cast< int >(val2
);
24156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24157 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
24158 wxPyEndAllowThreads(__tstate
);
24159 if (PyErr_Occurred()) SWIG_fail
;
24162 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24170 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24171 PyObject
*resultobj
= 0;
24172 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24179 PyObject
* obj0
= 0 ;
24180 PyObject
* obj1
= 0 ;
24181 char * kwnames
[] = {
24182 (char *) "self",(char *) "pos", NULL
24185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24187 if (!SWIG_IsOK(res1
)) {
24188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24190 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24191 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24192 if (!SWIG_IsOK(ecode2
)) {
24193 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
24195 arg2
= static_cast< size_t >(val2
);
24197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24198 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
24199 wxPyEndAllowThreads(__tstate
);
24200 if (PyErr_Occurred()) SWIG_fail
;
24203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24211 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24212 PyObject
*resultobj
= 0;
24213 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24220 PyObject
* obj0
= 0 ;
24221 PyObject
* obj1
= 0 ;
24222 char * kwnames
[] = {
24223 (char *) "self",(char *) "id", NULL
24226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24228 if (!SWIG_IsOK(res1
)) {
24229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24231 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24232 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24233 if (!SWIG_IsOK(ecode2
)) {
24234 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
24236 arg2
= static_cast< int >(val2
);
24238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24239 result
= (bool)(arg1
)->DeleteTool(arg2
);
24240 wxPyEndAllowThreads(__tstate
);
24241 if (PyErr_Occurred()) SWIG_fail
;
24244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24252 SWIGINTERN PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24253 PyObject
*resultobj
= 0;
24254 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24257 PyObject
*swig_obj
[1] ;
24259 if (!args
) SWIG_fail
;
24260 swig_obj
[0] = args
;
24261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24262 if (!SWIG_IsOK(res1
)) {
24263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24265 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24268 (arg1
)->ClearTools();
24269 wxPyEndAllowThreads(__tstate
);
24270 if (PyErr_Occurred()) SWIG_fail
;
24272 resultobj
= SWIG_Py_Void();
24279 SWIGINTERN PyObject
*_wrap_ToolBarBase_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24280 PyObject
*resultobj
= 0;
24281 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24285 PyObject
*swig_obj
[1] ;
24287 if (!args
) SWIG_fail
;
24288 swig_obj
[0] = args
;
24289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24290 if (!SWIG_IsOK(res1
)) {
24291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24293 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24296 result
= (bool)(arg1
)->Realize();
24297 wxPyEndAllowThreads(__tstate
);
24298 if (PyErr_Occurred()) SWIG_fail
;
24301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24309 SWIGINTERN PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24310 PyObject
*resultobj
= 0;
24311 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24320 PyObject
* obj0
= 0 ;
24321 PyObject
* obj1
= 0 ;
24322 PyObject
* obj2
= 0 ;
24323 char * kwnames
[] = {
24324 (char *) "self",(char *) "id",(char *) "enable", NULL
24327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24329 if (!SWIG_IsOK(res1
)) {
24330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24332 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24333 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24334 if (!SWIG_IsOK(ecode2
)) {
24335 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
24337 arg2
= static_cast< int >(val2
);
24338 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24339 if (!SWIG_IsOK(ecode3
)) {
24340 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
24342 arg3
= static_cast< bool >(val3
);
24344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24345 (arg1
)->EnableTool(arg2
,arg3
);
24346 wxPyEndAllowThreads(__tstate
);
24347 if (PyErr_Occurred()) SWIG_fail
;
24349 resultobj
= SWIG_Py_Void();
24356 SWIGINTERN PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24357 PyObject
*resultobj
= 0;
24358 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24367 PyObject
* obj0
= 0 ;
24368 PyObject
* obj1
= 0 ;
24369 PyObject
* obj2
= 0 ;
24370 char * kwnames
[] = {
24371 (char *) "self",(char *) "id",(char *) "toggle", NULL
24374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24376 if (!SWIG_IsOK(res1
)) {
24377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24379 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24380 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24381 if (!SWIG_IsOK(ecode2
)) {
24382 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
24384 arg2
= static_cast< int >(val2
);
24385 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24386 if (!SWIG_IsOK(ecode3
)) {
24387 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
24389 arg3
= static_cast< bool >(val3
);
24391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24392 (arg1
)->ToggleTool(arg2
,arg3
);
24393 wxPyEndAllowThreads(__tstate
);
24394 if (PyErr_Occurred()) SWIG_fail
;
24396 resultobj
= SWIG_Py_Void();
24403 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24404 PyObject
*resultobj
= 0;
24405 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24414 PyObject
* obj0
= 0 ;
24415 PyObject
* obj1
= 0 ;
24416 PyObject
* obj2
= 0 ;
24417 char * kwnames
[] = {
24418 (char *) "self",(char *) "id",(char *) "toggle", NULL
24421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24423 if (!SWIG_IsOK(res1
)) {
24424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24426 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24427 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24428 if (!SWIG_IsOK(ecode2
)) {
24429 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
24431 arg2
= static_cast< int >(val2
);
24432 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24433 if (!SWIG_IsOK(ecode3
)) {
24434 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
24436 arg3
= static_cast< bool >(val3
);
24438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24439 (arg1
)->SetToggle(arg2
,arg3
);
24440 wxPyEndAllowThreads(__tstate
);
24441 if (PyErr_Occurred()) SWIG_fail
;
24443 resultobj
= SWIG_Py_Void();
24450 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24451 PyObject
*resultobj
= 0;
24452 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24454 PyObject
*result
= 0 ;
24459 PyObject
* obj0
= 0 ;
24460 PyObject
* obj1
= 0 ;
24461 char * kwnames
[] = {
24462 (char *) "self",(char *) "id", NULL
24465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24467 if (!SWIG_IsOK(res1
)) {
24468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24470 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24471 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24472 if (!SWIG_IsOK(ecode2
)) {
24473 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
24475 arg2
= static_cast< int >(val2
);
24477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24478 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
24479 wxPyEndAllowThreads(__tstate
);
24480 if (PyErr_Occurred()) SWIG_fail
;
24482 resultobj
= result
;
24489 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24490 PyObject
*resultobj
= 0;
24491 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24493 PyObject
*arg3
= (PyObject
*) 0 ;
24498 PyObject
* obj0
= 0 ;
24499 PyObject
* obj1
= 0 ;
24500 PyObject
* obj2
= 0 ;
24501 char * kwnames
[] = {
24502 (char *) "self",(char *) "id",(char *) "clientData", NULL
24505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24507 if (!SWIG_IsOK(res1
)) {
24508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24510 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24511 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24512 if (!SWIG_IsOK(ecode2
)) {
24513 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
24515 arg2
= static_cast< int >(val2
);
24518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24519 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
24520 wxPyEndAllowThreads(__tstate
);
24521 if (PyErr_Occurred()) SWIG_fail
;
24523 resultobj
= SWIG_Py_Void();
24530 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24531 PyObject
*resultobj
= 0;
24532 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24539 PyObject
* obj0
= 0 ;
24540 PyObject
* obj1
= 0 ;
24541 char * kwnames
[] = {
24542 (char *) "self",(char *) "id", NULL
24545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24547 if (!SWIG_IsOK(res1
)) {
24548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24550 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24551 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24552 if (!SWIG_IsOK(ecode2
)) {
24553 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
24555 arg2
= static_cast< int >(val2
);
24557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24558 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
24559 wxPyEndAllowThreads(__tstate
);
24560 if (PyErr_Occurred()) SWIG_fail
;
24562 resultobj
= SWIG_From_int(static_cast< int >(result
));
24569 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24570 PyObject
*resultobj
= 0;
24571 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24578 PyObject
* obj0
= 0 ;
24579 PyObject
* obj1
= 0 ;
24580 char * kwnames
[] = {
24581 (char *) "self",(char *) "id", NULL
24584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24586 if (!SWIG_IsOK(res1
)) {
24587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24589 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24590 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24591 if (!SWIG_IsOK(ecode2
)) {
24592 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
24594 arg2
= static_cast< int >(val2
);
24596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24597 result
= (bool)(arg1
)->GetToolState(arg2
);
24598 wxPyEndAllowThreads(__tstate
);
24599 if (PyErr_Occurred()) SWIG_fail
;
24602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24610 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24611 PyObject
*resultobj
= 0;
24612 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24619 PyObject
* obj0
= 0 ;
24620 PyObject
* obj1
= 0 ;
24621 char * kwnames
[] = {
24622 (char *) "self",(char *) "id", NULL
24625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24627 if (!SWIG_IsOK(res1
)) {
24628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24630 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24631 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24632 if (!SWIG_IsOK(ecode2
)) {
24633 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
24635 arg2
= static_cast< int >(val2
);
24637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24638 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
24639 wxPyEndAllowThreads(__tstate
);
24640 if (PyErr_Occurred()) SWIG_fail
;
24643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24651 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24652 PyObject
*resultobj
= 0;
24653 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24655 wxString
*arg3
= 0 ;
24660 bool temp3
= false ;
24661 PyObject
* obj0
= 0 ;
24662 PyObject
* obj1
= 0 ;
24663 PyObject
* obj2
= 0 ;
24664 char * kwnames
[] = {
24665 (char *) "self",(char *) "id",(char *) "helpString", NULL
24668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24670 if (!SWIG_IsOK(res1
)) {
24671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24673 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24674 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24675 if (!SWIG_IsOK(ecode2
)) {
24676 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24678 arg2
= static_cast< int >(val2
);
24680 arg3
= wxString_in_helper(obj2
);
24681 if (arg3
== NULL
) SWIG_fail
;
24685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24686 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
24687 wxPyEndAllowThreads(__tstate
);
24688 if (PyErr_Occurred()) SWIG_fail
;
24690 resultobj
= SWIG_Py_Void();
24705 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24706 PyObject
*resultobj
= 0;
24707 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24714 PyObject
* obj0
= 0 ;
24715 PyObject
* obj1
= 0 ;
24716 char * kwnames
[] = {
24717 (char *) "self",(char *) "id", NULL
24720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24722 if (!SWIG_IsOK(res1
)) {
24723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24725 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24726 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24727 if (!SWIG_IsOK(ecode2
)) {
24728 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24730 arg2
= static_cast< int >(val2
);
24732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24733 result
= (arg1
)->GetToolShortHelp(arg2
);
24734 wxPyEndAllowThreads(__tstate
);
24735 if (PyErr_Occurred()) SWIG_fail
;
24739 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24741 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24750 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24751 PyObject
*resultobj
= 0;
24752 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24754 wxString
*arg3
= 0 ;
24759 bool temp3
= false ;
24760 PyObject
* obj0
= 0 ;
24761 PyObject
* obj1
= 0 ;
24762 PyObject
* obj2
= 0 ;
24763 char * kwnames
[] = {
24764 (char *) "self",(char *) "id",(char *) "helpString", NULL
24767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24769 if (!SWIG_IsOK(res1
)) {
24770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24772 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24773 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24774 if (!SWIG_IsOK(ecode2
)) {
24775 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24777 arg2
= static_cast< int >(val2
);
24779 arg3
= wxString_in_helper(obj2
);
24780 if (arg3
== NULL
) SWIG_fail
;
24784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24785 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
24786 wxPyEndAllowThreads(__tstate
);
24787 if (PyErr_Occurred()) SWIG_fail
;
24789 resultobj
= SWIG_Py_Void();
24804 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24805 PyObject
*resultobj
= 0;
24806 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24813 PyObject
* obj0
= 0 ;
24814 PyObject
* obj1
= 0 ;
24815 char * kwnames
[] = {
24816 (char *) "self",(char *) "id", NULL
24819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24821 if (!SWIG_IsOK(res1
)) {
24822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24824 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24825 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24826 if (!SWIG_IsOK(ecode2
)) {
24827 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24829 arg2
= static_cast< int >(val2
);
24831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24832 result
= (arg1
)->GetToolLongHelp(arg2
);
24833 wxPyEndAllowThreads(__tstate
);
24834 if (PyErr_Occurred()) SWIG_fail
;
24838 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24840 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24849 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24850 PyObject
*resultobj
= 0;
24851 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24860 PyObject
* obj0
= 0 ;
24861 PyObject
* obj1
= 0 ;
24862 PyObject
* obj2
= 0 ;
24863 char * kwnames
[] = {
24864 (char *) "self",(char *) "x",(char *) "y", NULL
24867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24869 if (!SWIG_IsOK(res1
)) {
24870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24872 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24873 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24874 if (!SWIG_IsOK(ecode2
)) {
24875 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
24877 arg2
= static_cast< int >(val2
);
24878 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24879 if (!SWIG_IsOK(ecode3
)) {
24880 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
24882 arg3
= static_cast< int >(val3
);
24884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24885 (arg1
)->SetMargins(arg2
,arg3
);
24886 wxPyEndAllowThreads(__tstate
);
24887 if (PyErr_Occurred()) SWIG_fail
;
24889 resultobj
= SWIG_Py_Void();
24896 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24897 PyObject
*resultobj
= 0;
24898 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24903 PyObject
* obj0
= 0 ;
24904 PyObject
* obj1
= 0 ;
24905 char * kwnames
[] = {
24906 (char *) "self",(char *) "size", NULL
24909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24911 if (!SWIG_IsOK(res1
)) {
24912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24914 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24917 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24921 (arg1
)->SetMargins((wxSize
const &)*arg2
);
24922 wxPyEndAllowThreads(__tstate
);
24923 if (PyErr_Occurred()) SWIG_fail
;
24925 resultobj
= SWIG_Py_Void();
24932 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24933 PyObject
*resultobj
= 0;
24934 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24940 PyObject
* obj0
= 0 ;
24941 PyObject
* obj1
= 0 ;
24942 char * kwnames
[] = {
24943 (char *) "self",(char *) "packing", NULL
24946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24948 if (!SWIG_IsOK(res1
)) {
24949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24951 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24952 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24953 if (!SWIG_IsOK(ecode2
)) {
24954 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
24956 arg2
= static_cast< int >(val2
);
24958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24959 (arg1
)->SetToolPacking(arg2
);
24960 wxPyEndAllowThreads(__tstate
);
24961 if (PyErr_Occurred()) SWIG_fail
;
24963 resultobj
= SWIG_Py_Void();
24970 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24971 PyObject
*resultobj
= 0;
24972 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24978 PyObject
* obj0
= 0 ;
24979 PyObject
* obj1
= 0 ;
24980 char * kwnames
[] = {
24981 (char *) "self",(char *) "separation", NULL
24984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24986 if (!SWIG_IsOK(res1
)) {
24987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24989 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24990 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24991 if (!SWIG_IsOK(ecode2
)) {
24992 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
24994 arg2
= static_cast< int >(val2
);
24996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24997 (arg1
)->SetToolSeparation(arg2
);
24998 wxPyEndAllowThreads(__tstate
);
24999 if (PyErr_Occurred()) SWIG_fail
;
25001 resultobj
= SWIG_Py_Void();
25008 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25009 PyObject
*resultobj
= 0;
25010 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25014 PyObject
*swig_obj
[1] ;
25016 if (!args
) SWIG_fail
;
25017 swig_obj
[0] = args
;
25018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25019 if (!SWIG_IsOK(res1
)) {
25020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25022 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25025 result
= (arg1
)->GetToolMargins();
25026 wxPyEndAllowThreads(__tstate
);
25027 if (PyErr_Occurred()) SWIG_fail
;
25029 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25036 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25037 PyObject
*resultobj
= 0;
25038 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25042 PyObject
*swig_obj
[1] ;
25044 if (!args
) SWIG_fail
;
25045 swig_obj
[0] = args
;
25046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25047 if (!SWIG_IsOK(res1
)) {
25048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25050 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25053 result
= (arg1
)->GetMargins();
25054 wxPyEndAllowThreads(__tstate
);
25055 if (PyErr_Occurred()) SWIG_fail
;
25057 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25064 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25065 PyObject
*resultobj
= 0;
25066 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25070 PyObject
*swig_obj
[1] ;
25072 if (!args
) SWIG_fail
;
25073 swig_obj
[0] = args
;
25074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25075 if (!SWIG_IsOK(res1
)) {
25076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25078 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25081 result
= (int)(arg1
)->GetToolPacking();
25082 wxPyEndAllowThreads(__tstate
);
25083 if (PyErr_Occurred()) SWIG_fail
;
25085 resultobj
= SWIG_From_int(static_cast< int >(result
));
25092 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25093 PyObject
*resultobj
= 0;
25094 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25098 PyObject
*swig_obj
[1] ;
25100 if (!args
) SWIG_fail
;
25101 swig_obj
[0] = args
;
25102 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25103 if (!SWIG_IsOK(res1
)) {
25104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25106 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25109 result
= (int)(arg1
)->GetToolSeparation();
25110 wxPyEndAllowThreads(__tstate
);
25111 if (PyErr_Occurred()) SWIG_fail
;
25113 resultobj
= SWIG_From_int(static_cast< int >(result
));
25120 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25121 PyObject
*resultobj
= 0;
25122 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25128 PyObject
* obj0
= 0 ;
25129 PyObject
* obj1
= 0 ;
25130 char * kwnames
[] = {
25131 (char *) "self",(char *) "nRows", NULL
25134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25136 if (!SWIG_IsOK(res1
)) {
25137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25139 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25140 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25141 if (!SWIG_IsOK(ecode2
)) {
25142 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
25144 arg2
= static_cast< int >(val2
);
25146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25147 (arg1
)->SetRows(arg2
);
25148 wxPyEndAllowThreads(__tstate
);
25149 if (PyErr_Occurred()) SWIG_fail
;
25151 resultobj
= SWIG_Py_Void();
25158 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25159 PyObject
*resultobj
= 0;
25160 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25169 PyObject
* obj0
= 0 ;
25170 PyObject
* obj1
= 0 ;
25171 PyObject
* obj2
= 0 ;
25172 char * kwnames
[] = {
25173 (char *) "self",(char *) "rows",(char *) "cols", NULL
25176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25177 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25178 if (!SWIG_IsOK(res1
)) {
25179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25181 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25182 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25183 if (!SWIG_IsOK(ecode2
)) {
25184 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
25186 arg2
= static_cast< int >(val2
);
25187 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25188 if (!SWIG_IsOK(ecode3
)) {
25189 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
25191 arg3
= static_cast< int >(val3
);
25193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25194 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
25195 wxPyEndAllowThreads(__tstate
);
25196 if (PyErr_Occurred()) SWIG_fail
;
25198 resultobj
= SWIG_Py_Void();
25205 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25206 PyObject
*resultobj
= 0;
25207 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25211 PyObject
*swig_obj
[1] ;
25213 if (!args
) SWIG_fail
;
25214 swig_obj
[0] = args
;
25215 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25216 if (!SWIG_IsOK(res1
)) {
25217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25219 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25222 result
= (int)(arg1
)->GetMaxRows();
25223 wxPyEndAllowThreads(__tstate
);
25224 if (PyErr_Occurred()) SWIG_fail
;
25226 resultobj
= SWIG_From_int(static_cast< int >(result
));
25233 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25234 PyObject
*resultobj
= 0;
25235 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25239 PyObject
*swig_obj
[1] ;
25241 if (!args
) SWIG_fail
;
25242 swig_obj
[0] = args
;
25243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25244 if (!SWIG_IsOK(res1
)) {
25245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25247 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25250 result
= (int)(arg1
)->GetMaxCols();
25251 wxPyEndAllowThreads(__tstate
);
25252 if (PyErr_Occurred()) SWIG_fail
;
25254 resultobj
= SWIG_From_int(static_cast< int >(result
));
25261 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25262 PyObject
*resultobj
= 0;
25263 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25268 PyObject
* obj0
= 0 ;
25269 PyObject
* obj1
= 0 ;
25270 char * kwnames
[] = {
25271 (char *) "self",(char *) "size", NULL
25274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25276 if (!SWIG_IsOK(res1
)) {
25277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25279 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25282 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25286 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
25287 wxPyEndAllowThreads(__tstate
);
25288 if (PyErr_Occurred()) SWIG_fail
;
25290 resultobj
= SWIG_Py_Void();
25297 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25298 PyObject
*resultobj
= 0;
25299 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25303 PyObject
*swig_obj
[1] ;
25305 if (!args
) SWIG_fail
;
25306 swig_obj
[0] = args
;
25307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25308 if (!SWIG_IsOK(res1
)) {
25309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25311 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25314 result
= (arg1
)->GetToolBitmapSize();
25315 wxPyEndAllowThreads(__tstate
);
25316 if (PyErr_Occurred()) SWIG_fail
;
25318 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25325 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25326 PyObject
*resultobj
= 0;
25327 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25331 PyObject
*swig_obj
[1] ;
25333 if (!args
) SWIG_fail
;
25334 swig_obj
[0] = args
;
25335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25336 if (!SWIG_IsOK(res1
)) {
25337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25339 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25342 result
= (arg1
)->GetToolSize();
25343 wxPyEndAllowThreads(__tstate
);
25344 if (PyErr_Occurred()) SWIG_fail
;
25346 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25353 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25354 PyObject
*resultobj
= 0;
25355 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25358 wxToolBarToolBase
*result
= 0 ;
25365 PyObject
* obj0
= 0 ;
25366 PyObject
* obj1
= 0 ;
25367 PyObject
* obj2
= 0 ;
25368 char * kwnames
[] = {
25369 (char *) "self",(char *) "x",(char *) "y", NULL
25372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25374 if (!SWIG_IsOK(res1
)) {
25375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25377 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25378 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25379 if (!SWIG_IsOK(ecode2
)) {
25380 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25382 arg2
= static_cast< int >(val2
);
25383 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25384 if (!SWIG_IsOK(ecode3
)) {
25385 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25387 arg3
= static_cast< int >(val3
);
25389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25390 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
25391 wxPyEndAllowThreads(__tstate
);
25392 if (PyErr_Occurred()) SWIG_fail
;
25395 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25403 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25404 PyObject
*resultobj
= 0;
25405 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25407 wxToolBarToolBase
*result
= 0 ;
25412 PyObject
* obj0
= 0 ;
25413 PyObject
* obj1
= 0 ;
25414 char * kwnames
[] = {
25415 (char *) "self",(char *) "toolid", NULL
25418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25420 if (!SWIG_IsOK(res1
)) {
25421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25423 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25424 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25425 if (!SWIG_IsOK(ecode2
)) {
25426 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
25428 arg2
= static_cast< int >(val2
);
25430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25431 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
25432 wxPyEndAllowThreads(__tstate
);
25433 if (PyErr_Occurred()) SWIG_fail
;
25436 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25444 SWIGINTERN PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25445 PyObject
*resultobj
= 0;
25446 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25450 PyObject
*swig_obj
[1] ;
25452 if (!args
) SWIG_fail
;
25453 swig_obj
[0] = args
;
25454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25455 if (!SWIG_IsOK(res1
)) {
25456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25458 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25461 result
= (bool)(arg1
)->IsVertical();
25462 wxPyEndAllowThreads(__tstate
);
25463 if (PyErr_Occurred()) SWIG_fail
;
25466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25474 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25475 PyObject
*resultobj
= 0;
25476 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25480 PyObject
*swig_obj
[1] ;
25482 if (!args
) SWIG_fail
;
25483 swig_obj
[0] = args
;
25484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25485 if (!SWIG_IsOK(res1
)) {
25486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25488 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25491 result
= (size_t)((wxToolBarBase
const *)arg1
)->GetToolsCount();
25492 wxPyEndAllowThreads(__tstate
);
25493 if (PyErr_Occurred()) SWIG_fail
;
25495 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
25502 SWIGINTERN PyObject
*ToolBarBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25504 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25505 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase
, SWIG_NewClientData(obj
));
25506 return SWIG_Py_Void();
25509 SWIGINTERN PyObject
*_wrap_new_ToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25510 PyObject
*resultobj
= 0;
25511 wxWindow
*arg1
= (wxWindow
*) 0 ;
25512 int arg2
= (int) -1 ;
25513 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25514 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25515 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25516 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25517 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25518 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
25519 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25520 wxToolBar
*result
= 0 ;
25529 bool temp6
= false ;
25530 PyObject
* obj0
= 0 ;
25531 PyObject
* obj1
= 0 ;
25532 PyObject
* obj2
= 0 ;
25533 PyObject
* obj3
= 0 ;
25534 PyObject
* obj4
= 0 ;
25535 PyObject
* obj5
= 0 ;
25536 char * kwnames
[] = {
25537 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25542 if (!SWIG_IsOK(res1
)) {
25543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
25545 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25547 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25548 if (!SWIG_IsOK(ecode2
)) {
25549 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
25551 arg2
= static_cast< int >(val2
);
25556 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25562 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25566 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
25567 if (!SWIG_IsOK(ecode5
)) {
25568 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
25570 arg5
= static_cast< long >(val5
);
25574 arg6
= wxString_in_helper(obj5
);
25575 if (arg6
== NULL
) SWIG_fail
;
25580 if (!wxPyCheckForApp()) SWIG_fail
;
25581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25582 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25583 wxPyEndAllowThreads(__tstate
);
25584 if (PyErr_Occurred()) SWIG_fail
;
25586 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_NEW
| 0 );
25601 SWIGINTERN PyObject
*_wrap_new_PreToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25602 PyObject
*resultobj
= 0;
25603 wxToolBar
*result
= 0 ;
25605 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolBar",0,0,0)) SWIG_fail
;
25607 if (!wxPyCheckForApp()) SWIG_fail
;
25608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25609 result
= (wxToolBar
*)new wxToolBar();
25610 wxPyEndAllowThreads(__tstate
);
25611 if (PyErr_Occurred()) SWIG_fail
;
25613 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_OWN
| 0 );
25620 SWIGINTERN PyObject
*_wrap_ToolBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25621 PyObject
*resultobj
= 0;
25622 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
25623 wxWindow
*arg2
= (wxWindow
*) 0 ;
25624 int arg3
= (int) -1 ;
25625 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25626 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25627 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25628 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25629 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25630 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
25631 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25643 bool temp7
= false ;
25644 PyObject
* obj0
= 0 ;
25645 PyObject
* obj1
= 0 ;
25646 PyObject
* obj2
= 0 ;
25647 PyObject
* obj3
= 0 ;
25648 PyObject
* obj4
= 0 ;
25649 PyObject
* obj5
= 0 ;
25650 PyObject
* obj6
= 0 ;
25651 char * kwnames
[] = {
25652 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
25657 if (!SWIG_IsOK(res1
)) {
25658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
25660 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
25661 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25662 if (!SWIG_IsOK(res2
)) {
25663 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
25665 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25667 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25668 if (!SWIG_IsOK(ecode3
)) {
25669 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
25671 arg3
= static_cast< int >(val3
);
25676 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25682 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25686 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
25687 if (!SWIG_IsOK(ecode6
)) {
25688 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
25690 arg6
= static_cast< long >(val6
);
25694 arg7
= wxString_in_helper(obj6
);
25695 if (arg7
== NULL
) SWIG_fail
;
25700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25701 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25702 wxPyEndAllowThreads(__tstate
);
25703 if (PyErr_Occurred()) SWIG_fail
;
25706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25722 SWIGINTERN PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25723 PyObject
*resultobj
= 0;
25724 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
25725 SwigValueWrapper
<wxVisualAttributes
> result
;
25728 PyObject
* obj0
= 0 ;
25729 char * kwnames
[] = {
25730 (char *) "variant", NULL
25733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
25735 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25736 if (!SWIG_IsOK(ecode1
)) {
25737 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
25739 arg1
= static_cast< wxWindowVariant
>(val1
);
25742 if (!wxPyCheckForApp()) SWIG_fail
;
25743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25744 result
= wxToolBar::GetClassDefaultAttributes(arg1
);
25745 wxPyEndAllowThreads(__tstate
);
25746 if (PyErr_Occurred()) SWIG_fail
;
25748 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
25755 SWIGINTERN PyObject
*ToolBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25757 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25758 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar
, SWIG_NewClientData(obj
));
25759 return SWIG_Py_Void();
25762 SWIGINTERN PyObject
*ToolBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25763 return SWIG_Python_InitShadowInstance(args
);
25766 SWIGINTERN
int ListCtrlNameStr_set(PyObject
*) {
25767 SWIG_Error(SWIG_AttributeError
,"Variable ListCtrlNameStr is read-only.");
25772 SWIGINTERN PyObject
*ListCtrlNameStr_get(void) {
25773 PyObject
*pyobj
= 0;
25777 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
25779 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
25786 SWIGINTERN PyObject
*_wrap_new_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25787 PyObject
*resultobj
= 0;
25788 wxColour
const &arg1_defvalue
= wxNullColour
;
25789 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
25790 wxColour
const &arg2_defvalue
= wxNullColour
;
25791 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
25792 wxFont
const &arg3_defvalue
= wxNullFont
;
25793 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
25794 wxListItemAttr
*result
= 0 ;
25799 PyObject
* obj0
= 0 ;
25800 PyObject
* obj1
= 0 ;
25801 PyObject
* obj2
= 0 ;
25802 char * kwnames
[] = {
25803 (char *) "colText",(char *) "colBack",(char *) "font", NULL
25806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25810 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
25816 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25820 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
25821 if (!SWIG_IsOK(res3
)) {
25822 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
25825 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
25827 arg3
= reinterpret_cast< wxFont
* >(argp3
);
25830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25831 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
25832 wxPyEndAllowThreads(__tstate
);
25833 if (PyErr_Occurred()) SWIG_fail
;
25835 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_NEW
| 0 );
25842 SWIGINTERN PyObject
*_wrap_delete_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25843 PyObject
*resultobj
= 0;
25844 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25847 PyObject
*swig_obj
[1] ;
25849 if (!args
) SWIG_fail
;
25850 swig_obj
[0] = args
;
25851 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_DISOWN
| 0 );
25852 if (!SWIG_IsOK(res1
)) {
25853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25855 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25860 wxPyEndAllowThreads(__tstate
);
25861 if (PyErr_Occurred()) SWIG_fail
;
25863 resultobj
= SWIG_Py_Void();
25870 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25871 PyObject
*resultobj
= 0;
25872 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25873 wxColour
*arg2
= 0 ;
25877 PyObject
* obj0
= 0 ;
25878 PyObject
* obj1
= 0 ;
25879 char * kwnames
[] = {
25880 (char *) "self",(char *) "colText", NULL
25883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25885 if (!SWIG_IsOK(res1
)) {
25886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25888 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25891 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25895 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
25896 wxPyEndAllowThreads(__tstate
);
25897 if (PyErr_Occurred()) SWIG_fail
;
25899 resultobj
= SWIG_Py_Void();
25906 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25907 PyObject
*resultobj
= 0;
25908 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25909 wxColour
*arg2
= 0 ;
25913 PyObject
* obj0
= 0 ;
25914 PyObject
* obj1
= 0 ;
25915 char * kwnames
[] = {
25916 (char *) "self",(char *) "colBack", NULL
25919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25921 if (!SWIG_IsOK(res1
)) {
25922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25924 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25927 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25931 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
25932 wxPyEndAllowThreads(__tstate
);
25933 if (PyErr_Occurred()) SWIG_fail
;
25935 resultobj
= SWIG_Py_Void();
25942 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25943 PyObject
*resultobj
= 0;
25944 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25950 PyObject
* obj0
= 0 ;
25951 PyObject
* obj1
= 0 ;
25952 char * kwnames
[] = {
25953 (char *) "self",(char *) "font", NULL
25956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25958 if (!SWIG_IsOK(res1
)) {
25959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25961 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25962 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
25963 if (!SWIG_IsOK(res2
)) {
25964 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25967 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25969 arg2
= reinterpret_cast< wxFont
* >(argp2
);
25971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25972 (arg1
)->SetFont((wxFont
const &)*arg2
);
25973 wxPyEndAllowThreads(__tstate
);
25974 if (PyErr_Occurred()) SWIG_fail
;
25976 resultobj
= SWIG_Py_Void();
25983 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25984 PyObject
*resultobj
= 0;
25985 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25989 PyObject
*swig_obj
[1] ;
25991 if (!args
) SWIG_fail
;
25992 swig_obj
[0] = args
;
25993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25994 if (!SWIG_IsOK(res1
)) {
25995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25997 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26000 result
= (bool)(arg1
)->HasTextColour();
26001 wxPyEndAllowThreads(__tstate
);
26002 if (PyErr_Occurred()) SWIG_fail
;
26005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26013 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26014 PyObject
*resultobj
= 0;
26015 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26019 PyObject
*swig_obj
[1] ;
26021 if (!args
) SWIG_fail
;
26022 swig_obj
[0] = args
;
26023 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26024 if (!SWIG_IsOK(res1
)) {
26025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26027 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26030 result
= (bool)(arg1
)->HasBackgroundColour();
26031 wxPyEndAllowThreads(__tstate
);
26032 if (PyErr_Occurred()) SWIG_fail
;
26035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26043 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26044 PyObject
*resultobj
= 0;
26045 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26049 PyObject
*swig_obj
[1] ;
26051 if (!args
) SWIG_fail
;
26052 swig_obj
[0] = args
;
26053 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26054 if (!SWIG_IsOK(res1
)) {
26055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26057 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26060 result
= (bool)(arg1
)->HasFont();
26061 wxPyEndAllowThreads(__tstate
);
26062 if (PyErr_Occurred()) SWIG_fail
;
26065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26073 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26074 PyObject
*resultobj
= 0;
26075 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26079 PyObject
*swig_obj
[1] ;
26081 if (!args
) SWIG_fail
;
26082 swig_obj
[0] = args
;
26083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26084 if (!SWIG_IsOK(res1
)) {
26085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26087 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26090 result
= (arg1
)->GetTextColour();
26091 wxPyEndAllowThreads(__tstate
);
26092 if (PyErr_Occurred()) SWIG_fail
;
26094 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26101 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26102 PyObject
*resultobj
= 0;
26103 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26107 PyObject
*swig_obj
[1] ;
26109 if (!args
) SWIG_fail
;
26110 swig_obj
[0] = args
;
26111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26112 if (!SWIG_IsOK(res1
)) {
26113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26115 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26118 result
= (arg1
)->GetBackgroundColour();
26119 wxPyEndAllowThreads(__tstate
);
26120 if (PyErr_Occurred()) SWIG_fail
;
26122 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26129 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26130 PyObject
*resultobj
= 0;
26131 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26135 PyObject
*swig_obj
[1] ;
26137 if (!args
) SWIG_fail
;
26138 swig_obj
[0] = args
;
26139 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26140 if (!SWIG_IsOK(res1
)) {
26141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26143 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26146 result
= (arg1
)->GetFont();
26147 wxPyEndAllowThreads(__tstate
);
26148 if (PyErr_Occurred()) SWIG_fail
;
26150 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
26157 SWIGINTERN PyObject
*_wrap_ListItemAttr_AssignFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26158 PyObject
*resultobj
= 0;
26159 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26160 wxListItemAttr
*arg2
= 0 ;
26165 PyObject
* obj0
= 0 ;
26166 PyObject
* obj1
= 0 ;
26167 char * kwnames
[] = {
26168 (char *) "self",(char *) "source", NULL
26171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_AssignFrom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26173 if (!SWIG_IsOK(res1
)) {
26174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26176 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26177 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItemAttr
, 0 | 0);
26178 if (!SWIG_IsOK(res2
)) {
26179 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26182 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26184 arg2
= reinterpret_cast< wxListItemAttr
* >(argp2
);
26186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26187 (arg1
)->AssignFrom((wxListItemAttr
const &)*arg2
);
26188 wxPyEndAllowThreads(__tstate
);
26189 if (PyErr_Occurred()) SWIG_fail
;
26191 resultobj
= SWIG_Py_Void();
26198 SWIGINTERN PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26199 PyObject
*resultobj
= 0;
26200 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26203 PyObject
*swig_obj
[1] ;
26205 if (!args
) SWIG_fail
;
26206 swig_obj
[0] = args
;
26207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26208 if (!SWIG_IsOK(res1
)) {
26209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26211 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26214 wxListItemAttr_Destroy(arg1
);
26215 wxPyEndAllowThreads(__tstate
);
26216 if (PyErr_Occurred()) SWIG_fail
;
26218 resultobj
= SWIG_Py_Void();
26225 SWIGINTERN PyObject
*ListItemAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26227 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26228 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr
, SWIG_NewClientData(obj
));
26229 return SWIG_Py_Void();
26232 SWIGINTERN PyObject
*ListItemAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26233 return SWIG_Python_InitShadowInstance(args
);
26236 SWIGINTERN PyObject
*_wrap_new_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26237 PyObject
*resultobj
= 0;
26238 wxListItem
*result
= 0 ;
26240 if (!SWIG_Python_UnpackTuple(args
,"new_ListItem",0,0,0)) SWIG_fail
;
26242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26243 result
= (wxListItem
*)new wxListItem();
26244 wxPyEndAllowThreads(__tstate
);
26245 if (PyErr_Occurred()) SWIG_fail
;
26248 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
26256 SWIGINTERN PyObject
*_wrap_delete_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26257 PyObject
*resultobj
= 0;
26258 wxListItem
*arg1
= (wxListItem
*) 0 ;
26261 PyObject
*swig_obj
[1] ;
26263 if (!args
) SWIG_fail
;
26264 swig_obj
[0] = args
;
26265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, SWIG_POINTER_DISOWN
| 0 );
26266 if (!SWIG_IsOK(res1
)) {
26267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
26269 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26274 wxPyEndAllowThreads(__tstate
);
26275 if (PyErr_Occurred()) SWIG_fail
;
26277 resultobj
= SWIG_Py_Void();
26284 SWIGINTERN PyObject
*_wrap_ListItem_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26285 PyObject
*resultobj
= 0;
26286 wxListItem
*arg1
= (wxListItem
*) 0 ;
26289 PyObject
*swig_obj
[1] ;
26291 if (!args
) SWIG_fail
;
26292 swig_obj
[0] = args
;
26293 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26294 if (!SWIG_IsOK(res1
)) {
26295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
26297 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26301 wxPyEndAllowThreads(__tstate
);
26302 if (PyErr_Occurred()) SWIG_fail
;
26304 resultobj
= SWIG_Py_Void();
26311 SWIGINTERN PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26312 PyObject
*resultobj
= 0;
26313 wxListItem
*arg1
= (wxListItem
*) 0 ;
26316 PyObject
*swig_obj
[1] ;
26318 if (!args
) SWIG_fail
;
26319 swig_obj
[0] = args
;
26320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26321 if (!SWIG_IsOK(res1
)) {
26322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26324 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26327 (arg1
)->ClearAttributes();
26328 wxPyEndAllowThreads(__tstate
);
26329 if (PyErr_Occurred()) SWIG_fail
;
26331 resultobj
= SWIG_Py_Void();
26338 SWIGINTERN PyObject
*_wrap_ListItem_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26339 PyObject
*resultobj
= 0;
26340 wxListItem
*arg1
= (wxListItem
*) 0 ;
26346 PyObject
* obj0
= 0 ;
26347 PyObject
* obj1
= 0 ;
26348 char * kwnames
[] = {
26349 (char *) "self",(char *) "mask", NULL
26352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26354 if (!SWIG_IsOK(res1
)) {
26355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26357 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26358 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26359 if (!SWIG_IsOK(ecode2
)) {
26360 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
26362 arg2
= static_cast< long >(val2
);
26364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26365 (arg1
)->SetMask(arg2
);
26366 wxPyEndAllowThreads(__tstate
);
26367 if (PyErr_Occurred()) SWIG_fail
;
26369 resultobj
= SWIG_Py_Void();
26376 SWIGINTERN PyObject
*_wrap_ListItem_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26377 PyObject
*resultobj
= 0;
26378 wxListItem
*arg1
= (wxListItem
*) 0 ;
26384 PyObject
* obj0
= 0 ;
26385 PyObject
* obj1
= 0 ;
26386 char * kwnames
[] = {
26387 (char *) "self",(char *) "id", NULL
26390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26392 if (!SWIG_IsOK(res1
)) {
26393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26395 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26396 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26397 if (!SWIG_IsOK(ecode2
)) {
26398 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
26400 arg2
= static_cast< long >(val2
);
26402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26403 (arg1
)->SetId(arg2
);
26404 wxPyEndAllowThreads(__tstate
);
26405 if (PyErr_Occurred()) SWIG_fail
;
26407 resultobj
= SWIG_Py_Void();
26414 SWIGINTERN PyObject
*_wrap_ListItem_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26415 PyObject
*resultobj
= 0;
26416 wxListItem
*arg1
= (wxListItem
*) 0 ;
26422 PyObject
* obj0
= 0 ;
26423 PyObject
* obj1
= 0 ;
26424 char * kwnames
[] = {
26425 (char *) "self",(char *) "col", NULL
26428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26430 if (!SWIG_IsOK(res1
)) {
26431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26433 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26434 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26435 if (!SWIG_IsOK(ecode2
)) {
26436 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
26438 arg2
= static_cast< int >(val2
);
26440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26441 (arg1
)->SetColumn(arg2
);
26442 wxPyEndAllowThreads(__tstate
);
26443 if (PyErr_Occurred()) SWIG_fail
;
26445 resultobj
= SWIG_Py_Void();
26452 SWIGINTERN PyObject
*_wrap_ListItem_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26453 PyObject
*resultobj
= 0;
26454 wxListItem
*arg1
= (wxListItem
*) 0 ;
26460 PyObject
* obj0
= 0 ;
26461 PyObject
* obj1
= 0 ;
26462 char * kwnames
[] = {
26463 (char *) "self",(char *) "state", NULL
26466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26468 if (!SWIG_IsOK(res1
)) {
26469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26471 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26472 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26473 if (!SWIG_IsOK(ecode2
)) {
26474 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
26476 arg2
= static_cast< long >(val2
);
26478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26479 (arg1
)->SetState(arg2
);
26480 wxPyEndAllowThreads(__tstate
);
26481 if (PyErr_Occurred()) SWIG_fail
;
26483 resultobj
= SWIG_Py_Void();
26490 SWIGINTERN PyObject
*_wrap_ListItem_SetStateMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26491 PyObject
*resultobj
= 0;
26492 wxListItem
*arg1
= (wxListItem
*) 0 ;
26498 PyObject
* obj0
= 0 ;
26499 PyObject
* obj1
= 0 ;
26500 char * kwnames
[] = {
26501 (char *) "self",(char *) "stateMask", NULL
26504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26506 if (!SWIG_IsOK(res1
)) {
26507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26509 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26510 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26511 if (!SWIG_IsOK(ecode2
)) {
26512 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
26514 arg2
= static_cast< long >(val2
);
26516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26517 (arg1
)->SetStateMask(arg2
);
26518 wxPyEndAllowThreads(__tstate
);
26519 if (PyErr_Occurred()) SWIG_fail
;
26521 resultobj
= SWIG_Py_Void();
26528 SWIGINTERN PyObject
*_wrap_ListItem_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26529 PyObject
*resultobj
= 0;
26530 wxListItem
*arg1
= (wxListItem
*) 0 ;
26531 wxString
*arg2
= 0 ;
26534 bool temp2
= false ;
26535 PyObject
* obj0
= 0 ;
26536 PyObject
* obj1
= 0 ;
26537 char * kwnames
[] = {
26538 (char *) "self",(char *) "text", NULL
26541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26543 if (!SWIG_IsOK(res1
)) {
26544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26546 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26548 arg2
= wxString_in_helper(obj1
);
26549 if (arg2
== NULL
) SWIG_fail
;
26553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26554 (arg1
)->SetText((wxString
const &)*arg2
);
26555 wxPyEndAllowThreads(__tstate
);
26556 if (PyErr_Occurred()) SWIG_fail
;
26558 resultobj
= SWIG_Py_Void();
26573 SWIGINTERN PyObject
*_wrap_ListItem_SetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26574 PyObject
*resultobj
= 0;
26575 wxListItem
*arg1
= (wxListItem
*) 0 ;
26581 PyObject
* obj0
= 0 ;
26582 PyObject
* obj1
= 0 ;
26583 char * kwnames
[] = {
26584 (char *) "self",(char *) "image", NULL
26587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26589 if (!SWIG_IsOK(res1
)) {
26590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26592 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26593 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26594 if (!SWIG_IsOK(ecode2
)) {
26595 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
26597 arg2
= static_cast< int >(val2
);
26599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26600 (arg1
)->SetImage(arg2
);
26601 wxPyEndAllowThreads(__tstate
);
26602 if (PyErr_Occurred()) SWIG_fail
;
26604 resultobj
= SWIG_Py_Void();
26611 SWIGINTERN PyObject
*_wrap_ListItem_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26612 PyObject
*resultobj
= 0;
26613 wxListItem
*arg1
= (wxListItem
*) 0 ;
26619 PyObject
* obj0
= 0 ;
26620 PyObject
* obj1
= 0 ;
26621 char * kwnames
[] = {
26622 (char *) "self",(char *) "data", NULL
26625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26627 if (!SWIG_IsOK(res1
)) {
26628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26630 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26631 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26632 if (!SWIG_IsOK(ecode2
)) {
26633 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
26635 arg2
= static_cast< long >(val2
);
26637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26638 (arg1
)->SetData(arg2
);
26639 wxPyEndAllowThreads(__tstate
);
26640 if (PyErr_Occurred()) SWIG_fail
;
26642 resultobj
= SWIG_Py_Void();
26649 SWIGINTERN PyObject
*_wrap_ListItem_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26650 PyObject
*resultobj
= 0;
26651 wxListItem
*arg1
= (wxListItem
*) 0 ;
26657 PyObject
* obj0
= 0 ;
26658 PyObject
* obj1
= 0 ;
26659 char * kwnames
[] = {
26660 (char *) "self",(char *) "width", NULL
26663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26665 if (!SWIG_IsOK(res1
)) {
26666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26668 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26669 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26670 if (!SWIG_IsOK(ecode2
)) {
26671 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
26673 arg2
= static_cast< int >(val2
);
26675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26676 (arg1
)->SetWidth(arg2
);
26677 wxPyEndAllowThreads(__tstate
);
26678 if (PyErr_Occurred()) SWIG_fail
;
26680 resultobj
= SWIG_Py_Void();
26687 SWIGINTERN PyObject
*_wrap_ListItem_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26688 PyObject
*resultobj
= 0;
26689 wxListItem
*arg1
= (wxListItem
*) 0 ;
26690 wxListColumnFormat arg2
;
26695 PyObject
* obj0
= 0 ;
26696 PyObject
* obj1
= 0 ;
26697 char * kwnames
[] = {
26698 (char *) "self",(char *) "align", NULL
26701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",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_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
26706 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26707 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26708 if (!SWIG_IsOK(ecode2
)) {
26709 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
26711 arg2
= static_cast< wxListColumnFormat
>(val2
);
26713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26714 (arg1
)->SetAlign(arg2
);
26715 wxPyEndAllowThreads(__tstate
);
26716 if (PyErr_Occurred()) SWIG_fail
;
26718 resultobj
= SWIG_Py_Void();
26725 SWIGINTERN PyObject
*_wrap_ListItem_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26726 PyObject
*resultobj
= 0;
26727 wxListItem
*arg1
= (wxListItem
*) 0 ;
26728 wxColour
*arg2
= 0 ;
26732 PyObject
* obj0
= 0 ;
26733 PyObject
* obj1
= 0 ;
26734 char * kwnames
[] = {
26735 (char *) "self",(char *) "colText", NULL
26738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26740 if (!SWIG_IsOK(res1
)) {
26741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26743 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26746 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26750 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
26751 wxPyEndAllowThreads(__tstate
);
26752 if (PyErr_Occurred()) SWIG_fail
;
26754 resultobj
= SWIG_Py_Void();
26761 SWIGINTERN PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26762 PyObject
*resultobj
= 0;
26763 wxListItem
*arg1
= (wxListItem
*) 0 ;
26764 wxColour
*arg2
= 0 ;
26768 PyObject
* obj0
= 0 ;
26769 PyObject
* obj1
= 0 ;
26770 char * kwnames
[] = {
26771 (char *) "self",(char *) "colBack", NULL
26774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26776 if (!SWIG_IsOK(res1
)) {
26777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26779 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26782 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26786 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26787 wxPyEndAllowThreads(__tstate
);
26788 if (PyErr_Occurred()) SWIG_fail
;
26790 resultobj
= SWIG_Py_Void();
26797 SWIGINTERN PyObject
*_wrap_ListItem_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26798 PyObject
*resultobj
= 0;
26799 wxListItem
*arg1
= (wxListItem
*) 0 ;
26805 PyObject
* obj0
= 0 ;
26806 PyObject
* obj1
= 0 ;
26807 char * kwnames
[] = {
26808 (char *) "self",(char *) "font", NULL
26811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26813 if (!SWIG_IsOK(res1
)) {
26814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
26816 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26817 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
26818 if (!SWIG_IsOK(res2
)) {
26819 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26822 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26824 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26827 (arg1
)->SetFont((wxFont
const &)*arg2
);
26828 wxPyEndAllowThreads(__tstate
);
26829 if (PyErr_Occurred()) SWIG_fail
;
26831 resultobj
= SWIG_Py_Void();
26838 SWIGINTERN PyObject
*_wrap_ListItem_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26839 PyObject
*resultobj
= 0;
26840 wxListItem
*arg1
= (wxListItem
*) 0 ;
26844 PyObject
*swig_obj
[1] ;
26846 if (!args
) SWIG_fail
;
26847 swig_obj
[0] = args
;
26848 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26849 if (!SWIG_IsOK(res1
)) {
26850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26852 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26855 result
= (long)(arg1
)->GetMask();
26856 wxPyEndAllowThreads(__tstate
);
26857 if (PyErr_Occurred()) SWIG_fail
;
26859 resultobj
= SWIG_From_long(static_cast< long >(result
));
26866 SWIGINTERN PyObject
*_wrap_ListItem_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26867 PyObject
*resultobj
= 0;
26868 wxListItem
*arg1
= (wxListItem
*) 0 ;
26872 PyObject
*swig_obj
[1] ;
26874 if (!args
) SWIG_fail
;
26875 swig_obj
[0] = args
;
26876 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26877 if (!SWIG_IsOK(res1
)) {
26878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26880 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26883 result
= (long)(arg1
)->GetId();
26884 wxPyEndAllowThreads(__tstate
);
26885 if (PyErr_Occurred()) SWIG_fail
;
26887 resultobj
= SWIG_From_long(static_cast< long >(result
));
26894 SWIGINTERN PyObject
*_wrap_ListItem_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26895 PyObject
*resultobj
= 0;
26896 wxListItem
*arg1
= (wxListItem
*) 0 ;
26900 PyObject
*swig_obj
[1] ;
26902 if (!args
) SWIG_fail
;
26903 swig_obj
[0] = args
;
26904 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26905 if (!SWIG_IsOK(res1
)) {
26906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26908 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26911 result
= (int)(arg1
)->GetColumn();
26912 wxPyEndAllowThreads(__tstate
);
26913 if (PyErr_Occurred()) SWIG_fail
;
26915 resultobj
= SWIG_From_int(static_cast< int >(result
));
26922 SWIGINTERN PyObject
*_wrap_ListItem_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26923 PyObject
*resultobj
= 0;
26924 wxListItem
*arg1
= (wxListItem
*) 0 ;
26928 PyObject
*swig_obj
[1] ;
26930 if (!args
) SWIG_fail
;
26931 swig_obj
[0] = args
;
26932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26933 if (!SWIG_IsOK(res1
)) {
26934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26936 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26939 result
= (long)(arg1
)->GetState();
26940 wxPyEndAllowThreads(__tstate
);
26941 if (PyErr_Occurred()) SWIG_fail
;
26943 resultobj
= SWIG_From_long(static_cast< long >(result
));
26950 SWIGINTERN PyObject
*_wrap_ListItem_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26951 PyObject
*resultobj
= 0;
26952 wxListItem
*arg1
= (wxListItem
*) 0 ;
26953 wxString
*result
= 0 ;
26956 PyObject
*swig_obj
[1] ;
26958 if (!args
) SWIG_fail
;
26959 swig_obj
[0] = args
;
26960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26961 if (!SWIG_IsOK(res1
)) {
26962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26964 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26968 wxString
const &_result_ref
= (arg1
)->GetText();
26969 result
= (wxString
*) &_result_ref
;
26971 wxPyEndAllowThreads(__tstate
);
26972 if (PyErr_Occurred()) SWIG_fail
;
26976 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
26978 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
26987 SWIGINTERN PyObject
*_wrap_ListItem_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26988 PyObject
*resultobj
= 0;
26989 wxListItem
*arg1
= (wxListItem
*) 0 ;
26993 PyObject
*swig_obj
[1] ;
26995 if (!args
) SWIG_fail
;
26996 swig_obj
[0] = args
;
26997 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26998 if (!SWIG_IsOK(res1
)) {
26999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
27001 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27004 result
= (int)(arg1
)->GetImage();
27005 wxPyEndAllowThreads(__tstate
);
27006 if (PyErr_Occurred()) SWIG_fail
;
27008 resultobj
= SWIG_From_int(static_cast< int >(result
));
27015 SWIGINTERN PyObject
*_wrap_ListItem_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27016 PyObject
*resultobj
= 0;
27017 wxListItem
*arg1
= (wxListItem
*) 0 ;
27021 PyObject
*swig_obj
[1] ;
27023 if (!args
) SWIG_fail
;
27024 swig_obj
[0] = args
;
27025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27026 if (!SWIG_IsOK(res1
)) {
27027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
27029 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27032 result
= (long)(arg1
)->GetData();
27033 wxPyEndAllowThreads(__tstate
);
27034 if (PyErr_Occurred()) SWIG_fail
;
27036 resultobj
= SWIG_From_long(static_cast< long >(result
));
27043 SWIGINTERN PyObject
*_wrap_ListItem_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27044 PyObject
*resultobj
= 0;
27045 wxListItem
*arg1
= (wxListItem
*) 0 ;
27049 PyObject
*swig_obj
[1] ;
27051 if (!args
) SWIG_fail
;
27052 swig_obj
[0] = args
;
27053 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27054 if (!SWIG_IsOK(res1
)) {
27055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27057 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27060 result
= (int)(arg1
)->GetWidth();
27061 wxPyEndAllowThreads(__tstate
);
27062 if (PyErr_Occurred()) SWIG_fail
;
27064 resultobj
= SWIG_From_int(static_cast< int >(result
));
27071 SWIGINTERN PyObject
*_wrap_ListItem_GetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27072 PyObject
*resultobj
= 0;
27073 wxListItem
*arg1
= (wxListItem
*) 0 ;
27074 wxListColumnFormat result
;
27077 PyObject
*swig_obj
[1] ;
27079 if (!args
) SWIG_fail
;
27080 swig_obj
[0] = args
;
27081 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27082 if (!SWIG_IsOK(res1
)) {
27083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27085 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27088 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
27089 wxPyEndAllowThreads(__tstate
);
27090 if (PyErr_Occurred()) SWIG_fail
;
27092 resultobj
= SWIG_From_int(static_cast< int >(result
));
27099 SWIGINTERN PyObject
*_wrap_ListItem_GetAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27100 PyObject
*resultobj
= 0;
27101 wxListItem
*arg1
= (wxListItem
*) 0 ;
27102 wxListItemAttr
*result
= 0 ;
27105 PyObject
*swig_obj
[1] ;
27107 if (!args
) SWIG_fail
;
27108 swig_obj
[0] = args
;
27109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27110 if (!SWIG_IsOK(res1
)) {
27111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27113 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27116 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
27117 wxPyEndAllowThreads(__tstate
);
27118 if (PyErr_Occurred()) SWIG_fail
;
27120 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
27127 SWIGINTERN PyObject
*_wrap_ListItem_HasAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27128 PyObject
*resultobj
= 0;
27129 wxListItem
*arg1
= (wxListItem
*) 0 ;
27133 PyObject
*swig_obj
[1] ;
27135 if (!args
) SWIG_fail
;
27136 swig_obj
[0] = args
;
27137 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27138 if (!SWIG_IsOK(res1
)) {
27139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27141 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27144 result
= (bool)(arg1
)->HasAttributes();
27145 wxPyEndAllowThreads(__tstate
);
27146 if (PyErr_Occurred()) SWIG_fail
;
27149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27157 SWIGINTERN PyObject
*_wrap_ListItem_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27158 PyObject
*resultobj
= 0;
27159 wxListItem
*arg1
= (wxListItem
*) 0 ;
27163 PyObject
*swig_obj
[1] ;
27165 if (!args
) SWIG_fail
;
27166 swig_obj
[0] = args
;
27167 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27168 if (!SWIG_IsOK(res1
)) {
27169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27171 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27174 result
= ((wxListItem
const *)arg1
)->GetTextColour();
27175 wxPyEndAllowThreads(__tstate
);
27176 if (PyErr_Occurred()) SWIG_fail
;
27178 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27185 SWIGINTERN PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27186 PyObject
*resultobj
= 0;
27187 wxListItem
*arg1
= (wxListItem
*) 0 ;
27191 PyObject
*swig_obj
[1] ;
27193 if (!args
) SWIG_fail
;
27194 swig_obj
[0] = args
;
27195 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27196 if (!SWIG_IsOK(res1
)) {
27197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27199 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27202 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
27203 wxPyEndAllowThreads(__tstate
);
27204 if (PyErr_Occurred()) SWIG_fail
;
27206 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27213 SWIGINTERN PyObject
*_wrap_ListItem_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27214 PyObject
*resultobj
= 0;
27215 wxListItem
*arg1
= (wxListItem
*) 0 ;
27219 PyObject
*swig_obj
[1] ;
27221 if (!args
) SWIG_fail
;
27222 swig_obj
[0] = args
;
27223 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27224 if (!SWIG_IsOK(res1
)) {
27225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
27227 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27230 result
= ((wxListItem
const *)arg1
)->GetFont();
27231 wxPyEndAllowThreads(__tstate
);
27232 if (PyErr_Occurred()) SWIG_fail
;
27234 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
27241 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27242 PyObject
*resultobj
= 0;
27243 wxListItem
*arg1
= (wxListItem
*) 0 ;
27249 PyObject
*swig_obj
[2] ;
27251 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_mask_set",2,2,swig_obj
)) SWIG_fail
;
27252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27253 if (!SWIG_IsOK(res1
)) {
27254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27256 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27257 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27258 if (!SWIG_IsOK(ecode2
)) {
27259 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
27261 arg2
= static_cast< long >(val2
);
27262 if (arg1
) (arg1
)->m_mask
= arg2
;
27264 resultobj
= SWIG_Py_Void();
27271 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_get(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_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27285 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27286 result
= (long) ((arg1
)->m_mask
);
27287 resultobj
= SWIG_From_long(static_cast< long >(result
));
27294 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27295 PyObject
*resultobj
= 0;
27296 wxListItem
*arg1
= (wxListItem
*) 0 ;
27302 PyObject
*swig_obj
[2] ;
27304 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_itemId_set",2,2,swig_obj
)) SWIG_fail
;
27305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27306 if (!SWIG_IsOK(res1
)) {
27307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27309 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27310 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27311 if (!SWIG_IsOK(ecode2
)) {
27312 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
27314 arg2
= static_cast< long >(val2
);
27315 if (arg1
) (arg1
)->m_itemId
= arg2
;
27317 resultobj
= SWIG_Py_Void();
27324 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27325 PyObject
*resultobj
= 0;
27326 wxListItem
*arg1
= (wxListItem
*) 0 ;
27330 PyObject
*swig_obj
[1] ;
27332 if (!args
) SWIG_fail
;
27333 swig_obj
[0] = args
;
27334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27335 if (!SWIG_IsOK(res1
)) {
27336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27338 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27339 result
= (long) ((arg1
)->m_itemId
);
27340 resultobj
= SWIG_From_long(static_cast< long >(result
));
27347 SWIGINTERN PyObject
*_wrap_ListItem_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27348 PyObject
*resultobj
= 0;
27349 wxListItem
*arg1
= (wxListItem
*) 0 ;
27355 PyObject
*swig_obj
[2] ;
27357 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27358 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27359 if (!SWIG_IsOK(res1
)) {
27360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27362 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27363 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27364 if (!SWIG_IsOK(ecode2
)) {
27365 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
27367 arg2
= static_cast< int >(val2
);
27368 if (arg1
) (arg1
)->m_col
= arg2
;
27370 resultobj
= SWIG_Py_Void();
27377 SWIGINTERN PyObject
*_wrap_ListItem_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27378 PyObject
*resultobj
= 0;
27379 wxListItem
*arg1
= (wxListItem
*) 0 ;
27383 PyObject
*swig_obj
[1] ;
27385 if (!args
) SWIG_fail
;
27386 swig_obj
[0] = args
;
27387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27388 if (!SWIG_IsOK(res1
)) {
27389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27391 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27392 result
= (int) ((arg1
)->m_col
);
27393 resultobj
= SWIG_From_int(static_cast< int >(result
));
27400 SWIGINTERN PyObject
*_wrap_ListItem_m_state_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27401 PyObject
*resultobj
= 0;
27402 wxListItem
*arg1
= (wxListItem
*) 0 ;
27408 PyObject
*swig_obj
[2] ;
27410 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_state_set",2,2,swig_obj
)) SWIG_fail
;
27411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27412 if (!SWIG_IsOK(res1
)) {
27413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27415 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27416 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27417 if (!SWIG_IsOK(ecode2
)) {
27418 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
27420 arg2
= static_cast< long >(val2
);
27421 if (arg1
) (arg1
)->m_state
= arg2
;
27423 resultobj
= SWIG_Py_Void();
27430 SWIGINTERN PyObject
*_wrap_ListItem_m_state_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27431 PyObject
*resultobj
= 0;
27432 wxListItem
*arg1
= (wxListItem
*) 0 ;
27436 PyObject
*swig_obj
[1] ;
27438 if (!args
) SWIG_fail
;
27439 swig_obj
[0] = args
;
27440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27441 if (!SWIG_IsOK(res1
)) {
27442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27444 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27445 result
= (long) ((arg1
)->m_state
);
27446 resultobj
= SWIG_From_long(static_cast< long >(result
));
27453 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27454 PyObject
*resultobj
= 0;
27455 wxListItem
*arg1
= (wxListItem
*) 0 ;
27461 PyObject
*swig_obj
[2] ;
27463 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_stateMask_set",2,2,swig_obj
)) SWIG_fail
;
27464 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27465 if (!SWIG_IsOK(res1
)) {
27466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27468 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27469 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27470 if (!SWIG_IsOK(ecode2
)) {
27471 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
27473 arg2
= static_cast< long >(val2
);
27474 if (arg1
) (arg1
)->m_stateMask
= arg2
;
27476 resultobj
= SWIG_Py_Void();
27483 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27484 PyObject
*resultobj
= 0;
27485 wxListItem
*arg1
= (wxListItem
*) 0 ;
27489 PyObject
*swig_obj
[1] ;
27491 if (!args
) SWIG_fail
;
27492 swig_obj
[0] = args
;
27493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27494 if (!SWIG_IsOK(res1
)) {
27495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27497 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27498 result
= (long) ((arg1
)->m_stateMask
);
27499 resultobj
= SWIG_From_long(static_cast< long >(result
));
27506 SWIGINTERN PyObject
*_wrap_ListItem_m_text_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27507 PyObject
*resultobj
= 0;
27508 wxListItem
*arg1
= (wxListItem
*) 0 ;
27509 wxString
*arg2
= (wxString
*) 0 ;
27512 bool temp2
= false ;
27513 PyObject
*swig_obj
[2] ;
27515 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_text_set",2,2,swig_obj
)) SWIG_fail
;
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_m_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27520 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27522 arg2
= wxString_in_helper(swig_obj
[1]);
27523 if (arg2
== NULL
) SWIG_fail
;
27526 if (arg1
) (arg1
)->m_text
= *arg2
;
27528 resultobj
= SWIG_Py_Void();
27543 SWIGINTERN PyObject
*_wrap_ListItem_m_text_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27544 PyObject
*resultobj
= 0;
27545 wxListItem
*arg1
= (wxListItem
*) 0 ;
27546 wxString
*result
= 0 ;
27549 PyObject
*swig_obj
[1] ;
27551 if (!args
) SWIG_fail
;
27552 swig_obj
[0] = args
;
27553 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27554 if (!SWIG_IsOK(res1
)) {
27555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27557 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27558 result
= (wxString
*)& ((arg1
)->m_text
);
27561 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27563 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27572 SWIGINTERN PyObject
*_wrap_ListItem_m_image_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27573 PyObject
*resultobj
= 0;
27574 wxListItem
*arg1
= (wxListItem
*) 0 ;
27580 PyObject
*swig_obj
[2] ;
27582 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_image_set",2,2,swig_obj
)) SWIG_fail
;
27583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27584 if (!SWIG_IsOK(res1
)) {
27585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27587 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27588 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27589 if (!SWIG_IsOK(ecode2
)) {
27590 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
27592 arg2
= static_cast< int >(val2
);
27593 if (arg1
) (arg1
)->m_image
= arg2
;
27595 resultobj
= SWIG_Py_Void();
27602 SWIGINTERN PyObject
*_wrap_ListItem_m_image_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27603 PyObject
*resultobj
= 0;
27604 wxListItem
*arg1
= (wxListItem
*) 0 ;
27608 PyObject
*swig_obj
[1] ;
27610 if (!args
) SWIG_fail
;
27611 swig_obj
[0] = args
;
27612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27613 if (!SWIG_IsOK(res1
)) {
27614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27616 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27617 result
= (int) ((arg1
)->m_image
);
27618 resultobj
= SWIG_From_int(static_cast< int >(result
));
27625 SWIGINTERN PyObject
*_wrap_ListItem_m_data_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27626 PyObject
*resultobj
= 0;
27627 wxListItem
*arg1
= (wxListItem
*) 0 ;
27633 PyObject
*swig_obj
[2] ;
27635 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_data_set",2,2,swig_obj
)) SWIG_fail
;
27636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27637 if (!SWIG_IsOK(res1
)) {
27638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27640 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27641 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27642 if (!SWIG_IsOK(ecode2
)) {
27643 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
27645 arg2
= static_cast< long >(val2
);
27646 if (arg1
) (arg1
)->m_data
= arg2
;
27648 resultobj
= SWIG_Py_Void();
27655 SWIGINTERN PyObject
*_wrap_ListItem_m_data_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27656 PyObject
*resultobj
= 0;
27657 wxListItem
*arg1
= (wxListItem
*) 0 ;
27661 PyObject
*swig_obj
[1] ;
27663 if (!args
) SWIG_fail
;
27664 swig_obj
[0] = args
;
27665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27666 if (!SWIG_IsOK(res1
)) {
27667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27669 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27670 result
= (long) ((arg1
)->m_data
);
27671 resultobj
= SWIG_From_long(static_cast< long >(result
));
27678 SWIGINTERN PyObject
*_wrap_ListItem_m_format_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27679 PyObject
*resultobj
= 0;
27680 wxListItem
*arg1
= (wxListItem
*) 0 ;
27686 PyObject
*swig_obj
[2] ;
27688 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_format_set",2,2,swig_obj
)) SWIG_fail
;
27689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27690 if (!SWIG_IsOK(res1
)) {
27691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27693 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27694 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27695 if (!SWIG_IsOK(ecode2
)) {
27696 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
27698 arg2
= static_cast< int >(val2
);
27699 if (arg1
) (arg1
)->m_format
= arg2
;
27701 resultobj
= SWIG_Py_Void();
27708 SWIGINTERN PyObject
*_wrap_ListItem_m_format_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27709 PyObject
*resultobj
= 0;
27710 wxListItem
*arg1
= (wxListItem
*) 0 ;
27714 PyObject
*swig_obj
[1] ;
27716 if (!args
) SWIG_fail
;
27717 swig_obj
[0] = args
;
27718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27719 if (!SWIG_IsOK(res1
)) {
27720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27722 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27723 result
= (int) ((arg1
)->m_format
);
27724 resultobj
= SWIG_From_int(static_cast< int >(result
));
27731 SWIGINTERN PyObject
*_wrap_ListItem_m_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27732 PyObject
*resultobj
= 0;
27733 wxListItem
*arg1
= (wxListItem
*) 0 ;
27739 PyObject
*swig_obj
[2] ;
27741 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_width_set",2,2,swig_obj
)) SWIG_fail
;
27742 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27743 if (!SWIG_IsOK(res1
)) {
27744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27746 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27747 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27748 if (!SWIG_IsOK(ecode2
)) {
27749 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
27751 arg2
= static_cast< int >(val2
);
27752 if (arg1
) (arg1
)->m_width
= arg2
;
27754 resultobj
= SWIG_Py_Void();
27761 SWIGINTERN PyObject
*_wrap_ListItem_m_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27762 PyObject
*resultobj
= 0;
27763 wxListItem
*arg1
= (wxListItem
*) 0 ;
27767 PyObject
*swig_obj
[1] ;
27769 if (!args
) SWIG_fail
;
27770 swig_obj
[0] = args
;
27771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27772 if (!SWIG_IsOK(res1
)) {
27773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27775 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27776 result
= (int) ((arg1
)->m_width
);
27777 resultobj
= SWIG_From_int(static_cast< int >(result
));
27784 SWIGINTERN PyObject
*ListItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27786 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27787 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem
, SWIG_NewClientData(obj
));
27788 return SWIG_Py_Void();
27791 SWIGINTERN PyObject
*ListItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27792 return SWIG_Python_InitShadowInstance(args
);
27795 SWIGINTERN PyObject
*_wrap_new_ListEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27796 PyObject
*resultobj
= 0;
27797 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27798 int arg2
= (int) 0 ;
27799 wxListEvent
*result
= 0 ;
27804 PyObject
* obj0
= 0 ;
27805 PyObject
* obj1
= 0 ;
27806 char * kwnames
[] = {
27807 (char *) "commandType",(char *) "id", NULL
27810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27812 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27813 if (!SWIG_IsOK(ecode1
)) {
27814 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
27816 arg1
= static_cast< wxEventType
>(val1
);
27819 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27820 if (!SWIG_IsOK(ecode2
)) {
27821 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
27823 arg2
= static_cast< int >(val2
);
27826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27827 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
27828 wxPyEndAllowThreads(__tstate
);
27829 if (PyErr_Occurred()) SWIG_fail
;
27831 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListEvent
, SWIG_POINTER_NEW
| 0 );
27838 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27839 PyObject
*resultobj
= 0;
27840 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27846 PyObject
*swig_obj
[2] ;
27848 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_code_set",2,2,swig_obj
)) SWIG_fail
;
27849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27850 if (!SWIG_IsOK(res1
)) {
27851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27853 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27854 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27855 if (!SWIG_IsOK(ecode2
)) {
27856 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
27858 arg2
= static_cast< int >(val2
);
27859 if (arg1
) (arg1
)->m_code
= arg2
;
27861 resultobj
= SWIG_Py_Void();
27868 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27869 PyObject
*resultobj
= 0;
27870 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27874 PyObject
*swig_obj
[1] ;
27876 if (!args
) SWIG_fail
;
27877 swig_obj
[0] = args
;
27878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27879 if (!SWIG_IsOK(res1
)) {
27880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27882 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27883 result
= (int) ((arg1
)->m_code
);
27884 resultobj
= SWIG_From_int(static_cast< int >(result
));
27891 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27892 PyObject
*resultobj
= 0;
27893 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27899 PyObject
*swig_obj
[2] ;
27901 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_oldItemIndex_set",2,2,swig_obj
)) SWIG_fail
;
27902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27903 if (!SWIG_IsOK(res1
)) {
27904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27906 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27907 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27908 if (!SWIG_IsOK(ecode2
)) {
27909 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
27911 arg2
= static_cast< long >(val2
);
27912 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
27914 resultobj
= SWIG_Py_Void();
27921 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27922 PyObject
*resultobj
= 0;
27923 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27927 PyObject
*swig_obj
[1] ;
27929 if (!args
) SWIG_fail
;
27930 swig_obj
[0] = args
;
27931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27932 if (!SWIG_IsOK(res1
)) {
27933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27935 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27936 result
= (long) ((arg1
)->m_oldItemIndex
);
27937 resultobj
= SWIG_From_long(static_cast< long >(result
));
27944 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27945 PyObject
*resultobj
= 0;
27946 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27952 PyObject
*swig_obj
[2] ;
27954 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_itemIndex_set",2,2,swig_obj
)) SWIG_fail
;
27955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27956 if (!SWIG_IsOK(res1
)) {
27957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27959 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27960 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27961 if (!SWIG_IsOK(ecode2
)) {
27962 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
27964 arg2
= static_cast< long >(val2
);
27965 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
27967 resultobj
= SWIG_Py_Void();
27974 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27975 PyObject
*resultobj
= 0;
27976 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27980 PyObject
*swig_obj
[1] ;
27982 if (!args
) SWIG_fail
;
27983 swig_obj
[0] = args
;
27984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27985 if (!SWIG_IsOK(res1
)) {
27986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27988 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27989 result
= (long) ((arg1
)->m_itemIndex
);
27990 resultobj
= SWIG_From_long(static_cast< long >(result
));
27997 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27998 PyObject
*resultobj
= 0;
27999 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28005 PyObject
*swig_obj
[2] ;
28007 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_col_set",2,2,swig_obj
)) SWIG_fail
;
28008 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28009 if (!SWIG_IsOK(res1
)) {
28010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28012 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28013 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28014 if (!SWIG_IsOK(ecode2
)) {
28015 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
28017 arg2
= static_cast< int >(val2
);
28018 if (arg1
) (arg1
)->m_col
= arg2
;
28020 resultobj
= SWIG_Py_Void();
28027 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28028 PyObject
*resultobj
= 0;
28029 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28033 PyObject
*swig_obj
[1] ;
28035 if (!args
) SWIG_fail
;
28036 swig_obj
[0] = args
;
28037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28038 if (!SWIG_IsOK(res1
)) {
28039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28041 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28042 result
= (int) ((arg1
)->m_col
);
28043 resultobj
= SWIG_From_int(static_cast< int >(result
));
28050 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28051 PyObject
*resultobj
= 0;
28052 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28053 wxPoint
*arg2
= (wxPoint
*) 0 ;
28058 PyObject
*swig_obj
[2] ;
28060 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_pointDrag_set",2,2,swig_obj
)) SWIG_fail
;
28061 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28062 if (!SWIG_IsOK(res1
)) {
28063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28065 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28066 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPoint
, 0 | 0 );
28067 if (!SWIG_IsOK(res2
)) {
28068 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
28070 arg2
= reinterpret_cast< wxPoint
* >(argp2
);
28071 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
28073 resultobj
= SWIG_Py_Void();
28080 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28081 PyObject
*resultobj
= 0;
28082 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28083 wxPoint
*result
= 0 ;
28086 PyObject
*swig_obj
[1] ;
28088 if (!args
) SWIG_fail
;
28089 swig_obj
[0] = args
;
28090 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28091 if (!SWIG_IsOK(res1
)) {
28092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28094 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28095 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
28096 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
28103 SWIGINTERN PyObject
*_wrap_ListEvent_m_item_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28104 PyObject
*resultobj
= 0;
28105 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28106 wxListItem
*result
= 0 ;
28109 PyObject
*swig_obj
[1] ;
28111 if (!args
) SWIG_fail
;
28112 swig_obj
[0] = args
;
28113 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28114 if (!SWIG_IsOK(res1
)) {
28115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28117 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28118 result
= (wxListItem
*)& ((arg1
)->m_item
);
28120 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28128 SWIGINTERN PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28129 PyObject
*resultobj
= 0;
28130 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28134 PyObject
*swig_obj
[1] ;
28136 if (!args
) SWIG_fail
;
28137 swig_obj
[0] = args
;
28138 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28139 if (!SWIG_IsOK(res1
)) {
28140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
28142 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28145 result
= (int)(arg1
)->GetKeyCode();
28146 wxPyEndAllowThreads(__tstate
);
28147 if (PyErr_Occurred()) SWIG_fail
;
28149 resultobj
= SWIG_From_int(static_cast< int >(result
));
28156 SWIGINTERN PyObject
*_wrap_ListEvent_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28157 PyObject
*resultobj
= 0;
28158 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28162 PyObject
*swig_obj
[1] ;
28164 if (!args
) SWIG_fail
;
28165 swig_obj
[0] = args
;
28166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28167 if (!SWIG_IsOK(res1
)) {
28168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
28170 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28173 result
= (long)(arg1
)->GetIndex();
28174 wxPyEndAllowThreads(__tstate
);
28175 if (PyErr_Occurred()) SWIG_fail
;
28177 resultobj
= SWIG_From_long(static_cast< long >(result
));
28184 SWIGINTERN PyObject
*_wrap_ListEvent_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28185 PyObject
*resultobj
= 0;
28186 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28190 PyObject
*swig_obj
[1] ;
28192 if (!args
) SWIG_fail
;
28193 swig_obj
[0] = args
;
28194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28195 if (!SWIG_IsOK(res1
)) {
28196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
28198 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28201 result
= (int)(arg1
)->GetColumn();
28202 wxPyEndAllowThreads(__tstate
);
28203 if (PyErr_Occurred()) SWIG_fail
;
28205 resultobj
= SWIG_From_int(static_cast< int >(result
));
28212 SWIGINTERN PyObject
*_wrap_ListEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28213 PyObject
*resultobj
= 0;
28214 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28218 PyObject
*swig_obj
[1] ;
28220 if (!args
) SWIG_fail
;
28221 swig_obj
[0] = args
;
28222 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28223 if (!SWIG_IsOK(res1
)) {
28224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
28226 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28229 result
= (arg1
)->GetPoint();
28230 wxPyEndAllowThreads(__tstate
);
28231 if (PyErr_Occurred()) SWIG_fail
;
28233 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
28240 SWIGINTERN PyObject
*_wrap_ListEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28241 PyObject
*resultobj
= 0;
28242 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28243 wxString
*result
= 0 ;
28246 PyObject
*swig_obj
[1] ;
28248 if (!args
) SWIG_fail
;
28249 swig_obj
[0] = args
;
28250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28251 if (!SWIG_IsOK(res1
)) {
28252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
28254 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28258 wxString
const &_result_ref
= (arg1
)->GetLabel();
28259 result
= (wxString
*) &_result_ref
;
28261 wxPyEndAllowThreads(__tstate
);
28262 if (PyErr_Occurred()) SWIG_fail
;
28266 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28268 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28277 SWIGINTERN PyObject
*_wrap_ListEvent_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28278 PyObject
*resultobj
= 0;
28279 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28280 wxString
*result
= 0 ;
28283 PyObject
*swig_obj
[1] ;
28285 if (!args
) SWIG_fail
;
28286 swig_obj
[0] = args
;
28287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28288 if (!SWIG_IsOK(res1
)) {
28289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
28291 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28295 wxString
const &_result_ref
= (arg1
)->GetText();
28296 result
= (wxString
*) &_result_ref
;
28298 wxPyEndAllowThreads(__tstate
);
28299 if (PyErr_Occurred()) SWIG_fail
;
28303 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28305 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28314 SWIGINTERN PyObject
*_wrap_ListEvent_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28315 PyObject
*resultobj
= 0;
28316 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28320 PyObject
*swig_obj
[1] ;
28322 if (!args
) SWIG_fail
;
28323 swig_obj
[0] = args
;
28324 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28325 if (!SWIG_IsOK(res1
)) {
28326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
28328 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28331 result
= (int)(arg1
)->GetImage();
28332 wxPyEndAllowThreads(__tstate
);
28333 if (PyErr_Occurred()) SWIG_fail
;
28335 resultobj
= SWIG_From_int(static_cast< int >(result
));
28342 SWIGINTERN PyObject
*_wrap_ListEvent_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28343 PyObject
*resultobj
= 0;
28344 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28348 PyObject
*swig_obj
[1] ;
28350 if (!args
) SWIG_fail
;
28351 swig_obj
[0] = args
;
28352 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28353 if (!SWIG_IsOK(res1
)) {
28354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
28356 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28359 result
= (long)(arg1
)->GetData();
28360 wxPyEndAllowThreads(__tstate
);
28361 if (PyErr_Occurred()) SWIG_fail
;
28363 resultobj
= SWIG_From_long(static_cast< long >(result
));
28370 SWIGINTERN PyObject
*_wrap_ListEvent_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28371 PyObject
*resultobj
= 0;
28372 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28376 PyObject
*swig_obj
[1] ;
28378 if (!args
) SWIG_fail
;
28379 swig_obj
[0] = args
;
28380 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28381 if (!SWIG_IsOK(res1
)) {
28382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
28384 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28387 result
= (long)(arg1
)->GetMask();
28388 wxPyEndAllowThreads(__tstate
);
28389 if (PyErr_Occurred()) SWIG_fail
;
28391 resultobj
= SWIG_From_long(static_cast< long >(result
));
28398 SWIGINTERN PyObject
*_wrap_ListEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28399 PyObject
*resultobj
= 0;
28400 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28401 wxListItem
*result
= 0 ;
28404 PyObject
*swig_obj
[1] ;
28406 if (!args
) SWIG_fail
;
28407 swig_obj
[0] = args
;
28408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28409 if (!SWIG_IsOK(res1
)) {
28410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
28412 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28416 wxListItem
const &_result_ref
= (arg1
)->GetItem();
28417 result
= (wxListItem
*) &_result_ref
;
28419 wxPyEndAllowThreads(__tstate
);
28420 if (PyErr_Occurred()) SWIG_fail
;
28422 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, 0 | 0 );
28429 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28430 PyObject
*resultobj
= 0;
28431 wxListEvent
*arg1
= (wxListEvent
*) 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_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
28443 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28446 result
= (long)(arg1
)->GetCacheFrom();
28447 wxPyEndAllowThreads(__tstate
);
28448 if (PyErr_Occurred()) SWIG_fail
;
28450 resultobj
= SWIG_From_long(static_cast< long >(result
));
28457 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28458 PyObject
*resultobj
= 0;
28459 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28463 PyObject
*swig_obj
[1] ;
28465 if (!args
) SWIG_fail
;
28466 swig_obj
[0] = args
;
28467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28468 if (!SWIG_IsOK(res1
)) {
28469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
28471 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28474 result
= (long)(arg1
)->GetCacheTo();
28475 wxPyEndAllowThreads(__tstate
);
28476 if (PyErr_Occurred()) SWIG_fail
;
28478 resultobj
= SWIG_From_long(static_cast< long >(result
));
28485 SWIGINTERN PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28486 PyObject
*resultobj
= 0;
28487 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28491 PyObject
*swig_obj
[1] ;
28493 if (!args
) SWIG_fail
;
28494 swig_obj
[0] = args
;
28495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28496 if (!SWIG_IsOK(res1
)) {
28497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
28499 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28502 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
28503 wxPyEndAllowThreads(__tstate
);
28504 if (PyErr_Occurred()) SWIG_fail
;
28507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28515 SWIGINTERN PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28516 PyObject
*resultobj
= 0;
28517 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28523 PyObject
* obj0
= 0 ;
28524 PyObject
* obj1
= 0 ;
28525 char * kwnames
[] = {
28526 (char *) "self",(char *) "editCancelled", NULL
28529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28531 if (!SWIG_IsOK(res1
)) {
28532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
28534 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28535 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28536 if (!SWIG_IsOK(ecode2
)) {
28537 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
28539 arg2
= static_cast< bool >(val2
);
28541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28542 (arg1
)->SetEditCanceled(arg2
);
28543 wxPyEndAllowThreads(__tstate
);
28544 if (PyErr_Occurred()) SWIG_fail
;
28546 resultobj
= SWIG_Py_Void();
28553 SWIGINTERN PyObject
*ListEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28555 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28556 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent
, SWIG_NewClientData(obj
));
28557 return SWIG_Py_Void();
28560 SWIGINTERN PyObject
*ListEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28561 return SWIG_Python_InitShadowInstance(args
);
28564 SWIGINTERN PyObject
*_wrap_new_ListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28565 PyObject
*resultobj
= 0;
28566 wxWindow
*arg1
= (wxWindow
*) 0 ;
28567 int arg2
= (int) -1 ;
28568 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28569 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28570 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28571 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28572 long arg5
= (long) wxLC_ICON
;
28573 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28574 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28575 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
28576 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28577 wxPyListCtrl
*result
= 0 ;
28588 bool temp7
= false ;
28589 PyObject
* obj0
= 0 ;
28590 PyObject
* obj1
= 0 ;
28591 PyObject
* obj2
= 0 ;
28592 PyObject
* obj3
= 0 ;
28593 PyObject
* obj4
= 0 ;
28594 PyObject
* obj5
= 0 ;
28595 PyObject
* obj6
= 0 ;
28596 char * kwnames
[] = {
28597 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28602 if (!SWIG_IsOK(res1
)) {
28603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
28605 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28607 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28608 if (!SWIG_IsOK(ecode2
)) {
28609 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
28611 arg2
= static_cast< int >(val2
);
28616 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28622 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28626 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28627 if (!SWIG_IsOK(ecode5
)) {
28628 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
28630 arg5
= static_cast< long >(val5
);
28633 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
28634 if (!SWIG_IsOK(res6
)) {
28635 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28638 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28640 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
28644 arg7
= wxString_in_helper(obj6
);
28645 if (arg7
== NULL
) SWIG_fail
;
28650 if (!wxPyCheckForApp()) SWIG_fail
;
28651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28652 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28653 wxPyEndAllowThreads(__tstate
);
28654 if (PyErr_Occurred()) SWIG_fail
;
28656 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_NEW
| 0 );
28671 SWIGINTERN PyObject
*_wrap_new_PreListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28672 PyObject
*resultobj
= 0;
28673 wxPyListCtrl
*result
= 0 ;
28675 if (!SWIG_Python_UnpackTuple(args
,"new_PreListCtrl",0,0,0)) SWIG_fail
;
28677 if (!wxPyCheckForApp()) SWIG_fail
;
28678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28679 result
= (wxPyListCtrl
*)new wxPyListCtrl();
28680 wxPyEndAllowThreads(__tstate
);
28681 if (PyErr_Occurred()) SWIG_fail
;
28683 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_OWN
| 0 );
28690 SWIGINTERN PyObject
*_wrap_ListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28691 PyObject
*resultobj
= 0;
28692 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28693 wxWindow
*arg2
= (wxWindow
*) 0 ;
28694 int arg3
= (int) -1 ;
28695 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28696 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28697 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28698 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28699 long arg6
= (long) wxLC_ICON
;
28700 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
28701 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
28702 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
28703 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28717 bool temp8
= false ;
28718 PyObject
* obj0
= 0 ;
28719 PyObject
* obj1
= 0 ;
28720 PyObject
* obj2
= 0 ;
28721 PyObject
* obj3
= 0 ;
28722 PyObject
* obj4
= 0 ;
28723 PyObject
* obj5
= 0 ;
28724 PyObject
* obj6
= 0 ;
28725 PyObject
* obj7
= 0 ;
28726 char * kwnames
[] = {
28727 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28732 if (!SWIG_IsOK(res1
)) {
28733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28735 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28736 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28737 if (!SWIG_IsOK(res2
)) {
28738 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
28740 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28742 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28743 if (!SWIG_IsOK(ecode3
)) {
28744 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
28746 arg3
= static_cast< int >(val3
);
28751 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28757 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28761 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28762 if (!SWIG_IsOK(ecode6
)) {
28763 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
28765 arg6
= static_cast< long >(val6
);
28768 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
28769 if (!SWIG_IsOK(res7
)) {
28770 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28773 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28775 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
28779 arg8
= wxString_in_helper(obj7
);
28780 if (arg8
== NULL
) SWIG_fail
;
28785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28786 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
28787 wxPyEndAllowThreads(__tstate
);
28788 if (PyErr_Occurred()) SWIG_fail
;
28791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28807 SWIGINTERN PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28808 PyObject
*resultobj
= 0;
28809 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28810 PyObject
*arg2
= (PyObject
*) 0 ;
28811 PyObject
*arg3
= (PyObject
*) 0 ;
28814 PyObject
* obj0
= 0 ;
28815 PyObject
* obj1
= 0 ;
28816 PyObject
* obj2
= 0 ;
28817 char * kwnames
[] = {
28818 (char *) "self",(char *) "self",(char *) "_class", NULL
28821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28823 if (!SWIG_IsOK(res1
)) {
28824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28826 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28831 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28832 wxPyEndAllowThreads(__tstate
);
28833 if (PyErr_Occurred()) SWIG_fail
;
28835 resultobj
= SWIG_Py_Void();
28842 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28843 PyObject
*resultobj
= 0;
28844 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28846 wxListItem
*result
= 0 ;
28851 PyObject
* obj0
= 0 ;
28852 PyObject
* obj1
= 0 ;
28853 char * kwnames
[] = {
28854 (char *) "self",(char *) "col", NULL
28857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28859 if (!SWIG_IsOK(res1
)) {
28860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28862 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28863 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28864 if (!SWIG_IsOK(ecode2
)) {
28865 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
28867 arg2
= static_cast< int >(val2
);
28869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28870 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
28871 wxPyEndAllowThreads(__tstate
);
28872 if (PyErr_Occurred()) SWIG_fail
;
28875 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28883 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28884 PyObject
*resultobj
= 0;
28885 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28887 wxListItem
*arg3
= 0 ;
28895 PyObject
* obj0
= 0 ;
28896 PyObject
* obj1
= 0 ;
28897 PyObject
* obj2
= 0 ;
28898 char * kwnames
[] = {
28899 (char *) "self",(char *) "col",(char *) "item", NULL
28902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28904 if (!SWIG_IsOK(res1
)) {
28905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28907 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28908 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28909 if (!SWIG_IsOK(ecode2
)) {
28910 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
28912 arg2
= static_cast< int >(val2
);
28913 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
28914 if (!SWIG_IsOK(res3
)) {
28915 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
28918 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
28920 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
28922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28923 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
28924 wxPyEndAllowThreads(__tstate
);
28925 if (PyErr_Occurred()) SWIG_fail
;
28928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28936 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28937 PyObject
*resultobj
= 0;
28938 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28945 PyObject
* obj0
= 0 ;
28946 PyObject
* obj1
= 0 ;
28947 char * kwnames
[] = {
28948 (char *) "self",(char *) "col", NULL
28951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28953 if (!SWIG_IsOK(res1
)) {
28954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28956 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28957 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28958 if (!SWIG_IsOK(ecode2
)) {
28959 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
28961 arg2
= static_cast< int >(val2
);
28963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28964 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
28965 wxPyEndAllowThreads(__tstate
);
28966 if (PyErr_Occurred()) SWIG_fail
;
28968 resultobj
= SWIG_From_int(static_cast< int >(result
));
28975 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28976 PyObject
*resultobj
= 0;
28977 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28987 PyObject
* obj0
= 0 ;
28988 PyObject
* obj1
= 0 ;
28989 PyObject
* obj2
= 0 ;
28990 char * kwnames
[] = {
28991 (char *) "self",(char *) "col",(char *) "width", NULL
28994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28996 if (!SWIG_IsOK(res1
)) {
28997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28999 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29000 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29001 if (!SWIG_IsOK(ecode2
)) {
29002 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29004 arg2
= static_cast< int >(val2
);
29005 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29006 if (!SWIG_IsOK(ecode3
)) {
29007 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
29009 arg3
= static_cast< int >(val3
);
29011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29012 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
29013 wxPyEndAllowThreads(__tstate
);
29014 if (PyErr_Occurred()) SWIG_fail
;
29017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29025 SWIGINTERN PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29026 PyObject
*resultobj
= 0;
29027 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29031 PyObject
*swig_obj
[1] ;
29033 if (!args
) SWIG_fail
;
29034 swig_obj
[0] = args
;
29035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29036 if (!SWIG_IsOK(res1
)) {
29037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29039 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29042 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
29043 wxPyEndAllowThreads(__tstate
);
29044 if (PyErr_Occurred()) SWIG_fail
;
29046 resultobj
= SWIG_From_int(static_cast< int >(result
));
29053 SWIGINTERN PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29054 PyObject
*resultobj
= 0;
29055 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29059 PyObject
*swig_obj
[1] ;
29061 if (!args
) SWIG_fail
;
29062 swig_obj
[0] = args
;
29063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29064 if (!SWIG_IsOK(res1
)) {
29065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29067 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29070 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
29071 wxPyEndAllowThreads(__tstate
);
29072 if (PyErr_Occurred()) SWIG_fail
;
29074 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29081 SWIGINTERN PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29082 PyObject
*resultobj
= 0;
29083 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29084 wxTextCtrl
*result
= 0 ;
29087 PyObject
*swig_obj
[1] ;
29089 if (!args
) SWIG_fail
;
29090 swig_obj
[0] = args
;
29091 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29092 if (!SWIG_IsOK(res1
)) {
29093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29095 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29098 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
29099 wxPyEndAllowThreads(__tstate
);
29100 if (PyErr_Occurred()) SWIG_fail
;
29103 resultobj
= wxPyMake_wxObject(result
, 0);
29111 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29112 PyObject
*resultobj
= 0;
29113 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29115 int arg3
= (int) 0 ;
29116 wxListItem
*result
= 0 ;
29123 PyObject
* obj0
= 0 ;
29124 PyObject
* obj1
= 0 ;
29125 PyObject
* obj2
= 0 ;
29126 char * kwnames
[] = {
29127 (char *) "self",(char *) "itemId",(char *) "col", NULL
29130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29132 if (!SWIG_IsOK(res1
)) {
29133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29135 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29136 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29137 if (!SWIG_IsOK(ecode2
)) {
29138 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
29140 arg2
= static_cast< long >(val2
);
29142 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29143 if (!SWIG_IsOK(ecode3
)) {
29144 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
29146 arg3
= static_cast< int >(val3
);
29149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29150 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
29151 wxPyEndAllowThreads(__tstate
);
29152 if (PyErr_Occurred()) SWIG_fail
;
29155 resultobj
= wxPyMake_wxObject(result
, (bool)0);
29163 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29164 PyObject
*resultobj
= 0;
29165 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29166 wxListItem
*arg2
= 0 ;
29172 PyObject
* obj0
= 0 ;
29173 PyObject
* obj1
= 0 ;
29174 char * kwnames
[] = {
29175 (char *) "self",(char *) "info", NULL
29178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29180 if (!SWIG_IsOK(res1
)) {
29181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29183 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29184 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
29185 if (!SWIG_IsOK(res2
)) {
29186 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29189 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29191 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
29193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29194 result
= (bool)(arg1
)->SetItem(*arg2
);
29195 wxPyEndAllowThreads(__tstate
);
29196 if (PyErr_Occurred()) SWIG_fail
;
29199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29207 SWIGINTERN PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29208 PyObject
*resultobj
= 0;
29209 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29212 wxString
*arg4
= 0 ;
29213 int arg5
= (int) -1 ;
29221 bool temp4
= false ;
29224 PyObject
* obj0
= 0 ;
29225 PyObject
* obj1
= 0 ;
29226 PyObject
* obj2
= 0 ;
29227 PyObject
* obj3
= 0 ;
29228 PyObject
* obj4
= 0 ;
29229 char * kwnames
[] = {
29230 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
29233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29235 if (!SWIG_IsOK(res1
)) {
29236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29238 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29239 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29240 if (!SWIG_IsOK(ecode2
)) {
29241 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
29243 arg2
= static_cast< long >(val2
);
29244 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29245 if (!SWIG_IsOK(ecode3
)) {
29246 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
29248 arg3
= static_cast< int >(val3
);
29250 arg4
= wxString_in_helper(obj3
);
29251 if (arg4
== NULL
) SWIG_fail
;
29255 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29256 if (!SWIG_IsOK(ecode5
)) {
29257 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
29259 arg5
= static_cast< int >(val5
);
29262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29263 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
29264 wxPyEndAllowThreads(__tstate
);
29265 if (PyErr_Occurred()) SWIG_fail
;
29267 resultobj
= SWIG_From_long(static_cast< long >(result
));
29282 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29283 PyObject
*resultobj
= 0;
29284 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29294 PyObject
* obj0
= 0 ;
29295 PyObject
* obj1
= 0 ;
29296 PyObject
* obj2
= 0 ;
29297 char * kwnames
[] = {
29298 (char *) "self",(char *) "item",(char *) "stateMask", NULL
29301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29303 if (!SWIG_IsOK(res1
)) {
29304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29306 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29307 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29308 if (!SWIG_IsOK(ecode2
)) {
29309 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
29311 arg2
= static_cast< long >(val2
);
29312 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29313 if (!SWIG_IsOK(ecode3
)) {
29314 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
29316 arg3
= static_cast< long >(val3
);
29318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29319 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
29320 wxPyEndAllowThreads(__tstate
);
29321 if (PyErr_Occurred()) SWIG_fail
;
29323 resultobj
= SWIG_From_int(static_cast< int >(result
));
29330 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29331 PyObject
*resultobj
= 0;
29332 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29345 PyObject
* obj0
= 0 ;
29346 PyObject
* obj1
= 0 ;
29347 PyObject
* obj2
= 0 ;
29348 PyObject
* obj3
= 0 ;
29349 char * kwnames
[] = {
29350 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
29353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29355 if (!SWIG_IsOK(res1
)) {
29356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29358 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29359 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29360 if (!SWIG_IsOK(ecode2
)) {
29361 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
29363 arg2
= static_cast< long >(val2
);
29364 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29365 if (!SWIG_IsOK(ecode3
)) {
29366 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
29368 arg3
= static_cast< long >(val3
);
29369 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
29370 if (!SWIG_IsOK(ecode4
)) {
29371 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
29373 arg4
= static_cast< long >(val4
);
29375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29376 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
29377 wxPyEndAllowThreads(__tstate
);
29378 if (PyErr_Occurred()) SWIG_fail
;
29381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29389 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29390 PyObject
*resultobj
= 0;
29391 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29394 int arg4
= (int) -1 ;
29404 PyObject
* obj0
= 0 ;
29405 PyObject
* obj1
= 0 ;
29406 PyObject
* obj2
= 0 ;
29407 PyObject
* obj3
= 0 ;
29408 char * kwnames
[] = {
29409 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
29412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29414 if (!SWIG_IsOK(res1
)) {
29415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29417 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29418 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29419 if (!SWIG_IsOK(ecode2
)) {
29420 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
29422 arg2
= static_cast< long >(val2
);
29423 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29424 if (!SWIG_IsOK(ecode3
)) {
29425 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
29427 arg3
= static_cast< int >(val3
);
29429 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29430 if (!SWIG_IsOK(ecode4
)) {
29431 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
29433 arg4
= static_cast< int >(val4
);
29436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29437 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
29438 wxPyEndAllowThreads(__tstate
);
29439 if (PyErr_Occurred()) SWIG_fail
;
29442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29450 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29451 PyObject
*resultobj
= 0;
29452 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29465 PyObject
* obj0
= 0 ;
29466 PyObject
* obj1
= 0 ;
29467 PyObject
* obj2
= 0 ;
29468 PyObject
* obj3
= 0 ;
29469 char * kwnames
[] = {
29470 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
29473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29475 if (!SWIG_IsOK(res1
)) {
29476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29478 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29479 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29480 if (!SWIG_IsOK(ecode2
)) {
29481 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
29483 arg2
= static_cast< long >(val2
);
29484 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29485 if (!SWIG_IsOK(ecode3
)) {
29486 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
29488 arg3
= static_cast< long >(val3
);
29489 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29490 if (!SWIG_IsOK(ecode4
)) {
29491 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
29493 arg4
= static_cast< int >(val4
);
29495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29496 result
= (bool)(arg1
)->SetItemColumnImage(arg2
,arg3
,arg4
);
29497 wxPyEndAllowThreads(__tstate
);
29498 if (PyErr_Occurred()) SWIG_fail
;
29501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29509 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29510 PyObject
*resultobj
= 0;
29511 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29518 PyObject
* obj0
= 0 ;
29519 PyObject
* obj1
= 0 ;
29520 char * kwnames
[] = {
29521 (char *) "self",(char *) "item", NULL
29524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29526 if (!SWIG_IsOK(res1
)) {
29527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29529 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29530 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29531 if (!SWIG_IsOK(ecode2
)) {
29532 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
29534 arg2
= static_cast< long >(val2
);
29536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29537 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
29538 wxPyEndAllowThreads(__tstate
);
29539 if (PyErr_Occurred()) SWIG_fail
;
29543 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29545 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29554 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29555 PyObject
*resultobj
= 0;
29556 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29558 wxString
*arg3
= 0 ;
29563 bool temp3
= false ;
29564 PyObject
* obj0
= 0 ;
29565 PyObject
* obj1
= 0 ;
29566 PyObject
* obj2
= 0 ;
29567 char * kwnames
[] = {
29568 (char *) "self",(char *) "item",(char *) "str", NULL
29571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29573 if (!SWIG_IsOK(res1
)) {
29574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29576 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29577 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29578 if (!SWIG_IsOK(ecode2
)) {
29579 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
29581 arg2
= static_cast< long >(val2
);
29583 arg3
= wxString_in_helper(obj2
);
29584 if (arg3
== NULL
) SWIG_fail
;
29588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29589 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
29590 wxPyEndAllowThreads(__tstate
);
29591 if (PyErr_Occurred()) SWIG_fail
;
29593 resultobj
= SWIG_Py_Void();
29608 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29609 PyObject
*resultobj
= 0;
29610 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29617 PyObject
* obj0
= 0 ;
29618 PyObject
* obj1
= 0 ;
29619 char * kwnames
[] = {
29620 (char *) "self",(char *) "item", NULL
29623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29625 if (!SWIG_IsOK(res1
)) {
29626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29628 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29629 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29630 if (!SWIG_IsOK(ecode2
)) {
29631 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
29633 arg2
= static_cast< long >(val2
);
29635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29636 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
29637 wxPyEndAllowThreads(__tstate
);
29638 if (PyErr_Occurred()) SWIG_fail
;
29640 resultobj
= SWIG_From_long(static_cast< long >(result
));
29647 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29648 PyObject
*resultobj
= 0;
29649 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29659 PyObject
* obj0
= 0 ;
29660 PyObject
* obj1
= 0 ;
29661 PyObject
* obj2
= 0 ;
29662 char * kwnames
[] = {
29663 (char *) "self",(char *) "item",(char *) "data", NULL
29666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29668 if (!SWIG_IsOK(res1
)) {
29669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29671 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29672 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29673 if (!SWIG_IsOK(ecode2
)) {
29674 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
29676 arg2
= static_cast< long >(val2
);
29677 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29678 if (!SWIG_IsOK(ecode3
)) {
29679 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
29681 arg3
= static_cast< long >(val3
);
29683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29684 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
29685 wxPyEndAllowThreads(__tstate
);
29686 if (PyErr_Occurred()) SWIG_fail
;
29689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29697 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29698 PyObject
*resultobj
= 0;
29699 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29706 PyObject
* obj0
= 0 ;
29707 PyObject
* obj1
= 0 ;
29708 char * kwnames
[] = {
29709 (char *) "self",(char *) "item", NULL
29712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29714 if (!SWIG_IsOK(res1
)) {
29715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29717 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29718 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29719 if (!SWIG_IsOK(ecode2
)) {
29720 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
29722 arg2
= static_cast< long >(val2
);
29724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29725 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
29726 wxPyEndAllowThreads(__tstate
);
29727 if (PyErr_Occurred()) SWIG_fail
;
29729 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
29736 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29737 PyObject
*resultobj
= 0;
29738 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29740 int arg3
= (int) wxLIST_RECT_BOUNDS
;
29748 PyObject
* obj0
= 0 ;
29749 PyObject
* obj1
= 0 ;
29750 PyObject
* obj2
= 0 ;
29751 char * kwnames
[] = {
29752 (char *) "self",(char *) "item",(char *) "code", NULL
29755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29757 if (!SWIG_IsOK(res1
)) {
29758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29760 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29761 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29762 if (!SWIG_IsOK(ecode2
)) {
29763 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
29765 arg2
= static_cast< long >(val2
);
29767 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29768 if (!SWIG_IsOK(ecode3
)) {
29769 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
29771 arg3
= static_cast< int >(val3
);
29774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29775 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
29776 wxPyEndAllowThreads(__tstate
);
29777 if (PyErr_Occurred()) SWIG_fail
;
29779 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29786 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29787 PyObject
*resultobj
= 0;
29788 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29790 wxPoint
*arg3
= 0 ;
29797 PyObject
* obj0
= 0 ;
29798 PyObject
* obj1
= 0 ;
29799 PyObject
* obj2
= 0 ;
29800 char * kwnames
[] = {
29801 (char *) "self",(char *) "item",(char *) "pos", NULL
29804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29806 if (!SWIG_IsOK(res1
)) {
29807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29809 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29810 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29811 if (!SWIG_IsOK(ecode2
)) {
29812 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
29814 arg2
= static_cast< long >(val2
);
29817 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29821 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
29822 wxPyEndAllowThreads(__tstate
);
29823 if (PyErr_Occurred()) SWIG_fail
;
29826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29834 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29835 PyObject
*resultobj
= 0;
29836 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29840 PyObject
*swig_obj
[1] ;
29842 if (!args
) SWIG_fail
;
29843 swig_obj
[0] = args
;
29844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29845 if (!SWIG_IsOK(res1
)) {
29846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29848 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29851 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
29852 wxPyEndAllowThreads(__tstate
);
29853 if (PyErr_Occurred()) SWIG_fail
;
29855 resultobj
= SWIG_From_int(static_cast< int >(result
));
29862 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29863 PyObject
*resultobj
= 0;
29864 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29868 PyObject
*swig_obj
[1] ;
29870 if (!args
) SWIG_fail
;
29871 swig_obj
[0] = args
;
29872 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29873 if (!SWIG_IsOK(res1
)) {
29874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29876 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29879 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
29880 wxPyEndAllowThreads(__tstate
);
29881 if (PyErr_Occurred()) SWIG_fail
;
29883 resultobj
= SWIG_From_int(static_cast< int >(result
));
29890 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29891 PyObject
*resultobj
= 0;
29892 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29896 PyObject
*swig_obj
[1] ;
29898 if (!args
) SWIG_fail
;
29899 swig_obj
[0] = args
;
29900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29901 if (!SWIG_IsOK(res1
)) {
29902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29904 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29907 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
29908 wxPyEndAllowThreads(__tstate
);
29909 if (PyErr_Occurred()) SWIG_fail
;
29911 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
29918 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29919 PyObject
*resultobj
= 0;
29920 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29922 bool arg3
= (bool) false ;
29929 PyObject
* obj0
= 0 ;
29930 PyObject
* obj1
= 0 ;
29931 PyObject
* obj2
= 0 ;
29932 char * kwnames
[] = {
29933 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
29936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29938 if (!SWIG_IsOK(res1
)) {
29939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29941 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29942 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29943 if (!SWIG_IsOK(ecode2
)) {
29944 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "2"" of type '" "int""'");
29946 arg2
= static_cast< int >(val2
);
29948 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
29949 if (!SWIG_IsOK(ecode3
)) {
29950 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "3"" of type '" "bool""'");
29952 arg3
= static_cast< bool >(val3
);
29955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29956 (arg1
)->SetItemSpacing(arg2
,arg3
);
29957 wxPyEndAllowThreads(__tstate
);
29958 if (PyErr_Occurred()) SWIG_fail
;
29960 resultobj
= SWIG_Py_Void();
29967 SWIGINTERN PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29968 PyObject
*resultobj
= 0;
29969 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29973 PyObject
*swig_obj
[1] ;
29975 if (!args
) SWIG_fail
;
29976 swig_obj
[0] = args
;
29977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29978 if (!SWIG_IsOK(res1
)) {
29979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29981 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29984 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
29985 wxPyEndAllowThreads(__tstate
);
29986 if (PyErr_Occurred()) SWIG_fail
;
29988 resultobj
= SWIG_From_int(static_cast< int >(result
));
29995 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29996 PyObject
*resultobj
= 0;
29997 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30001 PyObject
*swig_obj
[1] ;
30003 if (!args
) SWIG_fail
;
30004 swig_obj
[0] = args
;
30005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30006 if (!SWIG_IsOK(res1
)) {
30007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30009 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30012 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
30013 wxPyEndAllowThreads(__tstate
);
30014 if (PyErr_Occurred()) SWIG_fail
;
30016 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
30023 SWIGINTERN PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30024 PyObject
*resultobj
= 0;
30025 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30026 wxColour
*arg2
= 0 ;
30030 PyObject
* obj0
= 0 ;
30031 PyObject
* obj1
= 0 ;
30032 char * kwnames
[] = {
30033 (char *) "self",(char *) "col", NULL
30036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30038 if (!SWIG_IsOK(res1
)) {
30039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30041 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30044 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30048 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
30049 wxPyEndAllowThreads(__tstate
);
30050 if (PyErr_Occurred()) SWIG_fail
;
30052 resultobj
= SWIG_Py_Void();
30059 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30060 PyObject
*resultobj
= 0;
30061 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30065 PyObject
*swig_obj
[1] ;
30067 if (!args
) SWIG_fail
;
30068 swig_obj
[0] = args
;
30069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30070 if (!SWIG_IsOK(res1
)) {
30071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30073 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30076 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
30077 wxPyEndAllowThreads(__tstate
);
30078 if (PyErr_Occurred()) SWIG_fail
;
30080 resultobj
= SWIG_From_long(static_cast< long >(result
));
30087 SWIGINTERN PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30088 PyObject
*resultobj
= 0;
30089 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30091 bool arg3
= (bool) true ;
30098 PyObject
* obj0
= 0 ;
30099 PyObject
* obj1
= 0 ;
30100 PyObject
* obj2
= 0 ;
30101 char * kwnames
[] = {
30102 (char *) "self",(char *) "style",(char *) "add", NULL
30105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30107 if (!SWIG_IsOK(res1
)) {
30108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30110 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30111 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30112 if (!SWIG_IsOK(ecode2
)) {
30113 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
30115 arg2
= static_cast< long >(val2
);
30117 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30118 if (!SWIG_IsOK(ecode3
)) {
30119 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
30121 arg3
= static_cast< bool >(val3
);
30124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30125 (arg1
)->SetSingleStyle(arg2
,arg3
);
30126 wxPyEndAllowThreads(__tstate
);
30127 if (PyErr_Occurred()) SWIG_fail
;
30129 resultobj
= SWIG_Py_Void();
30136 SWIGINTERN PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30137 PyObject
*resultobj
= 0;
30138 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30140 int arg3
= (int) wxLIST_NEXT_ALL
;
30141 int arg4
= (int) wxLIST_STATE_DONTCARE
;
30151 PyObject
* obj0
= 0 ;
30152 PyObject
* obj1
= 0 ;
30153 PyObject
* obj2
= 0 ;
30154 PyObject
* obj3
= 0 ;
30155 char * kwnames
[] = {
30156 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
30159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30161 if (!SWIG_IsOK(res1
)) {
30162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30164 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30165 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30166 if (!SWIG_IsOK(ecode2
)) {
30167 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
30169 arg2
= static_cast< long >(val2
);
30171 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30172 if (!SWIG_IsOK(ecode3
)) {
30173 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
30175 arg3
= static_cast< int >(val3
);
30178 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30179 if (!SWIG_IsOK(ecode4
)) {
30180 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
30182 arg4
= static_cast< int >(val4
);
30185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30186 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
30187 wxPyEndAllowThreads(__tstate
);
30188 if (PyErr_Occurred()) SWIG_fail
;
30190 resultobj
= SWIG_From_long(static_cast< long >(result
));
30197 SWIGINTERN PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30198 PyObject
*resultobj
= 0;
30199 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30201 wxImageList
*result
= 0 ;
30206 PyObject
* obj0
= 0 ;
30207 PyObject
* obj1
= 0 ;
30208 char * kwnames
[] = {
30209 (char *) "self",(char *) "which", NULL
30212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30214 if (!SWIG_IsOK(res1
)) {
30215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30217 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30218 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30219 if (!SWIG_IsOK(ecode2
)) {
30220 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
30222 arg2
= static_cast< int >(val2
);
30224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30225 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
30226 wxPyEndAllowThreads(__tstate
);
30227 if (PyErr_Occurred()) SWIG_fail
;
30230 resultobj
= wxPyMake_wxObject(result
, (bool)0);
30238 SWIGINTERN PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30239 PyObject
*resultobj
= 0;
30240 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30241 wxImageList
*arg2
= (wxImageList
*) 0 ;
30249 PyObject
* obj0
= 0 ;
30250 PyObject
* obj1
= 0 ;
30251 PyObject
* obj2
= 0 ;
30252 char * kwnames
[] = {
30253 (char *) "self",(char *) "imageList",(char *) "which", NULL
30256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30258 if (!SWIG_IsOK(res1
)) {
30259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30261 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30262 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30263 if (!SWIG_IsOK(res2
)) {
30264 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30266 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
30267 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30268 if (!SWIG_IsOK(ecode3
)) {
30269 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
30271 arg3
= static_cast< int >(val3
);
30273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30274 (arg1
)->SetImageList(arg2
,arg3
);
30275 wxPyEndAllowThreads(__tstate
);
30276 if (PyErr_Occurred()) SWIG_fail
;
30278 resultobj
= SWIG_Py_Void();
30285 SWIGINTERN PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30286 PyObject
*resultobj
= 0;
30287 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30288 wxImageList
*arg2
= (wxImageList
*) 0 ;
30295 PyObject
* obj0
= 0 ;
30296 PyObject
* obj1
= 0 ;
30297 PyObject
* obj2
= 0 ;
30298 char * kwnames
[] = {
30299 (char *) "self",(char *) "imageList",(char *) "which", NULL
30302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30304 if (!SWIG_IsOK(res1
)) {
30305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30307 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30308 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
30309 if (!SWIG_IsOK(res2
)) {
30310 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30312 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30313 if (!SWIG_IsOK(ecode3
)) {
30314 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
30316 arg3
= static_cast< int >(val3
);
30318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30319 (arg1
)->AssignImageList(arg2
,arg3
);
30320 wxPyEndAllowThreads(__tstate
);
30321 if (PyErr_Occurred()) SWIG_fail
;
30323 resultobj
= SWIG_Py_Void();
30330 SWIGINTERN PyObject
*_wrap_ListCtrl_InReportView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30331 PyObject
*resultobj
= 0;
30332 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30336 PyObject
*swig_obj
[1] ;
30338 if (!args
) SWIG_fail
;
30339 swig_obj
[0] = args
;
30340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30341 if (!SWIG_IsOK(res1
)) {
30342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30344 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30347 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
30348 wxPyEndAllowThreads(__tstate
);
30349 if (PyErr_Occurred()) SWIG_fail
;
30352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30360 SWIGINTERN PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30361 PyObject
*resultobj
= 0;
30362 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30366 PyObject
*swig_obj
[1] ;
30368 if (!args
) SWIG_fail
;
30369 swig_obj
[0] = args
;
30370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30371 if (!SWIG_IsOK(res1
)) {
30372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30374 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30377 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
30378 wxPyEndAllowThreads(__tstate
);
30379 if (PyErr_Occurred()) SWIG_fail
;
30382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30390 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30391 PyObject
*resultobj
= 0;
30392 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30398 PyObject
* obj0
= 0 ;
30399 PyObject
* obj1
= 0 ;
30400 char * kwnames
[] = {
30401 (char *) "self",(char *) "item", NULL
30404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30406 if (!SWIG_IsOK(res1
)) {
30407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30409 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30410 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30411 if (!SWIG_IsOK(ecode2
)) {
30412 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
30414 arg2
= static_cast< long >(val2
);
30416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30417 (arg1
)->RefreshItem(arg2
);
30418 wxPyEndAllowThreads(__tstate
);
30419 if (PyErr_Occurred()) SWIG_fail
;
30421 resultobj
= SWIG_Py_Void();
30428 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30429 PyObject
*resultobj
= 0;
30430 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30439 PyObject
* obj0
= 0 ;
30440 PyObject
* obj1
= 0 ;
30441 PyObject
* obj2
= 0 ;
30442 char * kwnames
[] = {
30443 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
30446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30448 if (!SWIG_IsOK(res1
)) {
30449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30451 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30452 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30453 if (!SWIG_IsOK(ecode2
)) {
30454 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "2"" of type '" "long""'");
30456 arg2
= static_cast< long >(val2
);
30457 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30458 if (!SWIG_IsOK(ecode3
)) {
30459 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
30461 arg3
= static_cast< long >(val3
);
30463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30464 (arg1
)->RefreshItems(arg2
,arg3
);
30465 wxPyEndAllowThreads(__tstate
);
30466 if (PyErr_Occurred()) SWIG_fail
;
30468 resultobj
= SWIG_Py_Void();
30475 SWIGINTERN PyObject
*_wrap_ListCtrl_Arrange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30476 PyObject
*resultobj
= 0;
30477 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30478 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
30484 PyObject
* obj0
= 0 ;
30485 PyObject
* obj1
= 0 ;
30486 char * kwnames
[] = {
30487 (char *) "self",(char *) "flag", NULL
30490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30492 if (!SWIG_IsOK(res1
)) {
30493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30495 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30497 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30498 if (!SWIG_IsOK(ecode2
)) {
30499 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
30501 arg2
= static_cast< int >(val2
);
30504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30505 result
= (bool)(arg1
)->Arrange(arg2
);
30506 wxPyEndAllowThreads(__tstate
);
30507 if (PyErr_Occurred()) SWIG_fail
;
30510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30518 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30519 PyObject
*resultobj
= 0;
30520 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30527 PyObject
* obj0
= 0 ;
30528 PyObject
* obj1
= 0 ;
30529 char * kwnames
[] = {
30530 (char *) "self",(char *) "item", NULL
30533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30535 if (!SWIG_IsOK(res1
)) {
30536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30538 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30539 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30540 if (!SWIG_IsOK(ecode2
)) {
30541 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
30543 arg2
= static_cast< long >(val2
);
30545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30546 result
= (bool)(arg1
)->DeleteItem(arg2
);
30547 wxPyEndAllowThreads(__tstate
);
30548 if (PyErr_Occurred()) SWIG_fail
;
30551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30559 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30560 PyObject
*resultobj
= 0;
30561 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30565 PyObject
*swig_obj
[1] ;
30567 if (!args
) SWIG_fail
;
30568 swig_obj
[0] = args
;
30569 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30570 if (!SWIG_IsOK(res1
)) {
30571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30573 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30576 result
= (bool)(arg1
)->DeleteAllItems();
30577 wxPyEndAllowThreads(__tstate
);
30578 if (PyErr_Occurred()) SWIG_fail
;
30581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30589 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30590 PyObject
*resultobj
= 0;
30591 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30598 PyObject
* obj0
= 0 ;
30599 PyObject
* obj1
= 0 ;
30600 char * kwnames
[] = {
30601 (char *) "self",(char *) "col", NULL
30604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30606 if (!SWIG_IsOK(res1
)) {
30607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30609 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30610 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30611 if (!SWIG_IsOK(ecode2
)) {
30612 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
30614 arg2
= static_cast< int >(val2
);
30616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30617 result
= (bool)(arg1
)->DeleteColumn(arg2
);
30618 wxPyEndAllowThreads(__tstate
);
30619 if (PyErr_Occurred()) SWIG_fail
;
30622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30630 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllColumns(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_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30644 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30647 result
= (bool)(arg1
)->DeleteAllColumns();
30648 wxPyEndAllowThreads(__tstate
);
30649 if (PyErr_Occurred()) SWIG_fail
;
30652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30660 SWIGINTERN PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30661 PyObject
*resultobj
= 0;
30662 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30665 PyObject
*swig_obj
[1] ;
30667 if (!args
) SWIG_fail
;
30668 swig_obj
[0] = args
;
30669 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30670 if (!SWIG_IsOK(res1
)) {
30671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30673 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30676 (arg1
)->ClearAll();
30677 wxPyEndAllowThreads(__tstate
);
30678 if (PyErr_Occurred()) SWIG_fail
;
30680 resultobj
= SWIG_Py_Void();
30687 SWIGINTERN PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30688 PyObject
*resultobj
= 0;
30689 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30695 PyObject
* obj0
= 0 ;
30696 PyObject
* obj1
= 0 ;
30697 char * kwnames
[] = {
30698 (char *) "self",(char *) "item", NULL
30701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30703 if (!SWIG_IsOK(res1
)) {
30704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30706 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30707 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30708 if (!SWIG_IsOK(ecode2
)) {
30709 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
30711 arg2
= static_cast< long >(val2
);
30713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30714 (arg1
)->EditLabel(arg2
);
30715 wxPyEndAllowThreads(__tstate
);
30716 if (PyErr_Occurred()) SWIG_fail
;
30718 resultobj
= SWIG_Py_Void();
30725 SWIGINTERN PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30726 PyObject
*resultobj
= 0;
30727 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30734 PyObject
* obj0
= 0 ;
30735 PyObject
* obj1
= 0 ;
30736 char * kwnames
[] = {
30737 (char *) "self",(char *) "item", NULL
30740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30742 if (!SWIG_IsOK(res1
)) {
30743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30745 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30746 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30747 if (!SWIG_IsOK(ecode2
)) {
30748 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
30750 arg2
= static_cast< long >(val2
);
30752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30753 result
= (bool)(arg1
)->EnsureVisible(arg2
);
30754 wxPyEndAllowThreads(__tstate
);
30755 if (PyErr_Occurred()) SWIG_fail
;
30758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30766 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30767 PyObject
*resultobj
= 0;
30768 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30770 wxString
*arg3
= 0 ;
30771 bool arg4
= (bool) false ;
30777 bool temp3
= false ;
30780 PyObject
* obj0
= 0 ;
30781 PyObject
* obj1
= 0 ;
30782 PyObject
* obj2
= 0 ;
30783 PyObject
* obj3
= 0 ;
30784 char * kwnames
[] = {
30785 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
30788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30790 if (!SWIG_IsOK(res1
)) {
30791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30793 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30794 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30795 if (!SWIG_IsOK(ecode2
)) {
30796 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
30798 arg2
= static_cast< long >(val2
);
30800 arg3
= wxString_in_helper(obj2
);
30801 if (arg3
== NULL
) SWIG_fail
;
30805 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
30806 if (!SWIG_IsOK(ecode4
)) {
30807 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
30809 arg4
= static_cast< bool >(val4
);
30812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30813 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
30814 wxPyEndAllowThreads(__tstate
);
30815 if (PyErr_Occurred()) SWIG_fail
;
30817 resultobj
= SWIG_From_long(static_cast< long >(result
));
30832 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30833 PyObject
*resultobj
= 0;
30834 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30844 PyObject
* obj0
= 0 ;
30845 PyObject
* obj1
= 0 ;
30846 PyObject
* obj2
= 0 ;
30847 char * kwnames
[] = {
30848 (char *) "self",(char *) "start",(char *) "data", NULL
30851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30853 if (!SWIG_IsOK(res1
)) {
30854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30856 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30857 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30858 if (!SWIG_IsOK(ecode2
)) {
30859 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
30861 arg2
= static_cast< long >(val2
);
30862 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30863 if (!SWIG_IsOK(ecode3
)) {
30864 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
30866 arg3
= static_cast< long >(val3
);
30868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30869 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
30870 wxPyEndAllowThreads(__tstate
);
30871 if (PyErr_Occurred()) SWIG_fail
;
30873 resultobj
= SWIG_From_long(static_cast< long >(result
));
30880 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30881 PyObject
*resultobj
= 0;
30882 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30884 wxPoint
*arg3
= 0 ;
30894 PyObject
* obj0
= 0 ;
30895 PyObject
* obj1
= 0 ;
30896 PyObject
* obj2
= 0 ;
30897 PyObject
* obj3
= 0 ;
30898 char * kwnames
[] = {
30899 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
30902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30904 if (!SWIG_IsOK(res1
)) {
30905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30907 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30908 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30909 if (!SWIG_IsOK(ecode2
)) {
30910 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
30912 arg2
= static_cast< long >(val2
);
30915 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30917 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30918 if (!SWIG_IsOK(ecode4
)) {
30919 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
30921 arg4
= static_cast< int >(val4
);
30923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30924 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
30925 wxPyEndAllowThreads(__tstate
);
30926 if (PyErr_Occurred()) SWIG_fail
;
30928 resultobj
= SWIG_From_long(static_cast< long >(result
));
30935 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30936 PyObject
*resultobj
= 0;
30937 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30938 wxPoint
*arg2
= 0 ;
30945 int res3
= SWIG_TMPOBJ
;
30946 PyObject
* obj0
= 0 ;
30947 PyObject
* obj1
= 0 ;
30948 char * kwnames
[] = {
30949 (char *) "self",(char *) "point", NULL
30953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30955 if (!SWIG_IsOK(res1
)) {
30956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30958 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30961 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30965 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
30966 wxPyEndAllowThreads(__tstate
);
30967 if (PyErr_Occurred()) SWIG_fail
;
30969 resultobj
= SWIG_From_long(static_cast< long >(result
));
30970 if (SWIG_IsTmpObj(res3
)) {
30971 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
30973 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30974 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
30982 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTestSubItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30983 PyObject
*resultobj
= 0;
30984 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30985 wxPoint
*arg2
= 0 ;
30987 long *arg4
= (long *) 0 ;
30993 int res3
= SWIG_TMPOBJ
;
30995 int res4
= SWIG_TMPOBJ
;
30996 PyObject
* obj0
= 0 ;
30997 PyObject
* obj1
= 0 ;
30998 char * kwnames
[] = {
30999 (char *) "self",(char *) "point", NULL
31004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTestSubItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31006 if (!SWIG_IsOK(res1
)) {
31007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTestSubItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31009 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31012 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31016 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
,arg4
);
31017 wxPyEndAllowThreads(__tstate
);
31018 if (PyErr_Occurred()) SWIG_fail
;
31020 resultobj
= SWIG_From_long(static_cast< long >(result
));
31021 if (SWIG_IsTmpObj(res3
)) {
31022 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31024 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31025 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31027 if (SWIG_IsTmpObj(res4
)) {
31028 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
31030 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31031 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
31039 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31040 PyObject
*resultobj
= 0;
31041 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31042 wxListItem
*arg2
= 0 ;
31048 PyObject
* obj0
= 0 ;
31049 PyObject
* obj1
= 0 ;
31050 char * kwnames
[] = {
31051 (char *) "self",(char *) "info", NULL
31054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31056 if (!SWIG_IsOK(res1
)) {
31057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31059 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31060 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
31061 if (!SWIG_IsOK(res2
)) {
31062 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31065 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31067 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
31069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31070 result
= (long)(arg1
)->InsertItem(*arg2
);
31071 wxPyEndAllowThreads(__tstate
);
31072 if (PyErr_Occurred()) SWIG_fail
;
31074 resultobj
= SWIG_From_long(static_cast< long >(result
));
31081 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31082 PyObject
*resultobj
= 0;
31083 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31085 wxString
*arg3
= 0 ;
31086 int arg4
= (int) -1 ;
31092 bool temp3
= false ;
31095 PyObject
* obj0
= 0 ;
31096 PyObject
* obj1
= 0 ;
31097 PyObject
* obj2
= 0 ;
31098 PyObject
* obj3
= 0 ;
31099 char * kwnames
[] = {
31100 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31105 if (!SWIG_IsOK(res1
)) {
31106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31108 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31109 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31110 if (!SWIG_IsOK(ecode2
)) {
31111 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
31113 arg2
= static_cast< long >(val2
);
31115 arg3
= wxString_in_helper(obj2
);
31116 if (arg3
== NULL
) SWIG_fail
;
31120 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31121 if (!SWIG_IsOK(ecode4
)) {
31122 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
31124 arg4
= static_cast< int >(val4
);
31127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31128 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31129 wxPyEndAllowThreads(__tstate
);
31130 if (PyErr_Occurred()) SWIG_fail
;
31132 resultobj
= SWIG_From_long(static_cast< long >(result
));
31147 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31148 PyObject
*resultobj
= 0;
31149 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31159 PyObject
* obj0
= 0 ;
31160 PyObject
* obj1
= 0 ;
31161 PyObject
* obj2
= 0 ;
31162 char * kwnames
[] = {
31163 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
31166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31168 if (!SWIG_IsOK(res1
)) {
31169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31171 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31172 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31173 if (!SWIG_IsOK(ecode2
)) {
31174 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
31176 arg2
= static_cast< long >(val2
);
31177 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31178 if (!SWIG_IsOK(ecode3
)) {
31179 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
31181 arg3
= static_cast< int >(val3
);
31183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31184 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
31185 wxPyEndAllowThreads(__tstate
);
31186 if (PyErr_Occurred()) SWIG_fail
;
31188 resultobj
= SWIG_From_long(static_cast< long >(result
));
31195 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31196 PyObject
*resultobj
= 0;
31197 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31199 wxString
*arg3
= 0 ;
31206 bool temp3
= false ;
31209 PyObject
* obj0
= 0 ;
31210 PyObject
* obj1
= 0 ;
31211 PyObject
* obj2
= 0 ;
31212 PyObject
* obj3
= 0 ;
31213 char * kwnames
[] = {
31214 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31219 if (!SWIG_IsOK(res1
)) {
31220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31222 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31223 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31224 if (!SWIG_IsOK(ecode2
)) {
31225 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
31227 arg2
= static_cast< long >(val2
);
31229 arg3
= wxString_in_helper(obj2
);
31230 if (arg3
== NULL
) SWIG_fail
;
31233 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31234 if (!SWIG_IsOK(ecode4
)) {
31235 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
31237 arg4
= static_cast< int >(val4
);
31239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31240 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31241 wxPyEndAllowThreads(__tstate
);
31242 if (PyErr_Occurred()) SWIG_fail
;
31244 resultobj
= SWIG_From_long(static_cast< long >(result
));
31259 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31260 PyObject
*resultobj
= 0;
31261 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31263 wxListItem
*arg3
= 0 ;
31271 PyObject
* obj0
= 0 ;
31272 PyObject
* obj1
= 0 ;
31273 PyObject
* obj2
= 0 ;
31274 char * kwnames
[] = {
31275 (char *) "self",(char *) "col",(char *) "info", NULL
31278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31280 if (!SWIG_IsOK(res1
)) {
31281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31283 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31284 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31285 if (!SWIG_IsOK(ecode2
)) {
31286 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
31288 arg2
= static_cast< long >(val2
);
31289 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
31290 if (!SWIG_IsOK(res3
)) {
31291 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31294 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31296 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
31298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31299 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
31300 wxPyEndAllowThreads(__tstate
);
31301 if (PyErr_Occurred()) SWIG_fail
;
31303 resultobj
= SWIG_From_long(static_cast< long >(result
));
31310 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31311 PyObject
*resultobj
= 0;
31312 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31314 wxString
*arg3
= 0 ;
31315 int arg4
= (int) wxLIST_FORMAT_LEFT
;
31316 int arg5
= (int) -1 ;
31322 bool temp3
= false ;
31327 PyObject
* obj0
= 0 ;
31328 PyObject
* obj1
= 0 ;
31329 PyObject
* obj2
= 0 ;
31330 PyObject
* obj3
= 0 ;
31331 PyObject
* obj4
= 0 ;
31332 char * kwnames
[] = {
31333 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
31336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31338 if (!SWIG_IsOK(res1
)) {
31339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31341 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31342 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31343 if (!SWIG_IsOK(ecode2
)) {
31344 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
31346 arg2
= static_cast< long >(val2
);
31348 arg3
= wxString_in_helper(obj2
);
31349 if (arg3
== NULL
) SWIG_fail
;
31353 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31354 if (!SWIG_IsOK(ecode4
)) {
31355 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
31357 arg4
= static_cast< int >(val4
);
31360 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31361 if (!SWIG_IsOK(ecode5
)) {
31362 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
31364 arg5
= static_cast< int >(val5
);
31367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31368 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
31369 wxPyEndAllowThreads(__tstate
);
31370 if (PyErr_Occurred()) SWIG_fail
;
31372 resultobj
= SWIG_From_long(static_cast< long >(result
));
31387 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31388 PyObject
*resultobj
= 0;
31389 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31395 PyObject
* obj0
= 0 ;
31396 PyObject
* obj1
= 0 ;
31397 char * kwnames
[] = {
31398 (char *) "self",(char *) "count", NULL
31401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31403 if (!SWIG_IsOK(res1
)) {
31404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31406 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31407 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31408 if (!SWIG_IsOK(ecode2
)) {
31409 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
31411 arg2
= static_cast< long >(val2
);
31413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31414 (arg1
)->SetItemCount(arg2
);
31415 wxPyEndAllowThreads(__tstate
);
31416 if (PyErr_Occurred()) SWIG_fail
;
31418 resultobj
= SWIG_Py_Void();
31425 SWIGINTERN PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31426 PyObject
*resultobj
= 0;
31427 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31437 PyObject
* obj0
= 0 ;
31438 PyObject
* obj1
= 0 ;
31439 PyObject
* obj2
= 0 ;
31440 char * kwnames
[] = {
31441 (char *) "self",(char *) "dx",(char *) "dy", NULL
31444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31446 if (!SWIG_IsOK(res1
)) {
31447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31449 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31450 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31451 if (!SWIG_IsOK(ecode2
)) {
31452 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
31454 arg2
= static_cast< int >(val2
);
31455 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31456 if (!SWIG_IsOK(ecode3
)) {
31457 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
31459 arg3
= static_cast< int >(val3
);
31461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31462 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
31463 wxPyEndAllowThreads(__tstate
);
31464 if (PyErr_Occurred()) SWIG_fail
;
31467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31475 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31476 PyObject
*resultobj
= 0;
31477 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31479 wxColour
*arg3
= 0 ;
31485 PyObject
* obj0
= 0 ;
31486 PyObject
* obj1
= 0 ;
31487 PyObject
* obj2
= 0 ;
31488 char * kwnames
[] = {
31489 (char *) "self",(char *) "item",(char *) "col", NULL
31492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31494 if (!SWIG_IsOK(res1
)) {
31495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31497 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31498 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31499 if (!SWIG_IsOK(ecode2
)) {
31500 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31502 arg2
= static_cast< long >(val2
);
31505 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31509 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
31510 wxPyEndAllowThreads(__tstate
);
31511 if (PyErr_Occurred()) SWIG_fail
;
31513 resultobj
= SWIG_Py_Void();
31520 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31521 PyObject
*resultobj
= 0;
31522 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31529 PyObject
* obj0
= 0 ;
31530 PyObject
* obj1
= 0 ;
31531 char * kwnames
[] = {
31532 (char *) "self",(char *) "item", NULL
31535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31537 if (!SWIG_IsOK(res1
)) {
31538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31540 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31541 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31542 if (!SWIG_IsOK(ecode2
)) {
31543 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31545 arg2
= static_cast< long >(val2
);
31547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31548 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
31549 wxPyEndAllowThreads(__tstate
);
31550 if (PyErr_Occurred()) SWIG_fail
;
31552 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31559 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31560 PyObject
*resultobj
= 0;
31561 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31563 wxColour
*arg3
= 0 ;
31569 PyObject
* obj0
= 0 ;
31570 PyObject
* obj1
= 0 ;
31571 PyObject
* obj2
= 0 ;
31572 char * kwnames
[] = {
31573 (char *) "self",(char *) "item",(char *) "col", NULL
31576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31578 if (!SWIG_IsOK(res1
)) {
31579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31581 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31582 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31583 if (!SWIG_IsOK(ecode2
)) {
31584 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31586 arg2
= static_cast< long >(val2
);
31589 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31593 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
31594 wxPyEndAllowThreads(__tstate
);
31595 if (PyErr_Occurred()) SWIG_fail
;
31597 resultobj
= SWIG_Py_Void();
31604 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31605 PyObject
*resultobj
= 0;
31606 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31613 PyObject
* obj0
= 0 ;
31614 PyObject
* obj1
= 0 ;
31615 char * kwnames
[] = {
31616 (char *) "self",(char *) "item", NULL
31619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31621 if (!SWIG_IsOK(res1
)) {
31622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31624 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31625 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31626 if (!SWIG_IsOK(ecode2
)) {
31627 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31629 arg2
= static_cast< long >(val2
);
31631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31632 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
31633 wxPyEndAllowThreads(__tstate
);
31634 if (PyErr_Occurred()) SWIG_fail
;
31636 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31643 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31644 PyObject
*resultobj
= 0;
31645 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31654 PyObject
* obj0
= 0 ;
31655 PyObject
* obj1
= 0 ;
31656 PyObject
* obj2
= 0 ;
31657 char * kwnames
[] = {
31658 (char *) "self",(char *) "item",(char *) "f", NULL
31661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31663 if (!SWIG_IsOK(res1
)) {
31664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31666 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31667 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31668 if (!SWIG_IsOK(ecode2
)) {
31669 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
31671 arg2
= static_cast< long >(val2
);
31672 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
31673 if (!SWIG_IsOK(res3
)) {
31674 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31677 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31679 arg3
= reinterpret_cast< wxFont
* >(argp3
);
31681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31682 (arg1
)->SetItemFont(arg2
,(wxFont
const &)*arg3
);
31683 wxPyEndAllowThreads(__tstate
);
31684 if (PyErr_Occurred()) SWIG_fail
;
31686 resultobj
= SWIG_Py_Void();
31693 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31694 PyObject
*resultobj
= 0;
31695 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31702 PyObject
* obj0
= 0 ;
31703 PyObject
* obj1
= 0 ;
31704 char * kwnames
[] = {
31705 (char *) "self",(char *) "item", NULL
31708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31710 if (!SWIG_IsOK(res1
)) {
31711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31713 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31714 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31715 if (!SWIG_IsOK(ecode2
)) {
31716 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
31718 arg2
= static_cast< long >(val2
);
31720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31721 result
= ((wxPyListCtrl
const *)arg1
)->GetItemFont(arg2
);
31722 wxPyEndAllowThreads(__tstate
);
31723 if (PyErr_Occurred()) SWIG_fail
;
31725 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
31732 SWIGINTERN PyObject
*_wrap_ListCtrl_SortItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31733 PyObject
*resultobj
= 0;
31734 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31735 PyObject
*arg2
= (PyObject
*) 0 ;
31739 PyObject
* obj0
= 0 ;
31740 PyObject
* obj1
= 0 ;
31741 char * kwnames
[] = {
31742 (char *) "self",(char *) "func", NULL
31745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",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_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31750 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31754 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
31755 wxPyEndAllowThreads(__tstate
);
31756 if (PyErr_Occurred()) SWIG_fail
;
31759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31767 SWIGINTERN PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31768 PyObject
*resultobj
= 0;
31769 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31770 wxWindow
*result
= 0 ;
31773 PyObject
*swig_obj
[1] ;
31775 if (!args
) SWIG_fail
;
31776 swig_obj
[0] = args
;
31777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31778 if (!SWIG_IsOK(res1
)) {
31779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31781 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31784 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
31785 wxPyEndAllowThreads(__tstate
);
31786 if (PyErr_Occurred()) SWIG_fail
;
31789 resultobj
= wxPyMake_wxObject(result
, 0);
31797 SWIGINTERN PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31798 PyObject
*resultobj
= 0;
31799 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
31800 SwigValueWrapper
<wxVisualAttributes
> result
;
31803 PyObject
* obj0
= 0 ;
31804 char * kwnames
[] = {
31805 (char *) "variant", NULL
31808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
31810 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31811 if (!SWIG_IsOK(ecode1
)) {
31812 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
31814 arg1
= static_cast< wxWindowVariant
>(val1
);
31817 if (!wxPyCheckForApp()) SWIG_fail
;
31818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31819 result
= wxPyListCtrl::GetClassDefaultAttributes(arg1
);
31820 wxPyEndAllowThreads(__tstate
);
31821 if (PyErr_Occurred()) SWIG_fail
;
31823 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
31830 SWIGINTERN PyObject
*ListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31832 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31833 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl
, SWIG_NewClientData(obj
));
31834 return SWIG_Py_Void();
31837 SWIGINTERN PyObject
*ListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31838 return SWIG_Python_InitShadowInstance(args
);
31841 SWIGINTERN PyObject
*_wrap_new_ListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31842 PyObject
*resultobj
= 0;
31843 wxWindow
*arg1
= (wxWindow
*) 0 ;
31844 int arg2
= (int) -1 ;
31845 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31846 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31847 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31848 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31849 long arg5
= (long) wxLC_REPORT
;
31850 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
31851 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
31852 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
31853 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31854 wxListView
*result
= 0 ;
31865 bool temp7
= false ;
31866 PyObject
* obj0
= 0 ;
31867 PyObject
* obj1
= 0 ;
31868 PyObject
* obj2
= 0 ;
31869 PyObject
* obj3
= 0 ;
31870 PyObject
* obj4
= 0 ;
31871 PyObject
* obj5
= 0 ;
31872 PyObject
* obj6
= 0 ;
31873 char * kwnames
[] = {
31874 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31879 if (!SWIG_IsOK(res1
)) {
31880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
31882 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31884 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31885 if (!SWIG_IsOK(ecode2
)) {
31886 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
31888 arg2
= static_cast< int >(val2
);
31893 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31899 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31903 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
31904 if (!SWIG_IsOK(ecode5
)) {
31905 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
31907 arg5
= static_cast< long >(val5
);
31910 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
31911 if (!SWIG_IsOK(res6
)) {
31912 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
31915 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
31917 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
31921 arg7
= wxString_in_helper(obj6
);
31922 if (arg7
== NULL
) SWIG_fail
;
31927 if (!wxPyCheckForApp()) SWIG_fail
;
31928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31929 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
31930 wxPyEndAllowThreads(__tstate
);
31931 if (PyErr_Occurred()) SWIG_fail
;
31933 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_NEW
| 0 );
31948 SWIGINTERN PyObject
*_wrap_new_PreListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31949 PyObject
*resultobj
= 0;
31950 wxListView
*result
= 0 ;
31952 if (!SWIG_Python_UnpackTuple(args
,"new_PreListView",0,0,0)) SWIG_fail
;
31954 if (!wxPyCheckForApp()) SWIG_fail
;
31955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31956 result
= (wxListView
*)new wxListView();
31957 wxPyEndAllowThreads(__tstate
);
31958 if (PyErr_Occurred()) SWIG_fail
;
31960 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_OWN
| 0 );
31967 SWIGINTERN PyObject
*_wrap_ListView_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31968 PyObject
*resultobj
= 0;
31969 wxListView
*arg1
= (wxListView
*) 0 ;
31970 wxWindow
*arg2
= (wxWindow
*) 0 ;
31971 int arg3
= (int) -1 ;
31972 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31973 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31974 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31975 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31976 long arg6
= (long) wxLC_REPORT
;
31977 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
31978 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
31979 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
31980 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
31994 bool temp8
= false ;
31995 PyObject
* obj0
= 0 ;
31996 PyObject
* obj1
= 0 ;
31997 PyObject
* obj2
= 0 ;
31998 PyObject
* obj3
= 0 ;
31999 PyObject
* obj4
= 0 ;
32000 PyObject
* obj5
= 0 ;
32001 PyObject
* obj6
= 0 ;
32002 PyObject
* obj7
= 0 ;
32003 char * kwnames
[] = {
32004 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
32008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32009 if (!SWIG_IsOK(res1
)) {
32010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
32012 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32013 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32014 if (!SWIG_IsOK(res2
)) {
32015 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
32017 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
32019 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32020 if (!SWIG_IsOK(ecode3
)) {
32021 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
32023 arg3
= static_cast< int >(val3
);
32028 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32034 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
32038 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
32039 if (!SWIG_IsOK(ecode6
)) {
32040 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
32042 arg6
= static_cast< long >(val6
);
32045 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
32046 if (!SWIG_IsOK(res7
)) {
32047 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32050 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32052 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
32056 arg8
= wxString_in_helper(obj7
);
32057 if (arg8
== NULL
) SWIG_fail
;
32062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32063 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
32064 wxPyEndAllowThreads(__tstate
);
32065 if (PyErr_Occurred()) SWIG_fail
;
32068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32084 SWIGINTERN PyObject
*_wrap_ListView_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32085 PyObject
*resultobj
= 0;
32086 wxListView
*arg1
= (wxListView
*) 0 ;
32088 bool arg3
= (bool) true ;
32095 PyObject
* obj0
= 0 ;
32096 PyObject
* obj1
= 0 ;
32097 PyObject
* obj2
= 0 ;
32098 char * kwnames
[] = {
32099 (char *) "self",(char *) "n",(char *) "on", NULL
32102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32104 if (!SWIG_IsOK(res1
)) {
32105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
32107 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32108 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32109 if (!SWIG_IsOK(ecode2
)) {
32110 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
32112 arg2
= static_cast< long >(val2
);
32114 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
32115 if (!SWIG_IsOK(ecode3
)) {
32116 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
32118 arg3
= static_cast< bool >(val3
);
32121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32122 (arg1
)->Select(arg2
,arg3
);
32123 wxPyEndAllowThreads(__tstate
);
32124 if (PyErr_Occurred()) SWIG_fail
;
32126 resultobj
= SWIG_Py_Void();
32133 SWIGINTERN PyObject
*_wrap_ListView_Focus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32134 PyObject
*resultobj
= 0;
32135 wxListView
*arg1
= (wxListView
*) 0 ;
32141 PyObject
* obj0
= 0 ;
32142 PyObject
* obj1
= 0 ;
32143 char * kwnames
[] = {
32144 (char *) "self",(char *) "index", NULL
32147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32149 if (!SWIG_IsOK(res1
)) {
32150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
32152 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32153 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32154 if (!SWIG_IsOK(ecode2
)) {
32155 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
32157 arg2
= static_cast< long >(val2
);
32159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32160 (arg1
)->Focus(arg2
);
32161 wxPyEndAllowThreads(__tstate
);
32162 if (PyErr_Occurred()) SWIG_fail
;
32164 resultobj
= SWIG_Py_Void();
32171 SWIGINTERN PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32172 PyObject
*resultobj
= 0;
32173 wxListView
*arg1
= (wxListView
*) 0 ;
32177 PyObject
*swig_obj
[1] ;
32179 if (!args
) SWIG_fail
;
32180 swig_obj
[0] = args
;
32181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32182 if (!SWIG_IsOK(res1
)) {
32183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
32185 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32188 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
32189 wxPyEndAllowThreads(__tstate
);
32190 if (PyErr_Occurred()) SWIG_fail
;
32192 resultobj
= SWIG_From_long(static_cast< long >(result
));
32199 SWIGINTERN PyObject
*_wrap_ListView_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32200 PyObject
*resultobj
= 0;
32201 wxListView
*arg1
= (wxListView
*) 0 ;
32208 PyObject
* obj0
= 0 ;
32209 PyObject
* obj1
= 0 ;
32210 char * kwnames
[] = {
32211 (char *) "self",(char *) "item", NULL
32214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32216 if (!SWIG_IsOK(res1
)) {
32217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32219 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32220 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32221 if (!SWIG_IsOK(ecode2
)) {
32222 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
32224 arg2
= static_cast< long >(val2
);
32226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32227 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
32228 wxPyEndAllowThreads(__tstate
);
32229 if (PyErr_Occurred()) SWIG_fail
;
32231 resultobj
= SWIG_From_long(static_cast< long >(result
));
32238 SWIGINTERN PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32239 PyObject
*resultobj
= 0;
32240 wxListView
*arg1
= (wxListView
*) 0 ;
32244 PyObject
*swig_obj
[1] ;
32246 if (!args
) SWIG_fail
;
32247 swig_obj
[0] = args
;
32248 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32249 if (!SWIG_IsOK(res1
)) {
32250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32252 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32255 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
32256 wxPyEndAllowThreads(__tstate
);
32257 if (PyErr_Occurred()) SWIG_fail
;
32259 resultobj
= SWIG_From_long(static_cast< long >(result
));
32266 SWIGINTERN PyObject
*_wrap_ListView_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32267 PyObject
*resultobj
= 0;
32268 wxListView
*arg1
= (wxListView
*) 0 ;
32275 PyObject
* obj0
= 0 ;
32276 PyObject
* obj1
= 0 ;
32277 char * kwnames
[] = {
32278 (char *) "self",(char *) "index", NULL
32281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32283 if (!SWIG_IsOK(res1
)) {
32284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
32286 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32287 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32288 if (!SWIG_IsOK(ecode2
)) {
32289 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
32291 arg2
= static_cast< long >(val2
);
32293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32294 result
= (bool)(arg1
)->IsSelected(arg2
);
32295 wxPyEndAllowThreads(__tstate
);
32296 if (PyErr_Occurred()) SWIG_fail
;
32299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32307 SWIGINTERN PyObject
*_wrap_ListView_SetColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32308 PyObject
*resultobj
= 0;
32309 wxListView
*arg1
= (wxListView
*) 0 ;
32318 PyObject
* obj0
= 0 ;
32319 PyObject
* obj1
= 0 ;
32320 PyObject
* obj2
= 0 ;
32321 char * kwnames
[] = {
32322 (char *) "self",(char *) "col",(char *) "image", NULL
32325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32327 if (!SWIG_IsOK(res1
)) {
32328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32330 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32331 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32332 if (!SWIG_IsOK(ecode2
)) {
32333 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
32335 arg2
= static_cast< int >(val2
);
32336 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32337 if (!SWIG_IsOK(ecode3
)) {
32338 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
32340 arg3
= static_cast< int >(val3
);
32342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32343 (arg1
)->SetColumnImage(arg2
,arg3
);
32344 wxPyEndAllowThreads(__tstate
);
32345 if (PyErr_Occurred()) SWIG_fail
;
32347 resultobj
= SWIG_Py_Void();
32354 SWIGINTERN PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32355 PyObject
*resultobj
= 0;
32356 wxListView
*arg1
= (wxListView
*) 0 ;
32362 PyObject
* obj0
= 0 ;
32363 PyObject
* obj1
= 0 ;
32364 char * kwnames
[] = {
32365 (char *) "self",(char *) "col", NULL
32368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32370 if (!SWIG_IsOK(res1
)) {
32371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32373 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32374 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32375 if (!SWIG_IsOK(ecode2
)) {
32376 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
32378 arg2
= static_cast< int >(val2
);
32380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32381 (arg1
)->ClearColumnImage(arg2
);
32382 wxPyEndAllowThreads(__tstate
);
32383 if (PyErr_Occurred()) SWIG_fail
;
32385 resultobj
= SWIG_Py_Void();
32392 SWIGINTERN PyObject
*ListView_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32394 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32395 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView
, SWIG_NewClientData(obj
));
32396 return SWIG_Py_Void();
32399 SWIGINTERN PyObject
*ListView_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32400 return SWIG_Python_InitShadowInstance(args
);
32403 SWIGINTERN
int TreeCtrlNameStr_set(PyObject
*) {
32404 SWIG_Error(SWIG_AttributeError
,"Variable TreeCtrlNameStr is read-only.");
32409 SWIGINTERN PyObject
*TreeCtrlNameStr_get(void) {
32410 PyObject
*pyobj
= 0;
32414 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32416 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32423 SWIGINTERN PyObject
*_wrap_new_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32424 PyObject
*resultobj
= 0;
32425 wxTreeItemId
*result
= 0 ;
32427 if (!SWIG_Python_UnpackTuple(args
,"new_TreeItemId",0,0,0)) SWIG_fail
;
32429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32430 result
= (wxTreeItemId
*)new wxTreeItemId();
32431 wxPyEndAllowThreads(__tstate
);
32432 if (PyErr_Occurred()) SWIG_fail
;
32434 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_NEW
| 0 );
32441 SWIGINTERN PyObject
*_wrap_delete_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32442 PyObject
*resultobj
= 0;
32443 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32446 PyObject
*swig_obj
[1] ;
32448 if (!args
) SWIG_fail
;
32449 swig_obj
[0] = args
;
32450 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_DISOWN
| 0 );
32451 if (!SWIG_IsOK(res1
)) {
32452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32454 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32459 wxPyEndAllowThreads(__tstate
);
32460 if (PyErr_Occurred()) SWIG_fail
;
32462 resultobj
= SWIG_Py_Void();
32469 SWIGINTERN PyObject
*_wrap_TreeItemId_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32470 PyObject
*resultobj
= 0;
32471 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32475 PyObject
*swig_obj
[1] ;
32477 if (!args
) SWIG_fail
;
32478 swig_obj
[0] = args
;
32479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32480 if (!SWIG_IsOK(res1
)) {
32481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
32483 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32486 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
32487 wxPyEndAllowThreads(__tstate
);
32488 if (PyErr_Occurred()) SWIG_fail
;
32491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32499 SWIGINTERN PyObject
*_wrap_TreeItemId___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32500 PyObject
*resultobj
= 0;
32501 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32502 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32508 PyObject
* obj0
= 0 ;
32509 PyObject
* obj1
= 0 ;
32510 char * kwnames
[] = {
32511 (char *) "self",(char *) "other", NULL
32514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32516 if (!SWIG_IsOK(res1
)) {
32517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32519 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32520 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32521 if (!SWIG_IsOK(res2
)) {
32522 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32524 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32527 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
32528 wxPyEndAllowThreads(__tstate
);
32529 if (PyErr_Occurred()) SWIG_fail
;
32532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32540 SWIGINTERN PyObject
*_wrap_TreeItemId___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32541 PyObject
*resultobj
= 0;
32542 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32543 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32549 PyObject
* obj0
= 0 ;
32550 PyObject
* obj1
= 0 ;
32551 char * kwnames
[] = {
32552 (char *) "self",(char *) "other", NULL
32555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32557 if (!SWIG_IsOK(res1
)) {
32558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32560 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32561 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32562 if (!SWIG_IsOK(res2
)) {
32563 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32565 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32568 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
32569 wxPyEndAllowThreads(__tstate
);
32570 if (PyErr_Occurred()) SWIG_fail
;
32573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32581 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32582 PyObject
*resultobj
= 0;
32583 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32584 void *arg2
= (void *) 0 ;
32588 PyObject
*swig_obj
[2] ;
32590 if (!SWIG_Python_UnpackTuple(args
,"TreeItemId_m_pItem_set",2,2,swig_obj
)) SWIG_fail
;
32591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32592 if (!SWIG_IsOK(res1
)) {
32593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32595 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32596 res2
= SWIG_ConvertPtr(swig_obj
[1],SWIG_as_voidptrptr(&arg2
), 0, SWIG_POINTER_DISOWN
);
32597 if (!SWIG_IsOK(res2
)) {
32598 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
32600 if (arg1
) (arg1
)->m_pItem
= arg2
;
32602 resultobj
= SWIG_Py_Void();
32609 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32610 PyObject
*resultobj
= 0;
32611 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32615 PyObject
*swig_obj
[1] ;
32617 if (!args
) SWIG_fail
;
32618 swig_obj
[0] = args
;
32619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32620 if (!SWIG_IsOK(res1
)) {
32621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32623 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32624 result
= (void *) ((arg1
)->m_pItem
);
32625 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
32632 SWIGINTERN PyObject
*TreeItemId_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32634 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32635 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId
, SWIG_NewClientData(obj
));
32636 return SWIG_Py_Void();
32639 SWIGINTERN PyObject
*TreeItemId_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32640 return SWIG_Python_InitShadowInstance(args
);
32643 SWIGINTERN PyObject
*_wrap_new_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32644 PyObject
*resultobj
= 0;
32645 PyObject
*arg1
= (PyObject
*) NULL
;
32646 wxPyTreeItemData
*result
= 0 ;
32647 PyObject
* obj0
= 0 ;
32648 char * kwnames
[] = {
32649 (char *) "obj", NULL
32652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) SWIG_fail
;
32657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32658 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
32659 wxPyEndAllowThreads(__tstate
);
32660 if (PyErr_Occurred()) SWIG_fail
;
32662 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_NEW
| 0 );
32669 SWIGINTERN PyObject
*_wrap_delete_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32670 PyObject
*resultobj
= 0;
32671 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32674 PyObject
*swig_obj
[1] ;
32676 if (!args
) SWIG_fail
;
32677 swig_obj
[0] = args
;
32678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
32679 if (!SWIG_IsOK(res1
)) {
32680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32682 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32687 wxPyEndAllowThreads(__tstate
);
32688 if (PyErr_Occurred()) SWIG_fail
;
32690 resultobj
= SWIG_Py_Void();
32697 SWIGINTERN PyObject
*_wrap_TreeItemData_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32698 PyObject
*resultobj
= 0;
32699 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32700 PyObject
*result
= 0 ;
32703 PyObject
*swig_obj
[1] ;
32705 if (!args
) SWIG_fail
;
32706 swig_obj
[0] = args
;
32707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32708 if (!SWIG_IsOK(res1
)) {
32709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32711 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32714 result
= (PyObject
*)(arg1
)->GetData();
32715 wxPyEndAllowThreads(__tstate
);
32716 if (PyErr_Occurred()) SWIG_fail
;
32718 resultobj
= result
;
32725 SWIGINTERN PyObject
*_wrap_TreeItemData_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32726 PyObject
*resultobj
= 0;
32727 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32728 PyObject
*arg2
= (PyObject
*) 0 ;
32731 PyObject
* obj0
= 0 ;
32732 PyObject
* obj1
= 0 ;
32733 char * kwnames
[] = {
32734 (char *) "self",(char *) "obj", NULL
32737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32739 if (!SWIG_IsOK(res1
)) {
32740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32742 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32746 (arg1
)->SetData(arg2
);
32747 wxPyEndAllowThreads(__tstate
);
32748 if (PyErr_Occurred()) SWIG_fail
;
32750 resultobj
= SWIG_Py_Void();
32757 SWIGINTERN PyObject
*_wrap_TreeItemData_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32758 PyObject
*resultobj
= 0;
32759 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32760 wxTreeItemId
*result
= 0 ;
32763 PyObject
*swig_obj
[1] ;
32765 if (!args
) SWIG_fail
;
32766 swig_obj
[0] = args
;
32767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32768 if (!SWIG_IsOK(res1
)) {
32769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32771 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32775 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
32776 result
= (wxTreeItemId
*) &_result_ref
;
32778 wxPyEndAllowThreads(__tstate
);
32779 if (PyErr_Occurred()) SWIG_fail
;
32781 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32788 SWIGINTERN PyObject
*_wrap_TreeItemData_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32789 PyObject
*resultobj
= 0;
32790 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32791 wxTreeItemId
*arg2
= 0 ;
32796 PyObject
* obj0
= 0 ;
32797 PyObject
* obj1
= 0 ;
32798 char * kwnames
[] = {
32799 (char *) "self",(char *) "id", NULL
32802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32804 if (!SWIG_IsOK(res1
)) {
32805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32807 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32808 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32809 if (!SWIG_IsOK(res2
)) {
32810 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32813 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32815 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32818 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
32819 wxPyEndAllowThreads(__tstate
);
32820 if (PyErr_Occurred()) SWIG_fail
;
32822 resultobj
= SWIG_Py_Void();
32829 SWIGINTERN PyObject
*_wrap_TreeItemData_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32830 PyObject
*resultobj
= 0;
32831 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32834 PyObject
*swig_obj
[1] ;
32836 if (!args
) SWIG_fail
;
32837 swig_obj
[0] = args
;
32838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32839 if (!SWIG_IsOK(res1
)) {
32840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32842 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32845 wxPyTreeItemData_Destroy(arg1
);
32846 wxPyEndAllowThreads(__tstate
);
32847 if (PyErr_Occurred()) SWIG_fail
;
32849 resultobj
= SWIG_Py_Void();
32856 SWIGINTERN PyObject
*TreeItemData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32858 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32859 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData
, SWIG_NewClientData(obj
));
32860 return SWIG_Py_Void();
32863 SWIGINTERN PyObject
*TreeItemData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32864 return SWIG_Python_InitShadowInstance(args
);
32867 SWIGINTERN
int NullTreeItemId_set(PyObject
*_val
) {
32870 int res
= SWIG_ConvertPtr(_val
, &argp
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32871 if (!SWIG_IsOK(res
)) {
32872 SWIG_exception_fail(SWIG_ArgError(res
), "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
32875 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
32877 wxTreeItemId
* temp
;
32878 temp
= reinterpret_cast< wxTreeItemId
* >(argp
);
32879 wxNullTreeItemId
= *temp
;
32880 if (SWIG_IsNewObj(res
)) delete temp
;
32889 SWIGINTERN PyObject
*NullTreeItemId_get(void) {
32890 PyObject
*pyobj
= 0;
32892 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullTreeItemId
), SWIGTYPE_p_wxTreeItemId
, 0 );
32897 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
32898 PyObject
*resultobj
= 0;
32899 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
32900 int arg2
= (int) 0 ;
32901 wxTreeEvent
*result
= 0 ;
32907 if ((nobjs
< 0) || (nobjs
> 2)) SWIG_fail
;
32909 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
32910 if (!SWIG_IsOK(ecode1
)) {
32911 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
32913 arg1
= static_cast< wxEventType
>(val1
);
32916 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
32917 if (!SWIG_IsOK(ecode2
)) {
32918 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
32920 arg2
= static_cast< int >(val2
);
32923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32924 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
32925 wxPyEndAllowThreads(__tstate
);
32926 if (PyErr_Occurred()) SWIG_fail
;
32928 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
32935 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
32936 PyObject
*resultobj
= 0;
32938 wxPyTreeCtrl
*arg2
= (wxPyTreeCtrl
*) 0 ;
32939 wxTreeItemId
&arg3_defvalue
= wxNullTreeItemId
;
32940 wxTreeItemId
*arg3
= (wxTreeItemId
*) &arg3_defvalue
;
32941 wxTreeEvent
*result
= 0 ;
32949 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
32950 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
32951 if (!SWIG_IsOK(ecode1
)) {
32952 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
32954 arg1
= static_cast< wxEventType
>(val1
);
32955 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
32956 if (!SWIG_IsOK(res2
)) {
32957 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "wxPyTreeCtrl *""'");
32959 arg2
= reinterpret_cast< wxPyTreeCtrl
* >(argp2
);
32961 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 );
32962 if (!SWIG_IsOK(res3
)) {
32963 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
32966 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
32968 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
32971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32972 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
,*arg3
);
32973 wxPyEndAllowThreads(__tstate
);
32974 if (PyErr_Occurred()) SWIG_fail
;
32976 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
32983 SWIGINTERN PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
) {
32987 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_TreeEvent",0,3,argv
))) SWIG_fail
;
32989 if ((argc
>= 0) && (argc
<= 2)) {
32994 int res
= SWIG_AsVal_int(argv
[1], NULL
);
32995 _v
= SWIG_CheckState(res
);
32998 if (!_v
) goto check_1
;
33000 return _wrap_new_TreeEvent__SWIG_0(self
, argc
, argv
);
33004 if ((argc
>= 2) && (argc
<= 3)) {
33005 return _wrap_new_TreeEvent__SWIG_1(self
, argc
, argv
);
33009 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TreeEvent'");
33014 SWIGINTERN PyObject
*_wrap_TreeEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33015 PyObject
*resultobj
= 0;
33016 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33017 wxTreeItemId result
;
33020 PyObject
*swig_obj
[1] ;
33022 if (!args
) SWIG_fail
;
33023 swig_obj
[0] = args
;
33024 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33025 if (!SWIG_IsOK(res1
)) {
33026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33028 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33031 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
33032 wxPyEndAllowThreads(__tstate
);
33033 if (PyErr_Occurred()) SWIG_fail
;
33035 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33042 SWIGINTERN PyObject
*_wrap_TreeEvent_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33043 PyObject
*resultobj
= 0;
33044 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33045 wxTreeItemId
*arg2
= 0 ;
33050 PyObject
* obj0
= 0 ;
33051 PyObject
* obj1
= 0 ;
33052 char * kwnames
[] = {
33053 (char *) "self",(char *) "item", NULL
33056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33058 if (!SWIG_IsOK(res1
)) {
33059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33061 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33062 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33063 if (!SWIG_IsOK(res2
)) {
33064 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33067 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33069 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33072 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
33073 wxPyEndAllowThreads(__tstate
);
33074 if (PyErr_Occurred()) SWIG_fail
;
33076 resultobj
= SWIG_Py_Void();
33083 SWIGINTERN PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33084 PyObject
*resultobj
= 0;
33085 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33086 wxTreeItemId result
;
33089 PyObject
*swig_obj
[1] ;
33091 if (!args
) SWIG_fail
;
33092 swig_obj
[0] = args
;
33093 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33094 if (!SWIG_IsOK(res1
)) {
33095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33097 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33100 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
33101 wxPyEndAllowThreads(__tstate
);
33102 if (PyErr_Occurred()) SWIG_fail
;
33104 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33111 SWIGINTERN PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33112 PyObject
*resultobj
= 0;
33113 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33114 wxTreeItemId
*arg2
= 0 ;
33119 PyObject
* obj0
= 0 ;
33120 PyObject
* obj1
= 0 ;
33121 char * kwnames
[] = {
33122 (char *) "self",(char *) "item", NULL
33125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33127 if (!SWIG_IsOK(res1
)) {
33128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33130 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33131 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33132 if (!SWIG_IsOK(res2
)) {
33133 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33136 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33138 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33141 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
33142 wxPyEndAllowThreads(__tstate
);
33143 if (PyErr_Occurred()) SWIG_fail
;
33145 resultobj
= SWIG_Py_Void();
33152 SWIGINTERN PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33153 PyObject
*resultobj
= 0;
33154 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33158 PyObject
*swig_obj
[1] ;
33160 if (!args
) SWIG_fail
;
33161 swig_obj
[0] = args
;
33162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33163 if (!SWIG_IsOK(res1
)) {
33164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33166 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33169 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
33170 wxPyEndAllowThreads(__tstate
);
33171 if (PyErr_Occurred()) SWIG_fail
;
33173 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
33180 SWIGINTERN PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33181 PyObject
*resultobj
= 0;
33182 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33183 wxPoint
*arg2
= 0 ;
33187 PyObject
* obj0
= 0 ;
33188 PyObject
* obj1
= 0 ;
33189 char * kwnames
[] = {
33190 (char *) "self",(char *) "pt", NULL
33193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33195 if (!SWIG_IsOK(res1
)) {
33196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33198 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33201 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33205 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
33206 wxPyEndAllowThreads(__tstate
);
33207 if (PyErr_Occurred()) SWIG_fail
;
33209 resultobj
= SWIG_Py_Void();
33216 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33217 PyObject
*resultobj
= 0;
33218 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33219 wxKeyEvent
*result
= 0 ;
33222 PyObject
*swig_obj
[1] ;
33224 if (!args
) SWIG_fail
;
33225 swig_obj
[0] = args
;
33226 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33227 if (!SWIG_IsOK(res1
)) {
33228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33230 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33234 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
33235 result
= (wxKeyEvent
*) &_result_ref
;
33237 wxPyEndAllowThreads(__tstate
);
33238 if (PyErr_Occurred()) SWIG_fail
;
33240 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
33247 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33248 PyObject
*resultobj
= 0;
33249 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33253 PyObject
*swig_obj
[1] ;
33255 if (!args
) SWIG_fail
;
33256 swig_obj
[0] = args
;
33257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33258 if (!SWIG_IsOK(res1
)) {
33259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33261 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33264 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
33265 wxPyEndAllowThreads(__tstate
);
33266 if (PyErr_Occurred()) SWIG_fail
;
33268 resultobj
= SWIG_From_int(static_cast< int >(result
));
33275 SWIGINTERN PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33276 PyObject
*resultobj
= 0;
33277 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33278 wxKeyEvent
*arg2
= 0 ;
33283 PyObject
* obj0
= 0 ;
33284 PyObject
* obj1
= 0 ;
33285 char * kwnames
[] = {
33286 (char *) "self",(char *) "evt", NULL
33289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33291 if (!SWIG_IsOK(res1
)) {
33292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33294 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33295 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
33296 if (!SWIG_IsOK(res2
)) {
33297 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33300 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33302 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
33304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33305 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
33306 wxPyEndAllowThreads(__tstate
);
33307 if (PyErr_Occurred()) SWIG_fail
;
33309 resultobj
= SWIG_Py_Void();
33316 SWIGINTERN PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33317 PyObject
*resultobj
= 0;
33318 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33319 wxString
*result
= 0 ;
33322 PyObject
*swig_obj
[1] ;
33324 if (!args
) SWIG_fail
;
33325 swig_obj
[0] = args
;
33326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33327 if (!SWIG_IsOK(res1
)) {
33328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33330 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33334 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
33335 result
= (wxString
*) &_result_ref
;
33337 wxPyEndAllowThreads(__tstate
);
33338 if (PyErr_Occurred()) SWIG_fail
;
33342 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33344 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33353 SWIGINTERN PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33354 PyObject
*resultobj
= 0;
33355 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33356 wxString
*arg2
= 0 ;
33359 bool temp2
= false ;
33360 PyObject
* obj0
= 0 ;
33361 PyObject
* obj1
= 0 ;
33362 char * kwnames
[] = {
33363 (char *) "self",(char *) "label", NULL
33366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33368 if (!SWIG_IsOK(res1
)) {
33369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33371 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33373 arg2
= wxString_in_helper(obj1
);
33374 if (arg2
== NULL
) SWIG_fail
;
33378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33379 (arg1
)->SetLabel((wxString
const &)*arg2
);
33380 wxPyEndAllowThreads(__tstate
);
33381 if (PyErr_Occurred()) SWIG_fail
;
33383 resultobj
= SWIG_Py_Void();
33398 SWIGINTERN PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33399 PyObject
*resultobj
= 0;
33400 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33404 PyObject
*swig_obj
[1] ;
33406 if (!args
) SWIG_fail
;
33407 swig_obj
[0] = args
;
33408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33409 if (!SWIG_IsOK(res1
)) {
33410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33412 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33415 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
33416 wxPyEndAllowThreads(__tstate
);
33417 if (PyErr_Occurred()) SWIG_fail
;
33420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33428 SWIGINTERN PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33429 PyObject
*resultobj
= 0;
33430 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33436 PyObject
* obj0
= 0 ;
33437 PyObject
* obj1
= 0 ;
33438 char * kwnames
[] = {
33439 (char *) "self",(char *) "editCancelled", NULL
33442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33444 if (!SWIG_IsOK(res1
)) {
33445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33447 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33448 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33449 if (!SWIG_IsOK(ecode2
)) {
33450 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
33452 arg2
= static_cast< bool >(val2
);
33454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33455 (arg1
)->SetEditCanceled(arg2
);
33456 wxPyEndAllowThreads(__tstate
);
33457 if (PyErr_Occurred()) SWIG_fail
;
33459 resultobj
= SWIG_Py_Void();
33466 SWIGINTERN PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33467 PyObject
*resultobj
= 0;
33468 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33469 wxString
*arg2
= 0 ;
33472 bool temp2
= false ;
33473 PyObject
* obj0
= 0 ;
33474 PyObject
* obj1
= 0 ;
33475 char * kwnames
[] = {
33476 (char *) "self",(char *) "toolTip", NULL
33479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33481 if (!SWIG_IsOK(res1
)) {
33482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33484 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33486 arg2
= wxString_in_helper(obj1
);
33487 if (arg2
== NULL
) SWIG_fail
;
33491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33492 (arg1
)->SetToolTip((wxString
const &)*arg2
);
33493 wxPyEndAllowThreads(__tstate
);
33494 if (PyErr_Occurred()) SWIG_fail
;
33496 resultobj
= SWIG_Py_Void();
33511 SWIGINTERN PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33512 PyObject
*resultobj
= 0;
33513 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33517 PyObject
*swig_obj
[1] ;
33519 if (!args
) SWIG_fail
;
33520 swig_obj
[0] = args
;
33521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33522 if (!SWIG_IsOK(res1
)) {
33523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33525 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33528 result
= (arg1
)->GetToolTip();
33529 wxPyEndAllowThreads(__tstate
);
33530 if (PyErr_Occurred()) SWIG_fail
;
33534 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33536 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33545 SWIGINTERN PyObject
*TreeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33547 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33548 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent
, SWIG_NewClientData(obj
));
33549 return SWIG_Py_Void();
33552 SWIGINTERN PyObject
*TreeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33553 return SWIG_Python_InitShadowInstance(args
);
33556 SWIGINTERN PyObject
*_wrap_new_TreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33557 PyObject
*resultobj
= 0;
33558 wxWindow
*arg1
= (wxWindow
*) 0 ;
33559 int arg2
= (int) -1 ;
33560 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33561 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33562 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33563 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33564 long arg5
= (long) wxTR_DEFAULT_STYLE
;
33565 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33566 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33567 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
33568 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33569 wxPyTreeCtrl
*result
= 0 ;
33580 bool temp7
= false ;
33581 PyObject
* obj0
= 0 ;
33582 PyObject
* obj1
= 0 ;
33583 PyObject
* obj2
= 0 ;
33584 PyObject
* obj3
= 0 ;
33585 PyObject
* obj4
= 0 ;
33586 PyObject
* obj5
= 0 ;
33587 PyObject
* obj6
= 0 ;
33588 char * kwnames
[] = {
33589 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33594 if (!SWIG_IsOK(res1
)) {
33595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
33597 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33599 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33600 if (!SWIG_IsOK(ecode2
)) {
33601 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
33603 arg2
= static_cast< int >(val2
);
33608 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33614 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33618 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
33619 if (!SWIG_IsOK(ecode5
)) {
33620 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
33622 arg5
= static_cast< long >(val5
);
33625 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
33626 if (!SWIG_IsOK(res6
)) {
33627 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33630 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33632 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
33636 arg7
= wxString_in_helper(obj6
);
33637 if (arg7
== NULL
) SWIG_fail
;
33642 if (!wxPyCheckForApp()) SWIG_fail
;
33643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33644 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33645 wxPyEndAllowThreads(__tstate
);
33646 if (PyErr_Occurred()) SWIG_fail
;
33648 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_NEW
| 0 );
33663 SWIGINTERN PyObject
*_wrap_new_PreTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33664 PyObject
*resultobj
= 0;
33665 wxPyTreeCtrl
*result
= 0 ;
33667 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreeCtrl",0,0,0)) SWIG_fail
;
33669 if (!wxPyCheckForApp()) SWIG_fail
;
33670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33671 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
33672 wxPyEndAllowThreads(__tstate
);
33673 if (PyErr_Occurred()) SWIG_fail
;
33675 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_OWN
| 0 );
33682 SWIGINTERN PyObject
*_wrap_TreeCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33683 PyObject
*resultobj
= 0;
33684 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33685 wxWindow
*arg2
= (wxWindow
*) 0 ;
33686 int arg3
= (int) -1 ;
33687 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33688 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33689 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33690 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33691 long arg6
= (long) wxTR_DEFAULT_STYLE
;
33692 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
33693 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
33694 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
33695 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
33709 bool temp8
= false ;
33710 PyObject
* obj0
= 0 ;
33711 PyObject
* obj1
= 0 ;
33712 PyObject
* obj2
= 0 ;
33713 PyObject
* obj3
= 0 ;
33714 PyObject
* obj4
= 0 ;
33715 PyObject
* obj5
= 0 ;
33716 PyObject
* obj6
= 0 ;
33717 PyObject
* obj7
= 0 ;
33718 char * kwnames
[] = {
33719 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
33723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33724 if (!SWIG_IsOK(res1
)) {
33725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33727 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33728 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33729 if (!SWIG_IsOK(res2
)) {
33730 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
33732 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33734 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33735 if (!SWIG_IsOK(ecode3
)) {
33736 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
33738 arg3
= static_cast< int >(val3
);
33743 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33749 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33753 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
33754 if (!SWIG_IsOK(ecode6
)) {
33755 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
33757 arg6
= static_cast< long >(val6
);
33760 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
33761 if (!SWIG_IsOK(res7
)) {
33762 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33765 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33767 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
33771 arg8
= wxString_in_helper(obj7
);
33772 if (arg8
== NULL
) SWIG_fail
;
33777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33778 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
33779 wxPyEndAllowThreads(__tstate
);
33780 if (PyErr_Occurred()) SWIG_fail
;
33783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33799 SWIGINTERN PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33800 PyObject
*resultobj
= 0;
33801 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33802 PyObject
*arg2
= (PyObject
*) 0 ;
33803 PyObject
*arg3
= (PyObject
*) 0 ;
33806 PyObject
* obj0
= 0 ;
33807 PyObject
* obj1
= 0 ;
33808 PyObject
* obj2
= 0 ;
33809 char * kwnames
[] = {
33810 (char *) "self",(char *) "self",(char *) "_class", NULL
33813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33815 if (!SWIG_IsOK(res1
)) {
33816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33818 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33823 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33824 wxPyEndAllowThreads(__tstate
);
33825 if (PyErr_Occurred()) SWIG_fail
;
33827 resultobj
= SWIG_Py_Void();
33834 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33835 PyObject
*resultobj
= 0;
33836 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33837 unsigned int result
;
33840 PyObject
*swig_obj
[1] ;
33842 if (!args
) SWIG_fail
;
33843 swig_obj
[0] = args
;
33844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33845 if (!SWIG_IsOK(res1
)) {
33846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33848 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33851 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetCount();
33852 wxPyEndAllowThreads(__tstate
);
33853 if (PyErr_Occurred()) SWIG_fail
;
33855 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33862 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33863 PyObject
*resultobj
= 0;
33864 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33865 unsigned int result
;
33868 PyObject
*swig_obj
[1] ;
33870 if (!args
) SWIG_fail
;
33871 swig_obj
[0] = args
;
33872 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33873 if (!SWIG_IsOK(res1
)) {
33874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33876 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33879 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
33880 wxPyEndAllowThreads(__tstate
);
33881 if (PyErr_Occurred()) SWIG_fail
;
33883 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33890 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33891 PyObject
*resultobj
= 0;
33892 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33893 unsigned int arg2
;
33896 unsigned int val2
;
33898 PyObject
* obj0
= 0 ;
33899 PyObject
* obj1
= 0 ;
33900 char * kwnames
[] = {
33901 (char *) "self",(char *) "indent", NULL
33904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33906 if (!SWIG_IsOK(res1
)) {
33907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33909 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33910 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
33911 if (!SWIG_IsOK(ecode2
)) {
33912 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
33914 arg2
= static_cast< unsigned int >(val2
);
33916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33917 (arg1
)->SetIndent(arg2
);
33918 wxPyEndAllowThreads(__tstate
);
33919 if (PyErr_Occurred()) SWIG_fail
;
33921 resultobj
= SWIG_Py_Void();
33928 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33929 PyObject
*resultobj
= 0;
33930 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33931 unsigned int result
;
33934 PyObject
*swig_obj
[1] ;
33936 if (!args
) SWIG_fail
;
33937 swig_obj
[0] = args
;
33938 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33939 if (!SWIG_IsOK(res1
)) {
33940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33942 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33945 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
33946 wxPyEndAllowThreads(__tstate
);
33947 if (PyErr_Occurred()) SWIG_fail
;
33949 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33956 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33957 PyObject
*resultobj
= 0;
33958 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33959 unsigned int arg2
;
33962 unsigned int val2
;
33964 PyObject
* obj0
= 0 ;
33965 PyObject
* obj1
= 0 ;
33966 char * kwnames
[] = {
33967 (char *) "self",(char *) "spacing", NULL
33970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33972 if (!SWIG_IsOK(res1
)) {
33973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33975 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33976 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
33977 if (!SWIG_IsOK(ecode2
)) {
33978 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
33980 arg2
= static_cast< unsigned int >(val2
);
33982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33983 (arg1
)->SetSpacing(arg2
);
33984 wxPyEndAllowThreads(__tstate
);
33985 if (PyErr_Occurred()) SWIG_fail
;
33987 resultobj
= SWIG_Py_Void();
33994 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33995 PyObject
*resultobj
= 0;
33996 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33997 wxImageList
*result
= 0 ;
34000 PyObject
*swig_obj
[1] ;
34002 if (!args
) SWIG_fail
;
34003 swig_obj
[0] = args
;
34004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34005 if (!SWIG_IsOK(res1
)) {
34006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34008 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34011 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
34012 wxPyEndAllowThreads(__tstate
);
34013 if (PyErr_Occurred()) SWIG_fail
;
34016 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34024 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34025 PyObject
*resultobj
= 0;
34026 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34027 wxImageList
*result
= 0 ;
34030 PyObject
*swig_obj
[1] ;
34032 if (!args
) SWIG_fail
;
34033 swig_obj
[0] = args
;
34034 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34035 if (!SWIG_IsOK(res1
)) {
34036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34038 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34041 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
34042 wxPyEndAllowThreads(__tstate
);
34043 if (PyErr_Occurred()) SWIG_fail
;
34046 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34054 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34055 PyObject
*resultobj
= 0;
34056 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34057 wxImageList
*arg2
= (wxImageList
*) 0 ;
34062 PyObject
* obj0
= 0 ;
34063 PyObject
* obj1
= 0 ;
34064 char * kwnames
[] = {
34065 (char *) "self",(char *) "imageList", NULL
34068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34070 if (!SWIG_IsOK(res1
)) {
34071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34073 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34074 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34075 if (!SWIG_IsOK(res2
)) {
34076 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34078 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34081 (arg1
)->SetImageList(arg2
);
34082 wxPyEndAllowThreads(__tstate
);
34083 if (PyErr_Occurred()) SWIG_fail
;
34085 resultobj
= SWIG_Py_Void();
34092 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34093 PyObject
*resultobj
= 0;
34094 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34095 wxImageList
*arg2
= (wxImageList
*) 0 ;
34100 PyObject
* obj0
= 0 ;
34101 PyObject
* obj1
= 0 ;
34102 char * kwnames
[] = {
34103 (char *) "self",(char *) "imageList", NULL
34106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34108 if (!SWIG_IsOK(res1
)) {
34109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34111 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34112 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34113 if (!SWIG_IsOK(res2
)) {
34114 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34116 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34119 (arg1
)->SetStateImageList(arg2
);
34120 wxPyEndAllowThreads(__tstate
);
34121 if (PyErr_Occurred()) SWIG_fail
;
34123 resultobj
= SWIG_Py_Void();
34130 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34131 PyObject
*resultobj
= 0;
34132 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34133 wxImageList
*arg2
= (wxImageList
*) 0 ;
34137 PyObject
* obj0
= 0 ;
34138 PyObject
* obj1
= 0 ;
34139 char * kwnames
[] = {
34140 (char *) "self",(char *) "imageList", NULL
34143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34145 if (!SWIG_IsOK(res1
)) {
34146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34148 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34149 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34150 if (!SWIG_IsOK(res2
)) {
34151 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34155 (arg1
)->AssignImageList(arg2
);
34156 wxPyEndAllowThreads(__tstate
);
34157 if (PyErr_Occurred()) SWIG_fail
;
34159 resultobj
= SWIG_Py_Void();
34166 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34167 PyObject
*resultobj
= 0;
34168 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34169 wxImageList
*arg2
= (wxImageList
*) 0 ;
34173 PyObject
* obj0
= 0 ;
34174 PyObject
* obj1
= 0 ;
34175 char * kwnames
[] = {
34176 (char *) "self",(char *) "imageList", NULL
34179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34181 if (!SWIG_IsOK(res1
)) {
34182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34184 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34185 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34186 if (!SWIG_IsOK(res2
)) {
34187 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34191 (arg1
)->AssignStateImageList(arg2
);
34192 wxPyEndAllowThreads(__tstate
);
34193 if (PyErr_Occurred()) SWIG_fail
;
34195 resultobj
= SWIG_Py_Void();
34202 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34203 PyObject
*resultobj
= 0;
34204 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34205 wxTreeItemId
*arg2
= 0 ;
34211 PyObject
* obj0
= 0 ;
34212 PyObject
* obj1
= 0 ;
34213 char * kwnames
[] = {
34214 (char *) "self",(char *) "item", NULL
34217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34219 if (!SWIG_IsOK(res1
)) {
34220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34222 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34223 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34224 if (!SWIG_IsOK(res2
)) {
34225 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34228 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34230 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34233 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
34234 wxPyEndAllowThreads(__tstate
);
34235 if (PyErr_Occurred()) SWIG_fail
;
34239 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34241 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34250 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34251 PyObject
*resultobj
= 0;
34252 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34253 wxTreeItemId
*arg2
= 0 ;
34254 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34262 PyObject
* obj0
= 0 ;
34263 PyObject
* obj1
= 0 ;
34264 PyObject
* obj2
= 0 ;
34265 char * kwnames
[] = {
34266 (char *) "self",(char *) "item",(char *) "which", NULL
34269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34271 if (!SWIG_IsOK(res1
)) {
34272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34274 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34275 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34276 if (!SWIG_IsOK(res2
)) {
34277 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34280 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34282 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34284 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34285 if (!SWIG_IsOK(ecode3
)) {
34286 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
34288 arg3
= static_cast< wxTreeItemIcon
>(val3
);
34291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34292 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,arg3
);
34293 wxPyEndAllowThreads(__tstate
);
34294 if (PyErr_Occurred()) SWIG_fail
;
34296 resultobj
= SWIG_From_int(static_cast< int >(result
));
34303 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34304 PyObject
*resultobj
= 0;
34305 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34306 wxTreeItemId
*arg2
= 0 ;
34307 wxPyTreeItemData
*result
= 0 ;
34312 PyObject
* obj0
= 0 ;
34313 PyObject
* obj1
= 0 ;
34314 char * kwnames
[] = {
34315 (char *) "self",(char *) "item", NULL
34318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34320 if (!SWIG_IsOK(res1
)) {
34321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34323 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34324 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34325 if (!SWIG_IsOK(res2
)) {
34326 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34329 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34331 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34334 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
34335 wxPyEndAllowThreads(__tstate
);
34336 if (PyErr_Occurred()) SWIG_fail
;
34338 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
34345 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34346 PyObject
*resultobj
= 0;
34347 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34348 wxTreeItemId
*arg2
= 0 ;
34349 PyObject
*result
= 0 ;
34354 PyObject
* obj0
= 0 ;
34355 PyObject
* obj1
= 0 ;
34356 char * kwnames
[] = {
34357 (char *) "self",(char *) "item", NULL
34360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34362 if (!SWIG_IsOK(res1
)) {
34363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34365 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34366 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34367 if (!SWIG_IsOK(res2
)) {
34368 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34371 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34373 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34376 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
34377 wxPyEndAllowThreads(__tstate
);
34378 if (PyErr_Occurred()) SWIG_fail
;
34380 resultobj
= result
;
34387 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34388 PyObject
*resultobj
= 0;
34389 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34390 wxTreeItemId
*arg2
= 0 ;
34396 PyObject
* obj0
= 0 ;
34397 PyObject
* obj1
= 0 ;
34398 char * kwnames
[] = {
34399 (char *) "self",(char *) "item", NULL
34402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34404 if (!SWIG_IsOK(res1
)) {
34405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34407 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34408 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34409 if (!SWIG_IsOK(res2
)) {
34410 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34413 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34415 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34418 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
34419 wxPyEndAllowThreads(__tstate
);
34420 if (PyErr_Occurred()) SWIG_fail
;
34422 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34429 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34430 PyObject
*resultobj
= 0;
34431 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34432 wxTreeItemId
*arg2
= 0 ;
34438 PyObject
* obj0
= 0 ;
34439 PyObject
* obj1
= 0 ;
34440 char * kwnames
[] = {
34441 (char *) "self",(char *) "item", NULL
34444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34446 if (!SWIG_IsOK(res1
)) {
34447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34449 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34450 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34451 if (!SWIG_IsOK(res2
)) {
34452 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34455 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34457 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34460 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
34461 wxPyEndAllowThreads(__tstate
);
34462 if (PyErr_Occurred()) SWIG_fail
;
34464 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34471 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34472 PyObject
*resultobj
= 0;
34473 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34474 wxTreeItemId
*arg2
= 0 ;
34480 PyObject
* obj0
= 0 ;
34481 PyObject
* obj1
= 0 ;
34482 char * kwnames
[] = {
34483 (char *) "self",(char *) "item", NULL
34486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34488 if (!SWIG_IsOK(res1
)) {
34489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34491 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34492 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34493 if (!SWIG_IsOK(res2
)) {
34494 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34497 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34499 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34502 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
34503 wxPyEndAllowThreads(__tstate
);
34504 if (PyErr_Occurred()) SWIG_fail
;
34506 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
34513 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34514 PyObject
*resultobj
= 0;
34515 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34516 wxTreeItemId
*arg2
= 0 ;
34517 wxString
*arg3
= 0 ;
34522 bool temp3
= false ;
34523 PyObject
* obj0
= 0 ;
34524 PyObject
* obj1
= 0 ;
34525 PyObject
* obj2
= 0 ;
34526 char * kwnames
[] = {
34527 (char *) "self",(char *) "item",(char *) "text", NULL
34530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34532 if (!SWIG_IsOK(res1
)) {
34533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34535 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34536 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34537 if (!SWIG_IsOK(res2
)) {
34538 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34541 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34543 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34545 arg3
= wxString_in_helper(obj2
);
34546 if (arg3
== NULL
) SWIG_fail
;
34550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34551 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
34552 wxPyEndAllowThreads(__tstate
);
34553 if (PyErr_Occurred()) SWIG_fail
;
34555 resultobj
= SWIG_Py_Void();
34570 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34571 PyObject
*resultobj
= 0;
34572 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34573 wxTreeItemId
*arg2
= 0 ;
34575 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34584 PyObject
* obj0
= 0 ;
34585 PyObject
* obj1
= 0 ;
34586 PyObject
* obj2
= 0 ;
34587 PyObject
* obj3
= 0 ;
34588 char * kwnames
[] = {
34589 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
34592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34594 if (!SWIG_IsOK(res1
)) {
34595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34597 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34598 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34599 if (!SWIG_IsOK(res2
)) {
34600 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34603 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34605 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34606 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34607 if (!SWIG_IsOK(ecode3
)) {
34608 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
34610 arg3
= static_cast< int >(val3
);
34612 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34613 if (!SWIG_IsOK(ecode4
)) {
34614 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
34616 arg4
= static_cast< wxTreeItemIcon
>(val4
);
34619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34620 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,arg4
);
34621 wxPyEndAllowThreads(__tstate
);
34622 if (PyErr_Occurred()) SWIG_fail
;
34624 resultobj
= SWIG_Py_Void();
34631 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34632 PyObject
*resultobj
= 0;
34633 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34634 wxTreeItemId
*arg2
= 0 ;
34635 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
34641 PyObject
* obj0
= 0 ;
34642 PyObject
* obj1
= 0 ;
34643 PyObject
* obj2
= 0 ;
34644 char * kwnames
[] = {
34645 (char *) "self",(char *) "item",(char *) "data", NULL
34648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34650 if (!SWIG_IsOK(res1
)) {
34651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34653 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34654 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34655 if (!SWIG_IsOK(res2
)) {
34656 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34659 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34661 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34662 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
34663 if (!SWIG_IsOK(res3
)) {
34664 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
34667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34668 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34669 wxPyEndAllowThreads(__tstate
);
34670 if (PyErr_Occurred()) SWIG_fail
;
34672 resultobj
= SWIG_Py_Void();
34679 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34680 PyObject
*resultobj
= 0;
34681 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34682 wxTreeItemId
*arg2
= 0 ;
34683 PyObject
*arg3
= (PyObject
*) 0 ;
34688 PyObject
* obj0
= 0 ;
34689 PyObject
* obj1
= 0 ;
34690 PyObject
* obj2
= 0 ;
34691 char * kwnames
[] = {
34692 (char *) "self",(char *) "item",(char *) "obj", NULL
34695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34697 if (!SWIG_IsOK(res1
)) {
34698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34700 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34701 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34702 if (!SWIG_IsOK(res2
)) {
34703 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34706 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34708 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34712 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34713 wxPyEndAllowThreads(__tstate
);
34714 if (PyErr_Occurred()) SWIG_fail
;
34716 resultobj
= SWIG_Py_Void();
34723 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34724 PyObject
*resultobj
= 0;
34725 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34726 wxTreeItemId
*arg2
= 0 ;
34727 bool arg3
= (bool) true ;
34734 PyObject
* obj0
= 0 ;
34735 PyObject
* obj1
= 0 ;
34736 PyObject
* obj2
= 0 ;
34737 char * kwnames
[] = {
34738 (char *) "self",(char *) "item",(char *) "has", NULL
34741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34743 if (!SWIG_IsOK(res1
)) {
34744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34746 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34747 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34748 if (!SWIG_IsOK(res2
)) {
34749 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34752 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34754 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34756 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34757 if (!SWIG_IsOK(ecode3
)) {
34758 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
34760 arg3
= static_cast< bool >(val3
);
34763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34764 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
34765 wxPyEndAllowThreads(__tstate
);
34766 if (PyErr_Occurred()) SWIG_fail
;
34768 resultobj
= SWIG_Py_Void();
34775 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34776 PyObject
*resultobj
= 0;
34777 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34778 wxTreeItemId
*arg2
= 0 ;
34779 bool arg3
= (bool) true ;
34786 PyObject
* obj0
= 0 ;
34787 PyObject
* obj1
= 0 ;
34788 PyObject
* obj2
= 0 ;
34789 char * kwnames
[] = {
34790 (char *) "self",(char *) "item",(char *) "bold", NULL
34793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34795 if (!SWIG_IsOK(res1
)) {
34796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34798 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34799 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34800 if (!SWIG_IsOK(res2
)) {
34801 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34804 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34806 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34808 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34809 if (!SWIG_IsOK(ecode3
)) {
34810 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
34812 arg3
= static_cast< bool >(val3
);
34815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34816 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
34817 wxPyEndAllowThreads(__tstate
);
34818 if (PyErr_Occurred()) SWIG_fail
;
34820 resultobj
= SWIG_Py_Void();
34827 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34828 PyObject
*resultobj
= 0;
34829 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34830 wxTreeItemId
*arg2
= 0 ;
34831 bool arg3
= (bool) true ;
34838 PyObject
* obj0
= 0 ;
34839 PyObject
* obj1
= 0 ;
34840 PyObject
* obj2
= 0 ;
34841 char * kwnames
[] = {
34842 (char *) "self",(char *) "item",(char *) "highlight", NULL
34845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34847 if (!SWIG_IsOK(res1
)) {
34848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34850 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34851 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34852 if (!SWIG_IsOK(res2
)) {
34853 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34856 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34858 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34860 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34861 if (!SWIG_IsOK(ecode3
)) {
34862 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
34864 arg3
= static_cast< bool >(val3
);
34867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34868 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
34869 wxPyEndAllowThreads(__tstate
);
34870 if (PyErr_Occurred()) SWIG_fail
;
34872 resultobj
= SWIG_Py_Void();
34879 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34880 PyObject
*resultobj
= 0;
34881 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34882 wxTreeItemId
*arg2
= 0 ;
34883 wxColour
*arg3
= 0 ;
34889 PyObject
* obj0
= 0 ;
34890 PyObject
* obj1
= 0 ;
34891 PyObject
* obj2
= 0 ;
34892 char * kwnames
[] = {
34893 (char *) "self",(char *) "item",(char *) "col", NULL
34896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34898 if (!SWIG_IsOK(res1
)) {
34899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34901 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34902 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34903 if (!SWIG_IsOK(res2
)) {
34904 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34907 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34909 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34912 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
34915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34916 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
34917 wxPyEndAllowThreads(__tstate
);
34918 if (PyErr_Occurred()) SWIG_fail
;
34920 resultobj
= SWIG_Py_Void();
34927 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34928 PyObject
*resultobj
= 0;
34929 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34930 wxTreeItemId
*arg2
= 0 ;
34931 wxColour
*arg3
= 0 ;
34937 PyObject
* obj0
= 0 ;
34938 PyObject
* obj1
= 0 ;
34939 PyObject
* obj2
= 0 ;
34940 char * kwnames
[] = {
34941 (char *) "self",(char *) "item",(char *) "col", NULL
34944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34946 if (!SWIG_IsOK(res1
)) {
34947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34949 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34950 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34951 if (!SWIG_IsOK(res2
)) {
34952 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34955 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34957 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34960 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
34963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34964 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
34965 wxPyEndAllowThreads(__tstate
);
34966 if (PyErr_Occurred()) SWIG_fail
;
34968 resultobj
= SWIG_Py_Void();
34975 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34976 PyObject
*resultobj
= 0;
34977 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34978 wxTreeItemId
*arg2
= 0 ;
34986 PyObject
* obj0
= 0 ;
34987 PyObject
* obj1
= 0 ;
34988 PyObject
* obj2
= 0 ;
34989 char * kwnames
[] = {
34990 (char *) "self",(char *) "item",(char *) "font", NULL
34993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34995 if (!SWIG_IsOK(res1
)) {
34996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34998 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34999 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35000 if (!SWIG_IsOK(res2
)) {
35001 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35004 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35006 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35007 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
35008 if (!SWIG_IsOK(res3
)) {
35009 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35012 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35014 arg3
= reinterpret_cast< wxFont
* >(argp3
);
35016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35017 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
35018 wxPyEndAllowThreads(__tstate
);
35019 if (PyErr_Occurred()) SWIG_fail
;
35021 resultobj
= SWIG_Py_Void();
35028 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35029 PyObject
*resultobj
= 0;
35030 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35031 wxTreeItemId
*arg2
= 0 ;
35037 PyObject
* obj0
= 0 ;
35038 PyObject
* obj1
= 0 ;
35039 char * kwnames
[] = {
35040 (char *) "self",(char *) "item", NULL
35043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35045 if (!SWIG_IsOK(res1
)) {
35046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35048 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35049 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35050 if (!SWIG_IsOK(res2
)) {
35051 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35054 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35056 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35059 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
35060 wxPyEndAllowThreads(__tstate
);
35061 if (PyErr_Occurred()) SWIG_fail
;
35064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35072 SWIGINTERN PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35073 PyObject
*resultobj
= 0;
35074 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35075 wxTreeItemId
*arg2
= 0 ;
35081 PyObject
* obj0
= 0 ;
35082 PyObject
* obj1
= 0 ;
35083 char * kwnames
[] = {
35084 (char *) "self",(char *) "item", NULL
35087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35089 if (!SWIG_IsOK(res1
)) {
35090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35092 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35093 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35094 if (!SWIG_IsOK(res2
)) {
35095 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35098 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35100 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35103 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
35104 wxPyEndAllowThreads(__tstate
);
35105 if (PyErr_Occurred()) SWIG_fail
;
35108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35116 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35117 PyObject
*resultobj
= 0;
35118 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35119 wxTreeItemId
*arg2
= 0 ;
35125 PyObject
* obj0
= 0 ;
35126 PyObject
* obj1
= 0 ;
35127 char * kwnames
[] = {
35128 (char *) "self",(char *) "item", NULL
35131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35133 if (!SWIG_IsOK(res1
)) {
35134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35136 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35137 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35138 if (!SWIG_IsOK(res2
)) {
35139 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35142 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35144 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35147 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
35148 wxPyEndAllowThreads(__tstate
);
35149 if (PyErr_Occurred()) SWIG_fail
;
35152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35160 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35161 PyObject
*resultobj
= 0;
35162 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35163 wxTreeItemId
*arg2
= 0 ;
35169 PyObject
* obj0
= 0 ;
35170 PyObject
* obj1
= 0 ;
35171 char * kwnames
[] = {
35172 (char *) "self",(char *) "item", NULL
35175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35177 if (!SWIG_IsOK(res1
)) {
35178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35180 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35181 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35182 if (!SWIG_IsOK(res2
)) {
35183 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35186 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35188 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35191 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
35192 wxPyEndAllowThreads(__tstate
);
35193 if (PyErr_Occurred()) SWIG_fail
;
35196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35204 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35205 PyObject
*resultobj
= 0;
35206 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35207 wxTreeItemId
*arg2
= 0 ;
35213 PyObject
* obj0
= 0 ;
35214 PyObject
* obj1
= 0 ;
35215 char * kwnames
[] = {
35216 (char *) "self",(char *) "item", NULL
35219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35221 if (!SWIG_IsOK(res1
)) {
35222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35224 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35225 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35226 if (!SWIG_IsOK(res2
)) {
35227 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35230 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35232 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35235 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
35236 wxPyEndAllowThreads(__tstate
);
35237 if (PyErr_Occurred()) SWIG_fail
;
35240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35248 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35249 PyObject
*resultobj
= 0;
35250 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35251 wxTreeItemId
*arg2
= 0 ;
35252 bool arg3
= (bool) true ;
35260 PyObject
* obj0
= 0 ;
35261 PyObject
* obj1
= 0 ;
35262 PyObject
* obj2
= 0 ;
35263 char * kwnames
[] = {
35264 (char *) "self",(char *) "item",(char *) "recursively", NULL
35267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35269 if (!SWIG_IsOK(res1
)) {
35270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35272 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35273 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35274 if (!SWIG_IsOK(res2
)) {
35275 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35278 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35280 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35282 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35283 if (!SWIG_IsOK(ecode3
)) {
35284 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
35286 arg3
= static_cast< bool >(val3
);
35289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35290 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
35291 wxPyEndAllowThreads(__tstate
);
35292 if (PyErr_Occurred()) SWIG_fail
;
35294 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
35301 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35302 PyObject
*resultobj
= 0;
35303 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35304 wxTreeItemId result
;
35307 PyObject
*swig_obj
[1] ;
35309 if (!args
) SWIG_fail
;
35310 swig_obj
[0] = args
;
35311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35312 if (!SWIG_IsOK(res1
)) {
35313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35315 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35318 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
35319 wxPyEndAllowThreads(__tstate
);
35320 if (PyErr_Occurred()) SWIG_fail
;
35322 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35329 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35330 PyObject
*resultobj
= 0;
35331 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35332 wxTreeItemId result
;
35335 PyObject
*swig_obj
[1] ;
35337 if (!args
) SWIG_fail
;
35338 swig_obj
[0] = args
;
35339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35340 if (!SWIG_IsOK(res1
)) {
35341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35343 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35346 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
35347 wxPyEndAllowThreads(__tstate
);
35348 if (PyErr_Occurred()) SWIG_fail
;
35350 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35357 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35358 PyObject
*resultobj
= 0;
35359 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35360 PyObject
*result
= 0 ;
35363 PyObject
*swig_obj
[1] ;
35365 if (!args
) SWIG_fail
;
35366 swig_obj
[0] = args
;
35367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35368 if (!SWIG_IsOK(res1
)) {
35369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35371 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35374 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
35375 wxPyEndAllowThreads(__tstate
);
35376 if (PyErr_Occurred()) SWIG_fail
;
35378 resultobj
= result
;
35385 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35386 PyObject
*resultobj
= 0;
35387 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35388 wxTreeItemId
*arg2
= 0 ;
35389 wxTreeItemId result
;
35394 PyObject
* obj0
= 0 ;
35395 PyObject
* obj1
= 0 ;
35396 char * kwnames
[] = {
35397 (char *) "self",(char *) "item", NULL
35400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35402 if (!SWIG_IsOK(res1
)) {
35403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35405 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35406 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35407 if (!SWIG_IsOK(res2
)) {
35408 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35411 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35413 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35416 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
35417 wxPyEndAllowThreads(__tstate
);
35418 if (PyErr_Occurred()) SWIG_fail
;
35420 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35427 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35428 PyObject
*resultobj
= 0;
35429 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35430 wxTreeItemId
*arg2
= 0 ;
35431 PyObject
*result
= 0 ;
35436 PyObject
* obj0
= 0 ;
35437 PyObject
* obj1
= 0 ;
35438 char * kwnames
[] = {
35439 (char *) "self",(char *) "item", NULL
35442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35444 if (!SWIG_IsOK(res1
)) {
35445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35447 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35448 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35449 if (!SWIG_IsOK(res2
)) {
35450 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35453 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35455 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35458 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
35459 wxPyEndAllowThreads(__tstate
);
35460 if (PyErr_Occurred()) SWIG_fail
;
35462 resultobj
= result
;
35469 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35470 PyObject
*resultobj
= 0;
35471 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35472 wxTreeItemId
*arg2
= 0 ;
35473 void *arg3
= (void *) 0 ;
35474 PyObject
*result
= 0 ;
35480 PyObject
* obj0
= 0 ;
35481 PyObject
* obj1
= 0 ;
35482 PyObject
* obj2
= 0 ;
35483 char * kwnames
[] = {
35484 (char *) "self",(char *) "item",(char *) "cookie", NULL
35487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35489 if (!SWIG_IsOK(res1
)) {
35490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35492 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35493 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35494 if (!SWIG_IsOK(res2
)) {
35495 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35498 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35500 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35501 res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
), 0, 0);
35502 if (!SWIG_IsOK(res3
)) {
35503 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
35506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35507 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35508 wxPyEndAllowThreads(__tstate
);
35509 if (PyErr_Occurred()) SWIG_fail
;
35511 resultobj
= result
;
35518 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35519 PyObject
*resultobj
= 0;
35520 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35521 wxTreeItemId
*arg2
= 0 ;
35522 wxTreeItemId result
;
35527 PyObject
* obj0
= 0 ;
35528 PyObject
* obj1
= 0 ;
35529 char * kwnames
[] = {
35530 (char *) "self",(char *) "item", NULL
35533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35535 if (!SWIG_IsOK(res1
)) {
35536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35538 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35539 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35540 if (!SWIG_IsOK(res2
)) {
35541 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35544 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35546 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35549 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
35550 wxPyEndAllowThreads(__tstate
);
35551 if (PyErr_Occurred()) SWIG_fail
;
35553 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35560 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35561 PyObject
*resultobj
= 0;
35562 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35563 wxTreeItemId
*arg2
= 0 ;
35564 wxTreeItemId result
;
35569 PyObject
* obj0
= 0 ;
35570 PyObject
* obj1
= 0 ;
35571 char * kwnames
[] = {
35572 (char *) "self",(char *) "item", NULL
35575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35577 if (!SWIG_IsOK(res1
)) {
35578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35580 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35581 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35582 if (!SWIG_IsOK(res2
)) {
35583 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35586 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35588 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35591 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
35592 wxPyEndAllowThreads(__tstate
);
35593 if (PyErr_Occurred()) SWIG_fail
;
35595 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35602 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35603 PyObject
*resultobj
= 0;
35604 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35605 wxTreeItemId
*arg2
= 0 ;
35606 wxTreeItemId result
;
35611 PyObject
* obj0
= 0 ;
35612 PyObject
* obj1
= 0 ;
35613 char * kwnames
[] = {
35614 (char *) "self",(char *) "item", NULL
35617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35619 if (!SWIG_IsOK(res1
)) {
35620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35622 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35623 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35624 if (!SWIG_IsOK(res2
)) {
35625 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35628 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35630 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35633 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
35634 wxPyEndAllowThreads(__tstate
);
35635 if (PyErr_Occurred()) SWIG_fail
;
35637 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35644 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35645 PyObject
*resultobj
= 0;
35646 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35647 wxTreeItemId result
;
35650 PyObject
*swig_obj
[1] ;
35652 if (!args
) SWIG_fail
;
35653 swig_obj
[0] = args
;
35654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35655 if (!SWIG_IsOK(res1
)) {
35656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35658 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35661 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
35662 wxPyEndAllowThreads(__tstate
);
35663 if (PyErr_Occurred()) SWIG_fail
;
35665 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35672 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35673 PyObject
*resultobj
= 0;
35674 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35675 wxTreeItemId
*arg2
= 0 ;
35676 wxTreeItemId result
;
35681 PyObject
* obj0
= 0 ;
35682 PyObject
* obj1
= 0 ;
35683 char * kwnames
[] = {
35684 (char *) "self",(char *) "item", NULL
35687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35689 if (!SWIG_IsOK(res1
)) {
35690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35692 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35693 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35694 if (!SWIG_IsOK(res2
)) {
35695 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35698 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35700 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35703 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
35704 wxPyEndAllowThreads(__tstate
);
35705 if (PyErr_Occurred()) SWIG_fail
;
35707 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35714 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35715 PyObject
*resultobj
= 0;
35716 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35717 wxTreeItemId
*arg2
= 0 ;
35718 wxTreeItemId result
;
35723 PyObject
* obj0
= 0 ;
35724 PyObject
* obj1
= 0 ;
35725 char * kwnames
[] = {
35726 (char *) "self",(char *) "item", NULL
35729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35731 if (!SWIG_IsOK(res1
)) {
35732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35734 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35735 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35736 if (!SWIG_IsOK(res2
)) {
35737 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35740 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35742 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35745 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
35746 wxPyEndAllowThreads(__tstate
);
35747 if (PyErr_Occurred()) SWIG_fail
;
35749 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35756 SWIGINTERN PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35757 PyObject
*resultobj
= 0;
35758 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35759 wxString
*arg2
= 0 ;
35760 int arg3
= (int) -1 ;
35761 int arg4
= (int) -1 ;
35762 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
35763 wxTreeItemId result
;
35766 bool temp2
= false ;
35772 PyObject
* obj0
= 0 ;
35773 PyObject
* obj1
= 0 ;
35774 PyObject
* obj2
= 0 ;
35775 PyObject
* obj3
= 0 ;
35776 PyObject
* obj4
= 0 ;
35777 char * kwnames
[] = {
35778 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35783 if (!SWIG_IsOK(res1
)) {
35784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35786 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35788 arg2
= wxString_in_helper(obj1
);
35789 if (arg2
== NULL
) SWIG_fail
;
35793 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35794 if (!SWIG_IsOK(ecode3
)) {
35795 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
35797 arg3
= static_cast< int >(val3
);
35800 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35801 if (!SWIG_IsOK(ecode4
)) {
35802 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
35804 arg4
= static_cast< int >(val4
);
35807 res5
= SWIG_ConvertPtr(obj4
, SWIG_as_voidptrptr(&arg5
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35808 if (!SWIG_IsOK(res5
)) {
35809 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
35813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35814 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
35815 wxPyEndAllowThreads(__tstate
);
35816 if (PyErr_Occurred()) SWIG_fail
;
35818 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35833 SWIGINTERN PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35834 PyObject
*resultobj
= 0;
35835 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35836 wxTreeItemId
*arg2
= 0 ;
35837 wxString
*arg3
= 0 ;
35838 int arg4
= (int) -1 ;
35839 int arg5
= (int) -1 ;
35840 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
35841 wxTreeItemId result
;
35846 bool temp3
= false ;
35852 PyObject
* obj0
= 0 ;
35853 PyObject
* obj1
= 0 ;
35854 PyObject
* obj2
= 0 ;
35855 PyObject
* obj3
= 0 ;
35856 PyObject
* obj4
= 0 ;
35857 PyObject
* obj5
= 0 ;
35858 char * kwnames
[] = {
35859 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
35863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35864 if (!SWIG_IsOK(res1
)) {
35865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35867 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35868 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35869 if (!SWIG_IsOK(res2
)) {
35870 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35873 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35875 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35877 arg3
= wxString_in_helper(obj2
);
35878 if (arg3
== NULL
) SWIG_fail
;
35882 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35883 if (!SWIG_IsOK(ecode4
)) {
35884 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
35886 arg4
= static_cast< int >(val4
);
35889 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35890 if (!SWIG_IsOK(ecode5
)) {
35891 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
35893 arg5
= static_cast< int >(val5
);
35896 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35897 if (!SWIG_IsOK(res6
)) {
35898 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
35902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35903 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
35904 wxPyEndAllowThreads(__tstate
);
35905 if (PyErr_Occurred()) SWIG_fail
;
35907 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35922 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35923 PyObject
*resultobj
= 0;
35924 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35925 wxTreeItemId
*arg2
= 0 ;
35926 wxTreeItemId
*arg3
= 0 ;
35927 wxString
*arg4
= 0 ;
35928 int arg5
= (int) -1 ;
35929 int arg6
= (int) -1 ;
35930 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
35931 wxTreeItemId result
;
35938 bool temp4
= false ;
35944 PyObject
* obj0
= 0 ;
35945 PyObject
* obj1
= 0 ;
35946 PyObject
* obj2
= 0 ;
35947 PyObject
* obj3
= 0 ;
35948 PyObject
* obj4
= 0 ;
35949 PyObject
* obj5
= 0 ;
35950 PyObject
* obj6
= 0 ;
35951 char * kwnames
[] = {
35952 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35957 if (!SWIG_IsOK(res1
)) {
35958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35960 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35961 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35962 if (!SWIG_IsOK(res2
)) {
35963 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35966 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35968 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35969 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35970 if (!SWIG_IsOK(res3
)) {
35971 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
35974 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
35976 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
35978 arg4
= wxString_in_helper(obj3
);
35979 if (arg4
== NULL
) SWIG_fail
;
35983 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35984 if (!SWIG_IsOK(ecode5
)) {
35985 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
35987 arg5
= static_cast< int >(val5
);
35990 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35991 if (!SWIG_IsOK(ecode6
)) {
35992 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
35994 arg6
= static_cast< int >(val6
);
35997 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35998 if (!SWIG_IsOK(res7
)) {
35999 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36004 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36005 wxPyEndAllowThreads(__tstate
);
36006 if (PyErr_Occurred()) SWIG_fail
;
36008 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36023 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36024 PyObject
*resultobj
= 0;
36025 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36026 wxTreeItemId
*arg2
= 0 ;
36028 wxString
*arg4
= 0 ;
36029 int arg5
= (int) -1 ;
36030 int arg6
= (int) -1 ;
36031 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
36032 wxTreeItemId result
;
36039 bool temp4
= false ;
36045 PyObject
* obj0
= 0 ;
36046 PyObject
* obj1
= 0 ;
36047 PyObject
* obj2
= 0 ;
36048 PyObject
* obj3
= 0 ;
36049 PyObject
* obj4
= 0 ;
36050 PyObject
* obj5
= 0 ;
36051 PyObject
* obj6
= 0 ;
36052 char * kwnames
[] = {
36053 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36058 if (!SWIG_IsOK(res1
)) {
36059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36061 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36062 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36063 if (!SWIG_IsOK(res2
)) {
36064 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36067 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36069 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36070 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
36071 if (!SWIG_IsOK(ecode3
)) {
36072 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
36074 arg3
= static_cast< size_t >(val3
);
36076 arg4
= wxString_in_helper(obj3
);
36077 if (arg4
== NULL
) SWIG_fail
;
36081 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36082 if (!SWIG_IsOK(ecode5
)) {
36083 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
36085 arg5
= static_cast< int >(val5
);
36088 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36089 if (!SWIG_IsOK(ecode6
)) {
36090 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
36092 arg6
= static_cast< int >(val6
);
36095 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36096 if (!SWIG_IsOK(res7
)) {
36097 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36102 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36103 wxPyEndAllowThreads(__tstate
);
36104 if (PyErr_Occurred()) SWIG_fail
;
36106 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36121 SWIGINTERN PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36122 PyObject
*resultobj
= 0;
36123 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36124 wxTreeItemId
*arg2
= 0 ;
36125 wxString
*arg3
= 0 ;
36126 int arg4
= (int) -1 ;
36127 int arg5
= (int) -1 ;
36128 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
36129 wxTreeItemId result
;
36134 bool temp3
= false ;
36140 PyObject
* obj0
= 0 ;
36141 PyObject
* obj1
= 0 ;
36142 PyObject
* obj2
= 0 ;
36143 PyObject
* obj3
= 0 ;
36144 PyObject
* obj4
= 0 ;
36145 PyObject
* obj5
= 0 ;
36146 char * kwnames
[] = {
36147 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36152 if (!SWIG_IsOK(res1
)) {
36153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36155 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36156 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36157 if (!SWIG_IsOK(res2
)) {
36158 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36161 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36163 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36165 arg3
= wxString_in_helper(obj2
);
36166 if (arg3
== NULL
) SWIG_fail
;
36170 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36171 if (!SWIG_IsOK(ecode4
)) {
36172 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
36174 arg4
= static_cast< int >(val4
);
36177 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36178 if (!SWIG_IsOK(ecode5
)) {
36179 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
36181 arg5
= static_cast< int >(val5
);
36184 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36185 if (!SWIG_IsOK(res6
)) {
36186 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36191 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
36192 wxPyEndAllowThreads(__tstate
);
36193 if (PyErr_Occurred()) SWIG_fail
;
36195 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36210 SWIGINTERN PyObject
*_wrap_TreeCtrl_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36211 PyObject
*resultobj
= 0;
36212 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36213 wxTreeItemId
*arg2
= 0 ;
36218 PyObject
* obj0
= 0 ;
36219 PyObject
* obj1
= 0 ;
36220 char * kwnames
[] = {
36221 (char *) "self",(char *) "item", NULL
36224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36226 if (!SWIG_IsOK(res1
)) {
36227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36229 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36230 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36231 if (!SWIG_IsOK(res2
)) {
36232 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36235 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36237 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36240 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
36241 wxPyEndAllowThreads(__tstate
);
36242 if (PyErr_Occurred()) SWIG_fail
;
36244 resultobj
= SWIG_Py_Void();
36251 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36252 PyObject
*resultobj
= 0;
36253 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36254 wxTreeItemId
*arg2
= 0 ;
36259 PyObject
* obj0
= 0 ;
36260 PyObject
* obj1
= 0 ;
36261 char * kwnames
[] = {
36262 (char *) "self",(char *) "item", NULL
36265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36267 if (!SWIG_IsOK(res1
)) {
36268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36270 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36271 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36272 if (!SWIG_IsOK(res2
)) {
36273 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36276 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36278 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36281 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
36282 wxPyEndAllowThreads(__tstate
);
36283 if (PyErr_Occurred()) SWIG_fail
;
36285 resultobj
= SWIG_Py_Void();
36292 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36293 PyObject
*resultobj
= 0;
36294 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36297 PyObject
*swig_obj
[1] ;
36299 if (!args
) SWIG_fail
;
36300 swig_obj
[0] = args
;
36301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36302 if (!SWIG_IsOK(res1
)) {
36303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36305 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36308 (arg1
)->DeleteAllItems();
36309 wxPyEndAllowThreads(__tstate
);
36310 if (PyErr_Occurred()) SWIG_fail
;
36312 resultobj
= SWIG_Py_Void();
36319 SWIGINTERN PyObject
*_wrap_TreeCtrl_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36320 PyObject
*resultobj
= 0;
36321 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36322 wxTreeItemId
*arg2
= 0 ;
36327 PyObject
* obj0
= 0 ;
36328 PyObject
* obj1
= 0 ;
36329 char * kwnames
[] = {
36330 (char *) "self",(char *) "item", NULL
36333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36335 if (!SWIG_IsOK(res1
)) {
36336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36338 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36339 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36340 if (!SWIG_IsOK(res2
)) {
36341 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36344 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36346 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36349 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
36350 wxPyEndAllowThreads(__tstate
);
36351 if (PyErr_Occurred()) SWIG_fail
;
36353 resultobj
= SWIG_Py_Void();
36360 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAllChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36361 PyObject
*resultobj
= 0;
36362 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36363 wxTreeItemId
*arg2
= 0 ;
36368 PyObject
* obj0
= 0 ;
36369 PyObject
* obj1
= 0 ;
36370 char * kwnames
[] = {
36371 (char *) "self",(char *) "item", NULL
36374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ExpandAllChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36376 if (!SWIG_IsOK(res1
)) {
36377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36379 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36380 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36381 if (!SWIG_IsOK(res2
)) {
36382 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36385 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36387 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36390 (arg1
)->ExpandAllChildren((wxTreeItemId
const &)*arg2
);
36391 wxPyEndAllowThreads(__tstate
);
36392 if (PyErr_Occurred()) SWIG_fail
;
36394 resultobj
= SWIG_Py_Void();
36401 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36402 PyObject
*resultobj
= 0;
36403 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36406 PyObject
*swig_obj
[1] ;
36408 if (!args
) SWIG_fail
;
36409 swig_obj
[0] = args
;
36410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36411 if (!SWIG_IsOK(res1
)) {
36412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36414 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36417 (arg1
)->ExpandAll();
36418 wxPyEndAllowThreads(__tstate
);
36419 if (PyErr_Occurred()) SWIG_fail
;
36421 resultobj
= SWIG_Py_Void();
36428 SWIGINTERN PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36429 PyObject
*resultobj
= 0;
36430 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36431 wxTreeItemId
*arg2
= 0 ;
36436 PyObject
* obj0
= 0 ;
36437 PyObject
* obj1
= 0 ;
36438 char * kwnames
[] = {
36439 (char *) "self",(char *) "item", NULL
36442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36444 if (!SWIG_IsOK(res1
)) {
36445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36447 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36448 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36449 if (!SWIG_IsOK(res2
)) {
36450 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36453 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36455 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36458 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
36459 wxPyEndAllowThreads(__tstate
);
36460 if (PyErr_Occurred()) SWIG_fail
;
36462 resultobj
= SWIG_Py_Void();
36469 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36470 PyObject
*resultobj
= 0;
36471 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36472 wxTreeItemId
*arg2
= 0 ;
36477 PyObject
* obj0
= 0 ;
36478 PyObject
* obj1
= 0 ;
36479 char * kwnames
[] = {
36480 (char *) "self",(char *) "item", NULL
36483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36484 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36485 if (!SWIG_IsOK(res1
)) {
36486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36488 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36489 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36490 if (!SWIG_IsOK(res2
)) {
36491 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36494 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36496 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36499 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
36500 wxPyEndAllowThreads(__tstate
);
36501 if (PyErr_Occurred()) SWIG_fail
;
36503 resultobj
= SWIG_Py_Void();
36510 SWIGINTERN PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36511 PyObject
*resultobj
= 0;
36512 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36513 wxTreeItemId
*arg2
= 0 ;
36518 PyObject
* obj0
= 0 ;
36519 PyObject
* obj1
= 0 ;
36520 char * kwnames
[] = {
36521 (char *) "self",(char *) "item", NULL
36524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36526 if (!SWIG_IsOK(res1
)) {
36527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36529 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36530 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36531 if (!SWIG_IsOK(res2
)) {
36532 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36535 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36537 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36540 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
36541 wxPyEndAllowThreads(__tstate
);
36542 if (PyErr_Occurred()) SWIG_fail
;
36544 resultobj
= SWIG_Py_Void();
36551 SWIGINTERN PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36552 PyObject
*resultobj
= 0;
36553 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36556 PyObject
*swig_obj
[1] ;
36558 if (!args
) SWIG_fail
;
36559 swig_obj
[0] = args
;
36560 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36561 if (!SWIG_IsOK(res1
)) {
36562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36564 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36567 (arg1
)->Unselect();
36568 wxPyEndAllowThreads(__tstate
);
36569 if (PyErr_Occurred()) SWIG_fail
;
36571 resultobj
= SWIG_Py_Void();
36578 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36579 PyObject
*resultobj
= 0;
36580 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36581 wxTreeItemId
*arg2
= 0 ;
36586 PyObject
* obj0
= 0 ;
36587 PyObject
* obj1
= 0 ;
36588 char * kwnames
[] = {
36589 (char *) "self",(char *) "item", NULL
36592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36594 if (!SWIG_IsOK(res1
)) {
36595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36597 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36598 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36599 if (!SWIG_IsOK(res2
)) {
36600 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36603 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36605 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36608 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
36609 wxPyEndAllowThreads(__tstate
);
36610 if (PyErr_Occurred()) SWIG_fail
;
36612 resultobj
= SWIG_Py_Void();
36619 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36620 PyObject
*resultobj
= 0;
36621 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36624 PyObject
*swig_obj
[1] ;
36626 if (!args
) SWIG_fail
;
36627 swig_obj
[0] = args
;
36628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36629 if (!SWIG_IsOK(res1
)) {
36630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36632 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36635 (arg1
)->UnselectAll();
36636 wxPyEndAllowThreads(__tstate
);
36637 if (PyErr_Occurred()) SWIG_fail
;
36639 resultobj
= SWIG_Py_Void();
36646 SWIGINTERN PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36647 PyObject
*resultobj
= 0;
36648 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36649 wxTreeItemId
*arg2
= 0 ;
36650 bool arg3
= (bool) true ;
36657 PyObject
* obj0
= 0 ;
36658 PyObject
* obj1
= 0 ;
36659 PyObject
* obj2
= 0 ;
36660 char * kwnames
[] = {
36661 (char *) "self",(char *) "item",(char *) "select", NULL
36664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36666 if (!SWIG_IsOK(res1
)) {
36667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36669 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36670 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36671 if (!SWIG_IsOK(res2
)) {
36672 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36675 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36677 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36679 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36680 if (!SWIG_IsOK(ecode3
)) {
36681 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
36683 arg3
= static_cast< bool >(val3
);
36686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36687 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
36688 wxPyEndAllowThreads(__tstate
);
36689 if (PyErr_Occurred()) SWIG_fail
;
36691 resultobj
= SWIG_Py_Void();
36698 SWIGINTERN PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36699 PyObject
*resultobj
= 0;
36700 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36701 wxTreeItemId
*arg2
= 0 ;
36706 PyObject
* obj0
= 0 ;
36707 PyObject
* obj1
= 0 ;
36708 char * kwnames
[] = {
36709 (char *) "self",(char *) "item", NULL
36712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36714 if (!SWIG_IsOK(res1
)) {
36715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36717 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36718 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36719 if (!SWIG_IsOK(res2
)) {
36720 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36723 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36725 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36728 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
36729 wxPyEndAllowThreads(__tstate
);
36730 if (PyErr_Occurred()) SWIG_fail
;
36732 resultobj
= SWIG_Py_Void();
36739 SWIGINTERN PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36740 PyObject
*resultobj
= 0;
36741 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36742 wxTreeItemId
*arg2
= 0 ;
36747 PyObject
* obj0
= 0 ;
36748 PyObject
* obj1
= 0 ;
36749 char * kwnames
[] = {
36750 (char *) "self",(char *) "item", NULL
36753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36755 if (!SWIG_IsOK(res1
)) {
36756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36758 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36759 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36760 if (!SWIG_IsOK(res2
)) {
36761 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36764 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36766 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36769 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
36770 wxPyEndAllowThreads(__tstate
);
36771 if (PyErr_Occurred()) SWIG_fail
;
36773 resultobj
= SWIG_Py_Void();
36780 SWIGINTERN PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36781 PyObject
*resultobj
= 0;
36782 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36783 wxTreeItemId
*arg2
= 0 ;
36788 PyObject
* obj0
= 0 ;
36789 PyObject
* obj1
= 0 ;
36790 char * kwnames
[] = {
36791 (char *) "self",(char *) "item", NULL
36794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36796 if (!SWIG_IsOK(res1
)) {
36797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36799 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36800 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36801 if (!SWIG_IsOK(res2
)) {
36802 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36805 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36807 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36810 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
36811 wxPyEndAllowThreads(__tstate
);
36812 if (PyErr_Occurred()) SWIG_fail
;
36814 resultobj
= SWIG_Py_Void();
36821 SWIGINTERN PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36822 PyObject
*resultobj
= 0;
36823 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36824 wxTreeItemId
*arg2
= 0 ;
36829 PyObject
* obj0
= 0 ;
36830 PyObject
* obj1
= 0 ;
36831 char * kwnames
[] = {
36832 (char *) "self",(char *) "item", NULL
36835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36837 if (!SWIG_IsOK(res1
)) {
36838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36840 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36841 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36842 if (!SWIG_IsOK(res2
)) {
36843 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36846 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36848 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36851 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
36852 wxPyEndAllowThreads(__tstate
);
36853 if (PyErr_Occurred()) SWIG_fail
;
36855 resultobj
= SWIG_Py_Void();
36862 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36863 PyObject
*resultobj
= 0;
36864 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36865 wxTextCtrl
*result
= 0 ;
36868 PyObject
*swig_obj
[1] ;
36870 if (!args
) SWIG_fail
;
36871 swig_obj
[0] = args
;
36872 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36873 if (!SWIG_IsOK(res1
)) {
36874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36876 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36879 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
36880 wxPyEndAllowThreads(__tstate
);
36881 if (PyErr_Occurred()) SWIG_fail
;
36884 resultobj
= wxPyMake_wxObject(result
, 0);
36892 SWIGINTERN PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36893 PyObject
*resultobj
= 0;
36894 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36895 wxTreeItemId
*arg2
= 0 ;
36900 PyObject
* obj0
= 0 ;
36901 PyObject
* obj1
= 0 ;
36902 char * kwnames
[] = {
36903 (char *) "self",(char *) "item", NULL
36906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36908 if (!SWIG_IsOK(res1
)) {
36909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36911 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36912 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36913 if (!SWIG_IsOK(res2
)) {
36914 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36917 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36919 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36922 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
36923 wxPyEndAllowThreads(__tstate
);
36924 if (PyErr_Occurred()) SWIG_fail
;
36926 resultobj
= SWIG_Py_Void();
36933 SWIGINTERN PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36934 PyObject
*resultobj
= 0;
36935 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36936 wxPoint
*arg2
= 0 ;
36938 wxTreeItemId result
;
36943 int res3
= SWIG_TMPOBJ
;
36944 PyObject
* obj0
= 0 ;
36945 PyObject
* obj1
= 0 ;
36946 char * kwnames
[] = {
36947 (char *) "self",(char *) "point", NULL
36951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36953 if (!SWIG_IsOK(res1
)) {
36954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36956 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36959 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36963 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
36964 wxPyEndAllowThreads(__tstate
);
36965 if (PyErr_Occurred()) SWIG_fail
;
36967 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36968 if (SWIG_IsTmpObj(res3
)) {
36969 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
36971 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
36972 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
36980 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36981 PyObject
*resultobj
= 0;
36982 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36983 wxTreeItemId
*arg2
= 0 ;
36984 bool arg3
= (bool) false ;
36985 PyObject
*result
= 0 ;
36992 PyObject
* obj0
= 0 ;
36993 PyObject
* obj1
= 0 ;
36994 PyObject
* obj2
= 0 ;
36995 char * kwnames
[] = {
36996 (char *) "self",(char *) "item",(char *) "textOnly", NULL
36999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37001 if (!SWIG_IsOK(res1
)) {
37002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37004 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37005 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37006 if (!SWIG_IsOK(res2
)) {
37007 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37010 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37012 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37014 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37015 if (!SWIG_IsOK(ecode3
)) {
37016 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
37018 arg3
= static_cast< bool >(val3
);
37021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37022 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
37023 wxPyEndAllowThreads(__tstate
);
37024 if (PyErr_Occurred()) SWIG_fail
;
37026 resultobj
= result
;
37033 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37034 PyObject
*resultobj
= 0;
37035 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
37036 SwigValueWrapper
<wxVisualAttributes
> result
;
37039 PyObject
* obj0
= 0 ;
37040 char * kwnames
[] = {
37041 (char *) "variant", NULL
37044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
37046 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
37047 if (!SWIG_IsOK(ecode1
)) {
37048 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
37050 arg1
= static_cast< wxWindowVariant
>(val1
);
37053 if (!wxPyCheckForApp()) SWIG_fail
;
37054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37055 result
= wxPyTreeCtrl::GetClassDefaultAttributes(arg1
);
37056 wxPyEndAllowThreads(__tstate
);
37057 if (PyErr_Occurred()) SWIG_fail
;
37059 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
37066 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37067 PyObject
*resultobj
= 0;
37068 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37074 PyObject
* obj0
= 0 ;
37075 PyObject
* obj1
= 0 ;
37076 char * kwnames
[] = {
37077 (char *) "self",(char *) "q", NULL
37080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetQuickBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37082 if (!SWIG_IsOK(res1
)) {
37083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37085 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37086 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37087 if (!SWIG_IsOK(ecode2
)) {
37088 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "2"" of type '" "bool""'");
37090 arg2
= static_cast< bool >(val2
);
37092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37093 (arg1
)->SetQuickBestSize(arg2
);
37094 wxPyEndAllowThreads(__tstate
);
37095 if (PyErr_Occurred()) SWIG_fail
;
37097 resultobj
= SWIG_Py_Void();
37104 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37105 PyObject
*resultobj
= 0;
37106 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37110 PyObject
*swig_obj
[1] ;
37112 if (!args
) SWIG_fail
;
37113 swig_obj
[0] = args
;
37114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37115 if (!SWIG_IsOK(res1
)) {
37116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37118 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37121 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->GetQuickBestSize();
37122 wxPyEndAllowThreads(__tstate
);
37123 if (PyErr_Occurred()) SWIG_fail
;
37126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37134 SWIGINTERN PyObject
*TreeCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37136 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37137 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl
, SWIG_NewClientData(obj
));
37138 return SWIG_Py_Void();
37141 SWIGINTERN PyObject
*TreeCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37142 return SWIG_Python_InitShadowInstance(args
);
37145 SWIGINTERN
int DirDialogDefaultFolderStr_set(PyObject
*) {
37146 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogDefaultFolderStr is read-only.");
37151 SWIGINTERN PyObject
*DirDialogDefaultFolderStr_get(void) {
37152 PyObject
*pyobj
= 0;
37156 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37158 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37165 SWIGINTERN PyObject
*_wrap_new_GenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37166 PyObject
*resultobj
= 0;
37167 wxWindow
*arg1
= (wxWindow
*) 0 ;
37168 int arg2
= (int) (int)-1 ;
37169 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
37170 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
37171 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37172 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37173 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37174 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37175 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37176 wxString
const &arg7_defvalue
= wxPyEmptyString
;
37177 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
37178 int arg8
= (int) 0 ;
37179 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
37180 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
37181 wxGenericDirCtrl
*result
= 0 ;
37186 bool temp3
= false ;
37191 bool temp7
= false ;
37194 bool temp9
= false ;
37195 PyObject
* obj0
= 0 ;
37196 PyObject
* obj1
= 0 ;
37197 PyObject
* obj2
= 0 ;
37198 PyObject
* obj3
= 0 ;
37199 PyObject
* obj4
= 0 ;
37200 PyObject
* obj5
= 0 ;
37201 PyObject
* obj6
= 0 ;
37202 PyObject
* obj7
= 0 ;
37203 PyObject
* obj8
= 0 ;
37204 char * kwnames
[] = {
37205 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
37209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37210 if (!SWIG_IsOK(res1
)) {
37211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
37213 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37215 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37216 if (!SWIG_IsOK(ecode2
)) {
37217 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
37219 arg2
= static_cast< int >(val2
);
37223 arg3
= wxString_in_helper(obj2
);
37224 if (arg3
== NULL
) SWIG_fail
;
37231 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37237 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37241 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
37242 if (!SWIG_IsOK(ecode6
)) {
37243 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
37245 arg6
= static_cast< long >(val6
);
37249 arg7
= wxString_in_helper(obj6
);
37250 if (arg7
== NULL
) SWIG_fail
;
37255 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
37256 if (!SWIG_IsOK(ecode8
)) {
37257 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
37259 arg8
= static_cast< int >(val8
);
37263 arg9
= wxString_in_helper(obj8
);
37264 if (arg9
== NULL
) SWIG_fail
;
37269 if (!wxPyCheckForApp()) SWIG_fail
;
37270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37271 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
37272 wxPyEndAllowThreads(__tstate
);
37273 if (PyErr_Occurred()) SWIG_fail
;
37275 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_NEW
| 0 );
37306 SWIGINTERN PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37307 PyObject
*resultobj
= 0;
37308 wxGenericDirCtrl
*result
= 0 ;
37310 if (!SWIG_Python_UnpackTuple(args
,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail
;
37312 if (!wxPyCheckForApp()) SWIG_fail
;
37313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37314 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
37315 wxPyEndAllowThreads(__tstate
);
37316 if (PyErr_Occurred()) SWIG_fail
;
37318 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_OWN
| 0 );
37325 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37326 PyObject
*resultobj
= 0;
37327 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37328 wxWindow
*arg2
= (wxWindow
*) 0 ;
37329 int arg3
= (int) (int)-1 ;
37330 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
37331 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
37332 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
37333 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
37334 wxSize
const &arg6_defvalue
= wxDefaultSize
;
37335 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
37336 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37337 wxString
const &arg8_defvalue
= wxPyEmptyString
;
37338 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
37339 int arg9
= (int) 0 ;
37340 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
37341 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
37349 bool temp4
= false ;
37354 bool temp8
= false ;
37357 bool temp10
= false ;
37358 PyObject
* obj0
= 0 ;
37359 PyObject
* obj1
= 0 ;
37360 PyObject
* obj2
= 0 ;
37361 PyObject
* obj3
= 0 ;
37362 PyObject
* obj4
= 0 ;
37363 PyObject
* obj5
= 0 ;
37364 PyObject
* obj6
= 0 ;
37365 PyObject
* obj7
= 0 ;
37366 PyObject
* obj8
= 0 ;
37367 PyObject
* obj9
= 0 ;
37368 char * kwnames
[] = {
37369 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
37373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37374 if (!SWIG_IsOK(res1
)) {
37375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37377 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37378 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37379 if (!SWIG_IsOK(res2
)) {
37380 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
37382 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
37384 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37385 if (!SWIG_IsOK(ecode3
)) {
37386 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
37388 arg3
= static_cast< int >(val3
);
37392 arg4
= wxString_in_helper(obj3
);
37393 if (arg4
== NULL
) SWIG_fail
;
37400 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
37406 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
37410 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
37411 if (!SWIG_IsOK(ecode7
)) {
37412 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
37414 arg7
= static_cast< long >(val7
);
37418 arg8
= wxString_in_helper(obj7
);
37419 if (arg8
== NULL
) SWIG_fail
;
37424 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
37425 if (!SWIG_IsOK(ecode9
)) {
37426 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
37428 arg9
= static_cast< int >(val9
);
37432 arg10
= wxString_in_helper(obj9
);
37433 if (arg10
== NULL
) SWIG_fail
;
37438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37439 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
37440 wxPyEndAllowThreads(__tstate
);
37441 if (PyErr_Occurred()) SWIG_fail
;
37444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37476 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37477 PyObject
*resultobj
= 0;
37478 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37479 wxString
*arg2
= 0 ;
37483 bool temp2
= false ;
37484 PyObject
* obj0
= 0 ;
37485 PyObject
* obj1
= 0 ;
37486 char * kwnames
[] = {
37487 (char *) "self",(char *) "path", NULL
37490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37492 if (!SWIG_IsOK(res1
)) {
37493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37495 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37497 arg2
= wxString_in_helper(obj1
);
37498 if (arg2
== NULL
) SWIG_fail
;
37502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37503 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
37504 wxPyEndAllowThreads(__tstate
);
37505 if (PyErr_Occurred()) SWIG_fail
;
37508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37524 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_CollapsePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37525 PyObject
*resultobj
= 0;
37526 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37527 wxString
*arg2
= 0 ;
37531 bool temp2
= false ;
37532 PyObject
* obj0
= 0 ;
37533 PyObject
* obj1
= 0 ;
37534 char * kwnames
[] = {
37535 (char *) "self",(char *) "path", NULL
37538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_CollapsePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37540 if (!SWIG_IsOK(res1
)) {
37541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_CollapsePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37543 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37545 arg2
= wxString_in_helper(obj1
);
37546 if (arg2
== NULL
) SWIG_fail
;
37550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37551 result
= (bool)(arg1
)->CollapsePath((wxString
const &)*arg2
);
37552 wxPyEndAllowThreads(__tstate
);
37553 if (PyErr_Occurred()) SWIG_fail
;
37556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37572 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37573 PyObject
*resultobj
= 0;
37574 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37578 PyObject
*swig_obj
[1] ;
37580 if (!args
) SWIG_fail
;
37581 swig_obj
[0] = args
;
37582 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37583 if (!SWIG_IsOK(res1
)) {
37584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37586 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37589 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
37590 wxPyEndAllowThreads(__tstate
);
37591 if (PyErr_Occurred()) SWIG_fail
;
37595 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37597 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37606 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37607 PyObject
*resultobj
= 0;
37608 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37609 wxString
*arg2
= 0 ;
37612 bool temp2
= false ;
37613 PyObject
* obj0
= 0 ;
37614 PyObject
* obj1
= 0 ;
37615 char * kwnames
[] = {
37616 (char *) "self",(char *) "path", NULL
37619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37621 if (!SWIG_IsOK(res1
)) {
37622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37624 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37626 arg2
= wxString_in_helper(obj1
);
37627 if (arg2
== NULL
) SWIG_fail
;
37631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37632 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
37633 wxPyEndAllowThreads(__tstate
);
37634 if (PyErr_Occurred()) SWIG_fail
;
37636 resultobj
= SWIG_Py_Void();
37651 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37652 PyObject
*resultobj
= 0;
37653 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37657 PyObject
*swig_obj
[1] ;
37659 if (!args
) SWIG_fail
;
37660 swig_obj
[0] = args
;
37661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37662 if (!SWIG_IsOK(res1
)) {
37663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37665 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37668 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
37669 wxPyEndAllowThreads(__tstate
);
37670 if (PyErr_Occurred()) SWIG_fail
;
37674 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37676 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37685 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37686 PyObject
*resultobj
= 0;
37687 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37691 PyObject
*swig_obj
[1] ;
37693 if (!args
) SWIG_fail
;
37694 swig_obj
[0] = args
;
37695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37696 if (!SWIG_IsOK(res1
)) {
37697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37699 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37702 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
37703 wxPyEndAllowThreads(__tstate
);
37704 if (PyErr_Occurred()) SWIG_fail
;
37708 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37710 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37719 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37720 PyObject
*resultobj
= 0;
37721 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37722 wxString
*arg2
= 0 ;
37725 bool temp2
= false ;
37726 PyObject
* obj0
= 0 ;
37727 PyObject
* obj1
= 0 ;
37728 char * kwnames
[] = {
37729 (char *) "self",(char *) "path", NULL
37732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37734 if (!SWIG_IsOK(res1
)) {
37735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37737 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37739 arg2
= wxString_in_helper(obj1
);
37740 if (arg2
== NULL
) SWIG_fail
;
37744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37745 (arg1
)->SetPath((wxString
const &)*arg2
);
37746 wxPyEndAllowThreads(__tstate
);
37747 if (PyErr_Occurred()) SWIG_fail
;
37749 resultobj
= SWIG_Py_Void();
37764 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37765 PyObject
*resultobj
= 0;
37766 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37772 PyObject
* obj0
= 0 ;
37773 PyObject
* obj1
= 0 ;
37774 char * kwnames
[] = {
37775 (char *) "self",(char *) "show", NULL
37778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37780 if (!SWIG_IsOK(res1
)) {
37781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37783 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37784 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37785 if (!SWIG_IsOK(ecode2
)) {
37786 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
37788 arg2
= static_cast< bool >(val2
);
37790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37791 (arg1
)->ShowHidden(arg2
);
37792 wxPyEndAllowThreads(__tstate
);
37793 if (PyErr_Occurred()) SWIG_fail
;
37795 resultobj
= SWIG_Py_Void();
37802 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37803 PyObject
*resultobj
= 0;
37804 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37808 PyObject
*swig_obj
[1] ;
37810 if (!args
) SWIG_fail
;
37811 swig_obj
[0] = args
;
37812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37813 if (!SWIG_IsOK(res1
)) {
37814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37816 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37819 result
= (bool)(arg1
)->GetShowHidden();
37820 wxPyEndAllowThreads(__tstate
);
37821 if (PyErr_Occurred()) SWIG_fail
;
37824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37832 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37833 PyObject
*resultobj
= 0;
37834 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37838 PyObject
*swig_obj
[1] ;
37840 if (!args
) SWIG_fail
;
37841 swig_obj
[0] = args
;
37842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37843 if (!SWIG_IsOK(res1
)) {
37844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37846 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37849 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
37850 wxPyEndAllowThreads(__tstate
);
37851 if (PyErr_Occurred()) SWIG_fail
;
37855 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37857 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37866 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37867 PyObject
*resultobj
= 0;
37868 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37869 wxString
*arg2
= 0 ;
37872 bool temp2
= false ;
37873 PyObject
* obj0
= 0 ;
37874 PyObject
* obj1
= 0 ;
37875 char * kwnames
[] = {
37876 (char *) "self",(char *) "filter", NULL
37879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37881 if (!SWIG_IsOK(res1
)) {
37882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37884 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37886 arg2
= wxString_in_helper(obj1
);
37887 if (arg2
== NULL
) SWIG_fail
;
37891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37892 (arg1
)->SetFilter((wxString
const &)*arg2
);
37893 wxPyEndAllowThreads(__tstate
);
37894 if (PyErr_Occurred()) SWIG_fail
;
37896 resultobj
= SWIG_Py_Void();
37911 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37912 PyObject
*resultobj
= 0;
37913 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37917 PyObject
*swig_obj
[1] ;
37919 if (!args
) SWIG_fail
;
37920 swig_obj
[0] = args
;
37921 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37922 if (!SWIG_IsOK(res1
)) {
37923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37925 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37928 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
37929 wxPyEndAllowThreads(__tstate
);
37930 if (PyErr_Occurred()) SWIG_fail
;
37932 resultobj
= SWIG_From_int(static_cast< int >(result
));
37939 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37940 PyObject
*resultobj
= 0;
37941 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37947 PyObject
* obj0
= 0 ;
37948 PyObject
* obj1
= 0 ;
37949 char * kwnames
[] = {
37950 (char *) "self",(char *) "n", NULL
37953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37955 if (!SWIG_IsOK(res1
)) {
37956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37958 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37959 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37960 if (!SWIG_IsOK(ecode2
)) {
37961 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
37963 arg2
= static_cast< int >(val2
);
37965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37966 (arg1
)->SetFilterIndex(arg2
);
37967 wxPyEndAllowThreads(__tstate
);
37968 if (PyErr_Occurred()) SWIG_fail
;
37970 resultobj
= SWIG_Py_Void();
37977 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37978 PyObject
*resultobj
= 0;
37979 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37980 wxTreeItemId result
;
37983 PyObject
*swig_obj
[1] ;
37985 if (!args
) SWIG_fail
;
37986 swig_obj
[0] = args
;
37987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37988 if (!SWIG_IsOK(res1
)) {
37989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37991 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37994 result
= (arg1
)->GetRootId();
37995 wxPyEndAllowThreads(__tstate
);
37996 if (PyErr_Occurred()) SWIG_fail
;
37998 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38005 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38006 PyObject
*resultobj
= 0;
38007 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38008 wxPyTreeCtrl
*result
= 0 ;
38011 PyObject
*swig_obj
[1] ;
38013 if (!args
) SWIG_fail
;
38014 swig_obj
[0] = args
;
38015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38016 if (!SWIG_IsOK(res1
)) {
38017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38019 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38022 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
38023 wxPyEndAllowThreads(__tstate
);
38024 if (PyErr_Occurred()) SWIG_fail
;
38027 resultobj
= wxPyMake_wxObject(result
, 0);
38035 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38036 PyObject
*resultobj
= 0;
38037 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38038 wxDirFilterListCtrl
*result
= 0 ;
38041 PyObject
*swig_obj
[1] ;
38043 if (!args
) SWIG_fail
;
38044 swig_obj
[0] = args
;
38045 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38046 if (!SWIG_IsOK(res1
)) {
38047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38049 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38052 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
38053 wxPyEndAllowThreads(__tstate
);
38054 if (PyErr_Occurred()) SWIG_fail
;
38056 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38063 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38064 PyObject
*resultobj
= 0;
38065 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38066 wxTreeItemId arg2
;
38067 wxString
*arg3
= 0 ;
38069 wxTreeItemId result
;
38074 bool temp3
= false ;
38076 int res4
= SWIG_TMPOBJ
;
38077 PyObject
* obj0
= 0 ;
38078 PyObject
* obj1
= 0 ;
38079 PyObject
* obj2
= 0 ;
38080 char * kwnames
[] = {
38081 (char *) "self",(char *) "parentId",(char *) "path", NULL
38085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38087 if (!SWIG_IsOK(res1
)) {
38088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38090 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38092 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
38093 if (!SWIG_IsOK(res2
)) {
38094 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38097 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38099 wxTreeItemId
* temp
= reinterpret_cast< wxTreeItemId
* >(argp2
);
38101 if (SWIG_IsNewObj(res2
)) delete temp
;
38105 arg3
= wxString_in_helper(obj2
);
38106 if (arg3
== NULL
) SWIG_fail
;
38110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38111 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
38112 wxPyEndAllowThreads(__tstate
);
38113 if (PyErr_Occurred()) SWIG_fail
;
38115 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38116 if (SWIG_IsTmpObj(res4
)) {
38117 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
38119 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38120 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
38136 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38137 PyObject
*resultobj
= 0;
38138 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38141 PyObject
*swig_obj
[1] ;
38143 if (!args
) SWIG_fail
;
38144 swig_obj
[0] = args
;
38145 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38146 if (!SWIG_IsOK(res1
)) {
38147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38149 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38152 (arg1
)->DoResize();
38153 wxPyEndAllowThreads(__tstate
);
38154 if (PyErr_Occurred()) SWIG_fail
;
38156 resultobj
= SWIG_Py_Void();
38163 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38164 PyObject
*resultobj
= 0;
38165 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38168 PyObject
*swig_obj
[1] ;
38170 if (!args
) SWIG_fail
;
38171 swig_obj
[0] = args
;
38172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38173 if (!SWIG_IsOK(res1
)) {
38174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38176 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38179 (arg1
)->ReCreateTree();
38180 wxPyEndAllowThreads(__tstate
);
38181 if (PyErr_Occurred()) SWIG_fail
;
38183 resultobj
= SWIG_Py_Void();
38190 SWIGINTERN PyObject
*GenericDirCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38192 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38193 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl
, SWIG_NewClientData(obj
));
38194 return SWIG_Py_Void();
38197 SWIGINTERN PyObject
*GenericDirCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38198 return SWIG_Python_InitShadowInstance(args
);
38201 SWIGINTERN PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38202 PyObject
*resultobj
= 0;
38203 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38204 int arg2
= (int) (int)-1 ;
38205 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38206 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38207 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38208 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38209 long arg5
= (long) 0 ;
38210 wxDirFilterListCtrl
*result
= 0 ;
38219 PyObject
* obj0
= 0 ;
38220 PyObject
* obj1
= 0 ;
38221 PyObject
* obj2
= 0 ;
38222 PyObject
* obj3
= 0 ;
38223 PyObject
* obj4
= 0 ;
38224 char * kwnames
[] = {
38225 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38230 if (!SWIG_IsOK(res1
)) {
38231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38233 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38235 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38236 if (!SWIG_IsOK(ecode2
)) {
38237 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
38239 arg2
= static_cast< int >(val2
);
38244 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38250 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38254 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38255 if (!SWIG_IsOK(ecode5
)) {
38256 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
38258 arg5
= static_cast< long >(val5
);
38261 if (!wxPyCheckForApp()) SWIG_fail
;
38262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38263 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
38264 wxPyEndAllowThreads(__tstate
);
38265 if (PyErr_Occurred()) SWIG_fail
;
38267 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_NEW
| 0 );
38274 SWIGINTERN PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38275 PyObject
*resultobj
= 0;
38276 wxDirFilterListCtrl
*result
= 0 ;
38278 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail
;
38280 if (!wxPyCheckForApp()) SWIG_fail
;
38281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38282 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
38283 wxPyEndAllowThreads(__tstate
);
38284 if (PyErr_Occurred()) SWIG_fail
;
38286 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_OWN
| 0 );
38293 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38294 PyObject
*resultobj
= 0;
38295 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38296 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
38297 int arg3
= (int) (int)-1 ;
38298 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
38299 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
38300 wxSize
const &arg5_defvalue
= wxDefaultSize
;
38301 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
38302 long arg6
= (long) 0 ;
38314 PyObject
* obj0
= 0 ;
38315 PyObject
* obj1
= 0 ;
38316 PyObject
* obj2
= 0 ;
38317 PyObject
* obj3
= 0 ;
38318 PyObject
* obj4
= 0 ;
38319 PyObject
* obj5
= 0 ;
38320 char * kwnames
[] = {
38321 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38326 if (!SWIG_IsOK(res1
)) {
38327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38329 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38330 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38331 if (!SWIG_IsOK(res2
)) {
38332 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
38334 arg2
= reinterpret_cast< wxGenericDirCtrl
* >(argp2
);
38336 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38337 if (!SWIG_IsOK(ecode3
)) {
38338 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
38340 arg3
= static_cast< int >(val3
);
38345 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
38351 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
38355 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
38356 if (!SWIG_IsOK(ecode6
)) {
38357 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
38359 arg6
= static_cast< long >(val6
);
38362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38363 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
38364 wxPyEndAllowThreads(__tstate
);
38365 if (PyErr_Occurred()) SWIG_fail
;
38368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38376 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38377 PyObject
*resultobj
= 0;
38378 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38379 wxString
*arg2
= 0 ;
38383 bool temp2
= false ;
38386 PyObject
* obj0
= 0 ;
38387 PyObject
* obj1
= 0 ;
38388 PyObject
* obj2
= 0 ;
38389 char * kwnames
[] = {
38390 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
38393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38395 if (!SWIG_IsOK(res1
)) {
38396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38398 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38400 arg2
= wxString_in_helper(obj1
);
38401 if (arg2
== NULL
) SWIG_fail
;
38404 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38405 if (!SWIG_IsOK(ecode3
)) {
38406 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
38408 arg3
= static_cast< int >(val3
);
38410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38411 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
38412 wxPyEndAllowThreads(__tstate
);
38413 if (PyErr_Occurred()) SWIG_fail
;
38415 resultobj
= SWIG_Py_Void();
38430 SWIGINTERN PyObject
*DirFilterListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38432 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38433 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_NewClientData(obj
));
38434 return SWIG_Py_Void();
38437 SWIGINTERN PyObject
*DirFilterListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38438 return SWIG_Python_InitShadowInstance(args
);
38441 SWIGINTERN PyObject
*_wrap_new_PyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38442 PyObject
*resultobj
= 0;
38443 wxWindow
*arg1
= (wxWindow
*) 0 ;
38444 int arg2
= (int) (int)-1 ;
38445 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38446 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38447 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38448 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38449 long arg5
= (long) 0 ;
38450 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
38451 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
38452 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
38453 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
38454 wxPyControl
*result
= 0 ;
38465 bool temp7
= false ;
38466 PyObject
* obj0
= 0 ;
38467 PyObject
* obj1
= 0 ;
38468 PyObject
* obj2
= 0 ;
38469 PyObject
* obj3
= 0 ;
38470 PyObject
* obj4
= 0 ;
38471 PyObject
* obj5
= 0 ;
38472 PyObject
* obj6
= 0 ;
38473 char * kwnames
[] = {
38474 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
38477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
38478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38479 if (!SWIG_IsOK(res1
)) {
38480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
38482 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38484 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38485 if (!SWIG_IsOK(ecode2
)) {
38486 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
38488 arg2
= static_cast< int >(val2
);
38493 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38499 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38503 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38504 if (!SWIG_IsOK(ecode5
)) {
38505 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
38507 arg5
= static_cast< long >(val5
);
38510 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
38511 if (!SWIG_IsOK(res6
)) {
38512 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38515 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38517 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
38521 arg7
= wxString_in_helper(obj6
);
38522 if (arg7
== NULL
) SWIG_fail
;
38527 if (!wxPyCheckForApp()) SWIG_fail
;
38528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38529 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
38530 wxPyEndAllowThreads(__tstate
);
38531 if (PyErr_Occurred()) SWIG_fail
;
38533 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_NEW
| 0 );
38548 SWIGINTERN PyObject
*_wrap_new_PrePyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38549 PyObject
*resultobj
= 0;
38550 wxPyControl
*result
= 0 ;
38552 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyControl",0,0,0)) SWIG_fail
;
38554 if (!wxPyCheckForApp()) SWIG_fail
;
38555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38556 result
= (wxPyControl
*)new wxPyControl();
38557 wxPyEndAllowThreads(__tstate
);
38558 if (PyErr_Occurred()) SWIG_fail
;
38560 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_OWN
| 0 );
38567 SWIGINTERN PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38568 PyObject
*resultobj
= 0;
38569 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38570 PyObject
*arg2
= (PyObject
*) 0 ;
38571 PyObject
*arg3
= (PyObject
*) 0 ;
38574 PyObject
* obj0
= 0 ;
38575 PyObject
* obj1
= 0 ;
38576 PyObject
* obj2
= 0 ;
38577 char * kwnames
[] = {
38578 (char *) "self",(char *) "self",(char *) "_class", NULL
38581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38583 if (!SWIG_IsOK(res1
)) {
38584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
38586 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38591 (arg1
)->_setCallbackInfo(arg2
,arg3
);
38592 wxPyEndAllowThreads(__tstate
);
38593 if (PyErr_Occurred()) SWIG_fail
;
38595 resultobj
= SWIG_Py_Void();
38602 SWIGINTERN PyObject
*_wrap_PyControl_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38603 PyObject
*resultobj
= 0;
38604 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38609 PyObject
* obj0
= 0 ;
38610 PyObject
* obj1
= 0 ;
38611 char * kwnames
[] = {
38612 (char *) "self",(char *) "size", NULL
38615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38617 if (!SWIG_IsOK(res1
)) {
38618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_SetBestSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38620 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38623 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38627 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
38628 wxPyEndAllowThreads(__tstate
);
38629 if (PyErr_Occurred()) SWIG_fail
;
38631 resultobj
= SWIG_Py_Void();
38638 SWIGINTERN PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38639 PyObject
*resultobj
= 0;
38640 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38641 wxDC
*arg2
= (wxDC
*) 0 ;
38647 PyObject
* obj0
= 0 ;
38648 PyObject
* obj1
= 0 ;
38649 char * kwnames
[] = {
38650 (char *) "self",(char *) "dc", NULL
38653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38655 if (!SWIG_IsOK(res1
)) {
38656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
38658 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38659 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
38660 if (!SWIG_IsOK(res2
)) {
38661 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
38663 arg2
= reinterpret_cast< wxDC
* >(argp2
);
38665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38666 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
38667 wxPyEndAllowThreads(__tstate
);
38668 if (PyErr_Occurred()) SWIG_fail
;
38671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38679 SWIGINTERN PyObject
*_wrap_PyControl_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38680 PyObject
*resultobj
= 0;
38681 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38696 PyObject
* obj0
= 0 ;
38697 PyObject
* obj1
= 0 ;
38698 PyObject
* obj2
= 0 ;
38699 PyObject
* obj3
= 0 ;
38700 PyObject
* obj4
= 0 ;
38701 char * kwnames
[] = {
38702 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
38705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38707 if (!SWIG_IsOK(res1
)) {
38708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
38710 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38711 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38712 if (!SWIG_IsOK(ecode2
)) {
38713 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
38715 arg2
= static_cast< int >(val2
);
38716 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38717 if (!SWIG_IsOK(ecode3
)) {
38718 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
38720 arg3
= static_cast< int >(val3
);
38721 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38722 if (!SWIG_IsOK(ecode4
)) {
38723 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
38725 arg4
= static_cast< int >(val4
);
38726 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38727 if (!SWIG_IsOK(ecode5
)) {
38728 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
38730 arg5
= static_cast< int >(val5
);
38732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38733 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
38734 wxPyEndAllowThreads(__tstate
);
38735 if (PyErr_Occurred()) SWIG_fail
;
38737 resultobj
= SWIG_Py_Void();
38744 SWIGINTERN PyObject
*_wrap_PyControl_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38745 PyObject
*resultobj
= 0;
38746 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38751 int arg6
= (int) wxSIZE_AUTO
;
38764 PyObject
* obj0
= 0 ;
38765 PyObject
* obj1
= 0 ;
38766 PyObject
* obj2
= 0 ;
38767 PyObject
* obj3
= 0 ;
38768 PyObject
* obj4
= 0 ;
38769 PyObject
* obj5
= 0 ;
38770 char * kwnames
[] = {
38771 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
38774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38776 if (!SWIG_IsOK(res1
)) {
38777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38779 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38780 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38781 if (!SWIG_IsOK(ecode2
)) {
38782 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
38784 arg2
= static_cast< int >(val2
);
38785 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38786 if (!SWIG_IsOK(ecode3
)) {
38787 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
38789 arg3
= static_cast< int >(val3
);
38790 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38791 if (!SWIG_IsOK(ecode4
)) {
38792 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
38794 arg4
= static_cast< int >(val4
);
38795 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38796 if (!SWIG_IsOK(ecode5
)) {
38797 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
38799 arg5
= static_cast< int >(val5
);
38801 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
38802 if (!SWIG_IsOK(ecode6
)) {
38803 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
38805 arg6
= static_cast< int >(val6
);
38808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38809 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
38810 wxPyEndAllowThreads(__tstate
);
38811 if (PyErr_Occurred()) SWIG_fail
;
38813 resultobj
= SWIG_Py_Void();
38820 SWIGINTERN PyObject
*_wrap_PyControl_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38821 PyObject
*resultobj
= 0;
38822 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38831 PyObject
* obj0
= 0 ;
38832 PyObject
* obj1
= 0 ;
38833 PyObject
* obj2
= 0 ;
38834 char * kwnames
[] = {
38835 (char *) "self",(char *) "width",(char *) "height", NULL
38838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38840 if (!SWIG_IsOK(res1
)) {
38841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38843 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38844 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38845 if (!SWIG_IsOK(ecode2
)) {
38846 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
38848 arg2
= static_cast< int >(val2
);
38849 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38850 if (!SWIG_IsOK(ecode3
)) {
38851 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
38853 arg3
= static_cast< int >(val3
);
38855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38856 (arg1
)->DoSetClientSize(arg2
,arg3
);
38857 wxPyEndAllowThreads(__tstate
);
38858 if (PyErr_Occurred()) SWIG_fail
;
38860 resultobj
= SWIG_Py_Void();
38867 SWIGINTERN PyObject
*_wrap_PyControl_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38868 PyObject
*resultobj
= 0;
38869 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38878 PyObject
* obj0
= 0 ;
38879 PyObject
* obj1
= 0 ;
38880 PyObject
* obj2
= 0 ;
38881 char * kwnames
[] = {
38882 (char *) "self",(char *) "x",(char *) "y", NULL
38885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38887 if (!SWIG_IsOK(res1
)) {
38888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38890 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38891 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38892 if (!SWIG_IsOK(ecode2
)) {
38893 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
38895 arg2
= static_cast< int >(val2
);
38896 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38897 if (!SWIG_IsOK(ecode3
)) {
38898 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
38900 arg3
= static_cast< int >(val3
);
38902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38903 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
38904 wxPyEndAllowThreads(__tstate
);
38905 if (PyErr_Occurred()) SWIG_fail
;
38907 resultobj
= SWIG_Py_Void();
38914 SWIGINTERN PyObject
*_wrap_PyControl_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38915 PyObject
*resultobj
= 0;
38916 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38917 int *arg2
= (int *) 0 ;
38918 int *arg3
= (int *) 0 ;
38922 int res2
= SWIG_TMPOBJ
;
38924 int res3
= SWIG_TMPOBJ
;
38925 PyObject
*swig_obj
[1] ;
38929 if (!args
) SWIG_fail
;
38930 swig_obj
[0] = args
;
38931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38932 if (!SWIG_IsOK(res1
)) {
38933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38935 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38938 ((wxPyControl
const *)arg1
)->DoGetSize(arg2
,arg3
);
38939 wxPyEndAllowThreads(__tstate
);
38940 if (PyErr_Occurred()) SWIG_fail
;
38942 resultobj
= SWIG_Py_Void();
38943 if (SWIG_IsTmpObj(res2
)) {
38944 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38946 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38947 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38949 if (SWIG_IsTmpObj(res3
)) {
38950 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38952 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38953 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38961 SWIGINTERN PyObject
*_wrap_PyControl_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38962 PyObject
*resultobj
= 0;
38963 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38964 int *arg2
= (int *) 0 ;
38965 int *arg3
= (int *) 0 ;
38969 int res2
= SWIG_TMPOBJ
;
38971 int res3
= SWIG_TMPOBJ
;
38972 PyObject
*swig_obj
[1] ;
38976 if (!args
) SWIG_fail
;
38977 swig_obj
[0] = args
;
38978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38979 if (!SWIG_IsOK(res1
)) {
38980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38982 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38985 ((wxPyControl
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
38986 wxPyEndAllowThreads(__tstate
);
38987 if (PyErr_Occurred()) SWIG_fail
;
38989 resultobj
= SWIG_Py_Void();
38990 if (SWIG_IsTmpObj(res2
)) {
38991 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38993 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38994 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38996 if (SWIG_IsTmpObj(res3
)) {
38997 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38999 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39000 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39008 SWIGINTERN PyObject
*_wrap_PyControl_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39009 PyObject
*resultobj
= 0;
39010 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39011 int *arg2
= (int *) 0 ;
39012 int *arg3
= (int *) 0 ;
39016 int res2
= SWIG_TMPOBJ
;
39018 int res3
= SWIG_TMPOBJ
;
39019 PyObject
*swig_obj
[1] ;
39023 if (!args
) SWIG_fail
;
39024 swig_obj
[0] = args
;
39025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39026 if (!SWIG_IsOK(res1
)) {
39027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39029 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39032 ((wxPyControl
const *)arg1
)->DoGetPosition(arg2
,arg3
);
39033 wxPyEndAllowThreads(__tstate
);
39034 if (PyErr_Occurred()) SWIG_fail
;
39036 resultobj
= SWIG_Py_Void();
39037 if (SWIG_IsTmpObj(res2
)) {
39038 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39040 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39041 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39043 if (SWIG_IsTmpObj(res3
)) {
39044 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39046 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39047 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39055 SWIGINTERN PyObject
*_wrap_PyControl_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39056 PyObject
*resultobj
= 0;
39057 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39061 PyObject
*swig_obj
[1] ;
39063 if (!args
) SWIG_fail
;
39064 swig_obj
[0] = args
;
39065 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39066 if (!SWIG_IsOK(res1
)) {
39067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39069 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39072 result
= ((wxPyControl
const *)arg1
)->DoGetVirtualSize();
39073 wxPyEndAllowThreads(__tstate
);
39074 if (PyErr_Occurred()) SWIG_fail
;
39076 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39083 SWIGINTERN PyObject
*_wrap_PyControl_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39084 PyObject
*resultobj
= 0;
39085 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39089 PyObject
*swig_obj
[1] ;
39091 if (!args
) SWIG_fail
;
39092 swig_obj
[0] = args
;
39093 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39094 if (!SWIG_IsOK(res1
)) {
39095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39097 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39100 result
= ((wxPyControl
const *)arg1
)->DoGetBestSize();
39101 wxPyEndAllowThreads(__tstate
);
39102 if (PyErr_Occurred()) SWIG_fail
;
39104 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39111 SWIGINTERN PyObject
*_wrap_PyControl_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39112 PyObject
*resultobj
= 0;
39113 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39114 SwigValueWrapper
<wxVisualAttributes
> result
;
39117 PyObject
*swig_obj
[1] ;
39119 if (!args
) SWIG_fail
;
39120 swig_obj
[0] = args
;
39121 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39122 if (!SWIG_IsOK(res1
)) {
39123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
39125 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39128 result
= (arg1
)->GetDefaultAttributes();
39129 wxPyEndAllowThreads(__tstate
);
39130 if (PyErr_Occurred()) SWIG_fail
;
39132 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
39139 SWIGINTERN PyObject
*_wrap_PyControl_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39140 PyObject
*resultobj
= 0;
39141 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39144 PyObject
*swig_obj
[1] ;
39146 if (!args
) SWIG_fail
;
39147 swig_obj
[0] = args
;
39148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39149 if (!SWIG_IsOK(res1
)) {
39150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
39152 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39155 (arg1
)->OnInternalIdle();
39156 wxPyEndAllowThreads(__tstate
);
39157 if (PyErr_Occurred()) SWIG_fail
;
39159 resultobj
= SWIG_Py_Void();
39166 SWIGINTERN PyObject
*PyControl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39168 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39169 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl
, SWIG_NewClientData(obj
));
39170 return SWIG_Py_Void();
39173 SWIGINTERN PyObject
*PyControl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39174 return SWIG_Python_InitShadowInstance(args
);
39177 SWIGINTERN PyObject
*_wrap_new_HelpEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39178 PyObject
*resultobj
= 0;
39179 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
39180 int arg2
= (int) 0 ;
39181 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39182 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39183 wxHelpEvent::Origin arg4
= (wxHelpEvent::Origin
) wxHelpEvent::Origin_Unknown
;
39184 wxHelpEvent
*result
= 0 ;
39192 PyObject
* obj0
= 0 ;
39193 PyObject
* obj1
= 0 ;
39194 PyObject
* obj2
= 0 ;
39195 PyObject
* obj3
= 0 ;
39196 char * kwnames
[] = {
39197 (char *) "type",(char *) "winid",(char *) "pt",(char *) "origin", NULL
39200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39202 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
39203 if (!SWIG_IsOK(ecode1
)) {
39204 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
39206 arg1
= static_cast< wxEventType
>(val1
);
39209 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39210 if (!SWIG_IsOK(ecode2
)) {
39211 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
39213 arg2
= static_cast< int >(val2
);
39218 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39222 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39223 if (!SWIG_IsOK(ecode4
)) {
39224 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HelpEvent" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
39226 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
39229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39230 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
,arg4
);
39231 wxPyEndAllowThreads(__tstate
);
39232 if (PyErr_Occurred()) SWIG_fail
;
39234 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_NEW
| 0 );
39241 SWIGINTERN PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39242 PyObject
*resultobj
= 0;
39243 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39247 PyObject
*swig_obj
[1] ;
39249 if (!args
) SWIG_fail
;
39250 swig_obj
[0] = args
;
39251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39252 if (!SWIG_IsOK(res1
)) {
39253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39255 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39258 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
39259 wxPyEndAllowThreads(__tstate
);
39260 if (PyErr_Occurred()) SWIG_fail
;
39262 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
39269 SWIGINTERN PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39270 PyObject
*resultobj
= 0;
39271 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39272 wxPoint
*arg2
= 0 ;
39276 PyObject
* obj0
= 0 ;
39277 PyObject
* obj1
= 0 ;
39278 char * kwnames
[] = {
39279 (char *) "self",(char *) "pos", NULL
39282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39284 if (!SWIG_IsOK(res1
)) {
39285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39287 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39290 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39294 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
39295 wxPyEndAllowThreads(__tstate
);
39296 if (PyErr_Occurred()) SWIG_fail
;
39298 resultobj
= SWIG_Py_Void();
39305 SWIGINTERN PyObject
*_wrap_HelpEvent_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39306 PyObject
*resultobj
= 0;
39307 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39308 wxString
*result
= 0 ;
39311 PyObject
*swig_obj
[1] ;
39313 if (!args
) SWIG_fail
;
39314 swig_obj
[0] = args
;
39315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39316 if (!SWIG_IsOK(res1
)) {
39317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39319 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39323 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
39324 result
= (wxString
*) &_result_ref
;
39326 wxPyEndAllowThreads(__tstate
);
39327 if (PyErr_Occurred()) SWIG_fail
;
39331 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39333 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39342 SWIGINTERN PyObject
*_wrap_HelpEvent_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39343 PyObject
*resultobj
= 0;
39344 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39345 wxString
*arg2
= 0 ;
39348 bool temp2
= false ;
39349 PyObject
* obj0
= 0 ;
39350 PyObject
* obj1
= 0 ;
39351 char * kwnames
[] = {
39352 (char *) "self",(char *) "link", NULL
39355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39357 if (!SWIG_IsOK(res1
)) {
39358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39360 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39362 arg2
= wxString_in_helper(obj1
);
39363 if (arg2
== NULL
) SWIG_fail
;
39367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39368 (arg1
)->SetLink((wxString
const &)*arg2
);
39369 wxPyEndAllowThreads(__tstate
);
39370 if (PyErr_Occurred()) SWIG_fail
;
39372 resultobj
= SWIG_Py_Void();
39387 SWIGINTERN PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39388 PyObject
*resultobj
= 0;
39389 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39390 wxString
*result
= 0 ;
39393 PyObject
*swig_obj
[1] ;
39395 if (!args
) SWIG_fail
;
39396 swig_obj
[0] = args
;
39397 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39398 if (!SWIG_IsOK(res1
)) {
39399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39401 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39405 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
39406 result
= (wxString
*) &_result_ref
;
39408 wxPyEndAllowThreads(__tstate
);
39409 if (PyErr_Occurred()) SWIG_fail
;
39413 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39415 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39424 SWIGINTERN PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39425 PyObject
*resultobj
= 0;
39426 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39427 wxString
*arg2
= 0 ;
39430 bool temp2
= false ;
39431 PyObject
* obj0
= 0 ;
39432 PyObject
* obj1
= 0 ;
39433 char * kwnames
[] = {
39434 (char *) "self",(char *) "target", NULL
39437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39439 if (!SWIG_IsOK(res1
)) {
39440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39442 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39444 arg2
= wxString_in_helper(obj1
);
39445 if (arg2
== NULL
) SWIG_fail
;
39449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39450 (arg1
)->SetTarget((wxString
const &)*arg2
);
39451 wxPyEndAllowThreads(__tstate
);
39452 if (PyErr_Occurred()) SWIG_fail
;
39454 resultobj
= SWIG_Py_Void();
39469 SWIGINTERN PyObject
*_wrap_HelpEvent_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39470 PyObject
*resultobj
= 0;
39471 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39472 wxHelpEvent::Origin result
;
39475 PyObject
*swig_obj
[1] ;
39477 if (!args
) SWIG_fail
;
39478 swig_obj
[0] = args
;
39479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39480 if (!SWIG_IsOK(res1
)) {
39481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39483 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39486 result
= (wxHelpEvent::Origin
)((wxHelpEvent
const *)arg1
)->GetOrigin();
39487 wxPyEndAllowThreads(__tstate
);
39488 if (PyErr_Occurred()) SWIG_fail
;
39490 resultobj
= SWIG_From_int(static_cast< int >(result
));
39497 SWIGINTERN PyObject
*_wrap_HelpEvent_SetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39498 PyObject
*resultobj
= 0;
39499 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39500 wxHelpEvent::Origin arg2
;
39505 PyObject
* obj0
= 0 ;
39506 PyObject
* obj1
= 0 ;
39507 char * kwnames
[] = {
39508 (char *) "self",(char *) "origin", NULL
39511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetOrigin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39513 if (!SWIG_IsOK(res1
)) {
39514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39516 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39517 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39518 if (!SWIG_IsOK(ecode2
)) {
39519 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "2"" of type '" "wxHelpEvent::Origin""'");
39521 arg2
= static_cast< wxHelpEvent::Origin
>(val2
);
39523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39524 (arg1
)->SetOrigin(arg2
);
39525 wxPyEndAllowThreads(__tstate
);
39526 if (PyErr_Occurred()) SWIG_fail
;
39528 resultobj
= SWIG_Py_Void();
39535 SWIGINTERN PyObject
*HelpEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39537 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39538 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent
, SWIG_NewClientData(obj
));
39539 return SWIG_Py_Void();
39542 SWIGINTERN PyObject
*HelpEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39543 return SWIG_Python_InitShadowInstance(args
);
39546 SWIGINTERN PyObject
*_wrap_new_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39547 PyObject
*resultobj
= 0;
39548 wxWindow
*arg1
= (wxWindow
*) NULL
;
39549 bool arg2
= (bool) true ;
39550 wxContextHelp
*result
= 0 ;
39555 PyObject
* obj0
= 0 ;
39556 PyObject
* obj1
= 0 ;
39557 char * kwnames
[] = {
39558 (char *) "window",(char *) "doNow", NULL
39561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39564 if (!SWIG_IsOK(res1
)) {
39565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
39567 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39570 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
39571 if (!SWIG_IsOK(ecode2
)) {
39572 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
39574 arg2
= static_cast< bool >(val2
);
39577 if (!wxPyCheckForApp()) SWIG_fail
;
39578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39579 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
39580 wxPyEndAllowThreads(__tstate
);
39581 if (PyErr_Occurred()) SWIG_fail
;
39583 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_NEW
| 0 );
39590 SWIGINTERN PyObject
*_wrap_delete_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39591 PyObject
*resultobj
= 0;
39592 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39595 PyObject
*swig_obj
[1] ;
39597 if (!args
) SWIG_fail
;
39598 swig_obj
[0] = args
;
39599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_DISOWN
| 0 );
39600 if (!SWIG_IsOK(res1
)) {
39601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39603 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39608 wxPyEndAllowThreads(__tstate
);
39609 if (PyErr_Occurred()) SWIG_fail
;
39611 resultobj
= SWIG_Py_Void();
39618 SWIGINTERN PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39619 PyObject
*resultobj
= 0;
39620 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39621 wxWindow
*arg2
= (wxWindow
*) NULL
;
39627 PyObject
* obj0
= 0 ;
39628 PyObject
* obj1
= 0 ;
39629 char * kwnames
[] = {
39630 (char *) "self",(char *) "window", NULL
39633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39635 if (!SWIG_IsOK(res1
)) {
39636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39638 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39640 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39641 if (!SWIG_IsOK(res2
)) {
39642 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39644 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39648 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
39649 wxPyEndAllowThreads(__tstate
);
39650 if (PyErr_Occurred()) SWIG_fail
;
39653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39661 SWIGINTERN PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39662 PyObject
*resultobj
= 0;
39663 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39667 PyObject
*swig_obj
[1] ;
39669 if (!args
) SWIG_fail
;
39670 swig_obj
[0] = args
;
39671 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39672 if (!SWIG_IsOK(res1
)) {
39673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39675 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39678 result
= (bool)(arg1
)->EndContextHelp();
39679 wxPyEndAllowThreads(__tstate
);
39680 if (PyErr_Occurred()) SWIG_fail
;
39683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39691 SWIGINTERN PyObject
*ContextHelp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39693 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39694 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp
, SWIG_NewClientData(obj
));
39695 return SWIG_Py_Void();
39698 SWIGINTERN PyObject
*ContextHelp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39699 return SWIG_Python_InitShadowInstance(args
);
39702 SWIGINTERN PyObject
*_wrap_new_ContextHelpButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39703 PyObject
*resultobj
= 0;
39704 wxWindow
*arg1
= (wxWindow
*) 0 ;
39705 int arg2
= (int) wxID_CONTEXT_HELP
;
39706 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39707 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39708 wxSize
const &arg4_defvalue
= wxDefaultSize
;
39709 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
39710 long arg5
= (long) wxBU_AUTODRAW
;
39711 wxContextHelpButton
*result
= 0 ;
39720 PyObject
* obj0
= 0 ;
39721 PyObject
* obj1
= 0 ;
39722 PyObject
* obj2
= 0 ;
39723 PyObject
* obj3
= 0 ;
39724 PyObject
* obj4
= 0 ;
39725 char * kwnames
[] = {
39726 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
39729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39731 if (!SWIG_IsOK(res1
)) {
39732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
39734 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39736 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39737 if (!SWIG_IsOK(ecode2
)) {
39738 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
39740 arg2
= static_cast< int >(val2
);
39745 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39751 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
39755 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
39756 if (!SWIG_IsOK(ecode5
)) {
39757 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
39759 arg5
= static_cast< long >(val5
);
39762 if (!wxPyCheckForApp()) SWIG_fail
;
39763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39764 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
39765 wxPyEndAllowThreads(__tstate
);
39766 if (PyErr_Occurred()) SWIG_fail
;
39768 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelpButton
, SWIG_POINTER_NEW
| 0 );
39775 SWIGINTERN PyObject
*ContextHelpButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39777 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39778 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton
, SWIG_NewClientData(obj
));
39779 return SWIG_Py_Void();
39782 SWIGINTERN PyObject
*ContextHelpButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39783 return SWIG_Python_InitShadowInstance(args
);
39786 SWIGINTERN PyObject
*_wrap_delete_HelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39787 PyObject
*resultobj
= 0;
39788 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39791 PyObject
*swig_obj
[1] ;
39793 if (!args
) SWIG_fail
;
39794 swig_obj
[0] = args
;
39795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
39796 if (!SWIG_IsOK(res1
)) {
39797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39799 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39804 wxPyEndAllowThreads(__tstate
);
39805 if (PyErr_Occurred()) SWIG_fail
;
39807 resultobj
= SWIG_Py_Void();
39814 SWIGINTERN PyObject
*_wrap_HelpProvider_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39815 PyObject
*resultobj
= 0;
39816 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39817 wxHelpProvider
*result
= 0 ;
39819 PyObject
* obj0
= 0 ;
39820 char * kwnames
[] = {
39821 (char *) "helpProvider", NULL
39824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) SWIG_fail
;
39825 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
39826 if (!SWIG_IsOK(res1
)) {
39827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39831 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
39832 wxPyEndAllowThreads(__tstate
);
39833 if (PyErr_Occurred()) SWIG_fail
;
39835 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_OWN
| 0 );
39842 SWIGINTERN PyObject
*_wrap_HelpProvider_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39843 PyObject
*resultobj
= 0;
39844 wxHelpProvider
*result
= 0 ;
39846 if (!SWIG_Python_UnpackTuple(args
,"HelpProvider_Get",0,0,0)) SWIG_fail
;
39848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39849 result
= (wxHelpProvider
*)wxHelpProvider::Get();
39850 wxPyEndAllowThreads(__tstate
);
39851 if (PyErr_Occurred()) SWIG_fail
;
39853 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39860 SWIGINTERN PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39861 PyObject
*resultobj
= 0;
39862 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39863 wxWindow
*arg2
= (wxWindow
*) 0 ;
39869 PyObject
* obj0
= 0 ;
39870 PyObject
* obj1
= 0 ;
39871 char * kwnames
[] = {
39872 (char *) "self",(char *) "window", NULL
39875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39877 if (!SWIG_IsOK(res1
)) {
39878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39880 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39881 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39882 if (!SWIG_IsOK(res2
)) {
39883 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
39885 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39888 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
39889 wxPyEndAllowThreads(__tstate
);
39890 if (PyErr_Occurred()) SWIG_fail
;
39894 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
39896 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
39905 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39906 PyObject
*resultobj
= 0;
39907 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39908 wxWindow
*arg2
= (wxWindow
*) 0 ;
39914 PyObject
* obj0
= 0 ;
39915 PyObject
* obj1
= 0 ;
39916 char * kwnames
[] = {
39917 (char *) "self",(char *) "window", NULL
39920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39922 if (!SWIG_IsOK(res1
)) {
39923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39925 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39926 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39927 if (!SWIG_IsOK(res2
)) {
39928 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39930 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39933 result
= (bool)(arg1
)->ShowHelp(arg2
);
39934 wxPyEndAllowThreads(__tstate
);
39935 if (PyErr_Occurred()) SWIG_fail
;
39938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39946 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelpAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39947 PyObject
*resultobj
= 0;
39948 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39949 wxWindowBase
*arg2
= (wxWindowBase
*) 0 ;
39950 wxPoint
*arg3
= 0 ;
39951 wxHelpEvent::Origin arg4
;
39960 PyObject
* obj0
= 0 ;
39961 PyObject
* obj1
= 0 ;
39962 PyObject
* obj2
= 0 ;
39963 PyObject
* obj3
= 0 ;
39964 char * kwnames
[] = {
39965 (char *) "self",(char *) "window",(char *) "pt",(char *) "origin", NULL
39968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HelpProvider_ShowHelpAtPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39970 if (!SWIG_IsOK(res1
)) {
39971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39973 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39974 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindowBase
, 0 | 0 );
39975 if (!SWIG_IsOK(res2
)) {
39976 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "2"" of type '" "wxWindowBase *""'");
39978 arg2
= reinterpret_cast< wxWindowBase
* >(argp2
);
39981 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39983 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39984 if (!SWIG_IsOK(ecode4
)) {
39985 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
39987 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
39989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39990 result
= (bool)(arg1
)->ShowHelpAtPoint(arg2
,(wxPoint
const &)*arg3
,arg4
);
39991 wxPyEndAllowThreads(__tstate
);
39992 if (PyErr_Occurred()) SWIG_fail
;
39995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40003 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40004 PyObject
*resultobj
= 0;
40005 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40006 wxWindow
*arg2
= (wxWindow
*) 0 ;
40007 wxString
*arg3
= 0 ;
40012 bool temp3
= false ;
40013 PyObject
* obj0
= 0 ;
40014 PyObject
* obj1
= 0 ;
40015 PyObject
* obj2
= 0 ;
40016 char * kwnames
[] = {
40017 (char *) "self",(char *) "window",(char *) "text", NULL
40020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40022 if (!SWIG_IsOK(res1
)) {
40023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40025 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40026 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40027 if (!SWIG_IsOK(res2
)) {
40028 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40030 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40032 arg3
= wxString_in_helper(obj2
);
40033 if (arg3
== NULL
) SWIG_fail
;
40037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40038 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40039 wxPyEndAllowThreads(__tstate
);
40040 if (PyErr_Occurred()) SWIG_fail
;
40042 resultobj
= SWIG_Py_Void();
40057 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40058 PyObject
*resultobj
= 0;
40059 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40061 wxString
*arg3
= 0 ;
40066 bool temp3
= false ;
40067 PyObject
* obj0
= 0 ;
40068 PyObject
* obj1
= 0 ;
40069 PyObject
* obj2
= 0 ;
40070 char * kwnames
[] = {
40071 (char *) "self",(char *) "id",(char *) "text", NULL
40074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40076 if (!SWIG_IsOK(res1
)) {
40077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40079 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40080 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40081 if (!SWIG_IsOK(ecode2
)) {
40082 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
40084 arg2
= static_cast< int >(val2
);
40086 arg3
= wxString_in_helper(obj2
);
40087 if (arg3
== NULL
) SWIG_fail
;
40091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40092 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40093 wxPyEndAllowThreads(__tstate
);
40094 if (PyErr_Occurred()) SWIG_fail
;
40096 resultobj
= SWIG_Py_Void();
40111 SWIGINTERN PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40112 PyObject
*resultobj
= 0;
40113 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40114 wxWindow
*arg2
= (wxWindow
*) 0 ;
40119 PyObject
* obj0
= 0 ;
40120 PyObject
* obj1
= 0 ;
40121 char * kwnames
[] = {
40122 (char *) "self",(char *) "window", NULL
40125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40127 if (!SWIG_IsOK(res1
)) {
40128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40130 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40131 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40132 if (!SWIG_IsOK(res2
)) {
40133 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40135 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40138 (arg1
)->RemoveHelp(arg2
);
40139 wxPyEndAllowThreads(__tstate
);
40140 if (PyErr_Occurred()) SWIG_fail
;
40142 resultobj
= SWIG_Py_Void();
40149 SWIGINTERN PyObject
*_wrap_HelpProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40150 PyObject
*resultobj
= 0;
40151 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40154 PyObject
*swig_obj
[1] ;
40156 if (!args
) SWIG_fail
;
40157 swig_obj
[0] = args
;
40158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40159 if (!SWIG_IsOK(res1
)) {
40160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40162 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40165 wxHelpProvider_Destroy(arg1
);
40166 wxPyEndAllowThreads(__tstate
);
40167 if (PyErr_Occurred()) SWIG_fail
;
40169 resultobj
= SWIG_Py_Void();
40176 SWIGINTERN PyObject
*HelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40178 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40179 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider
, SWIG_NewClientData(obj
));
40180 return SWIG_Py_Void();
40183 SWIGINTERN PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40184 PyObject
*resultobj
= 0;
40185 wxSimpleHelpProvider
*result
= 0 ;
40187 if (!SWIG_Python_UnpackTuple(args
,"new_SimpleHelpProvider",0,0,0)) SWIG_fail
;
40189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40190 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
40191 wxPyEndAllowThreads(__tstate
);
40192 if (PyErr_Occurred()) SWIG_fail
;
40194 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_POINTER_NEW
| 0 );
40201 SWIGINTERN PyObject
*SimpleHelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40203 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40204 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_NewClientData(obj
));
40205 return SWIG_Py_Void();
40208 SWIGINTERN PyObject
*SimpleHelpProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40209 return SWIG_Python_InitShadowInstance(args
);
40212 SWIGINTERN PyObject
*_wrap_new_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40213 PyObject
*resultobj
= 0;
40214 wxBitmap
*arg1
= 0 ;
40215 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40216 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40217 wxGenericDragImage
*result
= 0 ;
40222 PyObject
* obj0
= 0 ;
40223 PyObject
* obj1
= 0 ;
40224 char * kwnames
[] = {
40225 (char *) "image",(char *) "cursor", NULL
40228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40229 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
40230 if (!SWIG_IsOK(res1
)) {
40231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40234 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40236 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
40238 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40239 if (!SWIG_IsOK(res2
)) {
40240 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40243 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40245 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40248 if (!wxPyCheckForApp()) SWIG_fail
;
40249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40250 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
40251 wxPyEndAllowThreads(__tstate
);
40252 if (PyErr_Occurred()) SWIG_fail
;
40254 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_NEW
| 0 );
40261 SWIGINTERN PyObject
*_wrap_new_DragIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40262 PyObject
*resultobj
= 0;
40264 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40265 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40266 wxGenericDragImage
*result
= 0 ;
40271 PyObject
* obj0
= 0 ;
40272 PyObject
* obj1
= 0 ;
40273 char * kwnames
[] = {
40274 (char *) "image",(char *) "cursor", NULL
40277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40278 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
40279 if (!SWIG_IsOK(res1
)) {
40280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40283 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40285 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
40287 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40288 if (!SWIG_IsOK(res2
)) {
40289 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40292 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40294 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40297 if (!wxPyCheckForApp()) SWIG_fail
;
40298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40299 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
40300 wxPyEndAllowThreads(__tstate
);
40301 if (PyErr_Occurred()) SWIG_fail
;
40303 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40310 SWIGINTERN PyObject
*_wrap_new_DragString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40311 PyObject
*resultobj
= 0;
40312 wxString
*arg1
= 0 ;
40313 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40314 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40315 wxGenericDragImage
*result
= 0 ;
40316 bool temp1
= false ;
40319 PyObject
* obj0
= 0 ;
40320 PyObject
* obj1
= 0 ;
40321 char * kwnames
[] = {
40322 (char *) "str",(char *) "cursor", NULL
40325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40327 arg1
= wxString_in_helper(obj0
);
40328 if (arg1
== NULL
) SWIG_fail
;
40332 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40333 if (!SWIG_IsOK(res2
)) {
40334 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40337 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40339 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40342 if (!wxPyCheckForApp()) SWIG_fail
;
40343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40344 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
40345 wxPyEndAllowThreads(__tstate
);
40346 if (PyErr_Occurred()) SWIG_fail
;
40348 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40363 SWIGINTERN PyObject
*_wrap_new_DragTreeItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40364 PyObject
*resultobj
= 0;
40365 wxPyTreeCtrl
*arg1
= 0 ;
40366 wxTreeItemId
*arg2
= 0 ;
40367 wxGenericDragImage
*result
= 0 ;
40372 PyObject
* obj0
= 0 ;
40373 PyObject
* obj1
= 0 ;
40374 char * kwnames
[] = {
40375 (char *) "treeCtrl",(char *) "id", NULL
40378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40379 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0);
40380 if (!SWIG_IsOK(res1
)) {
40381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40384 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40386 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
40387 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 );
40388 if (!SWIG_IsOK(res2
)) {
40389 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40392 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40394 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
40396 if (!wxPyCheckForApp()) SWIG_fail
;
40397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40398 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
40399 wxPyEndAllowThreads(__tstate
);
40400 if (PyErr_Occurred()) SWIG_fail
;
40402 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40409 SWIGINTERN PyObject
*_wrap_new_DragListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40410 PyObject
*resultobj
= 0;
40411 wxPyListCtrl
*arg1
= 0 ;
40413 wxGenericDragImage
*result
= 0 ;
40418 PyObject
* obj0
= 0 ;
40419 PyObject
* obj1
= 0 ;
40420 char * kwnames
[] = {
40421 (char *) "listCtrl",(char *) "id", NULL
40424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40425 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyListCtrl
, 0 | 0);
40426 if (!SWIG_IsOK(res1
)) {
40427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40430 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40432 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
40433 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
40434 if (!SWIG_IsOK(ecode2
)) {
40435 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
40437 arg2
= static_cast< long >(val2
);
40439 if (!wxPyCheckForApp()) SWIG_fail
;
40440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40441 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
40442 wxPyEndAllowThreads(__tstate
);
40443 if (PyErr_Occurred()) SWIG_fail
;
40445 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40452 SWIGINTERN PyObject
*_wrap_delete_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40453 PyObject
*resultobj
= 0;
40454 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40457 PyObject
*swig_obj
[1] ;
40459 if (!args
) SWIG_fail
;
40460 swig_obj
[0] = args
;
40461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_DISOWN
| 0 );
40462 if (!SWIG_IsOK(res1
)) {
40463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40465 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40470 wxPyEndAllowThreads(__tstate
);
40471 if (PyErr_Occurred()) SWIG_fail
;
40473 resultobj
= SWIG_Py_Void();
40480 SWIGINTERN PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40481 PyObject
*resultobj
= 0;
40482 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40483 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
40488 PyObject
* obj0
= 0 ;
40489 PyObject
* obj1
= 0 ;
40490 char * kwnames
[] = {
40491 (char *) "self",(char *) "bitmap", NULL
40494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40496 if (!SWIG_IsOK(res1
)) {
40497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40499 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40500 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
40501 if (!SWIG_IsOK(res2
)) {
40502 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
40504 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
40506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40507 (arg1
)->SetBackingBitmap(arg2
);
40508 wxPyEndAllowThreads(__tstate
);
40509 if (PyErr_Occurred()) SWIG_fail
;
40511 resultobj
= SWIG_Py_Void();
40518 SWIGINTERN PyObject
*_wrap_DragImage_BeginDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40519 PyObject
*resultobj
= 0;
40520 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40521 wxPoint
*arg2
= 0 ;
40522 wxWindow
*arg3
= (wxWindow
*) 0 ;
40523 bool arg4
= (bool) false ;
40524 wxRect
*arg5
= (wxRect
*) NULL
;
40535 PyObject
* obj0
= 0 ;
40536 PyObject
* obj1
= 0 ;
40537 PyObject
* obj2
= 0 ;
40538 PyObject
* obj3
= 0 ;
40539 PyObject
* obj4
= 0 ;
40540 char * kwnames
[] = {
40541 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
40544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40546 if (!SWIG_IsOK(res1
)) {
40547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40549 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40552 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40554 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40555 if (!SWIG_IsOK(res3
)) {
40556 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
40558 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40560 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
40561 if (!SWIG_IsOK(ecode4
)) {
40562 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
40564 arg4
= static_cast< bool >(val4
);
40567 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxRect
, 0 | 0 );
40568 if (!SWIG_IsOK(res5
)) {
40569 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
40571 arg5
= reinterpret_cast< wxRect
* >(argp5
);
40574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40575 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
40576 wxPyEndAllowThreads(__tstate
);
40577 if (PyErr_Occurred()) SWIG_fail
;
40580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40588 SWIGINTERN PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40589 PyObject
*resultobj
= 0;
40590 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40591 wxPoint
*arg2
= 0 ;
40592 wxWindow
*arg3
= (wxWindow
*) 0 ;
40593 wxWindow
*arg4
= (wxWindow
*) 0 ;
40602 PyObject
* obj0
= 0 ;
40603 PyObject
* obj1
= 0 ;
40604 PyObject
* obj2
= 0 ;
40605 PyObject
* obj3
= 0 ;
40606 char * kwnames
[] = {
40607 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
40610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40612 if (!SWIG_IsOK(res1
)) {
40613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40615 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40618 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40620 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40621 if (!SWIG_IsOK(res3
)) {
40622 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
40624 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40625 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40626 if (!SWIG_IsOK(res4
)) {
40627 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
40629 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
40631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40632 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
40633 wxPyEndAllowThreads(__tstate
);
40634 if (PyErr_Occurred()) SWIG_fail
;
40637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40645 SWIGINTERN PyObject
*_wrap_DragImage_EndDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40646 PyObject
*resultobj
= 0;
40647 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40651 PyObject
*swig_obj
[1] ;
40653 if (!args
) SWIG_fail
;
40654 swig_obj
[0] = args
;
40655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40656 if (!SWIG_IsOK(res1
)) {
40657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40659 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40662 result
= (bool)(arg1
)->EndDrag();
40663 wxPyEndAllowThreads(__tstate
);
40664 if (PyErr_Occurred()) SWIG_fail
;
40667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40675 SWIGINTERN PyObject
*_wrap_DragImage_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40676 PyObject
*resultobj
= 0;
40677 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40678 wxPoint
*arg2
= 0 ;
40683 PyObject
* obj0
= 0 ;
40684 PyObject
* obj1
= 0 ;
40685 char * kwnames
[] = {
40686 (char *) "self",(char *) "pt", NULL
40689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40691 if (!SWIG_IsOK(res1
)) {
40692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40694 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40697 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40701 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
40702 wxPyEndAllowThreads(__tstate
);
40703 if (PyErr_Occurred()) SWIG_fail
;
40706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40714 SWIGINTERN PyObject
*_wrap_DragImage_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40715 PyObject
*resultobj
= 0;
40716 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40720 PyObject
*swig_obj
[1] ;
40722 if (!args
) SWIG_fail
;
40723 swig_obj
[0] = args
;
40724 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40725 if (!SWIG_IsOK(res1
)) {
40726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40728 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40731 result
= (bool)(arg1
)->Show();
40732 wxPyEndAllowThreads(__tstate
);
40733 if (PyErr_Occurred()) SWIG_fail
;
40736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40744 SWIGINTERN PyObject
*_wrap_DragImage_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40745 PyObject
*resultobj
= 0;
40746 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40750 PyObject
*swig_obj
[1] ;
40752 if (!args
) SWIG_fail
;
40753 swig_obj
[0] = args
;
40754 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40755 if (!SWIG_IsOK(res1
)) {
40756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40758 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40761 result
= (bool)(arg1
)->Hide();
40762 wxPyEndAllowThreads(__tstate
);
40763 if (PyErr_Occurred()) SWIG_fail
;
40766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40774 SWIGINTERN PyObject
*_wrap_DragImage_GetImageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40775 PyObject
*resultobj
= 0;
40776 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40777 wxPoint
*arg2
= 0 ;
40782 PyObject
* obj0
= 0 ;
40783 PyObject
* obj1
= 0 ;
40784 char * kwnames
[] = {
40785 (char *) "self",(char *) "pos", NULL
40788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40790 if (!SWIG_IsOK(res1
)) {
40791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40793 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40796 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40800 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
40801 wxPyEndAllowThreads(__tstate
);
40802 if (PyErr_Occurred()) SWIG_fail
;
40804 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
40811 SWIGINTERN PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40812 PyObject
*resultobj
= 0;
40813 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40815 wxPoint
*arg3
= 0 ;
40822 PyObject
* obj0
= 0 ;
40823 PyObject
* obj1
= 0 ;
40824 PyObject
* obj2
= 0 ;
40825 char * kwnames
[] = {
40826 (char *) "self",(char *) "dc",(char *) "pos", NULL
40829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40831 if (!SWIG_IsOK(res1
)) {
40832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40834 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40835 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
40836 if (!SWIG_IsOK(res2
)) {
40837 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
40840 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
40842 arg2
= reinterpret_cast< wxDC
* >(argp2
);
40845 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40849 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
40850 wxPyEndAllowThreads(__tstate
);
40851 if (PyErr_Occurred()) SWIG_fail
;
40854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40862 SWIGINTERN PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40863 PyObject
*resultobj
= 0;
40864 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40866 wxMemoryDC
*arg3
= 0 ;
40878 PyObject
* obj0
= 0 ;
40879 PyObject
* obj1
= 0 ;
40880 PyObject
* obj2
= 0 ;
40881 PyObject
* obj3
= 0 ;
40882 PyObject
* obj4
= 0 ;
40883 char * kwnames
[] = {
40884 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
40887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40889 if (!SWIG_IsOK(res1
)) {
40890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40892 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40893 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
40894 if (!SWIG_IsOK(res2
)) {
40895 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
40898 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
40900 arg2
= reinterpret_cast< wxDC
* >(argp2
);
40901 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxMemoryDC
, 0 );
40902 if (!SWIG_IsOK(res3
)) {
40903 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
40906 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
40908 arg3
= reinterpret_cast< wxMemoryDC
* >(argp3
);
40911 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
40915 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
40918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40919 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
40920 wxPyEndAllowThreads(__tstate
);
40921 if (PyErr_Occurred()) SWIG_fail
;
40924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40932 SWIGINTERN PyObject
*_wrap_DragImage_RedrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40933 PyObject
*resultobj
= 0;
40934 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40935 wxPoint
*arg2
= 0 ;
40936 wxPoint
*arg3
= 0 ;
40948 PyObject
* obj0
= 0 ;
40949 PyObject
* obj1
= 0 ;
40950 PyObject
* obj2
= 0 ;
40951 PyObject
* obj3
= 0 ;
40952 PyObject
* obj4
= 0 ;
40953 char * kwnames
[] = {
40954 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
40957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40959 if (!SWIG_IsOK(res1
)) {
40960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40962 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40965 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40969 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40971 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
40972 if (!SWIG_IsOK(ecode4
)) {
40973 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
40975 arg4
= static_cast< bool >(val4
);
40976 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
40977 if (!SWIG_IsOK(ecode5
)) {
40978 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
40980 arg5
= static_cast< bool >(val5
);
40982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40983 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
40984 wxPyEndAllowThreads(__tstate
);
40985 if (PyErr_Occurred()) SWIG_fail
;
40988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40996 SWIGINTERN PyObject
*DragImage_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40998 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40999 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage
, SWIG_NewClientData(obj
));
41000 return SWIG_Py_Void();
41003 SWIGINTERN PyObject
*DragImage_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41004 return SWIG_Python_InitShadowInstance(args
);
41007 SWIGINTERN
int DatePickerCtrlNameStr_set(PyObject
*) {
41008 SWIG_Error(SWIG_AttributeError
,"Variable DatePickerCtrlNameStr is read-only.");
41013 SWIGINTERN PyObject
*DatePickerCtrlNameStr_get(void) {
41014 PyObject
*pyobj
= 0;
41018 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
41020 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
41027 SWIGINTERN PyObject
*_wrap_new_DatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41028 PyObject
*resultobj
= 0;
41029 wxWindow
*arg1
= (wxWindow
*) 0 ;
41030 int arg2
= (int) -1 ;
41031 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
41032 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
41033 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
41034 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
41035 wxSize
const &arg5_defvalue
= wxDefaultSize
;
41036 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
41037 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41038 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
41039 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
41040 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
41041 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41042 wxDatePickerCtrl
*result
= 0 ;
41055 bool temp8
= false ;
41056 PyObject
* obj0
= 0 ;
41057 PyObject
* obj1
= 0 ;
41058 PyObject
* obj2
= 0 ;
41059 PyObject
* obj3
= 0 ;
41060 PyObject
* obj4
= 0 ;
41061 PyObject
* obj5
= 0 ;
41062 PyObject
* obj6
= 0 ;
41063 PyObject
* obj7
= 0 ;
41064 char * kwnames
[] = {
41065 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41070 if (!SWIG_IsOK(res1
)) {
41071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41073 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41075 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41076 if (!SWIG_IsOK(ecode2
)) {
41077 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
41079 arg2
= static_cast< int >(val2
);
41082 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41083 if (!SWIG_IsOK(res3
)) {
41084 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41087 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41089 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41094 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
41100 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
41104 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
41105 if (!SWIG_IsOK(ecode6
)) {
41106 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
41108 arg6
= static_cast< long >(val6
);
41111 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
41112 if (!SWIG_IsOK(res7
)) {
41113 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41116 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41118 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
41122 arg8
= wxString_in_helper(obj7
);
41123 if (arg8
== NULL
) SWIG_fail
;
41128 if (!wxPyCheckForApp()) SWIG_fail
;
41129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41130 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
41131 wxPyEndAllowThreads(__tstate
);
41132 if (PyErr_Occurred()) SWIG_fail
;
41134 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_NEW
| 0 );
41149 SWIGINTERN PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41150 PyObject
*resultobj
= 0;
41151 wxDatePickerCtrl
*result
= 0 ;
41153 if (!SWIG_Python_UnpackTuple(args
,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail
;
41155 if (!wxPyCheckForApp()) SWIG_fail
;
41156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41157 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
41158 wxPyEndAllowThreads(__tstate
);
41159 if (PyErr_Occurred()) SWIG_fail
;
41161 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_OWN
| 0 );
41168 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41169 PyObject
*resultobj
= 0;
41170 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41171 wxWindow
*arg2
= (wxWindow
*) 0 ;
41172 int arg3
= (int) -1 ;
41173 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
41174 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
41175 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41176 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41177 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41178 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41179 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41180 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
41181 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
41182 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
41183 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41199 bool temp9
= false ;
41200 PyObject
* obj0
= 0 ;
41201 PyObject
* obj1
= 0 ;
41202 PyObject
* obj2
= 0 ;
41203 PyObject
* obj3
= 0 ;
41204 PyObject
* obj4
= 0 ;
41205 PyObject
* obj5
= 0 ;
41206 PyObject
* obj6
= 0 ;
41207 PyObject
* obj7
= 0 ;
41208 PyObject
* obj8
= 0 ;
41209 char * kwnames
[] = {
41210 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41215 if (!SWIG_IsOK(res1
)) {
41216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41218 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41219 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41220 if (!SWIG_IsOK(res2
)) {
41221 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41223 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41225 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41226 if (!SWIG_IsOK(ecode3
)) {
41227 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41229 arg3
= static_cast< int >(val3
);
41232 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41233 if (!SWIG_IsOK(res4
)) {
41234 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41237 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41239 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
41244 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41250 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41254 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41255 if (!SWIG_IsOK(ecode7
)) {
41256 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
41258 arg7
= static_cast< long >(val7
);
41261 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
41262 if (!SWIG_IsOK(res8
)) {
41263 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41266 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41268 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
41272 arg9
= wxString_in_helper(obj8
);
41273 if (arg9
== NULL
) SWIG_fail
;
41278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41279 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
41280 wxPyEndAllowThreads(__tstate
);
41281 if (PyErr_Occurred()) SWIG_fail
;
41284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41300 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41301 PyObject
*resultobj
= 0;
41302 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41303 wxDateTime
*arg2
= 0 ;
41308 PyObject
* obj0
= 0 ;
41309 PyObject
* obj1
= 0 ;
41310 char * kwnames
[] = {
41311 (char *) "self",(char *) "dt", NULL
41314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41316 if (!SWIG_IsOK(res1
)) {
41317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41319 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41320 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41321 if (!SWIG_IsOK(res2
)) {
41322 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41325 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41327 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41330 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
41331 wxPyEndAllowThreads(__tstate
);
41332 if (PyErr_Occurred()) SWIG_fail
;
41334 resultobj
= SWIG_Py_Void();
41341 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41342 PyObject
*resultobj
= 0;
41343 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41347 PyObject
*swig_obj
[1] ;
41349 if (!args
) SWIG_fail
;
41350 swig_obj
[0] = args
;
41351 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41352 if (!SWIG_IsOK(res1
)) {
41353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
41355 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41358 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
41359 wxPyEndAllowThreads(__tstate
);
41360 if (PyErr_Occurred()) SWIG_fail
;
41362 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41369 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41370 PyObject
*resultobj
= 0;
41371 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41372 wxDateTime
*arg2
= 0 ;
41373 wxDateTime
*arg3
= 0 ;
41380 PyObject
* obj0
= 0 ;
41381 PyObject
* obj1
= 0 ;
41382 PyObject
* obj2
= 0 ;
41383 char * kwnames
[] = {
41384 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
41387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41389 if (!SWIG_IsOK(res1
)) {
41390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41392 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41393 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41394 if (!SWIG_IsOK(res2
)) {
41395 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41398 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41400 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41401 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41402 if (!SWIG_IsOK(res3
)) {
41403 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41406 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41408 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41411 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
41412 wxPyEndAllowThreads(__tstate
);
41413 if (PyErr_Occurred()) SWIG_fail
;
41415 resultobj
= SWIG_Py_Void();
41422 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41423 PyObject
*resultobj
= 0;
41424 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41428 PyObject
*swig_obj
[1] ;
41430 if (!args
) SWIG_fail
;
41431 swig_obj
[0] = args
;
41432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41433 if (!SWIG_IsOK(res1
)) {
41434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41436 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41439 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
41440 wxPyEndAllowThreads(__tstate
);
41441 if (PyErr_Occurred()) SWIG_fail
;
41443 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41450 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41451 PyObject
*resultobj
= 0;
41452 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41456 PyObject
*swig_obj
[1] ;
41458 if (!args
) SWIG_fail
;
41459 swig_obj
[0] = args
;
41460 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41461 if (!SWIG_IsOK(res1
)) {
41462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41464 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41467 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
41468 wxPyEndAllowThreads(__tstate
);
41469 if (PyErr_Occurred()) SWIG_fail
;
41471 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41478 SWIGINTERN PyObject
*DatePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41480 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41481 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl
, SWIG_NewClientData(obj
));
41482 return SWIG_Py_Void();
41485 SWIGINTERN PyObject
*DatePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41486 return SWIG_Python_InitShadowInstance(args
);
41489 SWIGINTERN
int HyperlinkCtrlNameStr_set(PyObject
*) {
41490 SWIG_Error(SWIG_AttributeError
,"Variable HyperlinkCtrlNameStr is read-only.");
41495 SWIGINTERN PyObject
*HyperlinkCtrlNameStr_get(void) {
41496 PyObject
*pyobj
= 0;
41500 pyobj
= PyUnicode_FromWideChar((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41502 pyobj
= PyString_FromStringAndSize((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41509 SWIGINTERN PyObject
*_wrap_new_HyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41510 PyObject
*resultobj
= 0;
41511 wxWindow
*arg1
= (wxWindow
*) 0 ;
41513 wxString
*arg3
= 0 ;
41514 wxString
*arg4
= 0 ;
41515 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41516 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41517 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41518 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41519 long arg7
= (long) wxHL_DEFAULT_STYLE
;
41520 wxString
const &arg8_defvalue
= wxPyHyperlinkCtrlNameStr
;
41521 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41522 wxHyperlinkCtrl
*result
= 0 ;
41527 bool temp3
= false ;
41528 bool temp4
= false ;
41533 bool temp8
= false ;
41534 PyObject
* obj0
= 0 ;
41535 PyObject
* obj1
= 0 ;
41536 PyObject
* obj2
= 0 ;
41537 PyObject
* obj3
= 0 ;
41538 PyObject
* obj4
= 0 ;
41539 PyObject
* obj5
= 0 ;
41540 PyObject
* obj6
= 0 ;
41541 PyObject
* obj7
= 0 ;
41542 char * kwnames
[] = {
41543 (char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_HyperlinkCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41548 if (!SWIG_IsOK(res1
)) {
41549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41551 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41552 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41553 if (!SWIG_IsOK(ecode2
)) {
41554 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkCtrl" "', expected argument " "2"" of type '" "int""'");
41556 arg2
= static_cast< int >(val2
);
41558 arg3
= wxString_in_helper(obj2
);
41559 if (arg3
== NULL
) SWIG_fail
;
41563 arg4
= wxString_in_helper(obj3
);
41564 if (arg4
== NULL
) SWIG_fail
;
41570 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41576 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41580 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41581 if (!SWIG_IsOK(ecode7
)) {
41582 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_HyperlinkCtrl" "', expected argument " "7"" of type '" "long""'");
41584 arg7
= static_cast< long >(val7
);
41588 arg8
= wxString_in_helper(obj7
);
41589 if (arg8
== NULL
) SWIG_fail
;
41594 if (!wxPyCheckForApp()) SWIG_fail
;
41595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41596 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
41597 wxPyEndAllowThreads(__tstate
);
41598 if (PyErr_Occurred()) SWIG_fail
;
41600 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_NEW
| 0 );
41631 SWIGINTERN PyObject
*_wrap_new_PreHyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41632 PyObject
*resultobj
= 0;
41633 wxHyperlinkCtrl
*result
= 0 ;
41635 if (!SWIG_Python_UnpackTuple(args
,"new_PreHyperlinkCtrl",0,0,0)) SWIG_fail
;
41637 if (!wxPyCheckForApp()) SWIG_fail
;
41638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41639 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl();
41640 wxPyEndAllowThreads(__tstate
);
41641 if (PyErr_Occurred()) SWIG_fail
;
41643 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_OWN
| 0 );
41650 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41651 PyObject
*resultobj
= 0;
41652 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41653 wxWindow
*arg2
= (wxWindow
*) 0 ;
41655 wxString
*arg4
= 0 ;
41656 wxString
*arg5
= 0 ;
41657 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
41658 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
41659 wxSize
const &arg7_defvalue
= wxDefaultSize
;
41660 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
41661 long arg8
= (long) wxHL_DEFAULT_STYLE
;
41662 wxString
const &arg9_defvalue
= wxPyHyperlinkCtrlNameStr
;
41663 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41671 bool temp4
= false ;
41672 bool temp5
= false ;
41677 bool temp9
= false ;
41678 PyObject
* obj0
= 0 ;
41679 PyObject
* obj1
= 0 ;
41680 PyObject
* obj2
= 0 ;
41681 PyObject
* obj3
= 0 ;
41682 PyObject
* obj4
= 0 ;
41683 PyObject
* obj5
= 0 ;
41684 PyObject
* obj6
= 0 ;
41685 PyObject
* obj7
= 0 ;
41686 PyObject
* obj8
= 0 ;
41687 char * kwnames
[] = {
41688 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOO:HyperlinkCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41693 if (!SWIG_IsOK(res1
)) {
41694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41696 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41697 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41698 if (!SWIG_IsOK(res2
)) {
41699 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41701 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41702 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41703 if (!SWIG_IsOK(ecode3
)) {
41704 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41706 arg3
= static_cast< int >(val3
);
41708 arg4
= wxString_in_helper(obj3
);
41709 if (arg4
== NULL
) SWIG_fail
;
41713 arg5
= wxString_in_helper(obj4
);
41714 if (arg5
== NULL
) SWIG_fail
;
41720 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
41726 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
41730 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
41731 if (!SWIG_IsOK(ecode8
)) {
41732 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "8"" of type '" "long""'");
41734 arg8
= static_cast< long >(val8
);
41738 arg9
= wxString_in_helper(obj8
);
41739 if (arg9
== NULL
) SWIG_fail
;
41744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41745 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
41746 wxPyEndAllowThreads(__tstate
);
41747 if (PyErr_Occurred()) SWIG_fail
;
41750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41782 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41783 PyObject
*resultobj
= 0;
41784 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41788 PyObject
*swig_obj
[1] ;
41790 if (!args
) SWIG_fail
;
41791 swig_obj
[0] = args
;
41792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41793 if (!SWIG_IsOK(res1
)) {
41794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41796 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41799 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetHoverColour();
41800 wxPyEndAllowThreads(__tstate
);
41801 if (PyErr_Occurred()) SWIG_fail
;
41803 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
41810 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41811 PyObject
*resultobj
= 0;
41812 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41813 wxColour
*arg2
= 0 ;
41817 PyObject
* obj0
= 0 ;
41818 PyObject
* obj1
= 0 ;
41819 char * kwnames
[] = {
41820 (char *) "self",(char *) "colour", NULL
41823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetHoverColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41825 if (!SWIG_IsOK(res1
)) {
41826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41828 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41831 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
41834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41835 (arg1
)->SetHoverColour((wxColour
const &)*arg2
);
41836 wxPyEndAllowThreads(__tstate
);
41837 if (PyErr_Occurred()) SWIG_fail
;
41839 resultobj
= SWIG_Py_Void();
41846 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41847 PyObject
*resultobj
= 0;
41848 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41852 PyObject
*swig_obj
[1] ;
41854 if (!args
) SWIG_fail
;
41855 swig_obj
[0] = args
;
41856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41857 if (!SWIG_IsOK(res1
)) {
41858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41860 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41863 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetNormalColour();
41864 wxPyEndAllowThreads(__tstate
);
41865 if (PyErr_Occurred()) SWIG_fail
;
41867 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
41874 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41875 PyObject
*resultobj
= 0;
41876 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41877 wxColour
*arg2
= 0 ;
41881 PyObject
* obj0
= 0 ;
41882 PyObject
* obj1
= 0 ;
41883 char * kwnames
[] = {
41884 (char *) "self",(char *) "colour", NULL
41887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetNormalColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41889 if (!SWIG_IsOK(res1
)) {
41890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41892 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41895 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
41898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41899 (arg1
)->SetNormalColour((wxColour
const &)*arg2
);
41900 wxPyEndAllowThreads(__tstate
);
41901 if (PyErr_Occurred()) SWIG_fail
;
41903 resultobj
= SWIG_Py_Void();
41910 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41911 PyObject
*resultobj
= 0;
41912 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41916 PyObject
*swig_obj
[1] ;
41918 if (!args
) SWIG_fail
;
41919 swig_obj
[0] = args
;
41920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41921 if (!SWIG_IsOK(res1
)) {
41922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41924 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41927 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetVisitedColour();
41928 wxPyEndAllowThreads(__tstate
);
41929 if (PyErr_Occurred()) SWIG_fail
;
41931 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
41938 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41939 PyObject
*resultobj
= 0;
41940 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41941 wxColour
*arg2
= 0 ;
41945 PyObject
* obj0
= 0 ;
41946 PyObject
* obj1
= 0 ;
41947 char * kwnames
[] = {
41948 (char *) "self",(char *) "colour", NULL
41951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetVisitedColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41953 if (!SWIG_IsOK(res1
)) {
41954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41956 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41959 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
41962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41963 (arg1
)->SetVisitedColour((wxColour
const &)*arg2
);
41964 wxPyEndAllowThreads(__tstate
);
41965 if (PyErr_Occurred()) SWIG_fail
;
41967 resultobj
= SWIG_Py_Void();
41974 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41975 PyObject
*resultobj
= 0;
41976 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41980 PyObject
*swig_obj
[1] ;
41982 if (!args
) SWIG_fail
;
41983 swig_obj
[0] = args
;
41984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41985 if (!SWIG_IsOK(res1
)) {
41986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41988 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41991 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetURL();
41992 wxPyEndAllowThreads(__tstate
);
41993 if (PyErr_Occurred()) SWIG_fail
;
41997 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
41999 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42008 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42009 PyObject
*resultobj
= 0;
42010 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42011 wxString
*arg2
= 0 ;
42014 bool temp2
= false ;
42015 PyObject
* obj0
= 0 ;
42016 PyObject
* obj1
= 0 ;
42017 char * kwnames
[] = {
42018 (char *) "self",(char *) "url", NULL
42021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42023 if (!SWIG_IsOK(res1
)) {
42024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42026 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42028 arg2
= wxString_in_helper(obj1
);
42029 if (arg2
== NULL
) SWIG_fail
;
42033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42034 (arg1
)->SetURL((wxString
const &)*arg2
);
42035 wxPyEndAllowThreads(__tstate
);
42036 if (PyErr_Occurred()) SWIG_fail
;
42038 resultobj
= SWIG_Py_Void();
42053 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42054 PyObject
*resultobj
= 0;
42055 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42056 bool arg2
= (bool) true ;
42061 PyObject
* obj0
= 0 ;
42062 PyObject
* obj1
= 0 ;
42063 char * kwnames
[] = {
42064 (char *) "self",(char *) "visited", NULL
42067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HyperlinkCtrl_SetVisited",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42069 if (!SWIG_IsOK(res1
)) {
42070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42072 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42074 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42075 if (!SWIG_IsOK(ecode2
)) {
42076 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "2"" of type '" "bool""'");
42078 arg2
= static_cast< bool >(val2
);
42081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42082 (arg1
)->SetVisited(arg2
);
42083 wxPyEndAllowThreads(__tstate
);
42084 if (PyErr_Occurred()) SWIG_fail
;
42086 resultobj
= SWIG_Py_Void();
42093 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42094 PyObject
*resultobj
= 0;
42095 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42099 PyObject
*swig_obj
[1] ;
42101 if (!args
) SWIG_fail
;
42102 swig_obj
[0] = args
;
42103 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42104 if (!SWIG_IsOK(res1
)) {
42105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42107 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42110 result
= (bool)((wxHyperlinkCtrl
const *)arg1
)->GetVisited();
42111 wxPyEndAllowThreads(__tstate
);
42112 if (PyErr_Occurred()) SWIG_fail
;
42115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42123 SWIGINTERN PyObject
*HyperlinkCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42125 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42126 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_NewClientData(obj
));
42127 return SWIG_Py_Void();
42130 SWIGINTERN PyObject
*HyperlinkCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42131 return SWIG_Python_InitShadowInstance(args
);
42134 SWIGINTERN PyObject
*_wrap_new_HyperlinkEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42135 PyObject
*resultobj
= 0;
42136 wxObject
*arg1
= (wxObject
*) 0 ;
42138 wxString
*arg3
= 0 ;
42139 wxHyperlinkEvent
*result
= 0 ;
42144 bool temp3
= false ;
42145 PyObject
* obj0
= 0 ;
42146 PyObject
* obj1
= 0 ;
42147 PyObject
* obj2
= 0 ;
42148 char * kwnames
[] = {
42149 (char *) "generator",(char *) "id",(char *) "url", NULL
42152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_HyperlinkEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
42153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
42154 if (!SWIG_IsOK(res1
)) {
42155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkEvent" "', expected argument " "1"" of type '" "wxObject *""'");
42157 arg1
= reinterpret_cast< wxObject
* >(argp1
);
42158 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42159 if (!SWIG_IsOK(ecode2
)) {
42160 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkEvent" "', expected argument " "2"" of type '" "int""'");
42162 arg2
= static_cast< int >(val2
);
42164 arg3
= wxString_in_helper(obj2
);
42165 if (arg3
== NULL
) SWIG_fail
;
42169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42170 result
= (wxHyperlinkEvent
*)new wxHyperlinkEvent(arg1
,arg2
,(wxString
const &)*arg3
);
42171 wxPyEndAllowThreads(__tstate
);
42172 if (PyErr_Occurred()) SWIG_fail
;
42174 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkEvent
, SWIG_POINTER_NEW
| 0 );
42189 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42190 PyObject
*resultobj
= 0;
42191 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42195 PyObject
*swig_obj
[1] ;
42197 if (!args
) SWIG_fail
;
42198 swig_obj
[0] = args
;
42199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42200 if (!SWIG_IsOK(res1
)) {
42201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent const *""'");
42203 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42206 result
= ((wxHyperlinkEvent
const *)arg1
)->GetURL();
42207 wxPyEndAllowThreads(__tstate
);
42208 if (PyErr_Occurred()) SWIG_fail
;
42212 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42214 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42223 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42224 PyObject
*resultobj
= 0;
42225 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42226 wxString
*arg2
= 0 ;
42229 bool temp2
= false ;
42230 PyObject
* obj0
= 0 ;
42231 PyObject
* obj1
= 0 ;
42232 char * kwnames
[] = {
42233 (char *) "self",(char *) "url", NULL
42236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkEvent_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42238 if (!SWIG_IsOK(res1
)) {
42239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent *""'");
42241 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42243 arg2
= wxString_in_helper(obj1
);
42244 if (arg2
== NULL
) SWIG_fail
;
42248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42249 (arg1
)->SetURL((wxString
const &)*arg2
);
42250 wxPyEndAllowThreads(__tstate
);
42251 if (PyErr_Occurred()) SWIG_fail
;
42253 resultobj
= SWIG_Py_Void();
42268 SWIGINTERN PyObject
*HyperlinkEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42270 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42271 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkEvent
, SWIG_NewClientData(obj
));
42272 return SWIG_Py_Void();
42275 SWIGINTERN PyObject
*HyperlinkEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42276 return SWIG_Python_InitShadowInstance(args
);
42279 SWIGINTERN PyObject
*_wrap_PickerBase_CreateBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42280 PyObject
*resultobj
= 0;
42281 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42282 wxWindow
*arg2
= (wxWindow
*) 0 ;
42284 wxString
const &arg4_defvalue
= wxEmptyString
;
42285 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
42286 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
42287 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
42288 wxSize
const &arg6_defvalue
= wxDefaultSize
;
42289 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
42290 long arg7
= (long) 0 ;
42291 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
42292 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
42293 wxString
const &arg9_defvalue
= wxButtonNameStr
;
42294 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
42302 bool temp4
= false ;
42309 bool temp9
= false ;
42310 PyObject
* obj0
= 0 ;
42311 PyObject
* obj1
= 0 ;
42312 PyObject
* obj2
= 0 ;
42313 PyObject
* obj3
= 0 ;
42314 PyObject
* obj4
= 0 ;
42315 PyObject
* obj5
= 0 ;
42316 PyObject
* obj6
= 0 ;
42317 PyObject
* obj7
= 0 ;
42318 PyObject
* obj8
= 0 ;
42319 char * kwnames
[] = {
42320 (char *) "self",(char *) "parent",(char *) "id",(char *) "text",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:PickerBase_CreateBase",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
42324 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42325 if (!SWIG_IsOK(res1
)) {
42326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_CreateBase" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42328 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42329 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42330 if (!SWIG_IsOK(res2
)) {
42331 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PickerBase_CreateBase" "', expected argument " "2"" of type '" "wxWindow *""'");
42333 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
42334 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42335 if (!SWIG_IsOK(ecode3
)) {
42336 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PickerBase_CreateBase" "', expected argument " "3"" of type '" "int""'");
42338 arg3
= static_cast< int >(val3
);
42341 arg4
= wxString_in_helper(obj3
);
42342 if (arg4
== NULL
) SWIG_fail
;
42349 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
42355 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
42359 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
42360 if (!SWIG_IsOK(ecode7
)) {
42361 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PickerBase_CreateBase" "', expected argument " "7"" of type '" "long""'");
42363 arg7
= static_cast< long >(val7
);
42366 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
42367 if (!SWIG_IsOK(res8
)) {
42368 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42371 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42373 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
42377 arg9
= wxString_in_helper(obj8
);
42378 if (arg9
== NULL
) SWIG_fail
;
42383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42384 result
= (bool)(arg1
)->CreateBase(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
42385 wxPyEndAllowThreads(__tstate
);
42386 if (PyErr_Occurred()) SWIG_fail
;
42389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42413 SWIGINTERN PyObject
*_wrap_PickerBase_SetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42414 PyObject
*resultobj
= 0;
42415 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42421 PyObject
* obj0
= 0 ;
42422 PyObject
* obj1
= 0 ;
42423 char * kwnames
[] = {
42424 (char *) "self",(char *) "newmargin", NULL
42427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetInternalMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42429 if (!SWIG_IsOK(res1
)) {
42430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42432 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42433 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42434 if (!SWIG_IsOK(ecode2
)) {
42435 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "2"" of type '" "int""'");
42437 arg2
= static_cast< int >(val2
);
42439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42440 (arg1
)->SetInternalMargin(arg2
);
42441 wxPyEndAllowThreads(__tstate
);
42442 if (PyErr_Occurred()) SWIG_fail
;
42444 resultobj
= SWIG_Py_Void();
42451 SWIGINTERN PyObject
*_wrap_PickerBase_GetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42452 PyObject
*resultobj
= 0;
42453 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42457 PyObject
*swig_obj
[1] ;
42459 if (!args
) SWIG_fail
;
42460 swig_obj
[0] = args
;
42461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42462 if (!SWIG_IsOK(res1
)) {
42463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42465 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42468 result
= (int)((wxPickerBase
const *)arg1
)->GetInternalMargin();
42469 wxPyEndAllowThreads(__tstate
);
42470 if (PyErr_Occurred()) SWIG_fail
;
42472 resultobj
= SWIG_From_int(static_cast< int >(result
));
42479 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42480 PyObject
*resultobj
= 0;
42481 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42487 PyObject
* obj0
= 0 ;
42488 PyObject
* obj1
= 0 ;
42489 char * kwnames
[] = {
42490 (char *) "self",(char *) "prop", NULL
42493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetTextCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42495 if (!SWIG_IsOK(res1
)) {
42496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42498 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42499 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42500 if (!SWIG_IsOK(ecode2
)) {
42501 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42503 arg2
= static_cast< int >(val2
);
42505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42506 (arg1
)->SetTextCtrlProportion(arg2
);
42507 wxPyEndAllowThreads(__tstate
);
42508 if (PyErr_Occurred()) SWIG_fail
;
42510 resultobj
= SWIG_Py_Void();
42517 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42518 PyObject
*resultobj
= 0;
42519 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42523 PyObject
*swig_obj
[1] ;
42525 if (!args
) SWIG_fail
;
42526 swig_obj
[0] = args
;
42527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42528 if (!SWIG_IsOK(res1
)) {
42529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42531 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42534 result
= (int)((wxPickerBase
const *)arg1
)->GetTextCtrlProportion();
42535 wxPyEndAllowThreads(__tstate
);
42536 if (PyErr_Occurred()) SWIG_fail
;
42538 resultobj
= SWIG_From_int(static_cast< int >(result
));
42545 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42546 PyObject
*resultobj
= 0;
42547 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42553 PyObject
* obj0
= 0 ;
42554 PyObject
* obj1
= 0 ;
42555 char * kwnames
[] = {
42556 (char *) "self",(char *) "prop", NULL
42559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetPickerCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42561 if (!SWIG_IsOK(res1
)) {
42562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42564 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42565 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42566 if (!SWIG_IsOK(ecode2
)) {
42567 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42569 arg2
= static_cast< int >(val2
);
42571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42572 (arg1
)->SetPickerCtrlProportion(arg2
);
42573 wxPyEndAllowThreads(__tstate
);
42574 if (PyErr_Occurred()) SWIG_fail
;
42576 resultobj
= SWIG_Py_Void();
42583 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42584 PyObject
*resultobj
= 0;
42585 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42589 PyObject
*swig_obj
[1] ;
42591 if (!args
) SWIG_fail
;
42592 swig_obj
[0] = args
;
42593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42594 if (!SWIG_IsOK(res1
)) {
42595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42597 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42600 result
= (int)((wxPickerBase
const *)arg1
)->GetPickerCtrlProportion();
42601 wxPyEndAllowThreads(__tstate
);
42602 if (PyErr_Occurred()) SWIG_fail
;
42604 resultobj
= SWIG_From_int(static_cast< int >(result
));
42611 SWIGINTERN PyObject
*_wrap_PickerBase_IsTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42612 PyObject
*resultobj
= 0;
42613 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42617 PyObject
*swig_obj
[1] ;
42619 if (!args
) SWIG_fail
;
42620 swig_obj
[0] = args
;
42621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42622 if (!SWIG_IsOK(res1
)) {
42623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42625 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42628 result
= (bool)((wxPickerBase
const *)arg1
)->IsTextCtrlGrowable();
42629 wxPyEndAllowThreads(__tstate
);
42630 if (PyErr_Occurred()) SWIG_fail
;
42633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42641 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42642 PyObject
*resultobj
= 0;
42643 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42644 bool arg2
= (bool) true ;
42649 PyObject
* obj0
= 0 ;
42650 PyObject
* obj1
= 0 ;
42651 char * kwnames
[] = {
42652 (char *) "self",(char *) "grow", NULL
42655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetTextCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42657 if (!SWIG_IsOK(res1
)) {
42658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42660 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42662 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42663 if (!SWIG_IsOK(ecode2
)) {
42664 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
42666 arg2
= static_cast< bool >(val2
);
42669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42670 (arg1
)->SetTextCtrlGrowable(arg2
);
42671 wxPyEndAllowThreads(__tstate
);
42672 if (PyErr_Occurred()) SWIG_fail
;
42674 resultobj
= SWIG_Py_Void();
42681 SWIGINTERN PyObject
*_wrap_PickerBase_IsPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42682 PyObject
*resultobj
= 0;
42683 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42687 PyObject
*swig_obj
[1] ;
42689 if (!args
) SWIG_fail
;
42690 swig_obj
[0] = args
;
42691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42692 if (!SWIG_IsOK(res1
)) {
42693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42695 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42698 result
= (bool)((wxPickerBase
const *)arg1
)->IsPickerCtrlGrowable();
42699 wxPyEndAllowThreads(__tstate
);
42700 if (PyErr_Occurred()) SWIG_fail
;
42703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42711 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42712 PyObject
*resultobj
= 0;
42713 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42714 bool arg2
= (bool) true ;
42719 PyObject
* obj0
= 0 ;
42720 PyObject
* obj1
= 0 ;
42721 char * kwnames
[] = {
42722 (char *) "self",(char *) "grow", NULL
42725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetPickerCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42727 if (!SWIG_IsOK(res1
)) {
42728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42730 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42732 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42733 if (!SWIG_IsOK(ecode2
)) {
42734 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
42736 arg2
= static_cast< bool >(val2
);
42739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42740 (arg1
)->SetPickerCtrlGrowable(arg2
);
42741 wxPyEndAllowThreads(__tstate
);
42742 if (PyErr_Occurred()) SWIG_fail
;
42744 resultobj
= SWIG_Py_Void();
42751 SWIGINTERN PyObject
*_wrap_PickerBase_HasTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42752 PyObject
*resultobj
= 0;
42753 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42757 PyObject
*swig_obj
[1] ;
42759 if (!args
) SWIG_fail
;
42760 swig_obj
[0] = args
;
42761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42762 if (!SWIG_IsOK(res1
)) {
42763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_HasTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42765 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42768 result
= (bool)((wxPickerBase
const *)arg1
)->HasTextCtrl();
42769 wxPyEndAllowThreads(__tstate
);
42770 if (PyErr_Occurred()) SWIG_fail
;
42773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42781 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42782 PyObject
*resultobj
= 0;
42783 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42784 wxTextCtrl
*result
= 0 ;
42787 PyObject
*swig_obj
[1] ;
42789 if (!args
) SWIG_fail
;
42790 swig_obj
[0] = args
;
42791 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42792 if (!SWIG_IsOK(res1
)) {
42793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42795 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42798 result
= (wxTextCtrl
*)(arg1
)->GetTextCtrl();
42799 wxPyEndAllowThreads(__tstate
);
42800 if (PyErr_Occurred()) SWIG_fail
;
42803 resultobj
= wxPyMake_wxObject(result
, 0);
42811 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42812 PyObject
*resultobj
= 0;
42813 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42814 wxControl
*result
= 0 ;
42817 PyObject
*swig_obj
[1] ;
42819 if (!args
) SWIG_fail
;
42820 swig_obj
[0] = args
;
42821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42822 if (!SWIG_IsOK(res1
)) {
42823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42825 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42828 result
= (wxControl
*)(arg1
)->GetPickerCtrl();
42829 wxPyEndAllowThreads(__tstate
);
42830 if (PyErr_Occurred()) SWIG_fail
;
42833 resultobj
= wxPyMake_wxObject(result
, 0);
42841 SWIGINTERN PyObject
*PickerBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42843 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42844 SWIG_TypeNewClientData(SWIGTYPE_p_wxPickerBase
, SWIG_NewClientData(obj
));
42845 return SWIG_Py_Void();
42848 SWIGINTERN
int ColourPickerCtrlNameStr_set(PyObject
*) {
42849 SWIG_Error(SWIG_AttributeError
,"Variable ColourPickerCtrlNameStr is read-only.");
42854 SWIGINTERN PyObject
*ColourPickerCtrlNameStr_get(void) {
42855 PyObject
*pyobj
= 0;
42859 pyobj
= PyUnicode_FromWideChar((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
42861 pyobj
= PyString_FromStringAndSize((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
42868 SWIGINTERN PyObject
*_wrap_new_ColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42869 PyObject
*resultobj
= 0;
42870 wxWindow
*arg1
= (wxWindow
*) 0 ;
42871 int arg2
= (int) -1 ;
42872 wxColour
const &arg3_defvalue
= *wxBLACK
;
42873 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
42874 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
42875 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
42876 wxSize
const &arg5_defvalue
= wxDefaultSize
;
42877 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
42878 long arg6
= (long) wxCLRP_DEFAULT_STYLE
;
42879 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
42880 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
42881 wxString
const &arg8_defvalue
= wxPyColourPickerCtrlNameStr
;
42882 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
42883 wxColourPickerCtrl
*result
= 0 ;
42895 bool temp8
= false ;
42896 PyObject
* obj0
= 0 ;
42897 PyObject
* obj1
= 0 ;
42898 PyObject
* obj2
= 0 ;
42899 PyObject
* obj3
= 0 ;
42900 PyObject
* obj4
= 0 ;
42901 PyObject
* obj5
= 0 ;
42902 PyObject
* obj6
= 0 ;
42903 PyObject
* obj7
= 0 ;
42904 char * kwnames
[] = {
42905 (char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ColourPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
42909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42910 if (!SWIG_IsOK(res1
)) {
42911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
42913 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
42915 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42916 if (!SWIG_IsOK(ecode2
)) {
42917 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerCtrl" "', expected argument " "2"" of type '" "int""'");
42919 arg2
= static_cast< int >(val2
);
42924 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
42930 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
42936 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
42940 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
42941 if (!SWIG_IsOK(ecode6
)) {
42942 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ColourPickerCtrl" "', expected argument " "6"" of type '" "long""'");
42944 arg6
= static_cast< long >(val6
);
42947 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
42948 if (!SWIG_IsOK(res7
)) {
42949 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
42952 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
42954 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
42958 arg8
= wxString_in_helper(obj7
);
42959 if (arg8
== NULL
) SWIG_fail
;
42964 if (!wxPyCheckForApp()) SWIG_fail
;
42965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42966 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl(arg1
,arg2
,(wxColour
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
42967 wxPyEndAllowThreads(__tstate
);
42968 if (PyErr_Occurred()) SWIG_fail
;
42970 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_NEW
| 0 );
42985 SWIGINTERN PyObject
*_wrap_new_PreColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42986 PyObject
*resultobj
= 0;
42987 wxColourPickerCtrl
*result
= 0 ;
42989 if (!SWIG_Python_UnpackTuple(args
,"new_PreColourPickerCtrl",0,0,0)) SWIG_fail
;
42991 if (!wxPyCheckForApp()) SWIG_fail
;
42992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42993 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl();
42994 wxPyEndAllowThreads(__tstate
);
42995 if (PyErr_Occurred()) SWIG_fail
;
42997 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_OWN
| 0 );
43004 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43005 PyObject
*resultobj
= 0;
43006 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43007 wxWindow
*arg2
= (wxWindow
*) 0 ;
43009 wxColour
const &arg4_defvalue
= *wxBLACK
;
43010 wxColour
*arg4
= (wxColour
*) &arg4_defvalue
;
43011 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
43012 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
43013 wxSize
const &arg6_defvalue
= wxDefaultSize
;
43014 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
43015 long arg7
= (long) wxCLRP_DEFAULT_STYLE
;
43016 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
43017 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
43018 wxString
const &arg9_defvalue
= wxPyColourPickerCtrlNameStr
;
43019 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
43034 bool temp9
= false ;
43035 PyObject
* obj0
= 0 ;
43036 PyObject
* obj1
= 0 ;
43037 PyObject
* obj2
= 0 ;
43038 PyObject
* obj3
= 0 ;
43039 PyObject
* obj4
= 0 ;
43040 PyObject
* obj5
= 0 ;
43041 PyObject
* obj6
= 0 ;
43042 PyObject
* obj7
= 0 ;
43043 PyObject
* obj8
= 0 ;
43044 char * kwnames
[] = {
43045 (char *) "self",(char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ColourPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
43049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43050 if (!SWIG_IsOK(res1
)) {
43051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43053 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43054 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43055 if (!SWIG_IsOK(res2
)) {
43056 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43058 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43059 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43060 if (!SWIG_IsOK(ecode3
)) {
43061 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43063 arg3
= static_cast< int >(val3
);
43067 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
43073 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
43079 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
43083 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
43084 if (!SWIG_IsOK(ecode7
)) {
43085 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
43087 arg7
= static_cast< long >(val7
);
43090 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
43091 if (!SWIG_IsOK(res8
)) {
43092 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43095 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43097 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
43101 arg9
= wxString_in_helper(obj8
);
43102 if (arg9
== NULL
) SWIG_fail
;
43107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43108 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
43109 wxPyEndAllowThreads(__tstate
);
43110 if (PyErr_Occurred()) SWIG_fail
;
43113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43129 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43130 PyObject
*resultobj
= 0;
43131 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43135 PyObject
*swig_obj
[1] ;
43137 if (!args
) SWIG_fail
;
43138 swig_obj
[0] = args
;
43139 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43140 if (!SWIG_IsOK(res1
)) {
43141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_GetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl const *""'");
43143 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43146 result
= ((wxColourPickerCtrl
const *)arg1
)->GetColour();
43147 wxPyEndAllowThreads(__tstate
);
43148 if (PyErr_Occurred()) SWIG_fail
;
43150 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43157 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43158 PyObject
*resultobj
= 0;
43159 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43160 wxColour
*arg2
= 0 ;
43164 PyObject
* obj0
= 0 ;
43165 PyObject
* obj1
= 0 ;
43166 char * kwnames
[] = {
43167 (char *) "self",(char *) "col", NULL
43170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerCtrl_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43172 if (!SWIG_IsOK(res1
)) {
43173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_SetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43175 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43178 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43182 (arg1
)->SetColour((wxColour
const &)*arg2
);
43183 wxPyEndAllowThreads(__tstate
);
43184 if (PyErr_Occurred()) SWIG_fail
;
43186 resultobj
= SWIG_Py_Void();
43193 SWIGINTERN PyObject
*ColourPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43195 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43196 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerCtrl
, SWIG_NewClientData(obj
));
43197 return SWIG_Py_Void();
43200 SWIGINTERN PyObject
*ColourPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43201 return SWIG_Python_InitShadowInstance(args
);
43204 SWIGINTERN PyObject
*_wrap_new_ColourPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43205 PyObject
*resultobj
= 0;
43206 wxObject
*arg1
= (wxObject
*) 0 ;
43208 wxColour
*arg3
= 0 ;
43209 wxColourPickerEvent
*result
= 0 ;
43215 PyObject
* obj0
= 0 ;
43216 PyObject
* obj1
= 0 ;
43217 PyObject
* obj2
= 0 ;
43218 char * kwnames
[] = {
43219 (char *) "generator",(char *) "id",(char *) "col", NULL
43222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ColourPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
43223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
43224 if (!SWIG_IsOK(res1
)) {
43225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
43227 arg1
= reinterpret_cast< wxObject
* >(argp1
);
43228 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43229 if (!SWIG_IsOK(ecode2
)) {
43230 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerEvent" "', expected argument " "2"" of type '" "int""'");
43232 arg2
= static_cast< int >(val2
);
43235 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43239 result
= (wxColourPickerEvent
*)new wxColourPickerEvent(arg1
,arg2
,(wxColour
const &)*arg3
);
43240 wxPyEndAllowThreads(__tstate
);
43241 if (PyErr_Occurred()) SWIG_fail
;
43243 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerEvent
, SWIG_POINTER_NEW
| 0 );
43250 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43251 PyObject
*resultobj
= 0;
43252 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43256 PyObject
*swig_obj
[1] ;
43258 if (!args
) SWIG_fail
;
43259 swig_obj
[0] = args
;
43260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43261 if (!SWIG_IsOK(res1
)) {
43262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_GetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent const *""'");
43264 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43267 result
= ((wxColourPickerEvent
const *)arg1
)->GetColour();
43268 wxPyEndAllowThreads(__tstate
);
43269 if (PyErr_Occurred()) SWIG_fail
;
43271 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43278 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43279 PyObject
*resultobj
= 0;
43280 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43281 wxColour
*arg2
= 0 ;
43285 PyObject
* obj0
= 0 ;
43286 PyObject
* obj1
= 0 ;
43287 char * kwnames
[] = {
43288 (char *) "self",(char *) "c", NULL
43291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerEvent_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43293 if (!SWIG_IsOK(res1
)) {
43294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_SetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent *""'");
43296 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43299 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43303 (arg1
)->SetColour((wxColour
const &)*arg2
);
43304 wxPyEndAllowThreads(__tstate
);
43305 if (PyErr_Occurred()) SWIG_fail
;
43307 resultobj
= SWIG_Py_Void();
43314 SWIGINTERN PyObject
*ColourPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43316 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43317 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerEvent
, SWIG_NewClientData(obj
));
43318 return SWIG_Py_Void();
43321 SWIGINTERN PyObject
*ColourPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43322 return SWIG_Python_InitShadowInstance(args
);
43325 SWIGINTERN
int FilePickerCtrlNameStr_set(PyObject
*) {
43326 SWIG_Error(SWIG_AttributeError
,"Variable FilePickerCtrlNameStr is read-only.");
43331 SWIGINTERN PyObject
*FilePickerCtrlNameStr_get(void) {
43332 PyObject
*pyobj
= 0;
43336 pyobj
= PyUnicode_FromWideChar((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43338 pyobj
= PyString_FromStringAndSize((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43345 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
43346 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
43351 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
43352 PyObject
*pyobj
= 0;
43356 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43358 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43365 SWIGINTERN
int DirPickerCtrlNameStr_set(PyObject
*) {
43366 SWIG_Error(SWIG_AttributeError
,"Variable DirPickerCtrlNameStr is read-only.");
43371 SWIGINTERN PyObject
*DirPickerCtrlNameStr_get(void) {
43372 PyObject
*pyobj
= 0;
43376 pyobj
= PyUnicode_FromWideChar((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43378 pyobj
= PyString_FromStringAndSize((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43385 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
43386 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
43391 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
43392 PyObject
*pyobj
= 0;
43396 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43398 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43405 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
43406 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
43411 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
43412 PyObject
*pyobj
= 0;
43416 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43418 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43425 SWIGINTERN PyObject
*_wrap_new_FilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43426 PyObject
*resultobj
= 0;
43427 wxWindow
*arg1
= (wxWindow
*) 0 ;
43428 int arg2
= (int) -1 ;
43429 wxString
const &arg3_defvalue
= wxPyEmptyString
;
43430 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
43431 wxString
const &arg4_defvalue
= wxPyFileSelectorPromptStr
;
43432 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43433 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
43434 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43435 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
43436 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
43437 wxSize
const &arg7_defvalue
= wxDefaultSize
;
43438 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
43439 long arg8
= (long) wxFLP_DEFAULT_STYLE
;
43440 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
43441 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
43442 wxString
const &arg10_defvalue
= wxPyFilePickerCtrlNameStr
;
43443 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
43444 wxFilePickerCtrl
*result
= 0 ;
43449 bool temp3
= false ;
43450 bool temp4
= false ;
43451 bool temp5
= false ;
43458 bool temp10
= false ;
43459 PyObject
* obj0
= 0 ;
43460 PyObject
* obj1
= 0 ;
43461 PyObject
* obj2
= 0 ;
43462 PyObject
* obj3
= 0 ;
43463 PyObject
* obj4
= 0 ;
43464 PyObject
* obj5
= 0 ;
43465 PyObject
* obj6
= 0 ;
43466 PyObject
* obj7
= 0 ;
43467 PyObject
* obj8
= 0 ;
43468 PyObject
* obj9
= 0 ;
43469 char * kwnames
[] = {
43470 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_FilePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
43474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43475 if (!SWIG_IsOK(res1
)) {
43476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FilePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43478 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43480 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43481 if (!SWIG_IsOK(ecode2
)) {
43482 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FilePickerCtrl" "', expected argument " "2"" of type '" "int""'");
43484 arg2
= static_cast< int >(val2
);
43488 arg3
= wxString_in_helper(obj2
);
43489 if (arg3
== NULL
) SWIG_fail
;
43495 arg4
= wxString_in_helper(obj3
);
43496 if (arg4
== NULL
) SWIG_fail
;
43502 arg5
= wxString_in_helper(obj4
);
43503 if (arg5
== NULL
) SWIG_fail
;
43510 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
43516 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
43520 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
43521 if (!SWIG_IsOK(ecode8
)) {
43522 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_FilePickerCtrl" "', expected argument " "8"" of type '" "long""'");
43524 arg8
= static_cast< long >(val8
);
43527 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
43528 if (!SWIG_IsOK(res9
)) {
43529 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43532 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43534 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
43538 arg10
= wxString_in_helper(obj9
);
43539 if (arg10
== NULL
) SWIG_fail
;
43544 if (!wxPyCheckForApp()) SWIG_fail
;
43545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43546 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
);
43547 wxPyEndAllowThreads(__tstate
);
43548 if (PyErr_Occurred()) SWIG_fail
;
43550 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_NEW
| 0 );
43589 SWIGINTERN PyObject
*_wrap_new_PreFilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43590 PyObject
*resultobj
= 0;
43591 wxFilePickerCtrl
*result
= 0 ;
43593 if (!SWIG_Python_UnpackTuple(args
,"new_PreFilePickerCtrl",0,0,0)) SWIG_fail
;
43595 if (!wxPyCheckForApp()) SWIG_fail
;
43596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43597 result
= (wxFilePickerCtrl
*)new wxFilePickerCtrl();
43598 wxPyEndAllowThreads(__tstate
);
43599 if (PyErr_Occurred()) SWIG_fail
;
43601 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_OWN
| 0 );
43608 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43609 PyObject
*resultobj
= 0;
43610 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43611 wxWindow
*arg2
= (wxWindow
*) 0 ;
43612 int arg3
= (int) -1 ;
43613 wxString
const &arg4_defvalue
= wxPyEmptyString
;
43614 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43615 wxString
const &arg5_defvalue
= wxPyFileSelectorPromptStr
;
43616 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43617 wxString
const &arg6_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
43618 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
43619 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
43620 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
43621 wxSize
const &arg8_defvalue
= wxDefaultSize
;
43622 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
43623 long arg9
= (long) wxFLP_DEFAULT_STYLE
;
43624 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
43625 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
43626 wxString
const &arg11_defvalue
= wxPyFilePickerCtrlNameStr
;
43627 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
43635 bool temp4
= false ;
43636 bool temp5
= false ;
43637 bool temp6
= false ;
43644 bool temp11
= false ;
43645 PyObject
* obj0
= 0 ;
43646 PyObject
* obj1
= 0 ;
43647 PyObject
* obj2
= 0 ;
43648 PyObject
* obj3
= 0 ;
43649 PyObject
* obj4
= 0 ;
43650 PyObject
* obj5
= 0 ;
43651 PyObject
* obj6
= 0 ;
43652 PyObject
* obj7
= 0 ;
43653 PyObject
* obj8
= 0 ;
43654 PyObject
* obj9
= 0 ;
43655 PyObject
* obj10
= 0 ;
43656 char * kwnames
[] = {
43657 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:FilePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
43661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43662 if (!SWIG_IsOK(res1
)) {
43663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_Create" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
43665 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43666 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43667 if (!SWIG_IsOK(res2
)) {
43668 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FilePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43670 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43672 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43673 if (!SWIG_IsOK(ecode3
)) {
43674 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FilePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43676 arg3
= static_cast< int >(val3
);
43680 arg4
= wxString_in_helper(obj3
);
43681 if (arg4
== NULL
) SWIG_fail
;
43687 arg5
= wxString_in_helper(obj4
);
43688 if (arg5
== NULL
) SWIG_fail
;
43694 arg6
= wxString_in_helper(obj5
);
43695 if (arg6
== NULL
) SWIG_fail
;
43702 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
43708 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
43712 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
43713 if (!SWIG_IsOK(ecode9
)) {
43714 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "FilePickerCtrl_Create" "', expected argument " "9"" of type '" "long""'");
43716 arg9
= static_cast< long >(val9
);
43719 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
43720 if (!SWIG_IsOK(res10
)) {
43721 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
43724 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
43726 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
43730 arg11
= wxString_in_helper(obj10
);
43731 if (arg11
== NULL
) SWIG_fail
;
43736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43737 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
);
43738 wxPyEndAllowThreads(__tstate
);
43739 if (PyErr_Occurred()) SWIG_fail
;
43742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43782 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43783 PyObject
*resultobj
= 0;
43784 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43788 PyObject
*swig_obj
[1] ;
43790 if (!args
) SWIG_fail
;
43791 swig_obj
[0] = args
;
43792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43793 if (!SWIG_IsOK(res1
)) {
43794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
43796 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43799 result
= ((wxFilePickerCtrl
const *)arg1
)->GetPath();
43800 wxPyEndAllowThreads(__tstate
);
43801 if (PyErr_Occurred()) SWIG_fail
;
43805 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
43807 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
43816 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43817 PyObject
*resultobj
= 0;
43818 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43819 wxString
*arg2
= 0 ;
43822 bool temp2
= false ;
43823 PyObject
* obj0
= 0 ;
43824 PyObject
* obj1
= 0 ;
43825 char * kwnames
[] = {
43826 (char *) "self",(char *) "str", NULL
43829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43831 if (!SWIG_IsOK(res1
)) {
43832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
43834 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43836 arg2
= wxString_in_helper(obj1
);
43837 if (arg2
== NULL
) SWIG_fail
;
43841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43842 (arg1
)->SetPath((wxString
const &)*arg2
);
43843 wxPyEndAllowThreads(__tstate
);
43844 if (PyErr_Occurred()) SWIG_fail
;
43846 resultobj
= SWIG_Py_Void();
43861 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43862 PyObject
*resultobj
= 0;
43863 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43864 wxString
*arg2
= 0 ;
43868 bool temp2
= false ;
43869 PyObject
* obj0
= 0 ;
43870 PyObject
* obj1
= 0 ;
43871 char * kwnames
[] = {
43872 (char *) "self",(char *) "path", NULL
43875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43877 if (!SWIG_IsOK(res1
)) {
43878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
43880 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43882 arg2
= wxString_in_helper(obj1
);
43883 if (arg2
== NULL
) SWIG_fail
;
43887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43888 result
= (bool)((wxFilePickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
43889 wxPyEndAllowThreads(__tstate
);
43890 if (PyErr_Occurred()) SWIG_fail
;
43893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43909 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43910 PyObject
*resultobj
= 0;
43911 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43915 PyObject
*swig_obj
[1] ;
43917 if (!args
) SWIG_fail
;
43918 swig_obj
[0] = args
;
43919 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43920 if (!SWIG_IsOK(res1
)) {
43921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
43923 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43926 result
= ((wxFilePickerCtrl
const *)arg1
)->GetTextCtrlValue();
43927 wxPyEndAllowThreads(__tstate
);
43928 if (PyErr_Occurred()) SWIG_fail
;
43932 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
43934 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
43943 SWIGINTERN PyObject
*FilePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43945 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43946 SWIG_TypeNewClientData(SWIGTYPE_p_wxFilePickerCtrl
, SWIG_NewClientData(obj
));
43947 return SWIG_Py_Void();
43950 SWIGINTERN PyObject
*FilePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43951 return SWIG_Python_InitShadowInstance(args
);
43954 SWIGINTERN PyObject
*_wrap_new_DirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43955 PyObject
*resultobj
= 0;
43956 wxWindow
*arg1
= (wxWindow
*) 0 ;
43957 int arg2
= (int) -1 ;
43958 wxString
const &arg3_defvalue
= wxPyEmptyString
;
43959 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
43960 wxString
const &arg4_defvalue
= wxPyDirSelectorPromptStr
;
43961 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43962 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
43963 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
43964 wxSize
const &arg6_defvalue
= wxDefaultSize
;
43965 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
43966 long arg7
= (long) wxDIRP_DEFAULT_STYLE
;
43967 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
43968 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
43969 wxString
const &arg9_defvalue
= wxPyDirPickerCtrlNameStr
;
43970 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
43971 wxDirPickerCtrl
*result
= 0 ;
43976 bool temp3
= false ;
43977 bool temp4
= false ;
43984 bool temp9
= false ;
43985 PyObject
* obj0
= 0 ;
43986 PyObject
* obj1
= 0 ;
43987 PyObject
* obj2
= 0 ;
43988 PyObject
* obj3
= 0 ;
43989 PyObject
* obj4
= 0 ;
43990 PyObject
* obj5
= 0 ;
43991 PyObject
* obj6
= 0 ;
43992 PyObject
* obj7
= 0 ;
43993 PyObject
* obj8
= 0 ;
43994 char * kwnames
[] = {
43995 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_DirPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
43999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44000 if (!SWIG_IsOK(res1
)) {
44001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44003 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44005 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44006 if (!SWIG_IsOK(ecode2
)) {
44007 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44009 arg2
= static_cast< int >(val2
);
44013 arg3
= wxString_in_helper(obj2
);
44014 if (arg3
== NULL
) SWIG_fail
;
44020 arg4
= wxString_in_helper(obj3
);
44021 if (arg4
== NULL
) SWIG_fail
;
44028 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
44034 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
44038 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
44039 if (!SWIG_IsOK(ecode7
)) {
44040 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_DirPickerCtrl" "', expected argument " "7"" of type '" "long""'");
44042 arg7
= static_cast< long >(val7
);
44045 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
44046 if (!SWIG_IsOK(res8
)) {
44047 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44050 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44052 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
44056 arg9
= wxString_in_helper(obj8
);
44057 if (arg9
== NULL
) SWIG_fail
;
44062 if (!wxPyCheckForApp()) SWIG_fail
;
44063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44064 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
);
44065 wxPyEndAllowThreads(__tstate
);
44066 if (PyErr_Occurred()) SWIG_fail
;
44068 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_NEW
| 0 );
44099 SWIGINTERN PyObject
*_wrap_new_PreDirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44100 PyObject
*resultobj
= 0;
44101 wxDirPickerCtrl
*result
= 0 ;
44103 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirPickerCtrl",0,0,0)) SWIG_fail
;
44105 if (!wxPyCheckForApp()) SWIG_fail
;
44106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44107 result
= (wxDirPickerCtrl
*)new wxDirPickerCtrl();
44108 wxPyEndAllowThreads(__tstate
);
44109 if (PyErr_Occurred()) SWIG_fail
;
44111 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_OWN
| 0 );
44118 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44119 PyObject
*resultobj
= 0;
44120 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44121 wxWindow
*arg2
= (wxWindow
*) 0 ;
44122 int arg3
= (int) -1 ;
44123 wxString
const &arg4_defvalue
= wxPyEmptyString
;
44124 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44125 wxString
const &arg5_defvalue
= wxPyDirSelectorPromptStr
;
44126 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
44127 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
44128 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
44129 wxSize
const &arg7_defvalue
= wxDefaultSize
;
44130 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
44131 long arg8
= (long) wxDIRP_DEFAULT_STYLE
;
44132 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
44133 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
44134 wxString
const &arg10_defvalue
= wxPyDirPickerCtrlNameStr
;
44135 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
44143 bool temp4
= false ;
44144 bool temp5
= false ;
44151 bool temp10
= false ;
44152 PyObject
* obj0
= 0 ;
44153 PyObject
* obj1
= 0 ;
44154 PyObject
* obj2
= 0 ;
44155 PyObject
* obj3
= 0 ;
44156 PyObject
* obj4
= 0 ;
44157 PyObject
* obj5
= 0 ;
44158 PyObject
* obj6
= 0 ;
44159 PyObject
* obj7
= 0 ;
44160 PyObject
* obj8
= 0 ;
44161 PyObject
* obj9
= 0 ;
44162 char * kwnames
[] = {
44163 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:DirPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
44167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44168 if (!SWIG_IsOK(res1
)) {
44169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_Create" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44171 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44172 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44173 if (!SWIG_IsOK(res2
)) {
44174 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44176 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44178 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44179 if (!SWIG_IsOK(ecode3
)) {
44180 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44182 arg3
= static_cast< int >(val3
);
44186 arg4
= wxString_in_helper(obj3
);
44187 if (arg4
== NULL
) SWIG_fail
;
44193 arg5
= wxString_in_helper(obj4
);
44194 if (arg5
== NULL
) SWIG_fail
;
44201 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
44207 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
44211 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
44212 if (!SWIG_IsOK(ecode8
)) {
44213 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DirPickerCtrl_Create" "', expected argument " "8"" of type '" "long""'");
44215 arg8
= static_cast< long >(val8
);
44218 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
44219 if (!SWIG_IsOK(res9
)) {
44220 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44223 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44225 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
44229 arg10
= wxString_in_helper(obj9
);
44230 if (arg10
== NULL
) SWIG_fail
;
44235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44236 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
);
44237 wxPyEndAllowThreads(__tstate
);
44238 if (PyErr_Occurred()) SWIG_fail
;
44241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44273 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44274 PyObject
*resultobj
= 0;
44275 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44279 PyObject
*swig_obj
[1] ;
44281 if (!args
) SWIG_fail
;
44282 swig_obj
[0] = args
;
44283 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44284 if (!SWIG_IsOK(res1
)) {
44285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44287 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44290 result
= ((wxDirPickerCtrl
const *)arg1
)->GetPath();
44291 wxPyEndAllowThreads(__tstate
);
44292 if (PyErr_Occurred()) SWIG_fail
;
44296 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44298 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44307 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44308 PyObject
*resultobj
= 0;
44309 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44310 wxString
*arg2
= 0 ;
44313 bool temp2
= false ;
44314 PyObject
* obj0
= 0 ;
44315 PyObject
* obj1
= 0 ;
44316 char * kwnames
[] = {
44317 (char *) "self",(char *) "str", NULL
44320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44322 if (!SWIG_IsOK(res1
)) {
44323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44325 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44327 arg2
= wxString_in_helper(obj1
);
44328 if (arg2
== NULL
) SWIG_fail
;
44332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44333 (arg1
)->SetPath((wxString
const &)*arg2
);
44334 wxPyEndAllowThreads(__tstate
);
44335 if (PyErr_Occurred()) SWIG_fail
;
44337 resultobj
= SWIG_Py_Void();
44352 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44353 PyObject
*resultobj
= 0;
44354 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44355 wxString
*arg2
= 0 ;
44359 bool temp2
= false ;
44360 PyObject
* obj0
= 0 ;
44361 PyObject
* obj1
= 0 ;
44362 char * kwnames
[] = {
44363 (char *) "self",(char *) "path", NULL
44366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44368 if (!SWIG_IsOK(res1
)) {
44369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44371 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44373 arg2
= wxString_in_helper(obj1
);
44374 if (arg2
== NULL
) SWIG_fail
;
44378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44379 result
= (bool)((wxDirPickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
44380 wxPyEndAllowThreads(__tstate
);
44381 if (PyErr_Occurred()) SWIG_fail
;
44384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44400 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44401 PyObject
*resultobj
= 0;
44402 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44406 PyObject
*swig_obj
[1] ;
44408 if (!args
) SWIG_fail
;
44409 swig_obj
[0] = args
;
44410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44411 if (!SWIG_IsOK(res1
)) {
44412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44414 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44417 result
= ((wxDirPickerCtrl
const *)arg1
)->GetTextCtrlValue();
44418 wxPyEndAllowThreads(__tstate
);
44419 if (PyErr_Occurred()) SWIG_fail
;
44423 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44425 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44434 SWIGINTERN PyObject
*DirPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44436 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44437 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirPickerCtrl
, SWIG_NewClientData(obj
));
44438 return SWIG_Py_Void();
44441 SWIGINTERN PyObject
*DirPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44442 return SWIG_Python_InitShadowInstance(args
);
44445 SWIGINTERN PyObject
*_wrap_new_FileDirPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44446 PyObject
*resultobj
= 0;
44448 wxObject
*arg2
= (wxObject
*) 0 ;
44450 wxString
*arg4
= 0 ;
44451 wxFileDirPickerEvent
*result
= 0 ;
44458 bool temp4
= false ;
44459 PyObject
* obj0
= 0 ;
44460 PyObject
* obj1
= 0 ;
44461 PyObject
* obj2
= 0 ;
44462 PyObject
* obj3
= 0 ;
44463 char * kwnames
[] = {
44464 (char *) "type",(char *) "generator",(char *) "id",(char *) "path", NULL
44467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileDirPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
44468 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
44469 if (!SWIG_IsOK(ecode1
)) {
44470 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FileDirPickerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
44472 arg1
= static_cast< wxEventType
>(val1
);
44473 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxObject
, 0 | 0 );
44474 if (!SWIG_IsOK(res2
)) {
44475 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FileDirPickerEvent" "', expected argument " "2"" of type '" "wxObject *""'");
44477 arg2
= reinterpret_cast< wxObject
* >(argp2
);
44478 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44479 if (!SWIG_IsOK(ecode3
)) {
44480 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FileDirPickerEvent" "', expected argument " "3"" of type '" "int""'");
44482 arg3
= static_cast< int >(val3
);
44484 arg4
= wxString_in_helper(obj3
);
44485 if (arg4
== NULL
) SWIG_fail
;
44489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44490 result
= (wxFileDirPickerEvent
*)new wxFileDirPickerEvent(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
44491 wxPyEndAllowThreads(__tstate
);
44492 if (PyErr_Occurred()) SWIG_fail
;
44494 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_POINTER_NEW
| 0 );
44509 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44510 PyObject
*resultobj
= 0;
44511 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
44515 PyObject
*swig_obj
[1] ;
44517 if (!args
) SWIG_fail
;
44518 swig_obj
[0] = args
;
44519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
44520 if (!SWIG_IsOK(res1
)) {
44521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_GetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent const *""'");
44523 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
44525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44526 result
= ((wxFileDirPickerEvent
const *)arg1
)->GetPath();
44527 wxPyEndAllowThreads(__tstate
);
44528 if (PyErr_Occurred()) SWIG_fail
;
44532 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44534 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44543 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44544 PyObject
*resultobj
= 0;
44545 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
44546 wxString
*arg2
= 0 ;
44549 bool temp2
= false ;
44550 PyObject
* obj0
= 0 ;
44551 PyObject
* obj1
= 0 ;
44552 char * kwnames
[] = {
44553 (char *) "self",(char *) "p", NULL
44556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDirPickerEvent_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
44558 if (!SWIG_IsOK(res1
)) {
44559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_SetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent *""'");
44561 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
44563 arg2
= wxString_in_helper(obj1
);
44564 if (arg2
== NULL
) SWIG_fail
;
44568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44569 (arg1
)->SetPath((wxString
const &)*arg2
);
44570 wxPyEndAllowThreads(__tstate
);
44571 if (PyErr_Occurred()) SWIG_fail
;
44573 resultobj
= SWIG_Py_Void();
44588 SWIGINTERN PyObject
*FileDirPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44590 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44591 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_NewClientData(obj
));
44592 return SWIG_Py_Void();
44595 SWIGINTERN PyObject
*FileDirPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44596 return SWIG_Python_InitShadowInstance(args
);
44599 SWIGINTERN
int FontPickerCtrlNameStr_set(PyObject
*) {
44600 SWIG_Error(SWIG_AttributeError
,"Variable FontPickerCtrlNameStr is read-only.");
44605 SWIGINTERN PyObject
*FontPickerCtrlNameStr_get(void) {
44606 PyObject
*pyobj
= 0;
44610 pyobj
= PyUnicode_FromWideChar((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
44612 pyobj
= PyString_FromStringAndSize((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
44619 SWIGINTERN PyObject
*_wrap_new_FontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44620 PyObject
*resultobj
= 0;
44621 wxWindow
*arg1
= (wxWindow
*) 0 ;
44622 int arg2
= (int) -1 ;
44623 wxFont
const &arg3_defvalue
= *wxNORMAL_FONT
;
44624 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
44625 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
44626 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
44627 wxSize
const &arg5_defvalue
= wxDefaultSize
;
44628 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
44629 long arg6
= (long) wxFNTP_DEFAULT_STYLE
;
44630 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
44631 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
44632 wxString
const &arg8_defvalue
= wxPyFontPickerCtrlNameStr
;
44633 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
44634 wxFontPickerCtrl
*result
= 0 ;
44647 bool temp8
= false ;
44648 PyObject
* obj0
= 0 ;
44649 PyObject
* obj1
= 0 ;
44650 PyObject
* obj2
= 0 ;
44651 PyObject
* obj3
= 0 ;
44652 PyObject
* obj4
= 0 ;
44653 PyObject
* obj5
= 0 ;
44654 PyObject
* obj6
= 0 ;
44655 PyObject
* obj7
= 0 ;
44656 char * kwnames
[] = {
44657 (char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_FontPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
44661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44662 if (!SWIG_IsOK(res1
)) {
44663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44665 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44667 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44668 if (!SWIG_IsOK(ecode2
)) {
44669 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44671 arg2
= static_cast< int >(val2
);
44674 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
44675 if (!SWIG_IsOK(res3
)) {
44676 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
44679 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
44681 arg3
= reinterpret_cast< wxFont
* >(argp3
);
44686 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
44692 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
44696 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
44697 if (!SWIG_IsOK(ecode6
)) {
44698 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FontPickerCtrl" "', expected argument " "6"" of type '" "long""'");
44700 arg6
= static_cast< long >(val6
);
44703 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
44704 if (!SWIG_IsOK(res7
)) {
44705 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
44708 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
44710 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
44714 arg8
= wxString_in_helper(obj7
);
44715 if (arg8
== NULL
) SWIG_fail
;
44720 if (!wxPyCheckForApp()) SWIG_fail
;
44721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44722 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl(arg1
,arg2
,(wxFont
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
44723 wxPyEndAllowThreads(__tstate
);
44724 if (PyErr_Occurred()) SWIG_fail
;
44726 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_NEW
| 0 );
44741 SWIGINTERN PyObject
*_wrap_new_PreFontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44742 PyObject
*resultobj
= 0;
44743 wxFontPickerCtrl
*result
= 0 ;
44745 if (!SWIG_Python_UnpackTuple(args
,"new_PreFontPickerCtrl",0,0,0)) SWIG_fail
;
44747 if (!wxPyCheckForApp()) SWIG_fail
;
44748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44749 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl();
44750 wxPyEndAllowThreads(__tstate
);
44751 if (PyErr_Occurred()) SWIG_fail
;
44753 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_OWN
| 0 );
44760 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44761 PyObject
*resultobj
= 0;
44762 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
44763 wxWindow
*arg2
= (wxWindow
*) 0 ;
44764 int arg3
= (int) -1 ;
44765 wxFont
const &arg4_defvalue
= *wxNORMAL_FONT
;
44766 wxFont
*arg4
= (wxFont
*) &arg4_defvalue
;
44767 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
44768 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
44769 wxSize
const &arg6_defvalue
= wxDefaultSize
;
44770 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
44771 long arg7
= (long) wxFNTP_DEFAULT_STYLE
;
44772 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
44773 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
44774 wxString
const &arg9_defvalue
= wxPyFontPickerCtrlNameStr
;
44775 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
44791 bool temp9
= false ;
44792 PyObject
* obj0
= 0 ;
44793 PyObject
* obj1
= 0 ;
44794 PyObject
* obj2
= 0 ;
44795 PyObject
* obj3
= 0 ;
44796 PyObject
* obj4
= 0 ;
44797 PyObject
* obj5
= 0 ;
44798 PyObject
* obj6
= 0 ;
44799 PyObject
* obj7
= 0 ;
44800 PyObject
* obj8
= 0 ;
44801 char * kwnames
[] = {
44802 (char *) "self",(char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:FontPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
44806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
44807 if (!SWIG_IsOK(res1
)) {
44808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_Create" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
44810 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
44811 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44812 if (!SWIG_IsOK(res2
)) {
44813 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44815 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44817 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44818 if (!SWIG_IsOK(ecode3
)) {
44819 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44821 arg3
= static_cast< int >(val3
);
44824 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxFont
, 0 | 0);
44825 if (!SWIG_IsOK(res4
)) {
44826 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
44829 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
44831 arg4
= reinterpret_cast< wxFont
* >(argp4
);
44836 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
44842 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
44846 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
44847 if (!SWIG_IsOK(ecode7
)) {
44848 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "FontPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
44850 arg7
= static_cast< long >(val7
);
44853 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
44854 if (!SWIG_IsOK(res8
)) {
44855 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
44858 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
44860 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
44864 arg9
= wxString_in_helper(obj8
);
44865 if (arg9
== NULL
) SWIG_fail
;
44870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44871 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxFont
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
44872 wxPyEndAllowThreads(__tstate
);
44873 if (PyErr_Occurred()) SWIG_fail
;
44876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44892 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44893 PyObject
*resultobj
= 0;
44894 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
44898 PyObject
*swig_obj
[1] ;
44900 if (!args
) SWIG_fail
;
44901 swig_obj
[0] = args
;
44902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
44903 if (!SWIG_IsOK(res1
)) {
44904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
44906 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
44908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44909 result
= ((wxFontPickerCtrl
const *)arg1
)->GetSelectedFont();
44910 wxPyEndAllowThreads(__tstate
);
44911 if (PyErr_Occurred()) SWIG_fail
;
44913 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
44920 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44921 PyObject
*resultobj
= 0;
44922 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
44928 PyObject
* obj0
= 0 ;
44929 PyObject
* obj1
= 0 ;
44930 char * kwnames
[] = {
44931 (char *) "self",(char *) "f", NULL
44934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetSelectedFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
44936 if (!SWIG_IsOK(res1
)) {
44937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
44939 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
44940 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
44941 if (!SWIG_IsOK(res2
)) {
44942 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
44945 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
44947 arg2
= reinterpret_cast< wxFont
* >(argp2
);
44949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44950 (arg1
)->SetSelectedFont((wxFont
const &)*arg2
);
44951 wxPyEndAllowThreads(__tstate
);
44952 if (PyErr_Occurred()) SWIG_fail
;
44954 resultobj
= SWIG_Py_Void();
44961 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44962 PyObject
*resultobj
= 0;
44963 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
44964 unsigned int arg2
;
44967 unsigned int val2
;
44969 PyObject
* obj0
= 0 ;
44970 PyObject
* obj1
= 0 ;
44971 char * kwnames
[] = {
44972 (char *) "self",(char *) "max", NULL
44975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetMaxPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
44977 if (!SWIG_IsOK(res1
)) {
44978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
44980 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
44981 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
44982 if (!SWIG_IsOK(ecode2
)) {
44983 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "2"" of type '" "unsigned int""'");
44985 arg2
= static_cast< unsigned int >(val2
);
44987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44988 (arg1
)->SetMaxPointSize(arg2
);
44989 wxPyEndAllowThreads(__tstate
);
44990 if (PyErr_Occurred()) SWIG_fail
;
44992 resultobj
= SWIG_Py_Void();
44999 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45000 PyObject
*resultobj
= 0;
45001 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45002 unsigned int result
;
45005 PyObject
*swig_obj
[1] ;
45007 if (!args
) SWIG_fail
;
45008 swig_obj
[0] = args
;
45009 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45010 if (!SWIG_IsOK(res1
)) {
45011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45013 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45016 result
= (unsigned int)((wxFontPickerCtrl
const *)arg1
)->GetMaxPointSize();
45017 wxPyEndAllowThreads(__tstate
);
45018 if (PyErr_Occurred()) SWIG_fail
;
45020 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
45027 SWIGINTERN PyObject
*FontPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45029 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45030 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerCtrl
, SWIG_NewClientData(obj
));
45031 return SWIG_Py_Void();
45034 SWIGINTERN PyObject
*FontPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45035 return SWIG_Python_InitShadowInstance(args
);
45038 SWIGINTERN PyObject
*_wrap_new_FontPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45039 PyObject
*resultobj
= 0;
45040 wxObject
*arg1
= (wxObject
*) 0 ;
45043 wxFontPickerEvent
*result
= 0 ;
45050 PyObject
* obj0
= 0 ;
45051 PyObject
* obj1
= 0 ;
45052 PyObject
* obj2
= 0 ;
45053 char * kwnames
[] = {
45054 (char *) "generator",(char *) "id",(char *) "f", NULL
45057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_FontPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
45059 if (!SWIG_IsOK(res1
)) {
45060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
45062 arg1
= reinterpret_cast< wxObject
* >(argp1
);
45063 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45064 if (!SWIG_IsOK(ecode2
)) {
45065 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerEvent" "', expected argument " "2"" of type '" "int""'");
45067 arg2
= static_cast< int >(val2
);
45068 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
45069 if (!SWIG_IsOK(res3
)) {
45070 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45073 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45075 arg3
= reinterpret_cast< wxFont
* >(argp3
);
45077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45078 result
= (wxFontPickerEvent
*)new wxFontPickerEvent(arg1
,arg2
,(wxFont
const &)*arg3
);
45079 wxPyEndAllowThreads(__tstate
);
45080 if (PyErr_Occurred()) SWIG_fail
;
45082 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerEvent
, SWIG_POINTER_NEW
| 0 );
45089 SWIGINTERN PyObject
*_wrap_FontPickerEvent_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45090 PyObject
*resultobj
= 0;
45091 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45095 PyObject
*swig_obj
[1] ;
45097 if (!args
) SWIG_fail
;
45098 swig_obj
[0] = args
;
45099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45100 if (!SWIG_IsOK(res1
)) {
45101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_GetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent const *""'");
45103 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45106 result
= ((wxFontPickerEvent
const *)arg1
)->GetFont();
45107 wxPyEndAllowThreads(__tstate
);
45108 if (PyErr_Occurred()) SWIG_fail
;
45110 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
45117 SWIGINTERN PyObject
*_wrap_FontPickerEvent_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45118 PyObject
*resultobj
= 0;
45119 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45125 PyObject
* obj0
= 0 ;
45126 PyObject
* obj1
= 0 ;
45127 char * kwnames
[] = {
45128 (char *) "self",(char *) "c", NULL
45131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerEvent_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45133 if (!SWIG_IsOK(res1
)) {
45134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent *""'");
45136 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45137 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
45138 if (!SWIG_IsOK(res2
)) {
45139 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45142 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45144 arg2
= reinterpret_cast< wxFont
* >(argp2
);
45146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45147 (arg1
)->SetFont((wxFont
const &)*arg2
);
45148 wxPyEndAllowThreads(__tstate
);
45149 if (PyErr_Occurred()) SWIG_fail
;
45151 resultobj
= SWIG_Py_Void();
45158 SWIGINTERN PyObject
*FontPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45160 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45161 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerEvent
, SWIG_NewClientData(obj
));
45162 return SWIG_Py_Void();
45165 SWIGINTERN PyObject
*FontPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45166 return SWIG_Python_InitShadowInstance(args
);
45169 static PyMethodDef SwigMethods
[] = {
45170 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45171 { (char *)"new_PreButton", (PyCFunction
)_wrap_new_PreButton
, METH_NOARGS
, NULL
},
45172 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45173 { (char *)"Button_SetDefault", (PyCFunction
)_wrap_Button_SetDefault
, METH_O
, NULL
},
45174 { (char *)"Button_GetDefaultSize", (PyCFunction
)_wrap_Button_GetDefaultSize
, METH_NOARGS
, NULL
},
45175 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45176 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
45177 { (char *)"Button_swiginit", Button_swiginit
, METH_VARARGS
, NULL
},
45178 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45179 { (char *)"new_PreBitmapButton", (PyCFunction
)_wrap_new_PreBitmapButton
, METH_NOARGS
, NULL
},
45180 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45181 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
)_wrap_BitmapButton_GetBitmapLabel
, METH_O
, NULL
},
45182 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
)_wrap_BitmapButton_GetBitmapDisabled
, METH_O
, NULL
},
45183 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
)_wrap_BitmapButton_GetBitmapFocus
, METH_O
, NULL
},
45184 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
)_wrap_BitmapButton_GetBitmapSelected
, METH_O
, NULL
},
45185 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction
)_wrap_BitmapButton_GetBitmapHover
, METH_O
, NULL
},
45186 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45187 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45188 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45189 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45190 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction
) _wrap_BitmapButton_SetBitmapHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45191 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45192 { (char *)"BitmapButton_GetMarginX", (PyCFunction
)_wrap_BitmapButton_GetMarginX
, METH_O
, NULL
},
45193 { (char *)"BitmapButton_GetMarginY", (PyCFunction
)_wrap_BitmapButton_GetMarginY
, METH_O
, NULL
},
45194 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
45195 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit
, METH_VARARGS
, NULL
},
45196 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45197 { (char *)"new_PreCheckBox", (PyCFunction
)_wrap_new_PreCheckBox
, METH_NOARGS
, NULL
},
45198 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45199 { (char *)"CheckBox_GetValue", (PyCFunction
)_wrap_CheckBox_GetValue
, METH_O
, NULL
},
45200 { (char *)"CheckBox_IsChecked", (PyCFunction
)_wrap_CheckBox_IsChecked
, METH_O
, NULL
},
45201 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45202 { (char *)"CheckBox_Get3StateValue", (PyCFunction
)_wrap_CheckBox_Get3StateValue
, METH_O
, NULL
},
45203 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45204 { (char *)"CheckBox_Is3State", (PyCFunction
)_wrap_CheckBox_Is3State
, METH_O
, NULL
},
45205 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
)_wrap_CheckBox_Is3rdStateAllowedForUser
, METH_O
, NULL
},
45206 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45207 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
45208 { (char *)"CheckBox_swiginit", CheckBox_swiginit
, METH_VARARGS
, NULL
},
45209 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45210 { (char *)"new_PreChoice", (PyCFunction
)_wrap_new_PreChoice
, METH_NOARGS
, NULL
},
45211 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45212 { (char *)"Choice_GetCurrentSelection", (PyCFunction
)_wrap_Choice_GetCurrentSelection
, METH_O
, NULL
},
45213 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45214 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
45215 { (char *)"Choice_swiginit", Choice_swiginit
, METH_VARARGS
, NULL
},
45216 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45217 { (char *)"new_PreComboBox", (PyCFunction
)_wrap_new_PreComboBox
, METH_NOARGS
, NULL
},
45218 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45219 { (char *)"ComboBox_GetValue", (PyCFunction
)_wrap_ComboBox_GetValue
, METH_O
, NULL
},
45220 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45221 { (char *)"ComboBox_Copy", (PyCFunction
)_wrap_ComboBox_Copy
, METH_O
, NULL
},
45222 { (char *)"ComboBox_Cut", (PyCFunction
)_wrap_ComboBox_Cut
, METH_O
, NULL
},
45223 { (char *)"ComboBox_Paste", (PyCFunction
)_wrap_ComboBox_Paste
, METH_O
, NULL
},
45224 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45225 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
)_wrap_ComboBox_GetInsertionPoint
, METH_O
, NULL
},
45226 { (char *)"ComboBox_GetLastPosition", (PyCFunction
)_wrap_ComboBox_GetLastPosition
, METH_O
, NULL
},
45227 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45228 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45229 { (char *)"ComboBox_GetMark", (PyCFunction
)_wrap_ComboBox_GetMark
, METH_O
, NULL
},
45230 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction
)_wrap_ComboBox_GetCurrentSelection
, METH_O
, NULL
},
45231 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45232 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45233 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45234 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
)_wrap_ComboBox_SetInsertionPointEnd
, METH_O
, NULL
},
45235 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45236 { (char *)"ComboBox_IsEditable", (PyCFunction
)_wrap_ComboBox_IsEditable
, METH_O
, NULL
},
45237 { (char *)"ComboBox_Undo", (PyCFunction
)_wrap_ComboBox_Undo
, METH_O
, NULL
},
45238 { (char *)"ComboBox_Redo", (PyCFunction
)_wrap_ComboBox_Redo
, METH_O
, NULL
},
45239 { (char *)"ComboBox_SelectAll", (PyCFunction
)_wrap_ComboBox_SelectAll
, METH_O
, NULL
},
45240 { (char *)"ComboBox_CanCopy", (PyCFunction
)_wrap_ComboBox_CanCopy
, METH_O
, NULL
},
45241 { (char *)"ComboBox_CanCut", (PyCFunction
)_wrap_ComboBox_CanCut
, METH_O
, NULL
},
45242 { (char *)"ComboBox_CanPaste", (PyCFunction
)_wrap_ComboBox_CanPaste
, METH_O
, NULL
},
45243 { (char *)"ComboBox_CanUndo", (PyCFunction
)_wrap_ComboBox_CanUndo
, METH_O
, NULL
},
45244 { (char *)"ComboBox_CanRedo", (PyCFunction
)_wrap_ComboBox_CanRedo
, METH_O
, NULL
},
45245 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45246 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
45247 { (char *)"ComboBox_swiginit", ComboBox_swiginit
, METH_VARARGS
, NULL
},
45248 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45249 { (char *)"new_PreGauge", (PyCFunction
)_wrap_new_PreGauge
, METH_NOARGS
, NULL
},
45250 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45251 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45252 { (char *)"Gauge_GetRange", (PyCFunction
)_wrap_Gauge_GetRange
, METH_O
, NULL
},
45253 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45254 { (char *)"Gauge_GetValue", (PyCFunction
)_wrap_Gauge_GetValue
, METH_O
, NULL
},
45255 { (char *)"Gauge_IsVertical", (PyCFunction
)_wrap_Gauge_IsVertical
, METH_O
, NULL
},
45256 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45257 { (char *)"Gauge_GetShadowWidth", (PyCFunction
)_wrap_Gauge_GetShadowWidth
, METH_O
, NULL
},
45258 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45259 { (char *)"Gauge_GetBezelFace", (PyCFunction
)_wrap_Gauge_GetBezelFace
, METH_O
, NULL
},
45260 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45261 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
45262 { (char *)"Gauge_swiginit", Gauge_swiginit
, METH_VARARGS
, NULL
},
45263 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45264 { (char *)"new_PreStaticBox", (PyCFunction
)_wrap_new_PreStaticBox
, METH_NOARGS
, NULL
},
45265 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45266 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45267 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
45268 { (char *)"StaticBox_swiginit", StaticBox_swiginit
, METH_VARARGS
, NULL
},
45269 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45270 { (char *)"new_PreStaticLine", (PyCFunction
)_wrap_new_PreStaticLine
, METH_NOARGS
, NULL
},
45271 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45272 { (char *)"StaticLine_IsVertical", (PyCFunction
)_wrap_StaticLine_IsVertical
, METH_O
, NULL
},
45273 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
)_wrap_StaticLine_GetDefaultSize
, METH_NOARGS
, NULL
},
45274 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45275 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
45276 { (char *)"StaticLine_swiginit", StaticLine_swiginit
, METH_VARARGS
, NULL
},
45277 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45278 { (char *)"new_PreStaticText", (PyCFunction
)_wrap_new_PreStaticText
, METH_NOARGS
, NULL
},
45279 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45280 { (char *)"StaticText_Wrap", (PyCFunction
) _wrap_StaticText_Wrap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45281 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45282 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
45283 { (char *)"StaticText_swiginit", StaticText_swiginit
, METH_VARARGS
, NULL
},
45284 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45285 { (char *)"new_PreStaticBitmap", (PyCFunction
)_wrap_new_PreStaticBitmap
, METH_NOARGS
, NULL
},
45286 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45287 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
)_wrap_StaticBitmap_GetBitmap
, METH_O
, NULL
},
45288 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45289 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45290 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45291 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
45292 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit
, METH_VARARGS
, NULL
},
45293 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45294 { (char *)"new_PreListBox", (PyCFunction
)_wrap_new_PreListBox
, METH_NOARGS
, NULL
},
45295 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45296 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45297 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45298 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45299 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45300 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45301 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45302 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45303 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45304 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45305 { (char *)"ListBox_GetSelections", (PyCFunction
)_wrap_ListBox_GetSelections
, METH_O
, NULL
},
45306 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45307 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45308 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45309 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45310 { (char *)"ListBox_IsSorted", (PyCFunction
)_wrap_ListBox_IsSorted
, METH_O
, NULL
},
45311 { (char *)"ListBox_HitTest", (PyCFunction
) _wrap_ListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45312 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45313 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45314 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45315 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45316 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
45317 { (char *)"ListBox_swiginit", ListBox_swiginit
, METH_VARARGS
, NULL
},
45318 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45319 { (char *)"new_PreCheckListBox", (PyCFunction
)_wrap_new_PreCheckListBox
, METH_NOARGS
, NULL
},
45320 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45321 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45322 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45323 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
)_wrap_CheckListBox_GetItemHeight
, METH_O
, NULL
},
45324 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
45325 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit
, METH_VARARGS
, NULL
},
45326 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45327 { (char *)"delete_TextAttr", (PyCFunction
)_wrap_delete_TextAttr
, METH_O
, NULL
},
45328 { (char *)"TextAttr_Init", (PyCFunction
)_wrap_TextAttr_Init
, METH_O
, NULL
},
45329 { (char *)"TextAttr_Merge", (PyCFunction
) _wrap_TextAttr_Merge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45330 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45331 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45332 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45333 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45334 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45335 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45336 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45337 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45338 { (char *)"TextAttr_HasTextColour", (PyCFunction
)_wrap_TextAttr_HasTextColour
, METH_O
, NULL
},
45339 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
)_wrap_TextAttr_HasBackgroundColour
, METH_O
, NULL
},
45340 { (char *)"TextAttr_HasFont", (PyCFunction
)_wrap_TextAttr_HasFont
, METH_O
, NULL
},
45341 { (char *)"TextAttr_HasAlignment", (PyCFunction
)_wrap_TextAttr_HasAlignment
, METH_O
, NULL
},
45342 { (char *)"TextAttr_HasTabs", (PyCFunction
)_wrap_TextAttr_HasTabs
, METH_O
, NULL
},
45343 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
)_wrap_TextAttr_HasLeftIndent
, METH_O
, NULL
},
45344 { (char *)"TextAttr_HasRightIndent", (PyCFunction
)_wrap_TextAttr_HasRightIndent
, METH_O
, NULL
},
45345 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45346 { (char *)"TextAttr_GetTextColour", (PyCFunction
)_wrap_TextAttr_GetTextColour
, METH_O
, NULL
},
45347 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
)_wrap_TextAttr_GetBackgroundColour
, METH_O
, NULL
},
45348 { (char *)"TextAttr_GetFont", (PyCFunction
)_wrap_TextAttr_GetFont
, METH_O
, NULL
},
45349 { (char *)"TextAttr_GetAlignment", (PyCFunction
)_wrap_TextAttr_GetAlignment
, METH_O
, NULL
},
45350 { (char *)"TextAttr_GetTabs", (PyCFunction
)_wrap_TextAttr_GetTabs
, METH_O
, NULL
},
45351 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
)_wrap_TextAttr_GetLeftIndent
, METH_O
, NULL
},
45352 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
)_wrap_TextAttr_GetLeftSubIndent
, METH_O
, NULL
},
45353 { (char *)"TextAttr_GetRightIndent", (PyCFunction
)_wrap_TextAttr_GetRightIndent
, METH_O
, NULL
},
45354 { (char *)"TextAttr_GetFlags", (PyCFunction
)_wrap_TextAttr_GetFlags
, METH_O
, NULL
},
45355 { (char *)"TextAttr_IsDefault", (PyCFunction
)_wrap_TextAttr_IsDefault
, METH_O
, NULL
},
45356 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45357 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
45358 { (char *)"TextAttr_swiginit", TextAttr_swiginit
, METH_VARARGS
, NULL
},
45359 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45360 { (char *)"new_PreTextCtrl", (PyCFunction
)_wrap_new_PreTextCtrl
, METH_NOARGS
, NULL
},
45361 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45362 { (char *)"TextCtrl_GetValue", (PyCFunction
)_wrap_TextCtrl_GetValue
, METH_O
, NULL
},
45363 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45364 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45365 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45366 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45367 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
)_wrap_TextCtrl_GetNumberOfLines
, METH_O
, NULL
},
45368 { (char *)"TextCtrl_IsModified", (PyCFunction
)_wrap_TextCtrl_IsModified
, METH_O
, NULL
},
45369 { (char *)"TextCtrl_IsEditable", (PyCFunction
)_wrap_TextCtrl_IsEditable
, METH_O
, NULL
},
45370 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
)_wrap_TextCtrl_IsSingleLine
, METH_O
, NULL
},
45371 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
)_wrap_TextCtrl_IsMultiLine
, METH_O
, NULL
},
45372 { (char *)"TextCtrl_GetSelection", (PyCFunction
)_wrap_TextCtrl_GetSelection
, METH_O
, NULL
},
45373 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
)_wrap_TextCtrl_GetStringSelection
, METH_O
, NULL
},
45374 { (char *)"TextCtrl_Clear", (PyCFunction
)_wrap_TextCtrl_Clear
, METH_O
, NULL
},
45375 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45376 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45377 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45378 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45379 { (char *)"TextCtrl_MarkDirty", (PyCFunction
)_wrap_TextCtrl_MarkDirty
, METH_O
, NULL
},
45380 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
)_wrap_TextCtrl_DiscardEdits
, METH_O
, NULL
},
45381 { (char *)"TextCtrl_SetModified", (PyCFunction
) _wrap_TextCtrl_SetModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45382 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45383 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45384 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45385 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45386 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45387 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45388 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45389 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
)_wrap_TextCtrl_GetDefaultStyle
, METH_O
, NULL
},
45390 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45391 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45392 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45393 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45394 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45395 { (char *)"TextCtrl_Copy", (PyCFunction
)_wrap_TextCtrl_Copy
, METH_O
, NULL
},
45396 { (char *)"TextCtrl_Cut", (PyCFunction
)_wrap_TextCtrl_Cut
, METH_O
, NULL
},
45397 { (char *)"TextCtrl_Paste", (PyCFunction
)_wrap_TextCtrl_Paste
, METH_O
, NULL
},
45398 { (char *)"TextCtrl_CanCopy", (PyCFunction
)_wrap_TextCtrl_CanCopy
, METH_O
, NULL
},
45399 { (char *)"TextCtrl_CanCut", (PyCFunction
)_wrap_TextCtrl_CanCut
, METH_O
, NULL
},
45400 { (char *)"TextCtrl_CanPaste", (PyCFunction
)_wrap_TextCtrl_CanPaste
, METH_O
, NULL
},
45401 { (char *)"TextCtrl_Undo", (PyCFunction
)_wrap_TextCtrl_Undo
, METH_O
, NULL
},
45402 { (char *)"TextCtrl_Redo", (PyCFunction
)_wrap_TextCtrl_Redo
, METH_O
, NULL
},
45403 { (char *)"TextCtrl_CanUndo", (PyCFunction
)_wrap_TextCtrl_CanUndo
, METH_O
, NULL
},
45404 { (char *)"TextCtrl_CanRedo", (PyCFunction
)_wrap_TextCtrl_CanRedo
, METH_O
, NULL
},
45405 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45406 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
)_wrap_TextCtrl_SetInsertionPointEnd
, METH_O
, NULL
},
45407 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
)_wrap_TextCtrl_GetInsertionPoint
, METH_O
, NULL
},
45408 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
)_wrap_TextCtrl_GetLastPosition
, METH_O
, NULL
},
45409 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45410 { (char *)"TextCtrl_SelectAll", (PyCFunction
)_wrap_TextCtrl_SelectAll
, METH_O
, NULL
},
45411 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45412 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45413 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45414 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45415 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
45416 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit
, METH_VARARGS
, NULL
},
45417 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45418 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
)_wrap_TextUrlEvent_GetMouseEvent
, METH_O
, NULL
},
45419 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
)_wrap_TextUrlEvent_GetURLStart
, METH_O
, NULL
},
45420 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
)_wrap_TextUrlEvent_GetURLEnd
, METH_O
, NULL
},
45421 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
45422 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit
, METH_VARARGS
, NULL
},
45423 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45424 { (char *)"new_PreScrollBar", (PyCFunction
)_wrap_new_PreScrollBar
, METH_NOARGS
, NULL
},
45425 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45426 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
)_wrap_ScrollBar_GetThumbPosition
, METH_O
, NULL
},
45427 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
)_wrap_ScrollBar_GetThumbSize
, METH_O
, NULL
},
45428 { (char *)"ScrollBar_GetPageSize", (PyCFunction
)_wrap_ScrollBar_GetPageSize
, METH_O
, NULL
},
45429 { (char *)"ScrollBar_GetRange", (PyCFunction
)_wrap_ScrollBar_GetRange
, METH_O
, NULL
},
45430 { (char *)"ScrollBar_IsVertical", (PyCFunction
)_wrap_ScrollBar_IsVertical
, METH_O
, NULL
},
45431 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45432 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45433 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
45434 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit
, METH_VARARGS
, NULL
},
45435 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45436 { (char *)"new_PreSpinButton", (PyCFunction
)_wrap_new_PreSpinButton
, METH_NOARGS
, NULL
},
45437 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45438 { (char *)"SpinButton_GetValue", (PyCFunction
)_wrap_SpinButton_GetValue
, METH_O
, NULL
},
45439 { (char *)"SpinButton_GetMin", (PyCFunction
)_wrap_SpinButton_GetMin
, METH_O
, NULL
},
45440 { (char *)"SpinButton_GetMax", (PyCFunction
)_wrap_SpinButton_GetMax
, METH_O
, NULL
},
45441 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45442 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45443 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45444 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45445 { (char *)"SpinButton_IsVertical", (PyCFunction
)_wrap_SpinButton_IsVertical
, METH_O
, NULL
},
45446 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45447 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
45448 { (char *)"SpinButton_swiginit", SpinButton_swiginit
, METH_VARARGS
, NULL
},
45449 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45450 { (char *)"new_PreSpinCtrl", (PyCFunction
)_wrap_new_PreSpinCtrl
, METH_NOARGS
, NULL
},
45451 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45452 { (char *)"SpinCtrl_GetValue", (PyCFunction
)_wrap_SpinCtrl_GetValue
, METH_O
, NULL
},
45453 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45454 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45455 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45456 { (char *)"SpinCtrl_GetMin", (PyCFunction
)_wrap_SpinCtrl_GetMin
, METH_O
, NULL
},
45457 { (char *)"SpinCtrl_GetMax", (PyCFunction
)_wrap_SpinCtrl_GetMax
, METH_O
, NULL
},
45458 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45459 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45460 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
45461 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit
, METH_VARARGS
, NULL
},
45462 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45463 { (char *)"SpinEvent_GetPosition", (PyCFunction
)_wrap_SpinEvent_GetPosition
, METH_O
, NULL
},
45464 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45465 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
45466 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit
, METH_VARARGS
, NULL
},
45467 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45468 { (char *)"new_PreRadioBox", (PyCFunction
)_wrap_new_PreRadioBox
, METH_NOARGS
, NULL
},
45469 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45470 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45471 { (char *)"RadioBox_GetSelection", (PyCFunction
)_wrap_RadioBox_GetSelection
, METH_O
, NULL
},
45472 { (char *)"RadioBox_GetStringSelection", (PyCFunction
)_wrap_RadioBox_GetStringSelection
, METH_O
, NULL
},
45473 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45474 { (char *)"RadioBox_GetCount", (PyCFunction
)_wrap_RadioBox_GetCount
, METH_O
, NULL
},
45475 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45476 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45477 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45478 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45479 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45480 { (char *)"RadioBox_IsItemEnabled", (PyCFunction
) _wrap_RadioBox_IsItemEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45481 { (char *)"RadioBox_IsItemShown", (PyCFunction
) _wrap_RadioBox_IsItemShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45482 { (char *)"RadioBox_GetColumnCount", (PyCFunction
)_wrap_RadioBox_GetColumnCount
, METH_O
, NULL
},
45483 { (char *)"RadioBox_GetRowCount", (PyCFunction
)_wrap_RadioBox_GetRowCount
, METH_O
, NULL
},
45484 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45485 { (char *)"RadioBox_SetItemToolTip", (PyCFunction
) _wrap_RadioBox_SetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45486 { (char *)"RadioBox_GetItemToolTip", (PyCFunction
) _wrap_RadioBox_GetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45487 { (char *)"RadioBox_SetItemHelpText", (PyCFunction
) _wrap_RadioBox_SetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45488 { (char *)"RadioBox_GetItemHelpText", (PyCFunction
) _wrap_RadioBox_GetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45489 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45490 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
45491 { (char *)"RadioBox_swiginit", RadioBox_swiginit
, METH_VARARGS
, NULL
},
45492 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45493 { (char *)"new_PreRadioButton", (PyCFunction
)_wrap_new_PreRadioButton
, METH_NOARGS
, NULL
},
45494 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45495 { (char *)"RadioButton_GetValue", (PyCFunction
)_wrap_RadioButton_GetValue
, METH_O
, NULL
},
45496 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45497 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45498 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
45499 { (char *)"RadioButton_swiginit", RadioButton_swiginit
, METH_VARARGS
, NULL
},
45500 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45501 { (char *)"new_PreSlider", (PyCFunction
)_wrap_new_PreSlider
, METH_NOARGS
, NULL
},
45502 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45503 { (char *)"Slider_GetValue", (PyCFunction
)_wrap_Slider_GetValue
, METH_O
, NULL
},
45504 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45505 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45506 { (char *)"Slider_GetMin", (PyCFunction
)_wrap_Slider_GetMin
, METH_O
, NULL
},
45507 { (char *)"Slider_GetMax", (PyCFunction
)_wrap_Slider_GetMax
, METH_O
, NULL
},
45508 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45509 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45510 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45511 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45512 { (char *)"Slider_GetLineSize", (PyCFunction
)_wrap_Slider_GetLineSize
, METH_O
, NULL
},
45513 { (char *)"Slider_GetPageSize", (PyCFunction
)_wrap_Slider_GetPageSize
, METH_O
, NULL
},
45514 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45515 { (char *)"Slider_GetThumbLength", (PyCFunction
)_wrap_Slider_GetThumbLength
, METH_O
, NULL
},
45516 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45517 { (char *)"Slider_GetTickFreq", (PyCFunction
)_wrap_Slider_GetTickFreq
, METH_O
, NULL
},
45518 { (char *)"Slider_ClearTicks", (PyCFunction
)_wrap_Slider_ClearTicks
, METH_O
, NULL
},
45519 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45520 { (char *)"Slider_ClearSel", (PyCFunction
)_wrap_Slider_ClearSel
, METH_O
, NULL
},
45521 { (char *)"Slider_GetSelEnd", (PyCFunction
)_wrap_Slider_GetSelEnd
, METH_O
, NULL
},
45522 { (char *)"Slider_GetSelStart", (PyCFunction
)_wrap_Slider_GetSelStart
, METH_O
, NULL
},
45523 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45524 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45525 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
45526 { (char *)"Slider_swiginit", Slider_swiginit
, METH_VARARGS
, NULL
},
45527 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45528 { (char *)"new_PreToggleButton", (PyCFunction
)_wrap_new_PreToggleButton
, METH_NOARGS
, NULL
},
45529 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45530 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45531 { (char *)"ToggleButton_GetValue", (PyCFunction
)_wrap_ToggleButton_GetValue
, METH_O
, NULL
},
45532 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45533 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
45534 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit
, METH_VARARGS
, NULL
},
45535 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
)_wrap_BookCtrlBase_GetPageCount
, METH_O
, NULL
},
45536 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45537 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetCurrentPage
, METH_O
, NULL
},
45538 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
)_wrap_BookCtrlBase_GetSelection
, METH_O
, NULL
},
45539 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45540 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45541 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45542 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45543 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
)_wrap_BookCtrlBase_GetImageList
, METH_O
, NULL
},
45544 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45545 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45546 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45547 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45548 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction
)_wrap_BookCtrlBase_GetInternalBorder
, METH_O
, NULL
},
45549 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction
) _wrap_BookCtrlBase_SetInternalBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45550 { (char *)"BookCtrlBase_IsVertical", (PyCFunction
)_wrap_BookCtrlBase_IsVertical
, METH_O
, NULL
},
45551 { (char *)"BookCtrlBase_SetControlMargin", (PyCFunction
) _wrap_BookCtrlBase_SetControlMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45552 { (char *)"BookCtrlBase_GetControlMargin", (PyCFunction
)_wrap_BookCtrlBase_GetControlMargin
, METH_O
, NULL
},
45553 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_SetFitToCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45554 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetFitToCurrentPage
, METH_O
, NULL
},
45555 { (char *)"BookCtrlBase_GetControlSizer", (PyCFunction
)_wrap_BookCtrlBase_GetControlSizer
, METH_O
, NULL
},
45556 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45557 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45558 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
)_wrap_BookCtrlBase_DeleteAllPages
, METH_O
, NULL
},
45559 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45560 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45561 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45562 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45563 { (char *)"BookCtrlBase_HitTest", (PyCFunction
) _wrap_BookCtrlBase_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45564 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45565 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
45566 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45567 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetSelection
, METH_O
, NULL
},
45568 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45569 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetOldSelection
, METH_O
, NULL
},
45570 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45571 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
45572 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit
, METH_VARARGS
, NULL
},
45573 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45574 { (char *)"new_PreNotebook", (PyCFunction
)_wrap_new_PreNotebook
, METH_NOARGS
, NULL
},
45575 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45576 { (char *)"Notebook_GetRowCount", (PyCFunction
)_wrap_Notebook_GetRowCount
, METH_O
, NULL
},
45577 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45578 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45579 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
)_wrap_Notebook_GetThemeBackgroundColour
, METH_O
, NULL
},
45580 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45581 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
45582 { (char *)"Notebook_swiginit", Notebook_swiginit
, METH_VARARGS
, NULL
},
45583 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45584 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
45585 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit
, METH_VARARGS
, NULL
},
45586 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45587 { (char *)"new_PreListbook", (PyCFunction
)_wrap_new_PreListbook
, METH_NOARGS
, NULL
},
45588 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45589 { (char *)"Listbook_GetListView", (PyCFunction
)_wrap_Listbook_GetListView
, METH_O
, NULL
},
45590 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
45591 { (char *)"Listbook_swiginit", Listbook_swiginit
, METH_VARARGS
, NULL
},
45592 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45593 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
45594 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit
, METH_VARARGS
, NULL
},
45595 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45596 { (char *)"new_PreChoicebook", (PyCFunction
)_wrap_new_PreChoicebook
, METH_NOARGS
, NULL
},
45597 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45598 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
)_wrap_Choicebook_GetChoiceCtrl
, METH_O
, NULL
},
45599 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
45600 { (char *)"Choicebook_swiginit", Choicebook_swiginit
, METH_VARARGS
, NULL
},
45601 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45602 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
45603 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit
, METH_VARARGS
, NULL
},
45604 { (char *)"new_Treebook", (PyCFunction
) _wrap_new_Treebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45605 { (char *)"new_PreTreebook", (PyCFunction
)_wrap_new_PreTreebook
, METH_NOARGS
, NULL
},
45606 { (char *)"Treebook_Create", (PyCFunction
) _wrap_Treebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45607 { (char *)"Treebook_InsertSubPage", (PyCFunction
) _wrap_Treebook_InsertSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45608 { (char *)"Treebook_AddSubPage", (PyCFunction
) _wrap_Treebook_AddSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45609 { (char *)"Treebook_IsNodeExpanded", (PyCFunction
) _wrap_Treebook_IsNodeExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45610 { (char *)"Treebook_ExpandNode", (PyCFunction
) _wrap_Treebook_ExpandNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45611 { (char *)"Treebook_CollapseNode", (PyCFunction
) _wrap_Treebook_CollapseNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45612 { (char *)"Treebook_GetPageParent", (PyCFunction
) _wrap_Treebook_GetPageParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45613 { (char *)"Treebook_GetTreeCtrl", (PyCFunction
)_wrap_Treebook_GetTreeCtrl
, METH_O
, NULL
},
45614 { (char *)"Treebook_swigregister", Treebook_swigregister
, METH_VARARGS
, NULL
},
45615 { (char *)"Treebook_swiginit", Treebook_swiginit
, METH_VARARGS
, NULL
},
45616 { (char *)"new_TreebookEvent", (PyCFunction
) _wrap_new_TreebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45617 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister
, METH_VARARGS
, NULL
},
45618 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit
, METH_VARARGS
, NULL
},
45619 { (char *)"new_Toolbook", (PyCFunction
) _wrap_new_Toolbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45620 { (char *)"new_PreToolbook", (PyCFunction
)_wrap_new_PreToolbook
, METH_NOARGS
, NULL
},
45621 { (char *)"Toolbook_Create", (PyCFunction
) _wrap_Toolbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45622 { (char *)"Toolbook_GetToolBar", (PyCFunction
)_wrap_Toolbook_GetToolBar
, METH_O
, NULL
},
45623 { (char *)"Toolbook_Realize", (PyCFunction
)_wrap_Toolbook_Realize
, METH_O
, NULL
},
45624 { (char *)"Toolbook_swigregister", Toolbook_swigregister
, METH_VARARGS
, NULL
},
45625 { (char *)"Toolbook_swiginit", Toolbook_swiginit
, METH_VARARGS
, NULL
},
45626 { (char *)"new_ToolbookEvent", (PyCFunction
) _wrap_new_ToolbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45627 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister
, METH_VARARGS
, NULL
},
45628 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit
, METH_VARARGS
, NULL
},
45629 { (char *)"ToolBarToolBase_GetId", (PyCFunction
)_wrap_ToolBarToolBase_GetId
, METH_O
, NULL
},
45630 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
)_wrap_ToolBarToolBase_GetControl
, METH_O
, NULL
},
45631 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
)_wrap_ToolBarToolBase_GetToolBar
, METH_O
, NULL
},
45632 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
)_wrap_ToolBarToolBase_IsButton
, METH_O
, NULL
},
45633 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
)_wrap_ToolBarToolBase_IsControl
, METH_O
, NULL
},
45634 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
)_wrap_ToolBarToolBase_IsSeparator
, METH_O
, NULL
},
45635 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
)_wrap_ToolBarToolBase_GetStyle
, METH_O
, NULL
},
45636 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
)_wrap_ToolBarToolBase_GetKind
, METH_O
, NULL
},
45637 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
)_wrap_ToolBarToolBase_IsEnabled
, METH_O
, NULL
},
45638 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
)_wrap_ToolBarToolBase_IsToggled
, METH_O
, NULL
},
45639 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
)_wrap_ToolBarToolBase_CanBeToggled
, METH_O
, NULL
},
45640 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetNormalBitmap
, METH_O
, NULL
},
45641 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetDisabledBitmap
, METH_O
, NULL
},
45642 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetBitmap
, METH_O
, NULL
},
45643 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
)_wrap_ToolBarToolBase_GetLabel
, METH_O
, NULL
},
45644 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetShortHelp
, METH_O
, NULL
},
45645 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetLongHelp
, METH_O
, NULL
},
45646 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45647 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
)_wrap_ToolBarToolBase_Toggle
, METH_O
, NULL
},
45648 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45649 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45650 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45651 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45652 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45653 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45654 { (char *)"ToolBarToolBase_Detach", (PyCFunction
)_wrap_ToolBarToolBase_Detach
, METH_O
, NULL
},
45655 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45656 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
)_wrap_ToolBarToolBase_GetClientData
, METH_O
, NULL
},
45657 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45658 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
45659 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45660 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45661 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45662 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45663 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45664 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45665 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45666 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
)_wrap_ToolBarBase_AddSeparator
, METH_O
, NULL
},
45667 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45668 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45669 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45670 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45671 { (char *)"ToolBarBase_ClearTools", (PyCFunction
)_wrap_ToolBarBase_ClearTools
, METH_O
, NULL
},
45672 { (char *)"ToolBarBase_Realize", (PyCFunction
)_wrap_ToolBarBase_Realize
, METH_O
, NULL
},
45673 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45674 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45675 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45676 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45677 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45678 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45679 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45680 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45681 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45682 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45683 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45684 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45685 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45686 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45687 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45688 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45689 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
)_wrap_ToolBarBase_GetToolMargins
, METH_O
, NULL
},
45690 { (char *)"ToolBarBase_GetMargins", (PyCFunction
)_wrap_ToolBarBase_GetMargins
, METH_O
, NULL
},
45691 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
)_wrap_ToolBarBase_GetToolPacking
, METH_O
, NULL
},
45692 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
)_wrap_ToolBarBase_GetToolSeparation
, METH_O
, NULL
},
45693 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45694 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45695 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
)_wrap_ToolBarBase_GetMaxRows
, METH_O
, NULL
},
45696 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
)_wrap_ToolBarBase_GetMaxCols
, METH_O
, NULL
},
45697 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45698 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
)_wrap_ToolBarBase_GetToolBitmapSize
, METH_O
, NULL
},
45699 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
)_wrap_ToolBarBase_GetToolSize
, METH_O
, NULL
},
45700 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45701 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45702 { (char *)"ToolBarBase_IsVertical", (PyCFunction
)_wrap_ToolBarBase_IsVertical
, METH_O
, NULL
},
45703 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction
)_wrap_ToolBarBase_GetToolsCount
, METH_O
, NULL
},
45704 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
45705 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45706 { (char *)"new_PreToolBar", (PyCFunction
)_wrap_new_PreToolBar
, METH_NOARGS
, NULL
},
45707 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45708 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45709 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
45710 { (char *)"ToolBar_swiginit", ToolBar_swiginit
, METH_VARARGS
, NULL
},
45711 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45712 { (char *)"delete_ListItemAttr", (PyCFunction
)_wrap_delete_ListItemAttr
, METH_O
, NULL
},
45713 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45714 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45715 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45716 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
)_wrap_ListItemAttr_HasTextColour
, METH_O
, NULL
},
45717 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_HasBackgroundColour
, METH_O
, NULL
},
45718 { (char *)"ListItemAttr_HasFont", (PyCFunction
)_wrap_ListItemAttr_HasFont
, METH_O
, NULL
},
45719 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
)_wrap_ListItemAttr_GetTextColour
, METH_O
, NULL
},
45720 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_GetBackgroundColour
, METH_O
, NULL
},
45721 { (char *)"ListItemAttr_GetFont", (PyCFunction
)_wrap_ListItemAttr_GetFont
, METH_O
, NULL
},
45722 { (char *)"ListItemAttr_AssignFrom", (PyCFunction
) _wrap_ListItemAttr_AssignFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45723 { (char *)"ListItemAttr_Destroy", (PyCFunction
)_wrap_ListItemAttr_Destroy
, METH_O
, NULL
},
45724 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
45725 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit
, METH_VARARGS
, NULL
},
45726 { (char *)"new_ListItem", (PyCFunction
)_wrap_new_ListItem
, METH_NOARGS
, NULL
},
45727 { (char *)"delete_ListItem", (PyCFunction
)_wrap_delete_ListItem
, METH_O
, NULL
},
45728 { (char *)"ListItem_Clear", (PyCFunction
)_wrap_ListItem_Clear
, METH_O
, NULL
},
45729 { (char *)"ListItem_ClearAttributes", (PyCFunction
)_wrap_ListItem_ClearAttributes
, METH_O
, NULL
},
45730 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45731 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45732 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45733 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45734 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45735 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45736 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45737 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45738 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45739 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45740 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45741 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45742 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45743 { (char *)"ListItem_GetMask", (PyCFunction
)_wrap_ListItem_GetMask
, METH_O
, NULL
},
45744 { (char *)"ListItem_GetId", (PyCFunction
)_wrap_ListItem_GetId
, METH_O
, NULL
},
45745 { (char *)"ListItem_GetColumn", (PyCFunction
)_wrap_ListItem_GetColumn
, METH_O
, NULL
},
45746 { (char *)"ListItem_GetState", (PyCFunction
)_wrap_ListItem_GetState
, METH_O
, NULL
},
45747 { (char *)"ListItem_GetText", (PyCFunction
)_wrap_ListItem_GetText
, METH_O
, NULL
},
45748 { (char *)"ListItem_GetImage", (PyCFunction
)_wrap_ListItem_GetImage
, METH_O
, NULL
},
45749 { (char *)"ListItem_GetData", (PyCFunction
)_wrap_ListItem_GetData
, METH_O
, NULL
},
45750 { (char *)"ListItem_GetWidth", (PyCFunction
)_wrap_ListItem_GetWidth
, METH_O
, NULL
},
45751 { (char *)"ListItem_GetAlign", (PyCFunction
)_wrap_ListItem_GetAlign
, METH_O
, NULL
},
45752 { (char *)"ListItem_GetAttributes", (PyCFunction
)_wrap_ListItem_GetAttributes
, METH_O
, NULL
},
45753 { (char *)"ListItem_HasAttributes", (PyCFunction
)_wrap_ListItem_HasAttributes
, METH_O
, NULL
},
45754 { (char *)"ListItem_GetTextColour", (PyCFunction
)_wrap_ListItem_GetTextColour
, METH_O
, NULL
},
45755 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
)_wrap_ListItem_GetBackgroundColour
, METH_O
, NULL
},
45756 { (char *)"ListItem_GetFont", (PyCFunction
)_wrap_ListItem_GetFont
, METH_O
, NULL
},
45757 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set
, METH_VARARGS
, NULL
},
45758 { (char *)"ListItem_m_mask_get", (PyCFunction
)_wrap_ListItem_m_mask_get
, METH_O
, NULL
},
45759 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set
, METH_VARARGS
, NULL
},
45760 { (char *)"ListItem_m_itemId_get", (PyCFunction
)_wrap_ListItem_m_itemId_get
, METH_O
, NULL
},
45761 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set
, METH_VARARGS
, NULL
},
45762 { (char *)"ListItem_m_col_get", (PyCFunction
)_wrap_ListItem_m_col_get
, METH_O
, NULL
},
45763 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set
, METH_VARARGS
, NULL
},
45764 { (char *)"ListItem_m_state_get", (PyCFunction
)_wrap_ListItem_m_state_get
, METH_O
, NULL
},
45765 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set
, METH_VARARGS
, NULL
},
45766 { (char *)"ListItem_m_stateMask_get", (PyCFunction
)_wrap_ListItem_m_stateMask_get
, METH_O
, NULL
},
45767 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set
, METH_VARARGS
, NULL
},
45768 { (char *)"ListItem_m_text_get", (PyCFunction
)_wrap_ListItem_m_text_get
, METH_O
, NULL
},
45769 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set
, METH_VARARGS
, NULL
},
45770 { (char *)"ListItem_m_image_get", (PyCFunction
)_wrap_ListItem_m_image_get
, METH_O
, NULL
},
45771 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set
, METH_VARARGS
, NULL
},
45772 { (char *)"ListItem_m_data_get", (PyCFunction
)_wrap_ListItem_m_data_get
, METH_O
, NULL
},
45773 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set
, METH_VARARGS
, NULL
},
45774 { (char *)"ListItem_m_format_get", (PyCFunction
)_wrap_ListItem_m_format_get
, METH_O
, NULL
},
45775 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set
, METH_VARARGS
, NULL
},
45776 { (char *)"ListItem_m_width_get", (PyCFunction
)_wrap_ListItem_m_width_get
, METH_O
, NULL
},
45777 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
45778 { (char *)"ListItem_swiginit", ListItem_swiginit
, METH_VARARGS
, NULL
},
45779 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45780 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set
, METH_VARARGS
, NULL
},
45781 { (char *)"ListEvent_m_code_get", (PyCFunction
)_wrap_ListEvent_m_code_get
, METH_O
, NULL
},
45782 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
, NULL
},
45783 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
)_wrap_ListEvent_m_oldItemIndex_get
, METH_O
, NULL
},
45784 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
, NULL
},
45785 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
)_wrap_ListEvent_m_itemIndex_get
, METH_O
, NULL
},
45786 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set
, METH_VARARGS
, NULL
},
45787 { (char *)"ListEvent_m_col_get", (PyCFunction
)_wrap_ListEvent_m_col_get
, METH_O
, NULL
},
45788 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
, NULL
},
45789 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
)_wrap_ListEvent_m_pointDrag_get
, METH_O
, NULL
},
45790 { (char *)"ListEvent_m_item_get", (PyCFunction
)_wrap_ListEvent_m_item_get
, METH_O
, NULL
},
45791 { (char *)"ListEvent_GetKeyCode", (PyCFunction
)_wrap_ListEvent_GetKeyCode
, METH_O
, NULL
},
45792 { (char *)"ListEvent_GetIndex", (PyCFunction
)_wrap_ListEvent_GetIndex
, METH_O
, NULL
},
45793 { (char *)"ListEvent_GetColumn", (PyCFunction
)_wrap_ListEvent_GetColumn
, METH_O
, NULL
},
45794 { (char *)"ListEvent_GetPoint", (PyCFunction
)_wrap_ListEvent_GetPoint
, METH_O
, NULL
},
45795 { (char *)"ListEvent_GetLabel", (PyCFunction
)_wrap_ListEvent_GetLabel
, METH_O
, NULL
},
45796 { (char *)"ListEvent_GetText", (PyCFunction
)_wrap_ListEvent_GetText
, METH_O
, NULL
},
45797 { (char *)"ListEvent_GetImage", (PyCFunction
)_wrap_ListEvent_GetImage
, METH_O
, NULL
},
45798 { (char *)"ListEvent_GetData", (PyCFunction
)_wrap_ListEvent_GetData
, METH_O
, NULL
},
45799 { (char *)"ListEvent_GetMask", (PyCFunction
)_wrap_ListEvent_GetMask
, METH_O
, NULL
},
45800 { (char *)"ListEvent_GetItem", (PyCFunction
)_wrap_ListEvent_GetItem
, METH_O
, NULL
},
45801 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
)_wrap_ListEvent_GetCacheFrom
, METH_O
, NULL
},
45802 { (char *)"ListEvent_GetCacheTo", (PyCFunction
)_wrap_ListEvent_GetCacheTo
, METH_O
, NULL
},
45803 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
)_wrap_ListEvent_IsEditCancelled
, METH_O
, NULL
},
45804 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45805 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
45806 { (char *)"ListEvent_swiginit", ListEvent_swiginit
, METH_VARARGS
, NULL
},
45807 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45808 { (char *)"new_PreListCtrl", (PyCFunction
)_wrap_new_PreListCtrl
, METH_NOARGS
, NULL
},
45809 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45810 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45811 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45812 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45813 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45814 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45815 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
)_wrap_ListCtrl_GetCountPerPage
, METH_O
, NULL
},
45816 { (char *)"ListCtrl_GetViewRect", (PyCFunction
)_wrap_ListCtrl_GetViewRect
, METH_O
, NULL
},
45817 { (char *)"ListCtrl_GetEditControl", (PyCFunction
)_wrap_ListCtrl_GetEditControl
, METH_O
, NULL
},
45818 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45819 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45820 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45821 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45822 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45823 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45824 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction
) _wrap_ListCtrl_SetItemColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45825 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45826 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45827 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45828 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45829 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45830 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45831 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45832 { (char *)"ListCtrl_GetItemCount", (PyCFunction
)_wrap_ListCtrl_GetItemCount
, METH_O
, NULL
},
45833 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
)_wrap_ListCtrl_GetColumnCount
, METH_O
, NULL
},
45834 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
)_wrap_ListCtrl_GetItemSpacing
, METH_O
, NULL
},
45835 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45836 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
)_wrap_ListCtrl_GetSelectedItemCount
, METH_O
, NULL
},
45837 { (char *)"ListCtrl_GetTextColour", (PyCFunction
)_wrap_ListCtrl_GetTextColour
, METH_O
, NULL
},
45838 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45839 { (char *)"ListCtrl_GetTopItem", (PyCFunction
)_wrap_ListCtrl_GetTopItem
, METH_O
, NULL
},
45840 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45841 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45842 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45843 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45844 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45845 { (char *)"ListCtrl_InReportView", (PyCFunction
)_wrap_ListCtrl_InReportView
, METH_O
, NULL
},
45846 { (char *)"ListCtrl_IsVirtual", (PyCFunction
)_wrap_ListCtrl_IsVirtual
, METH_O
, NULL
},
45847 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45848 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45849 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45850 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45851 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
)_wrap_ListCtrl_DeleteAllItems
, METH_O
, NULL
},
45852 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45853 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
)_wrap_ListCtrl_DeleteAllColumns
, METH_O
, NULL
},
45854 { (char *)"ListCtrl_ClearAll", (PyCFunction
)_wrap_ListCtrl_ClearAll
, METH_O
, NULL
},
45855 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45856 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45857 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45858 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45859 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45860 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45861 { (char *)"ListCtrl_HitTestSubItem", (PyCFunction
) _wrap_ListCtrl_HitTestSubItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45862 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45863 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45864 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45865 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45866 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45867 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45868 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45869 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45870 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45871 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45872 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45873 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45874 { (char *)"ListCtrl_SetItemFont", (PyCFunction
) _wrap_ListCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45875 { (char *)"ListCtrl_GetItemFont", (PyCFunction
) _wrap_ListCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45876 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45877 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
)_wrap_ListCtrl_GetMainWindow
, METH_O
, NULL
},
45878 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45879 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
45880 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit
, METH_VARARGS
, NULL
},
45881 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45882 { (char *)"new_PreListView", (PyCFunction
)_wrap_new_PreListView
, METH_NOARGS
, NULL
},
45883 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45884 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45885 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45886 { (char *)"ListView_GetFocusedItem", (PyCFunction
)_wrap_ListView_GetFocusedItem
, METH_O
, NULL
},
45887 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45888 { (char *)"ListView_GetFirstSelected", (PyCFunction
)_wrap_ListView_GetFirstSelected
, METH_O
, NULL
},
45889 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45890 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45891 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45892 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
45893 { (char *)"ListView_swiginit", ListView_swiginit
, METH_VARARGS
, NULL
},
45894 { (char *)"new_TreeItemId", (PyCFunction
)_wrap_new_TreeItemId
, METH_NOARGS
, NULL
},
45895 { (char *)"delete_TreeItemId", (PyCFunction
)_wrap_delete_TreeItemId
, METH_O
, NULL
},
45896 { (char *)"TreeItemId_IsOk", (PyCFunction
)_wrap_TreeItemId_IsOk
, METH_O
, NULL
},
45897 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45898 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45899 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
, NULL
},
45900 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
)_wrap_TreeItemId_m_pItem_get
, METH_O
, NULL
},
45901 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
45902 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit
, METH_VARARGS
, NULL
},
45903 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45904 { (char *)"delete_TreeItemData", (PyCFunction
)_wrap_delete_TreeItemData
, METH_O
, NULL
},
45905 { (char *)"TreeItemData_GetData", (PyCFunction
)_wrap_TreeItemData_GetData
, METH_O
, NULL
},
45906 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45907 { (char *)"TreeItemData_GetId", (PyCFunction
)_wrap_TreeItemData_GetId
, METH_O
, NULL
},
45908 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45909 { (char *)"TreeItemData_Destroy", (PyCFunction
)_wrap_TreeItemData_Destroy
, METH_O
, NULL
},
45910 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
45911 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit
, METH_VARARGS
, NULL
},
45912 { (char *)"new_TreeEvent", _wrap_new_TreeEvent
, METH_VARARGS
, NULL
},
45913 { (char *)"TreeEvent_GetItem", (PyCFunction
)_wrap_TreeEvent_GetItem
, METH_O
, NULL
},
45914 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45915 { (char *)"TreeEvent_GetOldItem", (PyCFunction
)_wrap_TreeEvent_GetOldItem
, METH_O
, NULL
},
45916 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45917 { (char *)"TreeEvent_GetPoint", (PyCFunction
)_wrap_TreeEvent_GetPoint
, METH_O
, NULL
},
45918 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45919 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
)_wrap_TreeEvent_GetKeyEvent
, METH_O
, NULL
},
45920 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
)_wrap_TreeEvent_GetKeyCode
, METH_O
, NULL
},
45921 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45922 { (char *)"TreeEvent_GetLabel", (PyCFunction
)_wrap_TreeEvent_GetLabel
, METH_O
, NULL
},
45923 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45924 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
)_wrap_TreeEvent_IsEditCancelled
, METH_O
, NULL
},
45925 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45926 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45927 { (char *)"TreeEvent_GetToolTip", (PyCFunction
)_wrap_TreeEvent_GetToolTip
, METH_O
, NULL
},
45928 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
45929 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit
, METH_VARARGS
, NULL
},
45930 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45931 { (char *)"new_PreTreeCtrl", (PyCFunction
)_wrap_new_PreTreeCtrl
, METH_NOARGS
, NULL
},
45932 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45933 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45934 { (char *)"TreeCtrl_GetCount", (PyCFunction
)_wrap_TreeCtrl_GetCount
, METH_O
, NULL
},
45935 { (char *)"TreeCtrl_GetIndent", (PyCFunction
)_wrap_TreeCtrl_GetIndent
, METH_O
, NULL
},
45936 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45937 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
)_wrap_TreeCtrl_GetSpacing
, METH_O
, NULL
},
45938 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45939 { (char *)"TreeCtrl_GetImageList", (PyCFunction
)_wrap_TreeCtrl_GetImageList
, METH_O
, NULL
},
45940 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
)_wrap_TreeCtrl_GetStateImageList
, METH_O
, NULL
},
45941 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45942 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45943 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45944 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45945 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45946 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45947 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45948 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45949 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45950 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45951 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45952 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45953 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45954 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45955 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45956 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45957 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45958 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45959 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45960 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45961 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45962 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45963 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45964 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45965 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45966 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45967 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45968 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
)_wrap_TreeCtrl_GetRootItem
, METH_O
, NULL
},
45969 { (char *)"TreeCtrl_GetSelection", (PyCFunction
)_wrap_TreeCtrl_GetSelection
, METH_O
, NULL
},
45970 { (char *)"TreeCtrl_GetSelections", (PyCFunction
)_wrap_TreeCtrl_GetSelections
, METH_O
, NULL
},
45971 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45972 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45973 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45974 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45975 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45976 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45977 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
)_wrap_TreeCtrl_GetFirstVisibleItem
, METH_O
, NULL
},
45978 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45979 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45980 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45981 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45982 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45983 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45984 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45985 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45986 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45987 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
)_wrap_TreeCtrl_DeleteAllItems
, METH_O
, NULL
},
45988 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45989 { (char *)"TreeCtrl_ExpandAllChildren", (PyCFunction
) _wrap_TreeCtrl_ExpandAllChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45990 { (char *)"TreeCtrl_ExpandAll", (PyCFunction
)_wrap_TreeCtrl_ExpandAll
, METH_O
, NULL
},
45991 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45992 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45993 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45994 { (char *)"TreeCtrl_Unselect", (PyCFunction
)_wrap_TreeCtrl_Unselect
, METH_O
, NULL
},
45995 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45996 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
)_wrap_TreeCtrl_UnselectAll
, METH_O
, NULL
},
45997 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45998 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45999 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46000 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46001 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46002 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
)_wrap_TreeCtrl_GetEditControl
, METH_O
, NULL
},
46003 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46004 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46005 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46006 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46007 { (char *)"TreeCtrl_SetQuickBestSize", (PyCFunction
) _wrap_TreeCtrl_SetQuickBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46008 { (char *)"TreeCtrl_GetQuickBestSize", (PyCFunction
)_wrap_TreeCtrl_GetQuickBestSize
, METH_O
, NULL
},
46009 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
46010 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit
, METH_VARARGS
, NULL
},
46011 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46012 { (char *)"new_PreGenericDirCtrl", (PyCFunction
)_wrap_new_PreGenericDirCtrl
, METH_NOARGS
, NULL
},
46013 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46014 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46015 { (char *)"GenericDirCtrl_CollapsePath", (PyCFunction
) _wrap_GenericDirCtrl_CollapsePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46016 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
)_wrap_GenericDirCtrl_GetDefaultPath
, METH_O
, NULL
},
46017 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46018 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
)_wrap_GenericDirCtrl_GetPath
, METH_O
, NULL
},
46019 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
)_wrap_GenericDirCtrl_GetFilePath
, METH_O
, NULL
},
46020 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46021 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46022 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
)_wrap_GenericDirCtrl_GetShowHidden
, METH_O
, NULL
},
46023 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
)_wrap_GenericDirCtrl_GetFilter
, METH_O
, NULL
},
46024 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46025 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterIndex
, METH_O
, NULL
},
46026 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46027 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
)_wrap_GenericDirCtrl_GetRootId
, METH_O
, NULL
},
46028 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetTreeCtrl
, METH_O
, NULL
},
46029 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterListCtrl
, METH_O
, NULL
},
46030 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46031 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
)_wrap_GenericDirCtrl_DoResize
, METH_O
, NULL
},
46032 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
)_wrap_GenericDirCtrl_ReCreateTree
, METH_O
, NULL
},
46033 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
46034 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit
, METH_VARARGS
, NULL
},
46035 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46036 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
)_wrap_new_PreDirFilterListCtrl
, METH_NOARGS
, NULL
},
46037 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46038 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46039 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
46040 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit
, METH_VARARGS
, NULL
},
46041 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46042 { (char *)"new_PrePyControl", (PyCFunction
)_wrap_new_PrePyControl
, METH_NOARGS
, NULL
},
46043 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46044 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46045 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46046 { (char *)"PyControl_DoMoveWindow", (PyCFunction
) _wrap_PyControl_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46047 { (char *)"PyControl_DoSetSize", (PyCFunction
) _wrap_PyControl_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46048 { (char *)"PyControl_DoSetClientSize", (PyCFunction
) _wrap_PyControl_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46049 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46050 { (char *)"PyControl_DoGetSize", (PyCFunction
)_wrap_PyControl_DoGetSize
, METH_O
, NULL
},
46051 { (char *)"PyControl_DoGetClientSize", (PyCFunction
)_wrap_PyControl_DoGetClientSize
, METH_O
, NULL
},
46052 { (char *)"PyControl_DoGetPosition", (PyCFunction
)_wrap_PyControl_DoGetPosition
, METH_O
, NULL
},
46053 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction
)_wrap_PyControl_DoGetVirtualSize
, METH_O
, NULL
},
46054 { (char *)"PyControl_DoGetBestSize", (PyCFunction
)_wrap_PyControl_DoGetBestSize
, METH_O
, NULL
},
46055 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction
)_wrap_PyControl_GetDefaultAttributes
, METH_O
, NULL
},
46056 { (char *)"PyControl_OnInternalIdle", (PyCFunction
)_wrap_PyControl_OnInternalIdle
, METH_O
, NULL
},
46057 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
46058 { (char *)"PyControl_swiginit", PyControl_swiginit
, METH_VARARGS
, NULL
},
46059 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46060 { (char *)"HelpEvent_GetPosition", (PyCFunction
)_wrap_HelpEvent_GetPosition
, METH_O
, NULL
},
46061 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46062 { (char *)"HelpEvent_GetLink", (PyCFunction
)_wrap_HelpEvent_GetLink
, METH_O
, NULL
},
46063 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46064 { (char *)"HelpEvent_GetTarget", (PyCFunction
)_wrap_HelpEvent_GetTarget
, METH_O
, NULL
},
46065 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46066 { (char *)"HelpEvent_GetOrigin", (PyCFunction
)_wrap_HelpEvent_GetOrigin
, METH_O
, NULL
},
46067 { (char *)"HelpEvent_SetOrigin", (PyCFunction
) _wrap_HelpEvent_SetOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46068 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
46069 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit
, METH_VARARGS
, NULL
},
46070 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46071 { (char *)"delete_ContextHelp", (PyCFunction
)_wrap_delete_ContextHelp
, METH_O
, NULL
},
46072 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46073 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
)_wrap_ContextHelp_EndContextHelp
, METH_O
, NULL
},
46074 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
46075 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit
, METH_VARARGS
, NULL
},
46076 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46077 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
46078 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit
, METH_VARARGS
, NULL
},
46079 { (char *)"delete_HelpProvider", (PyCFunction
)_wrap_delete_HelpProvider
, METH_O
, NULL
},
46080 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46081 { (char *)"HelpProvider_Get", (PyCFunction
)_wrap_HelpProvider_Get
, METH_NOARGS
, NULL
},
46082 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46083 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46084 { (char *)"HelpProvider_ShowHelpAtPoint", (PyCFunction
) _wrap_HelpProvider_ShowHelpAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46085 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46086 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46087 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46088 { (char *)"HelpProvider_Destroy", (PyCFunction
)_wrap_HelpProvider_Destroy
, METH_O
, NULL
},
46089 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
46090 { (char *)"new_SimpleHelpProvider", (PyCFunction
)_wrap_new_SimpleHelpProvider
, METH_NOARGS
, NULL
},
46091 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
46092 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit
, METH_VARARGS
, NULL
},
46093 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46094 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46095 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46096 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46097 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46098 { (char *)"delete_DragImage", (PyCFunction
)_wrap_delete_DragImage
, METH_O
, NULL
},
46099 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46100 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46101 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46102 { (char *)"DragImage_EndDrag", (PyCFunction
)_wrap_DragImage_EndDrag
, METH_O
, NULL
},
46103 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46104 { (char *)"DragImage_Show", (PyCFunction
)_wrap_DragImage_Show
, METH_O
, NULL
},
46105 { (char *)"DragImage_Hide", (PyCFunction
)_wrap_DragImage_Hide
, METH_O
, NULL
},
46106 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46107 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46108 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46109 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46110 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
46111 { (char *)"DragImage_swiginit", DragImage_swiginit
, METH_VARARGS
, NULL
},
46112 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46113 { (char *)"new_PreDatePickerCtrl", (PyCFunction
)_wrap_new_PreDatePickerCtrl
, METH_NOARGS
, NULL
},
46114 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46115 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46116 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
)_wrap_DatePickerCtrl_GetValue
, METH_O
, NULL
},
46117 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46118 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetLowerLimit
, METH_O
, NULL
},
46119 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetUpperLimit
, METH_O
, NULL
},
46120 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46121 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46122 { (char *)"new_HyperlinkCtrl", (PyCFunction
) _wrap_new_HyperlinkCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46123 { (char *)"new_PreHyperlinkCtrl", (PyCFunction
)_wrap_new_PreHyperlinkCtrl
, METH_NOARGS
, NULL
},
46124 { (char *)"HyperlinkCtrl_Create", (PyCFunction
) _wrap_HyperlinkCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46125 { (char *)"HyperlinkCtrl_GetHoverColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetHoverColour
, METH_O
, NULL
},
46126 { (char *)"HyperlinkCtrl_SetHoverColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetHoverColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46127 { (char *)"HyperlinkCtrl_GetNormalColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetNormalColour
, METH_O
, NULL
},
46128 { (char *)"HyperlinkCtrl_SetNormalColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetNormalColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46129 { (char *)"HyperlinkCtrl_GetVisitedColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisitedColour
, METH_O
, NULL
},
46130 { (char *)"HyperlinkCtrl_SetVisitedColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisitedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46131 { (char *)"HyperlinkCtrl_GetURL", (PyCFunction
)_wrap_HyperlinkCtrl_GetURL
, METH_O
, NULL
},
46132 { (char *)"HyperlinkCtrl_SetURL", (PyCFunction
) _wrap_HyperlinkCtrl_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46133 { (char *)"HyperlinkCtrl_SetVisited", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisited
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46134 { (char *)"HyperlinkCtrl_GetVisited", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisited
, METH_O
, NULL
},
46135 { (char *)"HyperlinkCtrl_swigregister", HyperlinkCtrl_swigregister
, METH_VARARGS
, NULL
},
46136 { (char *)"HyperlinkCtrl_swiginit", HyperlinkCtrl_swiginit
, METH_VARARGS
, NULL
},
46137 { (char *)"new_HyperlinkEvent", (PyCFunction
) _wrap_new_HyperlinkEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46138 { (char *)"HyperlinkEvent_GetURL", (PyCFunction
)_wrap_HyperlinkEvent_GetURL
, METH_O
, NULL
},
46139 { (char *)"HyperlinkEvent_SetURL", (PyCFunction
) _wrap_HyperlinkEvent_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46140 { (char *)"HyperlinkEvent_swigregister", HyperlinkEvent_swigregister
, METH_VARARGS
, NULL
},
46141 { (char *)"HyperlinkEvent_swiginit", HyperlinkEvent_swiginit
, METH_VARARGS
, NULL
},
46142 { (char *)"PickerBase_CreateBase", (PyCFunction
) _wrap_PickerBase_CreateBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46143 { (char *)"PickerBase_SetInternalMargin", (PyCFunction
) _wrap_PickerBase_SetInternalMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46144 { (char *)"PickerBase_GetInternalMargin", (PyCFunction
)_wrap_PickerBase_GetInternalMargin
, METH_O
, NULL
},
46145 { (char *)"PickerBase_SetTextCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetTextCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46146 { (char *)"PickerBase_GetTextCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetTextCtrlProportion
, METH_O
, NULL
},
46147 { (char *)"PickerBase_SetPickerCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46148 { (char *)"PickerBase_GetPickerCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetPickerCtrlProportion
, METH_O
, NULL
},
46149 { (char *)"PickerBase_IsTextCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsTextCtrlGrowable
, METH_O
, NULL
},
46150 { (char *)"PickerBase_SetTextCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetTextCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46151 { (char *)"PickerBase_IsPickerCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsPickerCtrlGrowable
, METH_O
, NULL
},
46152 { (char *)"PickerBase_SetPickerCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46153 { (char *)"PickerBase_HasTextCtrl", (PyCFunction
)_wrap_PickerBase_HasTextCtrl
, METH_O
, NULL
},
46154 { (char *)"PickerBase_GetTextCtrl", (PyCFunction
)_wrap_PickerBase_GetTextCtrl
, METH_O
, NULL
},
46155 { (char *)"PickerBase_GetPickerCtrl", (PyCFunction
)_wrap_PickerBase_GetPickerCtrl
, METH_O
, NULL
},
46156 { (char *)"PickerBase_swigregister", PickerBase_swigregister
, METH_VARARGS
, NULL
},
46157 { (char *)"new_ColourPickerCtrl", (PyCFunction
) _wrap_new_ColourPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46158 { (char *)"new_PreColourPickerCtrl", (PyCFunction
)_wrap_new_PreColourPickerCtrl
, METH_NOARGS
, NULL
},
46159 { (char *)"ColourPickerCtrl_Create", (PyCFunction
) _wrap_ColourPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46160 { (char *)"ColourPickerCtrl_GetColour", (PyCFunction
)_wrap_ColourPickerCtrl_GetColour
, METH_O
, NULL
},
46161 { (char *)"ColourPickerCtrl_SetColour", (PyCFunction
) _wrap_ColourPickerCtrl_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46162 { (char *)"ColourPickerCtrl_swigregister", ColourPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46163 { (char *)"ColourPickerCtrl_swiginit", ColourPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46164 { (char *)"new_ColourPickerEvent", (PyCFunction
) _wrap_new_ColourPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46165 { (char *)"ColourPickerEvent_GetColour", (PyCFunction
)_wrap_ColourPickerEvent_GetColour
, METH_O
, NULL
},
46166 { (char *)"ColourPickerEvent_SetColour", (PyCFunction
) _wrap_ColourPickerEvent_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46167 { (char *)"ColourPickerEvent_swigregister", ColourPickerEvent_swigregister
, METH_VARARGS
, NULL
},
46168 { (char *)"ColourPickerEvent_swiginit", ColourPickerEvent_swiginit
, METH_VARARGS
, NULL
},
46169 { (char *)"new_FilePickerCtrl", (PyCFunction
) _wrap_new_FilePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46170 { (char *)"new_PreFilePickerCtrl", (PyCFunction
)_wrap_new_PreFilePickerCtrl
, METH_NOARGS
, NULL
},
46171 { (char *)"FilePickerCtrl_Create", (PyCFunction
) _wrap_FilePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46172 { (char *)"FilePickerCtrl_GetPath", (PyCFunction
)_wrap_FilePickerCtrl_GetPath
, METH_O
, NULL
},
46173 { (char *)"FilePickerCtrl_SetPath", (PyCFunction
) _wrap_FilePickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46174 { (char *)"FilePickerCtrl_CheckPath", (PyCFunction
) _wrap_FilePickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46175 { (char *)"FilePickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_FilePickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
46176 { (char *)"FilePickerCtrl_swigregister", FilePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46177 { (char *)"FilePickerCtrl_swiginit", FilePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46178 { (char *)"new_DirPickerCtrl", (PyCFunction
) _wrap_new_DirPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46179 { (char *)"new_PreDirPickerCtrl", (PyCFunction
)_wrap_new_PreDirPickerCtrl
, METH_NOARGS
, NULL
},
46180 { (char *)"DirPickerCtrl_Create", (PyCFunction
) _wrap_DirPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46181 { (char *)"DirPickerCtrl_GetPath", (PyCFunction
)_wrap_DirPickerCtrl_GetPath
, METH_O
, NULL
},
46182 { (char *)"DirPickerCtrl_SetPath", (PyCFunction
) _wrap_DirPickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46183 { (char *)"DirPickerCtrl_CheckPath", (PyCFunction
) _wrap_DirPickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46184 { (char *)"DirPickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_DirPickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
46185 { (char *)"DirPickerCtrl_swigregister", DirPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46186 { (char *)"DirPickerCtrl_swiginit", DirPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46187 { (char *)"new_FileDirPickerEvent", (PyCFunction
) _wrap_new_FileDirPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46188 { (char *)"FileDirPickerEvent_GetPath", (PyCFunction
)_wrap_FileDirPickerEvent_GetPath
, METH_O
, NULL
},
46189 { (char *)"FileDirPickerEvent_SetPath", (PyCFunction
) _wrap_FileDirPickerEvent_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46190 { (char *)"FileDirPickerEvent_swigregister", FileDirPickerEvent_swigregister
, METH_VARARGS
, NULL
},
46191 { (char *)"FileDirPickerEvent_swiginit", FileDirPickerEvent_swiginit
, METH_VARARGS
, NULL
},
46192 { (char *)"new_FontPickerCtrl", (PyCFunction
) _wrap_new_FontPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46193 { (char *)"new_PreFontPickerCtrl", (PyCFunction
)_wrap_new_PreFontPickerCtrl
, METH_NOARGS
, NULL
},
46194 { (char *)"FontPickerCtrl_Create", (PyCFunction
) _wrap_FontPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46195 { (char *)"FontPickerCtrl_GetSelectedFont", (PyCFunction
)_wrap_FontPickerCtrl_GetSelectedFont
, METH_O
, NULL
},
46196 { (char *)"FontPickerCtrl_SetSelectedFont", (PyCFunction
) _wrap_FontPickerCtrl_SetSelectedFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46197 { (char *)"FontPickerCtrl_SetMaxPointSize", (PyCFunction
) _wrap_FontPickerCtrl_SetMaxPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46198 { (char *)"FontPickerCtrl_GetMaxPointSize", (PyCFunction
)_wrap_FontPickerCtrl_GetMaxPointSize
, METH_O
, NULL
},
46199 { (char *)"FontPickerCtrl_swigregister", FontPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46200 { (char *)"FontPickerCtrl_swiginit", FontPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46201 { (char *)"new_FontPickerEvent", (PyCFunction
) _wrap_new_FontPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46202 { (char *)"FontPickerEvent_GetFont", (PyCFunction
)_wrap_FontPickerEvent_GetFont
, METH_O
, NULL
},
46203 { (char *)"FontPickerEvent_SetFont", (PyCFunction
) _wrap_FontPickerEvent_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46204 { (char *)"FontPickerEvent_swigregister", FontPickerEvent_swigregister
, METH_VARARGS
, NULL
},
46205 { (char *)"FontPickerEvent_swiginit", FontPickerEvent_swiginit
, METH_VARARGS
, NULL
},
46206 { NULL
, NULL
, 0, NULL
}
46210 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
46212 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
46213 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46215 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
46216 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
46218 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
46219 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
46221 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
46222 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
46224 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
46225 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
46227 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
46228 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
46230 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
46231 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
46233 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
46234 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
46236 static void *_p_wxColourPickerEventTo_p_wxEvent(void *x
) {
46237 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
46239 static void *_p_wxFileDirPickerEventTo_p_wxEvent(void *x
) {
46240 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
46242 static void *_p_wxFontPickerEventTo_p_wxEvent(void *x
) {
46243 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
46245 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
46246 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
46248 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
46249 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
46251 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
46252 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
46254 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
46255 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46257 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
46258 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
46260 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
46261 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
46263 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
46264 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
46266 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
46267 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
46269 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
46270 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
46272 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
46273 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
46275 static void *_p_wxTreebookEventTo_p_wxEvent(void *x
) {
46276 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
46278 static void *_p_wxToolbookEventTo_p_wxEvent(void *x
) {
46279 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
46281 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
46282 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
46284 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
46285 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
46287 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
46288 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46290 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
46291 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46293 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
46294 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
46296 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
46297 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
46299 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
46300 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
46302 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
46303 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
46305 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
46306 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
46308 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
46309 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
46311 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
46312 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
46314 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
46315 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
46317 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
46318 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
46320 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
46321 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46323 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
46324 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46326 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
46327 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46329 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
46330 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46332 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
46333 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46335 static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x
) {
46336 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
46338 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
46339 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
46341 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
46342 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
46344 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
46345 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46347 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
46348 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
46350 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
46351 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
46353 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
46354 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46356 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
46357 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46359 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
46360 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
46362 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
46363 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
46365 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
46366 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
46368 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
46369 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
46371 static void *_p_wxColourPickerCtrlTo_p_wxPickerBase(void *x
) {
46372 return (void *)((wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
46374 static void *_p_wxFilePickerCtrlTo_p_wxPickerBase(void *x
) {
46375 return (void *)((wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
46377 static void *_p_wxDirPickerCtrlTo_p_wxPickerBase(void *x
) {
46378 return (void *)((wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
46380 static void *_p_wxFontPickerCtrlTo_p_wxPickerBase(void *x
) {
46381 return (void *)((wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
46383 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
46384 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
46386 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
46387 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46389 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
46390 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
46392 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
46393 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
46395 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
46396 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
46398 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
46399 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
46401 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
46402 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
46404 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
46405 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
46407 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
46408 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
46410 static void *_p_wxPickerBaseTo_p_wxControl(void *x
) {
46411 return (void *)((wxControl
*) ((wxPickerBase
*) x
));
46413 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
46414 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
46416 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
46417 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
46419 static void *_p_wxToolbookTo_p_wxControl(void *x
) {
46420 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxToolbook
*) x
));
46422 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
46423 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
46425 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
46426 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46428 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
46429 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
46431 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
46432 return (void *)((wxControl
*) ((wxComboBox
*) x
));
46434 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
46435 return (void *)((wxControl
*) ((wxPyControl
*) x
));
46437 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
46438 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
46440 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
46441 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
46443 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
46444 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
46446 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
46447 return (void *)((wxControl
*) ((wxGauge
*) x
));
46449 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
46450 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
46452 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
46453 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
46455 static void *_p_wxListbookTo_p_wxControl(void *x
) {
46456 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
46458 static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x
) {
46459 return (void *)((wxControl
*) ((wxHyperlinkCtrl
*) x
));
46461 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
46462 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
46464 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
46465 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
46467 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
46468 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
46470 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
46471 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
46473 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
46474 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
46476 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
46477 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
46479 static void *_p_wxListViewTo_p_wxControl(void *x
) {
46480 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
46482 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
46483 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
46485 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
46486 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
46488 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
46489 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
46491 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
46492 return (void *)((wxControl
*) ((wxStaticText
*) x
));
46494 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
46495 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
46497 static void *_p_wxSliderTo_p_wxControl(void *x
) {
46498 return (void *)((wxControl
*) ((wxSlider
*) x
));
46500 static void *_p_wxTreebookTo_p_wxControl(void *x
) {
46501 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxTreebook
*) x
));
46503 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
46504 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
46506 static void *_p_wxButtonTo_p_wxControl(void *x
) {
46507 return (void *)((wxControl
*) ((wxButton
*) x
));
46509 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
46510 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
46512 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
46513 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46515 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
46516 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
46518 static void *_p_wxColourPickerCtrlTo_p_wxControl(void *x
) {
46519 return (void *)((wxControl
*) (wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
46521 static void *_p_wxFilePickerCtrlTo_p_wxControl(void *x
) {
46522 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
46524 static void *_p_wxDirPickerCtrlTo_p_wxControl(void *x
) {
46525 return (void *)((wxControl
*) (wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
46527 static void *_p_wxFontPickerCtrlTo_p_wxControl(void *x
) {
46528 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
46530 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
46531 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
46533 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
46534 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
46536 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
46537 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46539 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
46540 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
46542 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
46543 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
46545 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
46546 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
46548 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
46549 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
46551 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
46552 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
46554 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
46555 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
46557 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
46558 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
46560 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x
) {
46561 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
46563 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x
) {
46564 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
46566 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
46567 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
46569 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
46570 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
46572 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x
) {
46573 return (void *)((wxBookCtrlBase
*) ((wxToolbook
*) x
));
46575 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x
) {
46576 return (void *)((wxBookCtrlBase
*) ((wxTreebook
*) x
));
46578 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
46579 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
46581 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
46582 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
46584 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
46585 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
46587 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
46588 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
46590 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
46591 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
46593 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
46594 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
46596 static void *_p_wxPickerBaseTo_p_wxEvtHandler(void *x
) {
46597 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
46599 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
46600 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
46602 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
46603 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
46605 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
46606 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
46608 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x
) {
46609 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
46611 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
46612 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
46614 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
46615 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
46617 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
46618 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
46620 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
46621 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
46623 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
46624 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
46626 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
46627 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46629 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
46630 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
46632 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
46633 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
46635 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
46636 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
46638 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
46639 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
46641 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
46642 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
46644 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
46645 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
46647 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
46648 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
46650 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
46651 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
46653 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
46654 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
46656 static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x
) {
46657 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
46659 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
46660 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
46662 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
46663 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
46665 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
46666 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
46668 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
46669 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
46671 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
46672 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
46674 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
46675 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
46677 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
46678 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
46680 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
46681 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
46683 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
46684 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
46686 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
46687 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
46689 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
46690 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
46692 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
46693 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
46695 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
46696 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
46698 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x
) {
46699 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
46701 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
46702 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
46704 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
46705 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
46707 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
46708 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
46710 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
46711 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46713 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
46714 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
46716 static void *_p_wxColourPickerCtrlTo_p_wxEvtHandler(void *x
) {
46717 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
46719 static void *_p_wxFilePickerCtrlTo_p_wxEvtHandler(void *x
) {
46720 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
46722 static void *_p_wxDirPickerCtrlTo_p_wxEvtHandler(void *x
) {
46723 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
46725 static void *_p_wxFontPickerCtrlTo_p_wxEvtHandler(void *x
) {
46726 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
46728 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
46729 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
46731 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
46732 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
46734 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
46735 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
46737 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
46738 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46740 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
46741 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46743 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
46744 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
46746 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
46747 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
46749 static void *_p_wxToolbookTo_p_wxObject(void *x
) {
46750 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
46752 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
46753 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
46755 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
46756 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
46758 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
46759 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
46761 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
46762 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
46764 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
46765 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
46767 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
46768 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46770 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
46771 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
46773 static void *_p_wxSizerTo_p_wxObject(void *x
) {
46774 return (void *)((wxObject
*) ((wxSizer
*) x
));
46776 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
46777 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46779 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
46780 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
46782 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
46783 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
46785 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
46786 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46788 static void *_p_wxEventTo_p_wxObject(void *x
) {
46789 return (void *)((wxObject
*) ((wxEvent
*) x
));
46791 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
46792 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46794 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
46795 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
46797 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
46798 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
46800 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
46801 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
46803 static void *_p_wxPickerBaseTo_p_wxObject(void *x
) {
46804 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
46806 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
46807 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
46809 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
46810 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46812 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
46813 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
46815 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
46816 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
46818 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
46819 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
46821 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
46822 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46824 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
46825 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46827 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
46828 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46830 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
46831 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46833 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
46834 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
46836 static void *_p_wxControlTo_p_wxObject(void *x
) {
46837 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
46839 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
46840 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
46842 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
46843 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
46845 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
46846 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
46848 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
46849 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
46851 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
46852 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
46854 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
46855 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
46857 static void *_p_wxColourPickerEventTo_p_wxObject(void *x
) {
46858 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
46860 static void *_p_wxFileDirPickerEventTo_p_wxObject(void *x
) {
46861 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
46863 static void *_p_wxFontPickerEventTo_p_wxObject(void *x
) {
46864 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
46866 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
46867 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
46869 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
46870 return (void *)((wxObject
*) ((wxFSFile
*) x
));
46872 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
46873 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
46875 static void *_p_wxTreebookTo_p_wxObject(void *x
) {
46876 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
46878 static void *_p_wxListViewTo_p_wxObject(void *x
) {
46879 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
46881 static void *_p_wxHyperlinkEventTo_p_wxObject(void *x
) {
46882 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
46884 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
46885 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
46887 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
46888 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
46890 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
46891 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
46893 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
46894 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46896 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
46897 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
46899 static void *_p_wxListbookTo_p_wxObject(void *x
) {
46900 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
46902 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
46903 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
46905 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
46906 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
46908 static void *_p_wxSliderTo_p_wxObject(void *x
) {
46909 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
46911 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
46912 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
46914 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
46915 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
46917 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
46918 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
46920 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
46921 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46923 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
46924 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46926 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
46927 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
46929 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
46930 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
46932 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
46933 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
46935 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
46936 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
46938 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
46939 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
46941 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
46942 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
46944 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
46945 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
46947 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
46948 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
46950 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
46951 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
46953 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
46954 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
46956 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
46957 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
46959 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
46960 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
46962 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
46963 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
46965 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
46966 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46968 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
46969 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
46971 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
46972 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
46974 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
46975 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
46977 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
46978 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
46980 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
46981 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
46983 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
46984 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
46986 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
46987 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
46989 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
46990 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
46992 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
46993 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
46995 static void *_p_wxListEventTo_p_wxObject(void *x
) {
46996 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
46998 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
46999 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
47001 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
47002 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
47004 static void *_p_wxButtonTo_p_wxObject(void *x
) {
47005 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
47007 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
47008 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
47010 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
47011 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
47013 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
47014 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
47016 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
47017 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
47019 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
47020 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
47022 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
47023 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
47025 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
47026 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
47028 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
47029 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
47031 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
47032 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
47034 static void *_p_wxListItemTo_p_wxObject(void *x
) {
47035 return (void *)((wxObject
*) ((wxListItem
*) x
));
47037 static void *_p_wxImageTo_p_wxObject(void *x
) {
47038 return (void *)((wxObject
*) ((wxImage
*) x
));
47040 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
47041 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
47043 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
47044 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
47046 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
47047 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
47049 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
47050 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
47052 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
47053 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
47055 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
47056 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
47058 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
47059 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
47061 static void *_p_wxTreebookEventTo_p_wxObject(void *x
) {
47062 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
47064 static void *_p_wxToolbookEventTo_p_wxObject(void *x
) {
47065 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
47067 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
47068 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47070 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
47071 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
47073 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
47074 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
47076 static void *_p_wxWindowTo_p_wxObject(void *x
) {
47077 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
47079 static void *_p_wxMenuTo_p_wxObject(void *x
) {
47080 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
47082 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
47083 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
47085 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
47086 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
47088 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
47089 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47091 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
47092 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
47094 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
47095 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
47097 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
47098 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
47100 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
47101 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
47103 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
47104 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
47106 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
47107 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
47109 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
47110 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
47112 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
47113 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47115 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
47116 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
47118 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
47119 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
47121 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
47122 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
47124 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
47125 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
47127 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
47128 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47130 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
47131 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
47133 static void *_p_wxColourPickerCtrlTo_p_wxObject(void *x
) {
47134 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
47136 static void *_p_wxFilePickerCtrlTo_p_wxObject(void *x
) {
47137 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
47139 static void *_p_wxDirPickerCtrlTo_p_wxObject(void *x
) {
47140 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
47142 static void *_p_wxFontPickerCtrlTo_p_wxObject(void *x
) {
47143 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
47145 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
47146 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
47148 static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x
) {
47149 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
47151 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
47152 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
47154 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
47155 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
47157 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
47158 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
47160 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
47161 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
47163 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
47164 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
47166 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
47167 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
47169 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
47170 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
47172 static void *_p_wxPickerBaseTo_p_wxWindow(void *x
) {
47173 return (void *)((wxWindow
*) (wxControl
*) ((wxPickerBase
*) x
));
47175 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
47176 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
47178 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
47179 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
47181 static void *_p_wxToolbookTo_p_wxWindow(void *x
) {
47182 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
47184 static void *_p_wxControlTo_p_wxWindow(void *x
) {
47185 return (void *)((wxWindow
*) ((wxControl
*) x
));
47187 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
47188 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
47190 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
47191 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
47193 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
47194 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
47196 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
47197 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47199 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
47200 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
47202 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
47203 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
47205 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
47206 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
47208 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
47209 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
47211 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
47212 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
47214 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
47215 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
47217 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
47218 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
47220 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
47221 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
47223 static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x
) {
47224 return (void *)((wxWindow
*) (wxControl
*) ((wxHyperlinkCtrl
*) x
));
47226 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
47227 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
47229 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
47230 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
47232 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
47233 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
47235 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
47236 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
47238 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
47239 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
47241 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
47242 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
47244 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
47245 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
47247 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
47248 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
47250 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
47251 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
47253 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
47254 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
47256 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
47257 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
47259 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
47260 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
47262 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
47263 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
47265 static void *_p_wxTreebookTo_p_wxWindow(void *x
) {
47266 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
47268 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
47269 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
47271 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
47272 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
47274 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
47275 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
47277 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
47278 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
47280 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
47281 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
47283 static void *_p_wxColourPickerCtrlTo_p_wxWindow(void *x
) {
47284 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
47286 static void *_p_wxFilePickerCtrlTo_p_wxWindow(void *x
) {
47287 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
47289 static void *_p_wxDirPickerCtrlTo_p_wxWindow(void *x
) {
47290 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
47292 static void *_p_wxFontPickerCtrlTo_p_wxWindow(void *x
) {
47293 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
47295 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
47296 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
47298 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47299 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
47301 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47302 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
47304 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47305 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
47307 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47308 return (void *)((wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
47310 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47311 return (void *)((wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
47313 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
47314 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47316 static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x
) {
47317 return (void *)((wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
47319 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
47320 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
47322 static void *_p_wxColourPickerEventTo_p_wxCommandEvent(void *x
) {
47323 return (void *)((wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
47325 static void *_p_wxFileDirPickerEventTo_p_wxCommandEvent(void *x
) {
47326 return (void *)((wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
47328 static void *_p_wxFontPickerEventTo_p_wxCommandEvent(void *x
) {
47329 return (void *)((wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
47331 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
47332 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
47334 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
47335 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
47337 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
47338 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47340 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
47341 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47343 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
47344 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47346 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
47347 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
47349 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
47350 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
47352 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
47353 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
47355 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x
) {
47356 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
47358 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x
) {
47359 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
47361 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
47362 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
47364 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
47365 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47367 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
47368 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
47370 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
47371 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
47373 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
47374 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
47376 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
47377 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
47379 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
47380 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
47382 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
47383 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47385 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
47386 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
47388 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
47389 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47391 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
47392 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
47394 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
47395 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
47397 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
47398 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
47400 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
47401 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
47403 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
47404 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
47405 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};
47406 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
47407 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
47408 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
47409 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
47410 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
47411 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
47412 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
47413 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
47414 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
47415 static swig_type_info _swigt__p_wxBitmapButton
= {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
47416 static swig_type_info _swigt__p_wxBookCtrlBase
= {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
47417 static swig_type_info _swigt__p_wxBookCtrlBaseEvent
= {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
47418 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
47419 static swig_type_info _swigt__p_wxCheckBox
= {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
47420 static swig_type_info _swigt__p_wxCheckListBox
= {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
47421 static swig_type_info _swigt__p_wxChoice
= {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
47422 static swig_type_info _swigt__p_wxChoicebook
= {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
47423 static swig_type_info _swigt__p_wxChoicebookEvent
= {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
47424 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
47425 static swig_type_info _swigt__p_wxColourPickerCtrl
= {"_p_wxColourPickerCtrl", "wxColourPickerCtrl *", 0, 0, (void*)0, 0};
47426 static swig_type_info _swigt__p_wxColourPickerEvent
= {"_p_wxColourPickerEvent", "wxColourPickerEvent *", 0, 0, (void*)0, 0};
47427 static swig_type_info _swigt__p_wxComboBox
= {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
47428 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
47429 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
47430 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
47431 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
47432 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
47433 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
47434 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
47435 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
47436 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
47437 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
47438 static swig_type_info _swigt__p_wxContextHelp
= {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
47439 static swig_type_info _swigt__p_wxContextHelpButton
= {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
47440 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
47441 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
47442 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
47443 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
47444 static swig_type_info _swigt__p_wxDatePickerCtrl
= {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
47445 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
47446 static swig_type_info _swigt__p_wxDirFilterListCtrl
= {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
47447 static swig_type_info _swigt__p_wxDirPickerCtrl
= {"_p_wxDirPickerCtrl", "wxDirPickerCtrl *", 0, 0, (void*)0, 0};
47448 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
47449 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
47450 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
47451 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
47452 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
47453 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
47454 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
47455 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
47456 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
47457 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
47458 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
47459 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
47460 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
47461 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
47462 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
47463 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
47464 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
47465 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
47466 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
47467 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
47468 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
47469 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
47470 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
47471 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
47472 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
47473 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
47474 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
47475 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
47476 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
47477 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
47478 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
47479 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
47480 static swig_type_info _swigt__p_wxFileDirPickerEvent
= {"_p_wxFileDirPickerEvent", "wxFileDirPickerEvent *", 0, 0, (void*)0, 0};
47481 static swig_type_info _swigt__p_wxFilePickerCtrl
= {"_p_wxFilePickerCtrl", "wxFilePickerCtrl *", 0, 0, (void*)0, 0};
47482 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
47483 static swig_type_info _swigt__p_wxFontPickerCtrl
= {"_p_wxFontPickerCtrl", "wxFontPickerCtrl *", 0, 0, (void*)0, 0};
47484 static swig_type_info _swigt__p_wxFontPickerEvent
= {"_p_wxFontPickerEvent", "wxFontPickerEvent *", 0, 0, (void*)0, 0};
47485 static swig_type_info _swigt__p_wxGauge
= {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
47486 static swig_type_info _swigt__p_wxGenericDirCtrl
= {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
47487 static swig_type_info _swigt__p_wxGenericDragImage
= {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
47488 static swig_type_info _swigt__p_wxHelpEvent
= {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
47489 static swig_type_info _swigt__p_wxHelpProvider
= {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
47490 static swig_type_info _swigt__p_wxHyperlinkCtrl
= {"_p_wxHyperlinkCtrl", "wxHyperlinkCtrl *", 0, 0, (void*)0, 0};
47491 static swig_type_info _swigt__p_wxHyperlinkEvent
= {"_p_wxHyperlinkEvent", "wxHyperlinkEvent *", 0, 0, (void*)0, 0};
47492 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
47493 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
47494 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
47495 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
47496 static swig_type_info _swigt__p_wxListBox
= {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
47497 static swig_type_info _swigt__p_wxListEvent
= {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
47498 static swig_type_info _swigt__p_wxListItem
= {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
47499 static swig_type_info _swigt__p_wxListItemAttr
= {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
47500 static swig_type_info _swigt__p_wxListView
= {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
47501 static swig_type_info _swigt__p_wxListbook
= {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
47502 static swig_type_info _swigt__p_wxListbookEvent
= {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
47503 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
47504 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
47505 static swig_type_info _swigt__p_wxNotebook
= {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
47506 static swig_type_info _swigt__p_wxNotebookEvent
= {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
47507 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
47508 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
47509 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
47510 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
47511 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
47512 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
47513 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
47514 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
47515 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
47516 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
47517 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
47518 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
47519 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
47520 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
47521 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
47522 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
47523 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
47524 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
47525 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
47526 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
47527 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
47528 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
47529 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
47530 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
47531 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
47532 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
47533 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
47534 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
47535 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
47536 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
47537 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
47538 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
47539 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
47540 static swig_type_info _swigt__p_wxPickerBase
= {"_p_wxPickerBase", "wxPickerBase *", 0, 0, (void*)0, 0};
47541 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
47542 static swig_type_info _swigt__p_wxPyControl
= {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
47543 static swig_type_info _swigt__p_wxPyListCtrl
= {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
47544 static swig_type_info _swigt__p_wxPyTreeCtrl
= {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
47545 static swig_type_info _swigt__p_wxPyTreeItemData
= {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
47546 static swig_type_info _swigt__p_wxRadioBox
= {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
47547 static swig_type_info _swigt__p_wxRadioButton
= {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
47548 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
47549 static swig_type_info _swigt__p_wxScrollBar
= {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
47550 static swig_type_info _swigt__p_wxSimpleHelpProvider
= {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
47551 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
47552 static swig_type_info _swigt__p_wxSlider
= {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
47553 static swig_type_info _swigt__p_wxSpinButton
= {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
47554 static swig_type_info _swigt__p_wxSpinCtrl
= {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
47555 static swig_type_info _swigt__p_wxSpinEvent
= {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
47556 static swig_type_info _swigt__p_wxStaticBitmap
= {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
47557 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
47558 static swig_type_info _swigt__p_wxStaticLine
= {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
47559 static swig_type_info _swigt__p_wxStaticText
= {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
47560 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
47561 static swig_type_info _swigt__p_wxTextAttr
= {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
47562 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
47563 static swig_type_info _swigt__p_wxTextUrlEvent
= {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
47564 static swig_type_info _swigt__p_wxToggleButton
= {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
47565 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
47566 static swig_type_info _swigt__p_wxToolBarBase
= {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
47567 static swig_type_info _swigt__p_wxToolBarToolBase
= {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
47568 static swig_type_info _swigt__p_wxToolbook
= {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
47569 static swig_type_info _swigt__p_wxToolbookEvent
= {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
47570 static swig_type_info _swigt__p_wxTreeEvent
= {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
47571 static swig_type_info _swigt__p_wxTreeItemId
= {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
47572 static swig_type_info _swigt__p_wxTreebook
= {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
47573 static swig_type_info _swigt__p_wxTreebookEvent
= {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
47574 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
47575 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
47576 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
47577 static swig_type_info _swigt__p_wxWindowBase
= {"_p_wxWindowBase", "wxWindowBase *", 0, 0, (void*)0, 0};
47579 static swig_type_info
*swig_type_initial
[] = {
47582 &_swigt__p_form_ops_t
,
47585 &_swigt__p_unsigned_char
,
47586 &_swigt__p_unsigned_int
,
47587 &_swigt__p_unsigned_long
,
47589 &_swigt__p_wxANIHandler
,
47590 &_swigt__p_wxAcceleratorTable
,
47591 &_swigt__p_wxActivateEvent
,
47592 &_swigt__p_wxArrayInt
,
47593 &_swigt__p_wxArrayString
,
47594 &_swigt__p_wxBMPHandler
,
47595 &_swigt__p_wxBitmap
,
47596 &_swigt__p_wxBitmapButton
,
47597 &_swigt__p_wxBookCtrlBase
,
47598 &_swigt__p_wxBookCtrlBaseEvent
,
47599 &_swigt__p_wxBoxSizer
,
47600 &_swigt__p_wxButton
,
47601 &_swigt__p_wxCURHandler
,
47602 &_swigt__p_wxCheckBox
,
47603 &_swigt__p_wxCheckListBox
,
47604 &_swigt__p_wxChildFocusEvent
,
47605 &_swigt__p_wxChoice
,
47606 &_swigt__p_wxChoicebook
,
47607 &_swigt__p_wxChoicebookEvent
,
47608 &_swigt__p_wxClipboardTextEvent
,
47609 &_swigt__p_wxCloseEvent
,
47610 &_swigt__p_wxColour
,
47611 &_swigt__p_wxColourPickerCtrl
,
47612 &_swigt__p_wxColourPickerEvent
,
47613 &_swigt__p_wxComboBox
,
47614 &_swigt__p_wxCommandEvent
,
47615 &_swigt__p_wxContextHelp
,
47616 &_swigt__p_wxContextHelpButton
,
47617 &_swigt__p_wxContextMenuEvent
,
47618 &_swigt__p_wxControl
,
47619 &_swigt__p_wxControlWithItems
,
47620 &_swigt__p_wxCursor
,
47622 &_swigt__p_wxDateEvent
,
47623 &_swigt__p_wxDatePickerCtrl
,
47624 &_swigt__p_wxDateTime
,
47625 &_swigt__p_wxDirFilterListCtrl
,
47626 &_swigt__p_wxDirPickerCtrl
,
47627 &_swigt__p_wxDisplayChangedEvent
,
47628 &_swigt__p_wxDropFilesEvent
,
47629 &_swigt__p_wxDuplexMode
,
47630 &_swigt__p_wxEraseEvent
,
47631 &_swigt__p_wxEvent
,
47632 &_swigt__p_wxEvtHandler
,
47633 &_swigt__p_wxFSFile
,
47634 &_swigt__p_wxFileDirPickerEvent
,
47635 &_swigt__p_wxFilePickerCtrl
,
47636 &_swigt__p_wxFileSystem
,
47637 &_swigt__p_wxFlexGridSizer
,
47638 &_swigt__p_wxFocusEvent
,
47640 &_swigt__p_wxFontPickerCtrl
,
47641 &_swigt__p_wxFontPickerEvent
,
47642 &_swigt__p_wxGBSizerItem
,
47643 &_swigt__p_wxGIFHandler
,
47644 &_swigt__p_wxGauge
,
47645 &_swigt__p_wxGenericDirCtrl
,
47646 &_swigt__p_wxGenericDragImage
,
47647 &_swigt__p_wxGridBagSizer
,
47648 &_swigt__p_wxGridSizer
,
47649 &_swigt__p_wxHelpEvent
,
47650 &_swigt__p_wxHelpProvider
,
47651 &_swigt__p_wxHyperlinkCtrl
,
47652 &_swigt__p_wxHyperlinkEvent
,
47653 &_swigt__p_wxICOHandler
,
47655 &_swigt__p_wxIconizeEvent
,
47656 &_swigt__p_wxIdleEvent
,
47657 &_swigt__p_wxImage
,
47658 &_swigt__p_wxImageHandler
,
47659 &_swigt__p_wxImageList
,
47660 &_swigt__p_wxIndividualLayoutConstraint
,
47661 &_swigt__p_wxInitDialogEvent
,
47662 &_swigt__p_wxItemContainer
,
47663 &_swigt__p_wxJPEGHandler
,
47664 &_swigt__p_wxKeyEvent
,
47665 &_swigt__p_wxLayoutConstraints
,
47666 &_swigt__p_wxListBox
,
47667 &_swigt__p_wxListEvent
,
47668 &_swigt__p_wxListItem
,
47669 &_swigt__p_wxListItemAttr
,
47670 &_swigt__p_wxListView
,
47671 &_swigt__p_wxListbook
,
47672 &_swigt__p_wxListbookEvent
,
47673 &_swigt__p_wxMaximizeEvent
,
47674 &_swigt__p_wxMemoryDC
,
47676 &_swigt__p_wxMenuBar
,
47677 &_swigt__p_wxMenuEvent
,
47678 &_swigt__p_wxMenuItem
,
47679 &_swigt__p_wxMouseCaptureChangedEvent
,
47680 &_swigt__p_wxMouseCaptureLostEvent
,
47681 &_swigt__p_wxMouseEvent
,
47682 &_swigt__p_wxMoveEvent
,
47683 &_swigt__p_wxNavigationKeyEvent
,
47684 &_swigt__p_wxNcPaintEvent
,
47685 &_swigt__p_wxNotebook
,
47686 &_swigt__p_wxNotebookEvent
,
47687 &_swigt__p_wxNotifyEvent
,
47688 &_swigt__p_wxObject
,
47689 &_swigt__p_wxPCXHandler
,
47690 &_swigt__p_wxPNGHandler
,
47691 &_swigt__p_wxPNMHandler
,
47692 &_swigt__p_wxPaintEvent
,
47693 &_swigt__p_wxPaletteChangedEvent
,
47694 &_swigt__p_wxPaperSize
,
47695 &_swigt__p_wxPickerBase
,
47696 &_swigt__p_wxPoint
,
47697 &_swigt__p_wxPyApp
,
47698 &_swigt__p_wxPyCommandEvent
,
47699 &_swigt__p_wxPyControl
,
47700 &_swigt__p_wxPyEvent
,
47701 &_swigt__p_wxPyImageHandler
,
47702 &_swigt__p_wxPyListCtrl
,
47703 &_swigt__p_wxPySizer
,
47704 &_swigt__p_wxPyTreeCtrl
,
47705 &_swigt__p_wxPyTreeItemData
,
47706 &_swigt__p_wxPyValidator
,
47707 &_swigt__p_wxQueryNewPaletteEvent
,
47708 &_swigt__p_wxRadioBox
,
47709 &_swigt__p_wxRadioButton
,
47711 &_swigt__p_wxScrollBar
,
47712 &_swigt__p_wxScrollEvent
,
47713 &_swigt__p_wxScrollWinEvent
,
47714 &_swigt__p_wxSetCursorEvent
,
47715 &_swigt__p_wxShowEvent
,
47716 &_swigt__p_wxSimpleHelpProvider
,
47718 &_swigt__p_wxSizeEvent
,
47719 &_swigt__p_wxSizer
,
47720 &_swigt__p_wxSizerItem
,
47721 &_swigt__p_wxSlider
,
47722 &_swigt__p_wxSpinButton
,
47723 &_swigt__p_wxSpinCtrl
,
47724 &_swigt__p_wxSpinEvent
,
47725 &_swigt__p_wxStaticBitmap
,
47726 &_swigt__p_wxStaticBox
,
47727 &_swigt__p_wxStaticBoxSizer
,
47728 &_swigt__p_wxStaticLine
,
47729 &_swigt__p_wxStaticText
,
47730 &_swigt__p_wxStdDialogButtonSizer
,
47731 &_swigt__p_wxString
,
47732 &_swigt__p_wxSysColourChangedEvent
,
47733 &_swigt__p_wxTIFFHandler
,
47734 &_swigt__p_wxTextAttr
,
47735 &_swigt__p_wxTextCtrl
,
47736 &_swigt__p_wxTextUrlEvent
,
47737 &_swigt__p_wxToggleButton
,
47738 &_swigt__p_wxToolBar
,
47739 &_swigt__p_wxToolBarBase
,
47740 &_swigt__p_wxToolBarToolBase
,
47741 &_swigt__p_wxToolbook
,
47742 &_swigt__p_wxToolbookEvent
,
47743 &_swigt__p_wxTreeEvent
,
47744 &_swigt__p_wxTreeItemId
,
47745 &_swigt__p_wxTreebook
,
47746 &_swigt__p_wxTreebookEvent
,
47747 &_swigt__p_wxUpdateUIEvent
,
47748 &_swigt__p_wxValidator
,
47749 &_swigt__p_wxVisualAttributes
,
47750 &_swigt__p_wxWindow
,
47751 &_swigt__p_wxWindowBase
,
47752 &_swigt__p_wxWindowCreateEvent
,
47753 &_swigt__p_wxWindowDestroyEvent
,
47754 &_swigt__p_wxXPMHandler
,
47757 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
47758 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
47759 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
47760 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
47761 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
47762 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
47763 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
47764 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
47765 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
47766 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
47767 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
47768 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
47769 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}};
47770 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}};
47771 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}};
47772 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}};
47773 static swig_cast_info _swigc__p_wxCheckBox
[] = { {&_swigt__p_wxCheckBox
, 0, 0, 0},{0, 0, 0, 0}};
47774 static swig_cast_info _swigc__p_wxCheckListBox
[] = { {&_swigt__p_wxCheckListBox
, 0, 0, 0},{0, 0, 0, 0}};
47775 static swig_cast_info _swigc__p_wxChoice
[] = { {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxChoice
, 0, 0}, {&_swigt__p_wxChoice
, 0, 0, 0},{0, 0, 0, 0}};
47776 static swig_cast_info _swigc__p_wxChoicebook
[] = { {&_swigt__p_wxChoicebook
, 0, 0, 0},{0, 0, 0, 0}};
47777 static swig_cast_info _swigc__p_wxChoicebookEvent
[] = { {&_swigt__p_wxChoicebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
47778 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
47779 static swig_cast_info _swigc__p_wxColourPickerCtrl
[] = { {&_swigt__p_wxColourPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47780 static swig_cast_info _swigc__p_wxColourPickerEvent
[] = { {&_swigt__p_wxColourPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
47781 static swig_cast_info _swigc__p_wxComboBox
[] = { {&_swigt__p_wxComboBox
, 0, 0, 0},{0, 0, 0, 0}};
47782 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
47783 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
47784 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
47785 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
47786 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
47787 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
47788 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
47789 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
47790 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
47791 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}};
47792 static swig_cast_info _swigc__p_wxContextHelp
[] = { {&_swigt__p_wxContextHelp
, 0, 0, 0},{0, 0, 0, 0}};
47793 static swig_cast_info _swigc__p_wxContextHelpButton
[] = { {&_swigt__p_wxContextHelpButton
, 0, 0, 0},{0, 0, 0, 0}};
47794 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}};
47795 static swig_cast_info _swigc__p_wxControlWithItems
[] = { {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxControlWithItems
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxControlWithItems
, 0, 0}, {&_swigt__p_wxControlWithItems
, 0, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxControlWithItems
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxControlWithItems
, 0, 0},{0, 0, 0, 0}};
47796 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
47797 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
47798 static swig_cast_info _swigc__p_wxDatePickerCtrl
[] = { {&_swigt__p_wxDatePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47799 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
47800 static swig_cast_info _swigc__p_wxDirFilterListCtrl
[] = { {&_swigt__p_wxDirFilterListCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47801 static swig_cast_info _swigc__p_wxDirPickerCtrl
[] = { {&_swigt__p_wxDirPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47802 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
47803 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
47804 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
47805 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
47806 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
47807 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
47808 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
47809 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
47810 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
47811 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
47812 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
47813 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
47814 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
47815 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
47816 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
47817 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
47818 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
47819 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
47820 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
47821 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
47822 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
47823 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
47824 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
47825 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
47826 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
47827 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
47828 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}};
47829 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
47830 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
47831 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
47832 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
47833 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}};
47834 static swig_cast_info _swigc__p_wxFileDirPickerEvent
[] = { {&_swigt__p_wxFileDirPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
47835 static swig_cast_info _swigc__p_wxFilePickerCtrl
[] = { {&_swigt__p_wxFilePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47836 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
47837 static swig_cast_info _swigc__p_wxFontPickerCtrl
[] = { {&_swigt__p_wxFontPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47838 static swig_cast_info _swigc__p_wxFontPickerEvent
[] = { {&_swigt__p_wxFontPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
47839 static swig_cast_info _swigc__p_wxGauge
[] = { {&_swigt__p_wxGauge
, 0, 0, 0},{0, 0, 0, 0}};
47840 static swig_cast_info _swigc__p_wxGenericDirCtrl
[] = { {&_swigt__p_wxGenericDirCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47841 static swig_cast_info _swigc__p_wxGenericDragImage
[] = { {&_swigt__p_wxGenericDragImage
, 0, 0, 0},{0, 0, 0, 0}};
47842 static swig_cast_info _swigc__p_wxHelpEvent
[] = { {&_swigt__p_wxHelpEvent
, 0, 0, 0},{0, 0, 0, 0}};
47843 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}};
47844 static swig_cast_info _swigc__p_wxHyperlinkCtrl
[] = { {&_swigt__p_wxHyperlinkCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47845 static swig_cast_info _swigc__p_wxHyperlinkEvent
[] = { {&_swigt__p_wxHyperlinkEvent
, 0, 0, 0},{0, 0, 0, 0}};
47846 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
47847 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
47848 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}};
47849 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
47850 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}};
47851 static swig_cast_info _swigc__p_wxListEvent
[] = { {&_swigt__p_wxListEvent
, 0, 0, 0},{0, 0, 0, 0}};
47852 static swig_cast_info _swigc__p_wxListItem
[] = { {&_swigt__p_wxListItem
, 0, 0, 0},{0, 0, 0, 0}};
47853 static swig_cast_info _swigc__p_wxListItemAttr
[] = { {&_swigt__p_wxListItemAttr
, 0, 0, 0},{0, 0, 0, 0}};
47854 static swig_cast_info _swigc__p_wxListView
[] = { {&_swigt__p_wxListView
, 0, 0, 0},{0, 0, 0, 0}};
47855 static swig_cast_info _swigc__p_wxListbook
[] = { {&_swigt__p_wxListbook
, 0, 0, 0},{0, 0, 0, 0}};
47856 static swig_cast_info _swigc__p_wxListbookEvent
[] = { {&_swigt__p_wxListbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
47857 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxMemoryDC
, 0, 0, 0},{0, 0, 0, 0}};
47858 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
47859 static swig_cast_info _swigc__p_wxNotebook
[] = { {&_swigt__p_wxNotebook
, 0, 0, 0},{0, 0, 0, 0}};
47860 static swig_cast_info _swigc__p_wxNotebookEvent
[] = { {&_swigt__p_wxNotebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
47861 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}};
47862 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
47863 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
47864 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
47865 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
47866 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
47867 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
47868 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
47869 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
47870 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
47871 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
47872 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
47873 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
47874 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
47875 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
47876 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
47877 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
47878 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
47879 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
47880 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
47881 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
47882 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
47883 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
47884 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
47885 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
47886 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
47887 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
47888 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
47889 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
47890 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
47891 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
47892 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPickerBase
, _p_wxPickerBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourPickerEvent
, _p_wxColourPickerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDirPickerEvent
, _p_wxFileDirPickerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontPickerEvent
, _p_wxFontPickerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHyperlinkEvent
, _p_wxHyperlinkEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextHelp
, _p_wxContextHelpTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListItem
, _p_wxListItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGenericDragImage
, _p_wxGenericDragImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBarToolBase
, _p_wxToolBarToolBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
47893 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
47894 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}};
47895 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
47896 static swig_cast_info _swigc__p_wxPyControl
[] = { {&_swigt__p_wxPyControl
, 0, 0, 0},{0, 0, 0, 0}};
47897 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}};
47898 static swig_cast_info _swigc__p_wxPyTreeCtrl
[] = { {&_swigt__p_wxPyTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47899 static swig_cast_info _swigc__p_wxPyTreeItemData
[] = { {&_swigt__p_wxPyTreeItemData
, 0, 0, 0},{0, 0, 0, 0}};
47900 static swig_cast_info _swigc__p_wxRadioBox
[] = { {&_swigt__p_wxRadioBox
, 0, 0, 0},{0, 0, 0, 0}};
47901 static swig_cast_info _swigc__p_wxRadioButton
[] = { {&_swigt__p_wxRadioButton
, 0, 0, 0},{0, 0, 0, 0}};
47902 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
47903 static swig_cast_info _swigc__p_wxScrollBar
[] = { {&_swigt__p_wxScrollBar
, 0, 0, 0},{0, 0, 0, 0}};
47904 static swig_cast_info _swigc__p_wxSimpleHelpProvider
[] = { {&_swigt__p_wxSimpleHelpProvider
, 0, 0, 0},{0, 0, 0, 0}};
47905 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
47906 static swig_cast_info _swigc__p_wxSlider
[] = { {&_swigt__p_wxSlider
, 0, 0, 0},{0, 0, 0, 0}};
47907 static swig_cast_info _swigc__p_wxSpinButton
[] = { {&_swigt__p_wxSpinButton
, 0, 0, 0},{0, 0, 0, 0}};
47908 static swig_cast_info _swigc__p_wxSpinCtrl
[] = { {&_swigt__p_wxSpinCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47909 static swig_cast_info _swigc__p_wxSpinEvent
[] = { {&_swigt__p_wxSpinEvent
, 0, 0, 0},{0, 0, 0, 0}};
47910 static swig_cast_info _swigc__p_wxStaticBitmap
[] = { {&_swigt__p_wxStaticBitmap
, 0, 0, 0},{0, 0, 0, 0}};
47911 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
47912 static swig_cast_info _swigc__p_wxStaticLine
[] = { {&_swigt__p_wxStaticLine
, 0, 0, 0},{0, 0, 0, 0}};
47913 static swig_cast_info _swigc__p_wxStaticText
[] = { {&_swigt__p_wxStaticText
, 0, 0, 0},{0, 0, 0, 0}};
47914 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
47915 static swig_cast_info _swigc__p_wxTextAttr
[] = { {&_swigt__p_wxTextAttr
, 0, 0, 0},{0, 0, 0, 0}};
47916 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47917 static swig_cast_info _swigc__p_wxTextUrlEvent
[] = { {&_swigt__p_wxTextUrlEvent
, 0, 0, 0},{0, 0, 0, 0}};
47918 static swig_cast_info _swigc__p_wxToggleButton
[] = { {&_swigt__p_wxToggleButton
, 0, 0, 0},{0, 0, 0, 0}};
47919 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
47920 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}};
47921 static swig_cast_info _swigc__p_wxToolBarToolBase
[] = { {&_swigt__p_wxToolBarToolBase
, 0, 0, 0},{0, 0, 0, 0}};
47922 static swig_cast_info _swigc__p_wxToolbook
[] = { {&_swigt__p_wxToolbook
, 0, 0, 0},{0, 0, 0, 0}};
47923 static swig_cast_info _swigc__p_wxToolbookEvent
[] = { {&_swigt__p_wxToolbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
47924 static swig_cast_info _swigc__p_wxTreeEvent
[] = { {&_swigt__p_wxTreeEvent
, 0, 0, 0},{0, 0, 0, 0}};
47925 static swig_cast_info _swigc__p_wxTreeItemId
[] = { {&_swigt__p_wxTreeItemId
, 0, 0, 0},{0, 0, 0, 0}};
47926 static swig_cast_info _swigc__p_wxTreebook
[] = { {&_swigt__p_wxTreebook
, 0, 0, 0},{0, 0, 0, 0}};
47927 static swig_cast_info _swigc__p_wxTreebookEvent
[] = { {&_swigt__p_wxTreebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
47928 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}};
47929 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
47930 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}};
47931 static swig_cast_info _swigc__p_wxWindowBase
[] = { {&_swigt__p_wxWindowBase
, 0, 0, 0},{0, 0, 0, 0}};
47933 static swig_cast_info
*swig_cast_initial
[] = {
47936 _swigc__p_form_ops_t
,
47939 _swigc__p_unsigned_char
,
47940 _swigc__p_unsigned_int
,
47941 _swigc__p_unsigned_long
,
47943 _swigc__p_wxANIHandler
,
47944 _swigc__p_wxAcceleratorTable
,
47945 _swigc__p_wxActivateEvent
,
47946 _swigc__p_wxArrayInt
,
47947 _swigc__p_wxArrayString
,
47948 _swigc__p_wxBMPHandler
,
47949 _swigc__p_wxBitmap
,
47950 _swigc__p_wxBitmapButton
,
47951 _swigc__p_wxBookCtrlBase
,
47952 _swigc__p_wxBookCtrlBaseEvent
,
47953 _swigc__p_wxBoxSizer
,
47954 _swigc__p_wxButton
,
47955 _swigc__p_wxCURHandler
,
47956 _swigc__p_wxCheckBox
,
47957 _swigc__p_wxCheckListBox
,
47958 _swigc__p_wxChildFocusEvent
,
47959 _swigc__p_wxChoice
,
47960 _swigc__p_wxChoicebook
,
47961 _swigc__p_wxChoicebookEvent
,
47962 _swigc__p_wxClipboardTextEvent
,
47963 _swigc__p_wxCloseEvent
,
47964 _swigc__p_wxColour
,
47965 _swigc__p_wxColourPickerCtrl
,
47966 _swigc__p_wxColourPickerEvent
,
47967 _swigc__p_wxComboBox
,
47968 _swigc__p_wxCommandEvent
,
47969 _swigc__p_wxContextHelp
,
47970 _swigc__p_wxContextHelpButton
,
47971 _swigc__p_wxContextMenuEvent
,
47972 _swigc__p_wxControl
,
47973 _swigc__p_wxControlWithItems
,
47974 _swigc__p_wxCursor
,
47976 _swigc__p_wxDateEvent
,
47977 _swigc__p_wxDatePickerCtrl
,
47978 _swigc__p_wxDateTime
,
47979 _swigc__p_wxDirFilterListCtrl
,
47980 _swigc__p_wxDirPickerCtrl
,
47981 _swigc__p_wxDisplayChangedEvent
,
47982 _swigc__p_wxDropFilesEvent
,
47983 _swigc__p_wxDuplexMode
,
47984 _swigc__p_wxEraseEvent
,
47986 _swigc__p_wxEvtHandler
,
47987 _swigc__p_wxFSFile
,
47988 _swigc__p_wxFileDirPickerEvent
,
47989 _swigc__p_wxFilePickerCtrl
,
47990 _swigc__p_wxFileSystem
,
47991 _swigc__p_wxFlexGridSizer
,
47992 _swigc__p_wxFocusEvent
,
47994 _swigc__p_wxFontPickerCtrl
,
47995 _swigc__p_wxFontPickerEvent
,
47996 _swigc__p_wxGBSizerItem
,
47997 _swigc__p_wxGIFHandler
,
47999 _swigc__p_wxGenericDirCtrl
,
48000 _swigc__p_wxGenericDragImage
,
48001 _swigc__p_wxGridBagSizer
,
48002 _swigc__p_wxGridSizer
,
48003 _swigc__p_wxHelpEvent
,
48004 _swigc__p_wxHelpProvider
,
48005 _swigc__p_wxHyperlinkCtrl
,
48006 _swigc__p_wxHyperlinkEvent
,
48007 _swigc__p_wxICOHandler
,
48009 _swigc__p_wxIconizeEvent
,
48010 _swigc__p_wxIdleEvent
,
48012 _swigc__p_wxImageHandler
,
48013 _swigc__p_wxImageList
,
48014 _swigc__p_wxIndividualLayoutConstraint
,
48015 _swigc__p_wxInitDialogEvent
,
48016 _swigc__p_wxItemContainer
,
48017 _swigc__p_wxJPEGHandler
,
48018 _swigc__p_wxKeyEvent
,
48019 _swigc__p_wxLayoutConstraints
,
48020 _swigc__p_wxListBox
,
48021 _swigc__p_wxListEvent
,
48022 _swigc__p_wxListItem
,
48023 _swigc__p_wxListItemAttr
,
48024 _swigc__p_wxListView
,
48025 _swigc__p_wxListbook
,
48026 _swigc__p_wxListbookEvent
,
48027 _swigc__p_wxMaximizeEvent
,
48028 _swigc__p_wxMemoryDC
,
48030 _swigc__p_wxMenuBar
,
48031 _swigc__p_wxMenuEvent
,
48032 _swigc__p_wxMenuItem
,
48033 _swigc__p_wxMouseCaptureChangedEvent
,
48034 _swigc__p_wxMouseCaptureLostEvent
,
48035 _swigc__p_wxMouseEvent
,
48036 _swigc__p_wxMoveEvent
,
48037 _swigc__p_wxNavigationKeyEvent
,
48038 _swigc__p_wxNcPaintEvent
,
48039 _swigc__p_wxNotebook
,
48040 _swigc__p_wxNotebookEvent
,
48041 _swigc__p_wxNotifyEvent
,
48042 _swigc__p_wxObject
,
48043 _swigc__p_wxPCXHandler
,
48044 _swigc__p_wxPNGHandler
,
48045 _swigc__p_wxPNMHandler
,
48046 _swigc__p_wxPaintEvent
,
48047 _swigc__p_wxPaletteChangedEvent
,
48048 _swigc__p_wxPaperSize
,
48049 _swigc__p_wxPickerBase
,
48052 _swigc__p_wxPyCommandEvent
,
48053 _swigc__p_wxPyControl
,
48054 _swigc__p_wxPyEvent
,
48055 _swigc__p_wxPyImageHandler
,
48056 _swigc__p_wxPyListCtrl
,
48057 _swigc__p_wxPySizer
,
48058 _swigc__p_wxPyTreeCtrl
,
48059 _swigc__p_wxPyTreeItemData
,
48060 _swigc__p_wxPyValidator
,
48061 _swigc__p_wxQueryNewPaletteEvent
,
48062 _swigc__p_wxRadioBox
,
48063 _swigc__p_wxRadioButton
,
48065 _swigc__p_wxScrollBar
,
48066 _swigc__p_wxScrollEvent
,
48067 _swigc__p_wxScrollWinEvent
,
48068 _swigc__p_wxSetCursorEvent
,
48069 _swigc__p_wxShowEvent
,
48070 _swigc__p_wxSimpleHelpProvider
,
48072 _swigc__p_wxSizeEvent
,
48074 _swigc__p_wxSizerItem
,
48075 _swigc__p_wxSlider
,
48076 _swigc__p_wxSpinButton
,
48077 _swigc__p_wxSpinCtrl
,
48078 _swigc__p_wxSpinEvent
,
48079 _swigc__p_wxStaticBitmap
,
48080 _swigc__p_wxStaticBox
,
48081 _swigc__p_wxStaticBoxSizer
,
48082 _swigc__p_wxStaticLine
,
48083 _swigc__p_wxStaticText
,
48084 _swigc__p_wxStdDialogButtonSizer
,
48085 _swigc__p_wxString
,
48086 _swigc__p_wxSysColourChangedEvent
,
48087 _swigc__p_wxTIFFHandler
,
48088 _swigc__p_wxTextAttr
,
48089 _swigc__p_wxTextCtrl
,
48090 _swigc__p_wxTextUrlEvent
,
48091 _swigc__p_wxToggleButton
,
48092 _swigc__p_wxToolBar
,
48093 _swigc__p_wxToolBarBase
,
48094 _swigc__p_wxToolBarToolBase
,
48095 _swigc__p_wxToolbook
,
48096 _swigc__p_wxToolbookEvent
,
48097 _swigc__p_wxTreeEvent
,
48098 _swigc__p_wxTreeItemId
,
48099 _swigc__p_wxTreebook
,
48100 _swigc__p_wxTreebookEvent
,
48101 _swigc__p_wxUpdateUIEvent
,
48102 _swigc__p_wxValidator
,
48103 _swigc__p_wxVisualAttributes
,
48104 _swigc__p_wxWindow
,
48105 _swigc__p_wxWindowBase
,
48106 _swigc__p_wxWindowCreateEvent
,
48107 _swigc__p_wxWindowDestroyEvent
,
48108 _swigc__p_wxXPMHandler
,
48112 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
48114 static swig_const_info swig_const_table
[] = {
48115 {0, 0, 0, 0.0, 0, 0}};
48120 /* -----------------------------------------------------------------------------
48121 * Type initialization:
48122 * This problem is tough by the requirement that no dynamic
48123 * memory is used. Also, since swig_type_info structures store pointers to
48124 * swig_cast_info structures and swig_cast_info structures store pointers back
48125 * to swig_type_info structures, we need some lookup code at initialization.
48126 * The idea is that swig generates all the structures that are needed.
48127 * The runtime then collects these partially filled structures.
48128 * The SWIG_InitializeModule function takes these initial arrays out of
48129 * swig_module, and does all the lookup, filling in the swig_module.types
48130 * array with the correct data and linking the correct swig_cast_info
48131 * structures together.
48133 * The generated swig_type_info structures are assigned staticly to an initial
48134 * array. We just loop though that array, and handle each type individually.
48135 * First we lookup if this type has been already loaded, and if so, use the
48136 * loaded structure instead of the generated one. Then we have to fill in the
48137 * cast linked list. The cast data is initially stored in something like a
48138 * two-dimensional array. Each row corresponds to a type (there are the same
48139 * number of rows as there are in the swig_type_initial array). Each entry in
48140 * a column is one of the swig_cast_info structures for that type.
48141 * The cast_initial array is actually an array of arrays, because each row has
48142 * a variable number of columns. So to actually build the cast linked list,
48143 * we find the array of casts associated with the type, and loop through it
48144 * adding the casts to the list. The one last trick we need to do is making
48145 * sure the type pointer in the swig_cast_info struct is correct.
48147 * First off, we lookup the cast->type name to see if it is already loaded.
48148 * There are three cases to handle:
48149 * 1) If the cast->type has already been loaded AND the type we are adding
48150 * casting info to has not been loaded (it is in this module), THEN we
48151 * replace the cast->type pointer with the type pointer that has already
48153 * 2) If BOTH types (the one we are adding casting info to, and the
48154 * cast->type) are loaded, THEN the cast info has already been loaded by
48155 * the previous module so we just ignore it.
48156 * 3) Finally, if cast->type has not already been loaded, then we add that
48157 * swig_cast_info to the linked list (because the cast->type) pointer will
48159 * ----------------------------------------------------------------------------- */
48169 #define SWIGRUNTIME_DEBUG
48173 SWIG_InitializeModule(void *clientdata
) {
48175 swig_module_info
*module_head
;
48176 static int init_run
= 0;
48178 clientdata
= clientdata
;
48180 if (init_run
) return;
48183 /* Initialize the swig_module */
48184 swig_module
.type_initial
= swig_type_initial
;
48185 swig_module
.cast_initial
= swig_cast_initial
;
48187 /* Try and load any already created modules */
48188 module_head
= SWIG_GetModule(clientdata
);
48190 swig_module
.next
= module_head
->next
;
48191 module_head
->next
= &swig_module
;
48193 /* This is the first module loaded */
48194 swig_module
.next
= &swig_module
;
48195 SWIG_SetModule(clientdata
, &swig_module
);
48198 /* Now work on filling in swig_module.types */
48199 #ifdef SWIGRUNTIME_DEBUG
48200 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
48202 for (i
= 0; i
< swig_module
.size
; ++i
) {
48203 swig_type_info
*type
= 0;
48204 swig_type_info
*ret
;
48205 swig_cast_info
*cast
;
48207 #ifdef SWIGRUNTIME_DEBUG
48208 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
48211 /* if there is another module already loaded */
48212 if (swig_module
.next
!= &swig_module
) {
48213 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
48216 /* Overwrite clientdata field */
48217 #ifdef SWIGRUNTIME_DEBUG
48218 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
48220 if (swig_module
.type_initial
[i
]->clientdata
) {
48221 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
48222 #ifdef SWIGRUNTIME_DEBUG
48223 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
48227 type
= swig_module
.type_initial
[i
];
48230 /* Insert casting types */
48231 cast
= swig_module
.cast_initial
[i
];
48232 while (cast
->type
) {
48233 /* Don't need to add information already in the list */
48235 #ifdef SWIGRUNTIME_DEBUG
48236 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
48238 if (swig_module
.next
!= &swig_module
) {
48239 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
48240 #ifdef SWIGRUNTIME_DEBUG
48241 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
48245 if (type
== swig_module
.type_initial
[i
]) {
48246 #ifdef SWIGRUNTIME_DEBUG
48247 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
48252 /* Check for casting already in the list */
48253 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
48254 #ifdef SWIGRUNTIME_DEBUG
48255 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
48257 if (!ocast
) ret
= 0;
48262 #ifdef SWIGRUNTIME_DEBUG
48263 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
48266 type
->cast
->prev
= cast
;
48267 cast
->next
= type
->cast
;
48273 /* Set entry in modules->types array equal to the type */
48274 swig_module
.types
[i
] = type
;
48276 swig_module
.types
[i
] = 0;
48278 #ifdef SWIGRUNTIME_DEBUG
48279 printf("**** SWIG_InitializeModule: Cast List ******\n");
48280 for (i
= 0; i
< swig_module
.size
; ++i
) {
48282 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
48283 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
48284 while (cast
->type
) {
48285 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
48289 printf("---- Total casts: %d\n",j
);
48291 printf("**** SWIG_InitializeModule: Cast List ******\n");
48295 /* This function will propagate the clientdata field of type to
48296 * any new swig_type_info structures that have been added into the list
48297 * of equivalent types. It is like calling
48298 * SWIG_TypeClientData(type, clientdata) a second time.
48301 SWIG_PropagateClientData(void) {
48303 swig_cast_info
*equiv
;
48304 static int init_run
= 0;
48306 if (init_run
) return;
48309 for (i
= 0; i
< swig_module
.size
; i
++) {
48310 if (swig_module
.types
[i
]->clientdata
) {
48311 equiv
= swig_module
.types
[i
]->cast
;
48313 if (!equiv
->converter
) {
48314 if (equiv
->type
&& !equiv
->type
->clientdata
)
48315 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
48317 equiv
= equiv
->next
;
48337 /* Python-specific SWIG API */
48338 #define SWIG_newvarlink() SWIG_Python_newvarlink()
48339 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
48340 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
48342 /* -----------------------------------------------------------------------------
48343 * global variable support code.
48344 * ----------------------------------------------------------------------------- */
48346 typedef struct swig_globalvar
{
48347 char *name
; /* Name of global variable */
48348 PyObject
*(*get_attr
)(void); /* Return the current value */
48349 int (*set_attr
)(PyObject
*); /* Set the value */
48350 struct swig_globalvar
*next
;
48353 typedef struct swig_varlinkobject
{
48355 swig_globalvar
*vars
;
48356 } swig_varlinkobject
;
48358 SWIGINTERN PyObject
*
48359 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
48360 return PyString_FromString("<Swig global variables>");
48363 SWIGINTERN PyObject
*
48364 swig_varlink_str(swig_varlinkobject
*v
) {
48365 PyObject
*str
= PyString_FromString("(");
48366 swig_globalvar
*var
;
48367 for (var
= v
->vars
; var
; var
=var
->next
) {
48368 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
48369 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
48371 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
48376 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
48377 PyObject
*str
= swig_varlink_str(v
);
48378 fprintf(fp
,"Swig global variables ");
48379 fprintf(fp
,"%s\n", PyString_AsString(str
));
48385 swig_varlink_dealloc(swig_varlinkobject
*v
) {
48386 swig_globalvar
*var
= v
->vars
;
48388 swig_globalvar
*n
= var
->next
;
48395 SWIGINTERN PyObject
*
48396 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
48397 PyObject
*res
= NULL
;
48398 swig_globalvar
*var
= v
->vars
;
48400 if (strcmp(var
->name
,n
) == 0) {
48401 res
= (*var
->get_attr
)();
48406 if (res
== NULL
&& !PyErr_Occurred()) {
48407 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
48413 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
48415 swig_globalvar
*var
= v
->vars
;
48417 if (strcmp(var
->name
,n
) == 0) {
48418 res
= (*var
->set_attr
)(p
);
48423 if (res
== 1 && !PyErr_Occurred()) {
48424 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
48429 SWIGINTERN PyTypeObject
*
48430 swig_varlink_type(void) {
48431 static char varlink__doc__
[] = "Swig var link object";
48432 static PyTypeObject varlink_type
;
48433 static int type_init
= 0;
48435 const PyTypeObject tmp
48437 PyObject_HEAD_INIT(NULL
)
48438 0, /* Number of items in variable part (ob_size) */
48439 (char *)"swigvarlink", /* Type name (tp_name) */
48440 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
48441 0, /* Itemsize (tp_itemsize) */
48442 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
48443 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
48444 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
48445 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
48446 0, /* tp_compare */
48447 (reprfunc
) swig_varlink_repr
, /* tp_repr */
48448 0, /* tp_as_number */
48449 0, /* tp_as_sequence */
48450 0, /* tp_as_mapping */
48453 (reprfunc
)swig_varlink_str
, /* tp_str */
48454 0, /* tp_getattro */
48455 0, /* tp_setattro */
48456 0, /* tp_as_buffer */
48458 varlink__doc__
, /* tp_doc */
48459 0, /* tp_traverse */
48461 0, /* tp_richcompare */
48462 0, /* tp_weaklistoffset */
48463 #if PY_VERSION_HEX >= 0x02020000
48464 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
48466 #if PY_VERSION_HEX >= 0x02030000
48469 #ifdef COUNT_ALLOCS
48470 0,0,0,0 /* tp_alloc -> tp_next */
48473 varlink_type
= tmp
;
48474 varlink_type
.ob_type
= &PyType_Type
;
48477 return &varlink_type
;
48480 /* Create a variable linking object for use later */
48481 SWIGINTERN PyObject
*
48482 SWIG_Python_newvarlink(void) {
48483 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
48487 return ((PyObject
*) result
);
48491 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
48492 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
48493 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
48495 size_t size
= strlen(name
)+1;
48496 gv
->name
= (char *)malloc(size
);
48498 strncpy(gv
->name
,name
,size
);
48499 gv
->get_attr
= get_attr
;
48500 gv
->set_attr
= set_attr
;
48501 gv
->next
= v
->vars
;
48507 SWIGINTERN PyObject
*
48509 static PyObject
*_SWIG_globals
= 0;
48510 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
48511 return _SWIG_globals
;
48514 /* -----------------------------------------------------------------------------
48515 * constants/methods manipulation
48516 * ----------------------------------------------------------------------------- */
48518 /* Install Constants */
48520 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
48523 for (i
= 0; constants
[i
].type
; ++i
) {
48524 switch(constants
[i
].type
) {
48525 case SWIG_PY_POINTER
:
48526 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
48528 case SWIG_PY_BINARY
:
48529 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
48536 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
48542 /* -----------------------------------------------------------------------------*/
48543 /* Fix SwigMethods to carry the callback ptrs when needed */
48544 /* -----------------------------------------------------------------------------*/
48547 SWIG_Python_FixMethods(PyMethodDef
*methods
,
48548 swig_const_info
*const_table
,
48549 swig_type_info
**types
,
48550 swig_type_info
**types_initial
) {
48552 for (i
= 0; methods
[i
].ml_name
; ++i
) {
48553 const char *c
= methods
[i
].ml_doc
;
48554 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
48556 swig_const_info
*ci
= 0;
48557 const char *name
= c
+ 10;
48558 for (j
= 0; const_table
[j
].type
; ++j
) {
48559 if (strncmp(const_table
[j
].name
, name
,
48560 strlen(const_table
[j
].name
)) == 0) {
48561 ci
= &(const_table
[j
]);
48566 size_t shift
= (ci
->ptype
) - types
;
48567 swig_type_info
*ty
= types_initial
[shift
];
48568 size_t ldoc
= (c
- methods
[i
].ml_doc
);
48569 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
48570 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
48573 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
48575 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
48577 strncpy(buff
, "swig_ptr: ", 10);
48579 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
48580 methods
[i
].ml_doc
= ndoc
;
48592 /* -----------------------------------------------------------------------------*
48593 * Partial Init method
48594 * -----------------------------------------------------------------------------*/
48599 SWIGEXPORT
void SWIG_init(void) {
48602 /* Fix SwigMethods to carry the callback ptrs when needed */
48603 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
48605 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
48606 d
= PyModule_GetDict(m
);
48608 SWIG_InitializeModule(0);
48609 SWIG_InstallConstants(d
,swig_const_table
);
48612 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
48613 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get
, ButtonNameStr_set
);
48614 SWIG_Python_SetConstant(d
, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT
)));
48615 SWIG_Python_SetConstant(d
, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP
)));
48616 SWIG_Python_SetConstant(d
, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT
)));
48617 SWIG_Python_SetConstant(d
, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM
)));
48618 SWIG_Python_SetConstant(d
, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK
)));
48619 SWIG_Python_SetConstant(d
, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT
)));
48620 SWIG_Python_SetConstant(d
, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW
)));
48621 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get
, CheckBoxNameStr_set
);
48622 SWIG_Python_SetConstant(d
, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE
)));
48623 SWIG_Python_SetConstant(d
, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE
)));
48624 SWIG_Python_SetConstant(d
, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
48625 SWIG_Python_SetConstant(d
, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED
)));
48626 SWIG_Python_SetConstant(d
, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED
)));
48627 SWIG_Python_SetConstant(d
, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED
)));
48628 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get
, ChoiceNameStr_set
);
48629 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get
, ComboBoxNameStr_set
);
48630 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get
, GaugeNameStr_set
);
48631 SWIG_Python_SetConstant(d
, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL
)));
48632 SWIG_Python_SetConstant(d
, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL
)));
48633 SWIG_Python_SetConstant(d
, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH
)));
48634 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get
, StaticBitmapNameStr_set
);
48635 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get
, StaticBoxNameStr_set
);
48636 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get
, StaticTextNameStr_set
);
48637 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get
, ListBoxNameStr_set
);
48638 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get
, TextCtrlNameStr_set
);
48639 SWIG_Python_SetConstant(d
, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL
)));
48640 SWIG_Python_SetConstant(d
, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL
)));
48641 SWIG_Python_SetConstant(d
, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY
)));
48642 SWIG_Python_SetConstant(d
, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE
)));
48643 SWIG_Python_SetConstant(d
, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB
)));
48644 SWIG_Python_SetConstant(d
, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT
)));
48645 SWIG_Python_SetConstant(d
, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER
)));
48646 SWIG_Python_SetConstant(d
, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT
)));
48647 SWIG_Python_SetConstant(d
, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE
)));
48648 SWIG_Python_SetConstant(d
, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH
)));
48649 SWIG_Python_SetConstant(d
, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER
)));
48650 SWIG_Python_SetConstant(d
, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD
)));
48651 SWIG_Python_SetConstant(d
, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL
)));
48652 SWIG_Python_SetConstant(d
, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL
)));
48653 SWIG_Python_SetConstant(d
, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP
)));
48654 SWIG_Python_SetConstant(d
, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP
)));
48655 SWIG_Python_SetConstant(d
, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP
)));
48656 SWIG_Python_SetConstant(d
, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP
)));
48657 SWIG_Python_SetConstant(d
, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2
)));
48658 SWIG_Python_SetConstant(d
, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE
)));
48659 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT
)));
48660 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT
)));
48661 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE
)));
48662 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER
)));
48663 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT
)));
48664 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED
)));
48665 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR
)));
48666 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
48667 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE
)));
48668 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE
)));
48669 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT
)));
48670 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC
)));
48671 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE
)));
48672 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT
)));
48673 SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT
)));
48674 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT
)));
48675 SWIG_Python_SetConstant(d
, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT
)));
48676 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS
)));
48677 SWIG_Python_SetConstant(d
, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN
)));
48678 SWIG_Python_SetConstant(d
, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE
)));
48679 SWIG_Python_SetConstant(d
, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT
)));
48680 SWIG_Python_SetConstant(d
, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW
)));
48681 SWIG_Python_SetConstant(d
, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND
)));
48682 SWIG_Python_SetConstant(d
, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord
)));
48683 SWIG_Python_SetConstant(d
, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord
)));
48684 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
48685 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
48686 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
48687 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
48688 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get
, ScrollBarNameStr_set
);
48689 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get
, SPIN_BUTTON_NAME_set
);
48690 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get
, SpinCtrlNameStr_set
);
48691 SWIG_Python_SetConstant(d
, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL
)));
48692 SWIG_Python_SetConstant(d
, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL
)));
48693 SWIG_Python_SetConstant(d
, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS
)));
48694 SWIG_Python_SetConstant(d
, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP
)));
48695 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
48696 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get
, RadioBoxNameStr_set
);
48697 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get
, RadioButtonNameStr_set
);
48698 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get
, SliderNameStr_set
);
48699 SWIG_Python_SetConstant(d
, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL
)));
48700 SWIG_Python_SetConstant(d
, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL
)));
48701 SWIG_Python_SetConstant(d
, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS
)));
48702 SWIG_Python_SetConstant(d
, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS
)));
48703 SWIG_Python_SetConstant(d
, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS
)));
48704 SWIG_Python_SetConstant(d
, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT
)));
48705 SWIG_Python_SetConstant(d
, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP
)));
48706 SWIG_Python_SetConstant(d
, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT
)));
48707 SWIG_Python_SetConstant(d
, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM
)));
48708 SWIG_Python_SetConstant(d
, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH
)));
48709 SWIG_Python_SetConstant(d
, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE
)));
48710 SWIG_Python_SetConstant(d
, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE
)));
48711 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get
, ToggleButtonNameStr_set
);
48712 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
48713 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get
, NotebookNameStr_set
);
48714 SWIG_Python_SetConstant(d
, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT
)));
48715 SWIG_Python_SetConstant(d
, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP
)));
48716 SWIG_Python_SetConstant(d
, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM
)));
48717 SWIG_Python_SetConstant(d
, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT
)));
48718 SWIG_Python_SetConstant(d
, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT
)));
48719 SWIG_Python_SetConstant(d
, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK
)));
48720 SWIG_Python_SetConstant(d
, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR
)));
48721 SWIG_Python_SetConstant(d
, "BK_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_NOWHERE
)));
48722 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONICON
)));
48723 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONLABEL
)));
48724 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONITEM
)));
48725 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONPAGE
)));
48726 SWIG_Python_SetConstant(d
, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH
)));
48727 SWIG_Python_SetConstant(d
, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP
)));
48728 SWIG_Python_SetConstant(d
, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT
)));
48729 SWIG_Python_SetConstant(d
, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT
)));
48730 SWIG_Python_SetConstant(d
, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM
)));
48731 SWIG_Python_SetConstant(d
, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE
)));
48732 SWIG_Python_SetConstant(d
, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME
)));
48733 SWIG_Python_SetConstant(d
, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE
)));
48734 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON
)));
48735 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL
)));
48736 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM
)));
48737 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONPAGE
)));
48738 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
48739 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
48740 SWIG_Python_SetConstant(d
, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT
)));
48741 SWIG_Python_SetConstant(d
, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP
)));
48742 SWIG_Python_SetConstant(d
, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM
)));
48743 SWIG_Python_SetConstant(d
, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT
)));
48744 SWIG_Python_SetConstant(d
, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT
)));
48745 SWIG_Python_SetConstant(d
, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK
)));
48746 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
48747 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
48748 SWIG_Python_SetConstant(d
, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT
)));
48749 SWIG_Python_SetConstant(d
, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP
)));
48750 SWIG_Python_SetConstant(d
, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM
)));
48751 SWIG_Python_SetConstant(d
, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT
)));
48752 SWIG_Python_SetConstant(d
, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT
)));
48753 SWIG_Python_SetConstant(d
, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK
)));
48754 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
48755 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
48756 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED
));
48757 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING
));
48758 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED
));
48759 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED
));
48760 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED
));
48761 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING
));
48762 SWIG_Python_SetConstant(d
, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON
)));
48763 SWIG_Python_SetConstant(d
, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR
)));
48764 SWIG_Python_SetConstant(d
, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL
)));
48765 SWIG_Python_SetConstant(d
, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL
)));
48766 SWIG_Python_SetConstant(d
, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL
)));
48767 SWIG_Python_SetConstant(d
, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS
)));
48768 SWIG_Python_SetConstant(d
, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT
)));
48769 SWIG_Python_SetConstant(d
, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE
)));
48770 SWIG_Python_SetConstant(d
, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS
)));
48771 SWIG_Python_SetConstant(d
, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT
)));
48772 SWIG_Python_SetConstant(d
, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER
)));
48773 SWIG_Python_SetConstant(d
, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN
)));
48774 SWIG_Python_SetConstant(d
, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT
)));
48775 SWIG_Python_SetConstant(d
, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT
)));
48776 SWIG_Python_SetConstant(d
, "TB_NO_TOOLTIPS",SWIG_From_int(static_cast< int >(wxTB_NO_TOOLTIPS
)));
48777 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get
, ListCtrlNameStr_set
);
48778 SWIG_Python_SetConstant(d
, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES
)));
48779 SWIG_Python_SetConstant(d
, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES
)));
48780 SWIG_Python_SetConstant(d
, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON
)));
48781 SWIG_Python_SetConstant(d
, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON
)));
48782 SWIG_Python_SetConstant(d
, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST
)));
48783 SWIG_Python_SetConstant(d
, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT
)));
48784 SWIG_Python_SetConstant(d
, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP
)));
48785 SWIG_Python_SetConstant(d
, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT
)));
48786 SWIG_Python_SetConstant(d
, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE
)));
48787 SWIG_Python_SetConstant(d
, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL
)));
48788 SWIG_Python_SetConstant(d
, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS
)));
48789 SWIG_Python_SetConstant(d
, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER
)));
48790 SWIG_Python_SetConstant(d
, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER
)));
48791 SWIG_Python_SetConstant(d
, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL
)));
48792 SWIG_Python_SetConstant(d
, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING
)));
48793 SWIG_Python_SetConstant(d
, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING
)));
48794 SWIG_Python_SetConstant(d
, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE
)));
48795 SWIG_Python_SetConstant(d
, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN
)));
48796 SWIG_Python_SetConstant(d
, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT
)));
48797 SWIG_Python_SetConstant(d
, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE
)));
48798 SWIG_Python_SetConstant(d
, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT
)));
48799 SWIG_Python_SetConstant(d
, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE
)));
48800 SWIG_Python_SetConstant(d
, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA
)));
48801 SWIG_Python_SetConstant(d
, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM
)));
48802 SWIG_Python_SetConstant(d
, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH
)));
48803 SWIG_Python_SetConstant(d
, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT
)));
48804 SWIG_Python_SetConstant(d
, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE
)));
48805 SWIG_Python_SetConstant(d
, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED
)));
48806 SWIG_Python_SetConstant(d
, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED
)));
48807 SWIG_Python_SetConstant(d
, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED
)));
48808 SWIG_Python_SetConstant(d
, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT
)));
48809 SWIG_Python_SetConstant(d
, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED
)));
48810 SWIG_Python_SetConstant(d
, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED
)));
48811 SWIG_Python_SetConstant(d
, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE
)));
48812 SWIG_Python_SetConstant(d
, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED
)));
48813 SWIG_Python_SetConstant(d
, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE
)));
48814 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE
)));
48815 SWIG_Python_SetConstant(d
, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW
)));
48816 SWIG_Python_SetConstant(d
, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE
)));
48817 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON
)));
48818 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL
)));
48819 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT
)));
48820 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON
)));
48821 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT
)));
48822 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT
)));
48823 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM
)));
48824 SWIG_Python_SetConstant(d
, "LIST_GETSUBITEMRECT_WHOLEITEM",SWIG_From_int(static_cast< int >(wxLIST_GETSUBITEMRECT_WHOLEITEM
)));
48825 SWIG_Python_SetConstant(d
, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE
)));
48826 SWIG_Python_SetConstant(d
, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL
)));
48827 SWIG_Python_SetConstant(d
, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW
)));
48828 SWIG_Python_SetConstant(d
, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT
)));
48829 SWIG_Python_SetConstant(d
, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT
)));
48830 SWIG_Python_SetConstant(d
, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT
)));
48831 SWIG_Python_SetConstant(d
, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT
)));
48832 SWIG_Python_SetConstant(d
, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP
)));
48833 SWIG_Python_SetConstant(d
, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID
)));
48834 SWIG_Python_SetConstant(d
, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT
)));
48835 SWIG_Python_SetConstant(d
, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT
)));
48836 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE
)));
48837 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER
)));
48838 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE
)));
48839 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER
)));
48840 SWIG_Python_SetConstant(d
, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS
)));
48841 SWIG_Python_SetConstant(d
, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON
)));
48842 SWIG_Python_SetConstant(d
, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL
)));
48843 SWIG_Python_SetConstant(d
, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP
)));
48844 SWIG_Python_SetConstant(d
, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN
)));
48845 SWIG_Python_SetConstant(d
, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT
)));
48846 SWIG_Python_SetConstant(d
, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT
)));
48847 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
48848 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
48849 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
48850 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
48851 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
48852 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
48853 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
48854 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
48855 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
48856 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
48857 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
48858 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
48859 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
48860 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
48861 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
48862 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
48863 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
48864 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
48865 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
48866 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
48868 // Map renamed classes back to their common name for OOR
48869 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
48871 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get
, TreeCtrlNameStr_set
);
48872 SWIG_Python_SetConstant(d
, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS
)));
48873 SWIG_Python_SetConstant(d
, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS
)));
48874 SWIG_Python_SetConstant(d
, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES
)));
48875 SWIG_Python_SetConstant(d
, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT
)));
48876 SWIG_Python_SetConstant(d
, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE
)));
48877 SWIG_Python_SetConstant(d
, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE
)));
48878 SWIG_Python_SetConstant(d
, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED
)));
48879 SWIG_Python_SetConstant(d
, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
48880 SWIG_Python_SetConstant(d
, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS
)));
48881 SWIG_Python_SetConstant(d
, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT
)));
48882 SWIG_Python_SetConstant(d
, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES
)));
48883 SWIG_Python_SetConstant(d
, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT
)));
48884 SWIG_Python_SetConstant(d
, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE
)));
48885 SWIG_Python_SetConstant(d
, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS
)));
48886 SWIG_Python_SetConstant(d
, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal
)));
48887 SWIG_Python_SetConstant(d
, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected
)));
48888 SWIG_Python_SetConstant(d
, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded
)));
48889 SWIG_Python_SetConstant(d
, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded
)));
48890 SWIG_Python_SetConstant(d
, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max
)));
48891 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE
)));
48892 SWIG_Python_SetConstant(d
, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW
)));
48893 SWIG_Python_SetConstant(d
, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE
)));
48894 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON
)));
48895 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON
)));
48896 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT
)));
48897 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL
)));
48898 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT
)));
48899 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON
)));
48900 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT
)));
48901 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT
)));
48902 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART
)));
48903 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART
)));
48904 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM
)));
48905 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
48906 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
48907 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
48908 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
48909 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
48910 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
48911 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
48912 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
48913 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
48914 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
48915 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
48916 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
48917 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
48918 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
48919 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
48920 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
48921 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
48922 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
48923 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
48924 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
48925 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
48926 SWIG_addvarlink(SWIG_globals(),(char*)"NullTreeItemId",NullTreeItemId_get
, NullTreeItemId_set
);
48928 // Map renamed classes back to their common name for OOR
48929 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
48930 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
48932 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get
, DirDialogDefaultFolderStr_set
);
48933 SWIG_Python_SetConstant(d
, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY
)));
48934 SWIG_Python_SetConstant(d
, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST
)));
48935 SWIG_Python_SetConstant(d
, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS
)));
48936 SWIG_Python_SetConstant(d
, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL
)));
48937 SWIG_Python_SetConstant(d
, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS
)));
48938 SWIG_Python_SetConstant(d
, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP
)));
48939 SWIG_Python_SetConstant(d
, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP
)));
48940 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
48941 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
48942 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Unknown",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Unknown
)));
48943 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Keyboard",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Keyboard
)));
48944 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_HelpButton",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_HelpButton
)));
48946 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
48948 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get
, DatePickerCtrlNameStr_set
);
48949 SWIG_Python_SetConstant(d
, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT
)));
48950 SWIG_Python_SetConstant(d
, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN
)));
48951 SWIG_Python_SetConstant(d
, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN
)));
48952 SWIG_Python_SetConstant(d
, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY
)));
48953 SWIG_Python_SetConstant(d
, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE
)));
48954 SWIG_addvarlink(SWIG_globals(),(char*)"HyperlinkCtrlNameStr",HyperlinkCtrlNameStr_get
, HyperlinkCtrlNameStr_set
);
48955 SWIG_Python_SetConstant(d
, "HL_CONTEXTMENU",SWIG_From_int(static_cast< int >(wxHL_CONTEXTMENU
)));
48956 SWIG_Python_SetConstant(d
, "HL_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHL_DEFAULT_STYLE
)));
48957 PyDict_SetItemString(d
, "wxEVT_COMMAND_HYPERLINK", PyInt_FromLong(wxEVT_COMMAND_HYPERLINK
));
48958 SWIG_Python_SetConstant(d
, "PB_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxPB_USE_TEXTCTRL
)));
48959 SWIG_addvarlink(SWIG_globals(),(char*)"ColourPickerCtrlNameStr",ColourPickerCtrlNameStr_get
, ColourPickerCtrlNameStr_set
);
48960 SWIG_Python_SetConstant(d
, "CLRP_SHOW_LABEL",SWIG_From_int(static_cast< int >(wxCLRP_SHOW_LABEL
)));
48961 SWIG_Python_SetConstant(d
, "CLRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxCLRP_USE_TEXTCTRL
)));
48962 SWIG_Python_SetConstant(d
, "CLRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCLRP_DEFAULT_STYLE
)));
48963 PyDict_SetItemString(d
, "wxEVT_COMMAND_COLOURPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLOURPICKER_CHANGED
));
48964 SWIG_addvarlink(SWIG_globals(),(char*)"FilePickerCtrlNameStr",FilePickerCtrlNameStr_get
, FilePickerCtrlNameStr_set
);
48965 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
48966 SWIG_addvarlink(SWIG_globals(),(char*)"DirPickerCtrlNameStr",DirPickerCtrlNameStr_get
, DirPickerCtrlNameStr_set
);
48967 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
48968 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
48969 SWIG_Python_SetConstant(d
, "FLP_OPEN",SWIG_From_int(static_cast< int >(wxFLP_OPEN
)));
48970 SWIG_Python_SetConstant(d
, "FLP_SAVE",SWIG_From_int(static_cast< int >(wxFLP_SAVE
)));
48971 SWIG_Python_SetConstant(d
, "FLP_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFLP_OVERWRITE_PROMPT
)));
48972 SWIG_Python_SetConstant(d
, "FLP_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFLP_FILE_MUST_EXIST
)));
48973 SWIG_Python_SetConstant(d
, "FLP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFLP_CHANGE_DIR
)));
48974 SWIG_Python_SetConstant(d
, "DIRP_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDIRP_DIR_MUST_EXIST
)));
48975 SWIG_Python_SetConstant(d
, "DIRP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDIRP_CHANGE_DIR
)));
48976 SWIG_Python_SetConstant(d
, "FLP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFLP_USE_TEXTCTRL
)));
48977 SWIG_Python_SetConstant(d
, "FLP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFLP_DEFAULT_STYLE
)));
48978 SWIG_Python_SetConstant(d
, "DIRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxDIRP_USE_TEXTCTRL
)));
48979 SWIG_Python_SetConstant(d
, "DIRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDIRP_DEFAULT_STYLE
)));
48980 PyDict_SetItemString(d
, "wxEVT_COMMAND_FILEPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FILEPICKER_CHANGED
));
48981 PyDict_SetItemString(d
, "wxEVT_COMMAND_DIRPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_DIRPICKER_CHANGED
));
48982 SWIG_addvarlink(SWIG_globals(),(char*)"FontPickerCtrlNameStr",FontPickerCtrlNameStr_get
, FontPickerCtrlNameStr_set
);
48983 SWIG_Python_SetConstant(d
, "FNTP_FONTDESC_AS_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_FONTDESC_AS_LABEL
)));
48984 SWIG_Python_SetConstant(d
, "FNTP_USEFONT_FOR_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_USEFONT_FOR_LABEL
)));
48985 SWIG_Python_SetConstant(d
, "FNTP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFNTP_USE_TEXTCTRL
)));
48986 SWIG_Python_SetConstant(d
, "FNTP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFNTP_DEFAULT_STYLE
)));
48987 PyDict_SetItemString(d
, "wxEVT_COMMAND_FONTPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FONTPICKER_CHANGED
));